Pull request #740 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 jinlinGuan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch main at ba381f3a486b0112bac553ddbcd550d1f5641c42 rather than c7c36605e20b8d3cf3c2a278de8678a8d76dd17d Obtained Jenkinsfile from ba381f3a486b0112bac553ddbcd550d1f5641c42 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-ssh734671115878206915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh14423033939534486371.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-740/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-740/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17124371163479785659.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 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-ssh13172845585193053099.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-740/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-740/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9603375199355955795.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1638’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1640 in /w/workspace/dry_go-mod-core-contracts_PR-740 [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-740 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ba381f3a486b0112bac553ddbcd550d1f5641c42 into PR head commit c7c36605e20b8d3cf3c2a278de8678a8d76dd17d Merge succeeded, producing c7c36605e20b8d3cf3c2a278de8678a8d76dd17d Checking out Revision c7c36605e20b8d3cf3c2a278de8678a8d76dd17d (PR-740) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/740/head:refs/remotes/origin/PR-740 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7c36605e20b8d3cf3c2a278de8678a8d76dd17d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ba381f3a486b0112bac553ddbcd550d1f5641c42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7c36605e20b8d3cf3c2a278de8678a8d76dd17d # timeout=10 Commit message: "refactor: Improve string concatenate logic by string builder" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:40:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:40:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:40:49 ========================================================= 10:40:49 EdgeX Global Pipelines Version Info 10:40:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk efcf15bb0988219b0476ab58538d7fc53296e589 # timeout=10 10:40:50 ------------------- 10:40:50 stable info: 10:40:50 ------------------- 10:40:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:40:50 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 10:40:50 Message: update stable to v1.0.232 10:40:50 ------------------- 10:40:50 experimental info: 10:40:50 ------------------- 10:40:50 Commited By: **** collab-it+edgex@linuxfoundation.org 10:40:50 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 10:40:50 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 10:40:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-740 [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-740 [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-740 [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7c36605e20b8d3cf3c2a278de8678a8d76dd17d [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7c3660 [Pipeline] echo 10:40:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:40:51 + git rev-list -1 --merges c7c36605e20b8d3cf3c2a278de8678a8d76dd17d~1..c7c36605e20b8d3cf3c2a278de8678a8d76dd17d [Pipeline] echo 10:40:51 -----------> git rev-list -1 --merges c7c36605e20b8d3cf3c2a278de8678a8d76dd17d~1..c7c36605e20b8d3cf3c2a278de8678a8d76dd17d c7c36605e20b8d3cf3c2a278de8678a8d76dd17d [false] [Pipeline] sh 10:40:51 + git log --format=format:%s -1 c7c36605e20b8d3cf3c2a278de8678a8d76dd17d [Pipeline] echo 10:40:51 ========================================================= 10:40:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:40:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:40:52 + git log --format=format:%s -1 c7c36605e20b8d3cf3c2a278de8678a8d76dd17d [Pipeline] echo 10:40:52 [semverPrep] GIT_COMMIT: c7c36605e20b8d3cf3c2a278de8678a8d76dd17d, Commit Message: refactor: Improve string concatenate logic by string builder [Pipeline] echo 10:40:52 [semverPrep] This is not a build commit. [Pipeline] sh 10:40:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:40:52 + grep -v github /etc/ssh/ssh_known_hosts 10:40:52 + [ -e /tmp/ssh_known_hosts ] 10:40:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:40:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:40:52 + sudo tee -a /etc/ssh/ssh_known_hosts 10:40:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:40:53 10:40:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:40:53 0.1.4: Pulling from edgex-devops/py-git-semver 10:40:53 42c077c10790: Pulling fs layer 10:40:53 f63e77b7563a: Pulling fs layer 10:40:53 bd5fdadae976: Pulling fs layer 10:40:53 205491f53016: Pulling fs layer 10:40:53 df18705c85c3: Pulling fs layer 10:40:53 bdb3f477010e: Pulling fs layer 10:40:53 c8a8fc8e1c8f: Pulling fs layer 10:40:53 df18705c85c3: Waiting 10:40:53 c8a8fc8e1c8f: Waiting 10:40:53 bdb3f477010e: Waiting 10:40:53 2c6e9b1d212d: Pulling fs layer 10:40:53 bdb8f0575790: Pulling fs layer 10:40:53 2c6e9b1d212d: Waiting 10:40:53 386e3cb2ff24: Pulling fs layer 10:40:53 2343380bae48: Pulling fs layer 10:40:53 bdb8f0575790: Waiting 10:40:53 2343380bae48: Waiting 10:40:53 205491f53016: Waiting 10:40:53 f63e77b7563a: Verifying Checksum 10:40:53 f63e77b7563a: Download complete 10:40:53 205491f53016: Download complete 10:40:53 df18705c85c3: Verifying Checksum 10:40:53 df18705c85c3: Download complete 10:40:53 bdb3f477010e: Verifying Checksum 10:40:53 bdb3f477010e: Download complete 10:40:53 bd5fdadae976: Verifying Checksum 10:40:53 bd5fdadae976: Download complete 10:40:53 2c6e9b1d212d: Download complete 10:40:53 bdb8f0575790: Download complete 10:40:53 386e3cb2ff24: Verifying Checksum 10:40:53 386e3cb2ff24: Download complete 10:40:53 2343380bae48: Verifying Checksum 10:40:53 2343380bae48: Download complete 10:40:53 42c077c10790: Verifying Checksum 10:40:53 42c077c10790: Download complete 10:40:54 c8a8fc8e1c8f: Verifying Checksum 10:40:54 c8a8fc8e1c8f: Download complete 10:40:55 42c077c10790: Pull complete 10:40:55 f63e77b7563a: Pull complete 10:40:56 bd5fdadae976: Pull complete 10:40:56 205491f53016: Pull complete 10:40:56 df18705c85c3: Pull complete 10:40:56 bdb3f477010e: Pull complete 10:40:58 c8a8fc8e1c8f: Pull complete 10:40:58 2c6e9b1d212d: Pull complete 10:40:58 bdb8f0575790: Pull complete 10:40:58 386e3cb2ff24: Pull complete 10:40:58 2343380bae48: Pull complete 10:40:58 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:40:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:59 prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container 10:40:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-740 -v /w/workspace/dry_go-mod-core-contracts_PR-740:/w/workspace/dry_go-mod-core-contracts_PR-740:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-740@tmp:/w/workspace/dry_go-mod-core-contracts_PR-740@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:41:00 $ docker top bd32773f080ad03749fd237205c17bd4a541064686f717f829d655331b00841b -eo pid,comm 10:41:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:41:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:41:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:00 [ssh-agent] Looking for ssh-agent implementation... 10:41:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:00 $ docker exec bd32773f080ad03749fd237205c17bd4a541064686f717f829d655331b00841b ssh-agent 10:41:00 SSH_AUTH_SOCK=/tmp/ssh-6Y6Z7lIhIiqx/agent.33 10:41:00 SSH_AGENT_PID=39 10:41:00 Running ssh-add (command line suppressed) 10:41:00 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-740@tmp/private_key_3303262597163181666.key (/w/workspace/dry_go-mod-core-contracts_PR-740@tmp/private_key_3303262597163181666.key) 10:41:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:01 + git tag --points-at HEAD [Pipeline] } 10:41:01 $ docker exec --env ******** --env ******** bd32773f080ad03749fd237205c17bd4a541064686f717f829d655331b00841b ssh-agent -k 10:41:01 unset SSH_AUTH_SOCK; 10:41:01 unset SSH_AGENT_PID; 10:41:01 echo Agent pid 39 killed; 10:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:41:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:01 [ssh-agent] Looking for ssh-agent implementation... 10:41:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:01 $ docker exec bd32773f080ad03749fd237205c17bd4a541064686f717f829d655331b00841b ssh-agent 10:41:01 SSH_AUTH_SOCK=/tmp/ssh-VFdN9MOvNPCX/agent.72 10:41:01 SSH_AGENT_PID=78 10:41:01 Running ssh-add (command line suppressed) 10:41:01 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-740@tmp/private_key_8065549428757582701.key (/w/workspace/dry_go-mod-core-contracts_PR-740@tmp/private_key_8065549428757582701.key) 10:41:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:02 + git semver init 10:41:02 2022-06-07 10:41:02,304 [run_init] DEBUG init version:0.0.0 force:False 10:41:02 2022-06-07 10:41:02,305 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_go-mod-core-contracts_PR-740/.semver 10:41:02 2022-06-07 10:41:02,305 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/dry_go-mod-core-contracts_PR-740/.semver 10:41:02 2022-06-07 10:41:02,305 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/dry_go-mod-core-contracts_PR-740/.semver'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-740, universal_newlines=False, shell=None, istream=None) 10:41:03 2022-06-07 10:41:02,969 [append_file] DEBUG append to file:/w/workspace/dry_go-mod-core-contracts_PR-740/.git/info/exclude 10:41:03 2022-06-07 10:41:02,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_go-mod-core-contracts_PR-740/.semver/PR-740 with force:False 10:41:03 2022-06-07 10:41:02,970 [write_file] DEBUG write to file:/w/workspace/dry_go-mod-core-contracts_PR-740/.semver/PR-740 10:41:03 2022-06-07 10:41:02,974 [execute] INFO git cat-file --batch-check 10:41:03 2022-06-07 10:41:02,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-740/.semver, universal_newlines=False, shell=None, istream=) 10:41:03 2022-06-07 10:41:02,979 [execute] INFO git cat-file --batch 10:41:03 2022-06-07 10:41:02,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-740/.semver, universal_newlines=False, shell=None, istream=) 10:41:03 2022-06-07 10:41:02,983 [read_version] DEBUG read version from /w/workspace/dry_go-mod-core-contracts_PR-740/.semver/PR-740 10:41:03 0.0.0 [Pipeline] } 10:41:03 $ docker exec --env ******** --env ******** bd32773f080ad03749fd237205c17bd4a541064686f717f829d655331b00841b ssh-agent -k 10:41:03 unset SSH_AUTH_SOCK; 10:41:03 unset SSH_AGENT_PID; 10:41:03 echo Agent pid 78 killed; 10:41:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:41:03 + git semver [Pipeline] } 10:41:04 $ docker stop --time=1 bd32773f080ad03749fd237205c17bd4a541064686f717f829d655331b00841b 10:41:05 $ docker rm -f bd32773f080ad03749fd237205c17bd4a541064686f717f829d655331b00841b [Pipeline] // withDockerContainer [Pipeline] sh 10:41:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:41:05 Stashed 1 file(s) [Pipeline] echo 10:41:05 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:41:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:06 ========================================================= 10:41:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:41:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 10:41:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:41:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:41:06 59bf1c3509f3: Pulling fs layer 10:41:06 666ba61612fd: Pulling fs layer 10:41:06 8ed8ca486205: Pulling fs layer 10:41:06 cc1cd167ecdc: Pulling fs layer 10:41:06 c516ae0d96e1: Pulling fs layer 10:41:06 684cea983483: Pulling fs layer 10:41:06 dd3240ac7de5: Pulling fs layer 10:41:06 b1e948a4e11c: Pulling fs layer 10:41:06 a8fd76ee1af6: Pulling fs layer 10:41:06 646ad004c059: Pulling fs layer 10:41:06 c516ae0d96e1: Waiting 10:41:06 684cea983483: Waiting 10:41:06 dd3240ac7de5: Waiting 10:41:06 b1e948a4e11c: Waiting 10:41:06 a8fd76ee1af6: Waiting 10:41:06 646ad004c059: Waiting 10:41:06 cc1cd167ecdc: Waiting 10:41:06 8ed8ca486205: Verifying Checksum 10:41:06 8ed8ca486205: Download complete 10:41:06 666ba61612fd: Download complete 10:41:06 c516ae0d96e1: Verifying Checksum 10:41:06 c516ae0d96e1: Download complete 10:41:06 684cea983483: Download complete 10:41:06 dd3240ac7de5: Verifying Checksum 10:41:06 dd3240ac7de5: Download complete 10:41:06 59bf1c3509f3: Verifying Checksum 10:41:06 59bf1c3509f3: Download complete 10:41:06 b1e948a4e11c: Verifying Checksum 10:41:06 b1e948a4e11c: Download complete 10:41:06 59bf1c3509f3: Pull complete 10:41:06 666ba61612fd: Pull complete 10:41:07 8ed8ca486205: Pull complete 10:41:07 646ad004c059: Verifying Checksum 10:41:07 646ad004c059: Download complete 10:41:07 a8fd76ee1af6: Verifying Checksum 10:41:07 a8fd76ee1af6: Download complete 10:41:07 cc1cd167ecdc: Verifying Checksum 10:41:07 cc1cd167ecdc: Download complete 10:41:11 cc1cd167ecdc: Pull complete 10:41:11 c516ae0d96e1: Pull complete 10:41:11 684cea983483: Pull complete 10:41:11 dd3240ac7de5: Pull complete 10:41:11 b1e948a4e11c: Pull complete 10:41:14 a8fd76ee1af6: Pull complete 10:41:14 646ad004c059: Pull complete 10:41:14 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 10:41:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:41:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 10:41:15 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:15 + docker inspect -f . ci-base-image-x86_64 10:41:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:15 prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container 10:41:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-740 -v /w/workspace/dry_go-mod-core-contracts_PR-740:/w/workspace/dry_go-mod-core-contracts_PR-740:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-740@tmp:/w/workspace/dry_go-mod-core-contracts_PR-740@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 10:41:17 $ docker top 60b0fce87fd4aacea1abb5353fe3c34a40ade42bc2fc809c41b87c112aad882d -eo pid,comm [Pipeline] { [Pipeline] sh 10:41:17 + go version 10:41:17 go version go1.17.7 linux/amd64 [Pipeline] } 10:41:17 $ docker stop --time=1 60b0fce87fd4aacea1abb5353fe3c34a40ade42bc2fc809c41b87c112aad882d 10:41:19 $ docker rm -f 60b0fce87fd4aacea1abb5353fe3c34a40ade42bc2fc809c41b87c112aad882d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:19 + docker inspect -f . ci-base-image-x86_64 10:41:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:19 prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container 10:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-740 -v /w/workspace/dry_go-mod-core-contracts_PR-740:/w/workspace/dry_go-mod-core-contracts_PR-740:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-740@tmp:/w/workspace/dry_go-mod-core-contracts_PR-740@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 10:41:20 $ docker top 89868c2bb1fdba0580b64386b359213aec42468e9ca997c1808b1fe71fdc6bfb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:41:20 + make test 10:41:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:41:20 go: downloading github.com/go-kit/log v0.2.1 10:41:20 go: downloading github.com/stretchr/testify v1.7.2 10:41:20 go: downloading github.com/google/uuid v1.3.0 10:41:20 go: downloading gopkg.in/yaml.v3 v3.0.1 10:41:20 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:41:20 go: downloading github.com/go-playground/validator/v10 v10.11.0 10:41:20 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:41:20 go: downloading github.com/x448/float16 v0.8.4 10:41:20 go: downloading golang.org/x/text v0.3.7 10:41:20 go: downloading github.com/go-playground/universal-translator v0.18.0 10:41:20 go: downloading github.com/leodido/go-urn v1.2.1 10:41:20 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:41:20 go: downloading github.com/go-playground/locales v0.14.0 10:41:20 go: downloading github.com/stretchr/objx v0.1.1 10:41:20 go: downloading github.com/davecgh/go-spew v1.1.1 10:41:20 go: downloading github.com/pmezard/go-difflib v1.0.0 10:41:21 Still waiting to schedule task 10:41:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1639’ is offline 10:41:22 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.108s coverage: 83.4% of statements 10:41:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 10:41:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 10:41:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.023s coverage: 29.4% of statements 10:41:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger/mocks [no test files] 10:41:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.016s coverage: 49.8% of statements 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.035s coverage: 90.5% of statements 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.043s coverage: 86.8% of statements 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.030s coverage: 59.5% of statements 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.022s coverage: 36.1% of statements 10:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.016s coverage: 48.7% of statements 10:41:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:41:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:41:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 10:41:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:41:38 $ docker stop --time=1 89868c2bb1fdba0580b64386b359213aec42468e9ca997c1808b1fe71fdc6bfb 10:41:40 $ docker rm -f 89868c2bb1fdba0580b64386b359213aec42468e9ca997c1808b1fe71fdc6bfb [Pipeline] // withDockerContainer [Pipeline] sh 10:41:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:41:40 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] withEnv [Pipeline] { [Pipeline] sh 10:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:41 10:41:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:41 latest: Pulling from edgex-lftools-log-publisher 10:41:41 5eb5b503b376: Pulling fs layer 10:41:41 5c69ac0246d0: Pulling fs layer 10:41:41 ec43610c2a17: Pulling fs layer 10:41:41 3a2ae6a8a46f: Pulling fs layer 10:41:41 33b1e0a273af: Pulling fs layer 10:41:41 5d3b04190fa2: Pulling fs layer 10:41:41 2f39f015ded8: Pulling fs layer 10:41:41 3a2ae6a8a46f: Waiting 10:41:41 33b1e0a273af: Waiting 10:41:41 5d3b04190fa2: Waiting 10:41:41 2f39f015ded8: Waiting 10:41:41 5c69ac0246d0: Verifying Checksum 10:41:41 5c69ac0246d0: Download complete 10:41:41 3a2ae6a8a46f: Verifying Checksum 10:41:41 3a2ae6a8a46f: Download complete 10:41:41 33b1e0a273af: Verifying Checksum 10:41:41 33b1e0a273af: Download complete 10:41:41 5d3b04190fa2: Download complete 10:41:41 ec43610c2a17: Verifying Checksum 10:41:41 ec43610c2a17: Download complete 10:41:41 5eb5b503b376: Verifying Checksum 10:41:41 5eb5b503b376: Download complete 10:41:42 2f39f015ded8: Download complete 10:41:43 5eb5b503b376: Pull complete 10:41:43 5c69ac0246d0: Pull complete 10:41:44 ec43610c2a17: Pull complete 10:41:44 3a2ae6a8a46f: Pull complete 10:41:44 33b1e0a273af: Pull complete 10:41:44 5d3b04190fa2: Pull complete 10:41:49 2f39f015ded8: Pull complete 10:41:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:49 prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container 10:41:49 $ 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/dry_go-mod-core-contracts_PR-740 -v /w/workspace/dry_go-mod-core-contracts_PR-740:/w/workspace/dry_go-mod-core-contracts_PR-740:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-740@tmp:/w/workspace/dry_go-mod-core-contracts_PR-740@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 10:41:51 $ docker top a2b7529934615d422e745e72beafb4aa11c7a645f9c6d4781ae091e4c0673242 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:51 ---> job-cost.sh 10:41:51 lf-activate-venv: SKIPPING 10:41:51 INFO: No Stack... 10:41:52 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:52 INFO: Archiving Costs [Pipeline] sh 10:41:52 + cat /w/workspace/dry_go-mod-core-contracts_PR-740/archives/cost.csv 10:41:52 + cut -d, -f6 [Pipeline] lock 10:41:52 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] 10:41:52 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] did not exist. Created. 10:41:52 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:53 + echo total: 0.2199999988079071 [Pipeline] stash 10:41:53 Stashed 1 file(s) [Pipeline] } 10:41:53 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:53 $ docker stop --time=1 a2b7529934615d422e745e72beafb4aa11c7a645f9c6d4781ae091e4c0673242 10:41:54 $ docker rm -f a2b7529934615d422e745e72beafb4aa11c7a645f9c6d4781ae091e4c0673242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:43:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1641 in /w/workspace/dry_go-mod-core-contracts_PR-740 [Pipeline] { [Pipeline] ws 10:43:02 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 10:43:02 Selected Git installation does not exist. Using Default 10:43:02 The recommended git tool is: NONE 10:43:08 using credential edgex-jenkins-ssh 10:43:08 Cloning the remote Git repository 10:43:08 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 10:43:08 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 10:43:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 10:43:08 > git --version # timeout=10 10:43:08 > git --version # 'git version 2.25.1' 10:43:08 using GIT_SSH to set credentials SSH Credentials for GitHub 10:43:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:43:09 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 10:43:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:43:09 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 10:43:09 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 10:43:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:43:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/740/head:refs/remotes/origin/PR-740 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:43:10 Merging remotes/origin/main commit ba381f3a486b0112bac553ddbcd550d1f5641c42 into PR head commit c7c36605e20b8d3cf3c2a278de8678a8d76dd17d 10:43:10 Merge succeeded, producing c7c36605e20b8d3cf3c2a278de8678a8d76dd17d 10:43:10 Checking out Revision c7c36605e20b8d3cf3c2a278de8678a8d76dd17d (PR-740) 10:43:10 > git config core.sparsecheckout # timeout=10 10:43:10 > git checkout -f c7c36605e20b8d3cf3c2a278de8678a8d76dd17d # timeout=10 10:43:10 > git remote # timeout=10 10:43:10 > git config --get remote.origin.url # timeout=10 10:43:10 using GIT_SSH to set credentials SSH Credentials for GitHub 10:43:10 > git merge ba381f3a486b0112bac553ddbcd550d1f5641c42 # timeout=10 10:43:10 > git rev-parse HEAD^{commit} # timeout=10 10:43:10 > git config core.sparsecheckout # timeout=10 10:43:10 > git checkout -f c7c36605e20b8d3cf3c2a278de8678a8d76dd17d # timeout=10 10:43:14 Commit message: "refactor: Improve string concatenate logic by string builder" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:43:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:43:15 % Total % Received % Xferd Average Speed Time Time Time Current 10:43:15 Dload Upload Total Spent Left Speed 10:43:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh 10:43:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:43:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:43:17 + sudo tee /etc/docker/daemon.new 10:43:17 { 10:43:17 "registry-mirrors": [ 10:43:17 "https://nexus3.edgexfoundry.org:10001" 10:43:17 ], 10:43:17 "bip": "10.250.0.254/24", 10:43:17 "hosts": [ 10:43:17 "tcp://0.0.0.0:5555", 10:43:17 "unix:///var/run/docker.sock" 10:43:17 ], 10:43:17 "mtu": 1458, 10:43:17 "selinux-enabled": true, 10:43:17 "seccomp-profile": "/etc/docker/seccomp.json" 10:43:17 } [Pipeline] sh 10:43:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:43:17 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 10:43:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:43:36 ========================================================= 10:43:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:43:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 10:43:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:43:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:43:37 9b3977197b4f: Pulling fs layer 10:43:37 1a89e8eeedd5: Pulling fs layer 10:43:37 94645a83ff95: Pulling fs layer 10:43:37 e6fb740bc735: Pulling fs layer 10:43:37 3a77bd46dcc9: Pulling fs layer 10:43:37 355e64cbe906: Pulling fs layer 10:43:37 63ab81a10011: Pulling fs layer 10:43:37 555d1d1c4555: Pulling fs layer 10:43:37 7d9057610161: Pulling fs layer 10:43:37 355e64cbe906: Waiting 10:43:37 63ab81a10011: Waiting 10:43:37 555d1d1c4555: Waiting 10:43:37 e6fb740bc735: Waiting 10:43:37 3a77bd46dcc9: Waiting 10:43:37 7d9057610161: Waiting 10:43:37 94645a83ff95: Download complete 10:43:37 1a89e8eeedd5: Download complete 10:43:37 3a77bd46dcc9: Verifying Checksum 10:43:37 3a77bd46dcc9: Download complete 10:43:37 355e64cbe906: Verifying Checksum 10:43:37 355e64cbe906: Download complete 10:43:37 9b3977197b4f: Verifying Checksum 10:43:37 9b3977197b4f: Download complete 10:43:37 63ab81a10011: Verifying Checksum 10:43:37 63ab81a10011: Download complete 10:43:38 9b3977197b4f: Pull complete 10:43:38 7d9057610161: Verifying Checksum 10:43:38 7d9057610161: Download complete 10:43:39 1a89e8eeedd5: Pull complete 10:43:39 94645a83ff95: Pull complete 10:43:39 555d1d1c4555: Verifying Checksum 10:43:39 555d1d1c4555: Download complete 10:43:40 e6fb740bc735: Verifying Checksum 10:43:40 e6fb740bc735: Download complete 10:43:52 e6fb740bc735: Pull complete 10:43:52 3a77bd46dcc9: Pull complete 10:43:52 355e64cbe906: Pull complete 10:43:52 63ab81a10011: Pull complete 10:43:59 555d1d1c4555: Pull complete 10:44:01 7d9057610161: Pull complete 10:44:01 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 10:44:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:44:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 10:44:01 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:01 + docker inspect -f . ci-base-image-arm64 10:44:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:02 prd-ubuntu20.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container 10:44:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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 ******** -e ******** ci-base-image-arm64 cat 10:44:05 $ docker top 76a75851beb23141b34c05bec715cf0e23a4c1251862ec4c0c0be025c1485b9d -eo pid,comm [Pipeline] { [Pipeline] sh 10:44:06 + go version 10:44:06 go version go1.17.7 linux/arm64 [Pipeline] } 10:44:06 $ docker stop --time=1 76a75851beb23141b34c05bec715cf0e23a4c1251862ec4c0c0be025c1485b9d 10:44:07 $ docker rm -f 76a75851beb23141b34c05bec715cf0e23a4c1251862ec4c0c0be025c1485b9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:08 + docker inspect -f . ci-base-image-arm64 10:44:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:08 prd-ubuntu20.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container 10:44:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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 ******** -e ******** ci-base-image-arm64 cat 10:44:10 $ docker top 564a53dc430929e991f732e80ef55585123e274f4e2e932ca4cc5e1827e92857 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:44:11 + make test 10:44:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:44:11 go: downloading github.com/go-kit/log v0.2.1 10:44:11 go: downloading github.com/stretchr/testify v1.7.2 10:44:11 go: downloading github.com/go-playground/validator/v10 v10.11.0 10:44:11 go: downloading github.com/google/uuid v1.3.0 10:44:11 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:44:11 go: downloading gopkg.in/yaml.v3 v3.0.1 10:44:11 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:44:11 go: downloading github.com/davecgh/go-spew v1.1.1 10:44:11 go: downloading github.com/pmezard/go-difflib v1.0.0 10:44:11 go: downloading github.com/stretchr/objx v0.1.1 10:44:11 go: downloading github.com/go-playground/universal-translator v0.18.0 10:44:11 go: downloading github.com/leodido/go-urn v1.2.1 10:44:11 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:44:11 go: downloading golang.org/x/text v0.3.7 10:44:11 go: downloading github.com/x448/float16 v0.8.4 10:44:11 go: downloading github.com/go-playground/locales v0.14.0 10:44:16 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 10:44:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.503s coverage: 83.4% of statements 10:44:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 10:44:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 10:44:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 10:44:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.097s coverage: 29.4% of statements 10:44:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger/mocks [no test files] 10:44:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 10:44:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.086s coverage: 49.8% of statements 10:44:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.076s coverage: 90.5% of statements 10:44:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.223s coverage: 86.8% of statements 10:44:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.055s coverage: 59.5% of statements 10:44:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.046s coverage: 36.1% of statements 10:44:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.043s coverage: 48.7% of statements 10:44:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:44:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:45:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:45:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 10:45:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:45:08 $ docker stop --time=1 564a53dc430929e991f732e80ef55585123e274f4e2e932ca4cc5e1827e92857 10:45:10 $ docker rm -f 564a53dc430929e991f732e80ef55585123e274f4e2e932ca4cc5e1827e92857 [Pipeline] // withDockerContainer [Pipeline] sh 10:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:45:11 Warning: overwriting stash ‘coverage-report’ 10:45:12 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] withEnv [Pipeline] { [Pipeline] sh 10:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:45:12 10:45:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:45:13 arm64: Pulling from edgex-lftools-log-publisher 10:45:13 8998bd30e6a1: Pulling fs layer 10:45:13 04944245beec: Pulling fs layer 10:45:13 699f458cf7ca: Pulling fs layer 10:45:13 765212b225bb: Pulling fs layer 10:45:13 f23df028b6ca: Pulling fs layer 10:45:13 d65c8cfc05b1: Pulling fs layer 10:45:13 2437ff75d9bd: Pulling fs layer 10:45:13 f23df028b6ca: Waiting 10:45:13 d65c8cfc05b1: Waiting 10:45:13 2437ff75d9bd: Waiting 10:45:13 765212b225bb: Waiting 10:45:13 04944245beec: Verifying Checksum 10:45:13 04944245beec: Download complete 10:45:13 765212b225bb: Verifying Checksum 10:45:13 765212b225bb: Download complete 10:45:13 f23df028b6ca: Verifying Checksum 10:45:13 f23df028b6ca: Download complete 10:45:13 d65c8cfc05b1: Verifying Checksum 10:45:13 d65c8cfc05b1: Download complete 10:45:13 699f458cf7ca: Verifying Checksum 10:45:13 699f458cf7ca: Download complete 10:45:14 8998bd30e6a1: Verifying Checksum 10:45:14 8998bd30e6a1: Download complete 10:45:16 2437ff75d9bd: Verifying Checksum 10:45:16 2437ff75d9bd: Download complete 10:45:18 8998bd30e6a1: Pull complete 10:45:19 04944245beec: Pull complete 10:45:20 699f458cf7ca: Pull complete 10:45:20 765212b225bb: Pull complete 10:45:21 f23df028b6ca: Pull complete 10:45:21 d65c8cfc05b1: Pull complete 10:45:36 2437ff75d9bd: Pull complete 10:45:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:45:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:45:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:45:37 prd-ubuntu20.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container 10:45:37 $ 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/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:45:39 $ docker top 9c807b75d39830fcf2e1f0019cb881327dd39f04560373f039c9c972ab3273ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:45:40 ---> job-cost.sh 10:45:40 lf-activate-venv: SKIPPING 10:45:40 INFO: No Stack... 10:45:40 INFO: Retrieving Pricing Info for: v3-standard-4 10:45:41 INFO: Archiving Costs [Pipeline] sh 10:45:42 + cat /w/workspace/go-mod-core-contracts/2/archives/cost.csv 10:45:42 + cut -d, -f6 [Pipeline] lock 10:45:42 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] 10:45:42 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] did not exist. Created. 10:45:42 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:45:43 /w/workspace/go-mod-core-contracts/2@tmp/durable-5cb2cc92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:45:43 + echo total: 0.10999999940395355 [Pipeline] stash 10:45:43 Warning: overwriting stash ‘stack-cost’ 10:45:43 Stashed 1 file(s) [Pipeline] } 10:45:43 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-740-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:45:44 $ docker stop --time=1 9c807b75d39830fcf2e1f0019cb881327dd39f04560373f039c9c972ab3273ea 10:45:45 $ docker rm -f 9c807b75d39830fcf2e1f0019cb881327dd39f04560373f039c9c972ab3273ea [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 10:45:46 provisioning config files... 10:45:46 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-740@tmp/config636139273235993319tmp [Pipeline] { [Pipeline] sh 10:45:46 + set +x 10:45:46 + curl -s https://codecov.io/bash 10:45:46 + bash -s -- 10:45:46 10:45:46 _____ _ 10:45:46 / ____| | | 10:45:46 | | ___ __| | ___ ___ _____ __ 10:45:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:45:46 | |___| (_) | (_| | __/ (_| (_) \ V / 10:45:46 \_____\___/ \__,_|\___|\___\___/ \_/ 10:45:46 Bash-1.0.6 10:45:46 10:45:46 10:45:46 ==> git version 2.25.1 found 10:45:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:45:46 Release-Date: 2020-01-08 10:45:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:45:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:45:46 ==> Jenkins CI detected. 10:45:46 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-740 10:45:46 project root: . 10:45:46 --> token set from env 10:45:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:45:46 ==> Running gcov in . (disable via -X gcov) 10:45:46 ==> Python coveragepy not found 10:45:46 ==> Searching for coverage reports in: 10:45:46 + . 10:45:46 -> Found 1 reports 10:45:46 ==> Detecting git/mercurial file structure 10:45:46 ==> Reading reports 10:45:46 + ./coverage.out bytes=113460 10:45:46 ==> Appending adjustments 10:45:46 https://docs.codecov.io/docs/fixing-reports 10:45:47 + Found adjustments 10:45:47 ==> Gzipping contents 10:45:47 20K /tmp/codecov.G4p7OL.gz 10:45:47 ==> Uploading reports 10:45:47 url: https://codecov.io 10:45:47 query: branch=PR-740&commit=c7c36605e20b8d3cf3c2a278de8678a8d76dd17d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-740%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=740&job=&cmd_args= 10:45:47 -> Pinging Codecov 10:45:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-740&commit=c7c36605e20b8d3cf3c2a278de8678a8d76dd17d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-740%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=740&job=&cmd_args= 10:45:47 -> Uploading to 10:45:47 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/71470A77251A30514AAF9C0BB2E5B6CE/c7c36605e20b8d3cf3c2a278de8678a8d76dd17d/6742b19d-a13c-4941-96cb-fcabab282d8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T104547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b2ae77ef6603030b86526c14de55ad67b733f8b36c854553c56c2d90c9616e72 10:45:47 % Total % Received % Xferd Average Speed Time Time Time Current 10:45:47 Dload Upload Total Spent Left Speed 10:45:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17031 0 0 100 17031 0 76716 --:--:-- --:--:-- --:--:-- 76372 100 17031 0 0 100 17031 0 73727 --:--:-- --:--:-- --:--:-- 73409 10:45:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/c7c36605e20b8d3cf3c2a278de8678a8d76dd17d [Pipeline] } 10:45:47 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:45:48 + [ -d /w/workspace/dry_go-mod-core-contracts_PR-740/archives ] 10:45:48 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-740/archives 10:45:48 total 16 10:45:48 drwxr-xr-x 3 root root 4096 Jun 7 10:41 . 10:45:48 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 10:41 .. 10:45:48 drwxr-xr-x 2 root root 4096 Jun 7 10:41 cost 10:45:48 -rw-r--r-- 1 root root 92 Jun 7 10:41 cost.csv 10:45:48 + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-740/archives 10:45:48 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-740/archives 10:45:48 total 16 10:45:48 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 10:41 . 10:45:48 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 10:41 .. 10:45:48 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 10:41 cost 10:45:48 -rw-r--r-- 1 jenkins jenkins 92 Jun 7 10:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:45:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:45:49 ---> package-listing.sh 10:45:49 ++ facter osfamily 10:45:49 ++ tr '[:upper:]' '[:lower:]' 10:45:49 + OS_FAMILY=debian 10:45:49 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-740 10:45:49 + START_PACKAGES=/tmp/packages_start.txt 10:45:49 + END_PACKAGES=/tmp/packages_end.txt 10:45:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:45:49 + PACKAGES=/tmp/packages_start.txt 10:45:49 + '[' /w/workspace/dry_go-mod-core-contracts_PR-740 ']' 10:45:49 + PACKAGES=/tmp/packages_end.txt 10:45:49 + case "${OS_FAMILY}" in 10:45:49 + dpkg -l 10:45:49 + grep '^ii' 10:45:49 + '[' -f /tmp/packages_start.txt ']' 10:45:49 + '[' -f /tmp/packages_end.txt ']' 10:45:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:45:49 + '[' /w/workspace/dry_go-mod-core-contracts_PR-740 ']' 10:45:49 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-740/archives/ 10:45:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-740/archives/ [Pipeline] echo 10:45:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-740/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:45:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:45:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:45:50 prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container 10:45:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-740/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-740 -v /w/workspace/dry_go-mod-core-contracts_PR-740:/w/workspace/dry_go-mod-core-contracts_PR-740:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-740@tmp:/w/workspace/dry_go-mod-core-contracts_PR-740@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:latest cat 10:45:51 $ docker top e4196941729b02b49358ef7f16989e35285dadcb4305bb7b09609f7d960230eb -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:51 + touch /tmp/pre-build-complete [Pipeline] sh 10:45:51 + mkdir -p /var/log/sysstat [Pipeline] sh 10:45:52 + ls /var/log/sa-host 10:45:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:45:52 provisioning config files... 10:45:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-740@tmp/config8812013580718505557tmp [Pipeline] { [Pipeline] echo 10:45:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:45:52 ---> create-netrc.sh [Pipeline] } 10:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:45:52 ---> python-tools-install.sh [Pipeline] echo 10:45:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:45:53 ---> sudo-logs.sh 10:45:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:45:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:45:53 ---> job-cost.sh 10:45:53 lf-activate-venv: SKIPPING 10:45:53 DEBUG: total: 0.2199999988079071 10:45:53 INFO: Retrieving Stack Cost... 10:45:53 INFO: Retrieving Pricing Info for: v3-standard-8 10:45:54 INFO: Archiving Costs [Pipeline] echo 10:45:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:45:54 ---> logs-deploy.sh 10:45:54 lf-activate-venv: SKIPPING 10:45:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-740/2 10:45:54 INFO: archiving workspace using pattern(s): 10:45:55 Archives upload complete. 10:45:55 INFO: archiving logs to Nexus