Branch indexing 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 AlexCuse for edgexfoundry/go-mod-messaging Loading trusted files from base branch main at 07372525aff25985f4d930310b99193ab8dd0701 rather than 1d08ee8f471d6d92392b02fec992905af1b3239b Obtained Jenkinsfile from 07372525aff25985f4d930310b99193ab8dd0701 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-ssh8593588916662033359.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh606479101077055103.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-messaging/branches/PR-137/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-messaging/branches/PR-137/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11455194899496238818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh8895070940550886581.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-messaging/branches/PR-137/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-messaging/branches/PR-137/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9182089026512480968.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-messaging, 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-messaging-settings PROJECT: go-mod-messaging 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-messaging 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16585 in /w/workspace/xfoundry_go-mod-messaging_PR-137 [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-messaging.git > git init /w/workspace/xfoundry_go-mod-messaging_PR-137 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.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-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 07372525aff25985f4d930310b99193ab8dd0701 into PR head commit 1d08ee8f471d6d92392b02fec992905af1b3239b Merge succeeded, producing 197c7105c7045fddcfcc11f470e6d76e5fed4a6d Checking out Revision 197c7105c7045fddcfcc11f470e6d76e5fed4a6d (PR-137) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.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-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d08ee8f471d6d92392b02fec992905af1b3239b # 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 07372525aff25985f4d930310b99193ab8dd0701 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 197c7105c7045fddcfcc11f470e6d76e5fed4a6d # timeout=10 Commit message: "Merge commit '07372525aff25985f4d930310b99193ab8dd0701' into HEAD" > git rev-list --no-walk 1d08ee8f471d6d92392b02fec992905af1b3239b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:29:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:29:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:29:29 ========================================================= 16:29:29 EdgeX Global Pipelines Version Info 16:29:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:29:30 ------------------- 16:29:30 stable info: 16:29:30 ------------------- 16:29:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:29:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:29:30 Message: update stable to v1.0.234 16:29:30 ------------------- 16:29:30 experimental info: 16:29:30 ------------------- 16:29:30 Commited By: **** collab-it+edgex@linuxfoundation.org 16:29:30 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 16:29:30 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-137 [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-137 [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-137 [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 197c7105c7045fddcfcc11f470e6d76e5fed4a6d [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 197c710 [Pipeline] echo 16:29:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:29:31 + git rev-list -1 --merges 197c7105c7045fddcfcc11f470e6d76e5fed4a6d~1..197c7105c7045fddcfcc11f470e6d76e5fed4a6d [Pipeline] echo 16:29:31 -----------> git rev-list -1 --merges 197c7105c7045fddcfcc11f470e6d76e5fed4a6d~1..197c7105c7045fddcfcc11f470e6d76e5fed4a6d 197c7105c7045fddcfcc11f470e6d76e5fed4a6d 16:29:31 197c7105c7045fddcfcc11f470e6d76e5fed4a6d [false] [Pipeline] sh 16:29:32 + git log --format=format:%s -1 197c7105c7045fddcfcc11f470e6d76e5fed4a6d [Pipeline] echo 16:29:32 ========================================================= 16:29:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:29:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:29:32 + git log --format=format:%s -1 197c7105c7045fddcfcc11f470e6d76e5fed4a6d [Pipeline] echo 16:29:32 [semverPrep] GIT_COMMIT: 197c7105c7045fddcfcc11f470e6d76e5fed4a6d, Commit Message: Merge commit '07372525aff25985f4d930310b99193ab8dd0701' into HEAD [Pipeline] echo 16:29:32 [semverPrep] This is not a build commit. [Pipeline] sh 16:29:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:29:32 + grep -v github /etc/ssh/ssh_known_hosts 16:29:32 + [ -e /tmp/ssh_known_hosts ] 16:29:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:29:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:29:32 + sudo tee -a /etc/ssh/ssh_known_hosts 16:29:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:33 16:29:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:33 0.1.4: Pulling from edgex-devops/py-git-semver 16:29:33 42c077c10790: Pulling fs layer 16:29:33 f63e77b7563a: Pulling fs layer 16:29:33 bd5fdadae976: Pulling fs layer 16:29:33 205491f53016: Pulling fs layer 16:29:33 df18705c85c3: Pulling fs layer 16:29:33 bdb3f477010e: Pulling fs layer 16:29:33 c8a8fc8e1c8f: Pulling fs layer 16:29:33 2c6e9b1d212d: Pulling fs layer 16:29:33 bdb8f0575790: Pulling fs layer 16:29:33 205491f53016: Waiting 16:29:33 df18705c85c3: Waiting 16:29:33 2c6e9b1d212d: Waiting 16:29:33 c8a8fc8e1c8f: Waiting 16:29:33 386e3cb2ff24: Pulling fs layer 16:29:33 2343380bae48: Pulling fs layer 16:29:33 bdb8f0575790: Waiting 16:29:33 386e3cb2ff24: Waiting 16:29:33 bdb3f477010e: Waiting 16:29:33 2343380bae48: Waiting 16:29:33 f63e77b7563a: Verifying Checksum 16:29:33 f63e77b7563a: Download complete 16:29:33 205491f53016: Verifying Checksum 16:29:33 205491f53016: Download complete 16:29:34 df18705c85c3: Verifying Checksum 16:29:34 df18705c85c3: Download complete 16:29:34 bd5fdadae976: Verifying Checksum 16:29:34 bd5fdadae976: Download complete 16:29:34 bdb3f477010e: Verifying Checksum 16:29:34 bdb3f477010e: Download complete 16:29:34 2c6e9b1d212d: Verifying Checksum 16:29:34 2c6e9b1d212d: Download complete 16:29:34 bdb8f0575790: Verifying Checksum 16:29:34 bdb8f0575790: Download complete 16:29:34 386e3cb2ff24: Download complete 16:29:34 2343380bae48: Verifying Checksum 16:29:34 2343380bae48: Download complete 16:29:34 42c077c10790: Verifying Checksum 16:29:34 42c077c10790: Download complete 16:29:34 c8a8fc8e1c8f: Verifying Checksum 16:29:34 c8a8fc8e1c8f: Download complete 16:29:35 42c077c10790: Pull complete 16:29:35 f63e77b7563a: Pull complete 16:29:36 bd5fdadae976: Pull complete 16:29:36 205491f53016: Pull complete 16:29:36 df18705c85c3: Pull complete 16:29:36 bdb3f477010e: Pull complete 16:29:39 c8a8fc8e1c8f: Pull complete 16:29:39 2c6e9b1d212d: Pull complete 16:29:39 bdb8f0575790: Pull complete 16:29:39 386e3cb2ff24: Pull complete 16:29:39 2343380bae48: Pull complete 16:29:39 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:39 prd-ubuntu20.04-docker-8c-8g-16585 does not seem to be running inside a container 16:29:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@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-devops/py-git-semver:0.1.4 cat 16:29:40 $ docker top ebf4165b74353c0c8b9b3ebbe2a82add86a44b35c6e87226fe90a5774a28c6e6 -eo pid,comm 16:29:41 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). 16:29:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:41 [ssh-agent] Looking for ssh-agent implementation... 16:29:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:41 $ docker exec ebf4165b74353c0c8b9b3ebbe2a82add86a44b35c6e87226fe90a5774a28c6e6 ssh-agent 16:29:41 SSH_AUTH_SOCK=/tmp/ssh-0GgjmcJDx0bN/agent.34 16:29:41 SSH_AGENT_PID=40 16:29:41 Running ssh-add (command line suppressed) 16:29:41 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_8230529981832527450.key (/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_8230529981832527450.key) 16:29:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:41 + git tag --points-at HEAD [Pipeline] } 16:29:41 $ docker exec --env ******** --env ******** ebf4165b74353c0c8b9b3ebbe2a82add86a44b35c6e87226fe90a5774a28c6e6 ssh-agent -k 16:29:41 unset SSH_AUTH_SOCK; 16:29:41 unset SSH_AGENT_PID; 16:29:41 echo Agent pid 40 killed; 16:29:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:29:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:41 [ssh-agent] Looking for ssh-agent implementation... 16:29:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:42 $ docker exec ebf4165b74353c0c8b9b3ebbe2a82add86a44b35c6e87226fe90a5774a28c6e6 ssh-agent 16:29:42 SSH_AUTH_SOCK=/tmp/ssh-Al7AZEiK01Tg/agent.72 16:29:42 SSH_AGENT_PID=78 16:29:42 Running ssh-add (command line suppressed) 16:29:42 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_3530377835189476678.key (/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_3530377835189476678.key) 16:29:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:42 + git semver init 16:29:42 2022-07-01 16:29:42,873 [run_init] DEBUG init version:0.0.0 force:False 16:29:42 2022-07-01 16:29:42,874 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-137/.semver 16:29:42 2022-07-01 16:29:42,874 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-137/.semver 16:29:42 2022-07-01 16:29:42,875 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-137/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-137, universal_newlines=False, shell=None, istream=None) 16:29:43 2022-07-01 16:29:43,514 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-137/.git/info/exclude 16:29:43 2022-07-01 16:29:43,515 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-137/.semver/PR-137 with force:False 16:29:43 2022-07-01 16:29:43,515 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-137/.semver/PR-137 16:29:43 2022-07-01 16:29:43,520 [execute] INFO git cat-file --batch-check 16:29:43 2022-07-01 16:29:43,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-137/.semver, universal_newlines=False, shell=None, istream=) 16:29:43 2022-07-01 16:29:43,527 [execute] INFO git cat-file --batch 16:29:43 2022-07-01 16:29:43,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-137/.semver, universal_newlines=False, shell=None, istream=) 16:29:43 2022-07-01 16:29:43,533 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-137/.semver/PR-137 16:29:43 0.0.0 [Pipeline] } 16:29:43 $ docker exec --env ******** --env ******** ebf4165b74353c0c8b9b3ebbe2a82add86a44b35c6e87226fe90a5774a28c6e6 ssh-agent -k 16:29:43 unset SSH_AUTH_SOCK; 16:29:43 unset SSH_AGENT_PID; 16:29:43 echo Agent pid 78 killed; 16:29:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:44 + git semver [Pipeline] } 16:29:44 $ docker stop --time=1 ebf4165b74353c0c8b9b3ebbe2a82add86a44b35c6e87226fe90a5774a28c6e6 16:29:45 $ docker rm -f ebf4165b74353c0c8b9b3ebbe2a82add86a44b35c6e87226fe90a5774a28c6e6 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:29:46 Stashed 1 file(s) [Pipeline] echo 16:29:46 [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 16:29:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:46 ========================================================= 16:29:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:29:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:29:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:29:46 59bf1c3509f3: Pulling fs layer 16:29:46 666ba61612fd: Pulling fs layer 16:29:46 8ed8ca486205: Pulling fs layer 16:29:46 cc1cd167ecdc: Pulling fs layer 16:29:46 c516ae0d96e1: Pulling fs layer 16:29:46 684cea983483: Pulling fs layer 16:29:46 dd3240ac7de5: Pulling fs layer 16:29:46 b1e948a4e11c: Pulling fs layer 16:29:46 a8fd76ee1af6: Pulling fs layer 16:29:46 646ad004c059: Pulling fs layer 16:29:46 684cea983483: Waiting 16:29:46 a8fd76ee1af6: Waiting 16:29:46 646ad004c059: Waiting 16:29:46 cc1cd167ecdc: Waiting 16:29:46 8ed8ca486205: Verifying Checksum 16:29:46 8ed8ca486205: Download complete 16:29:46 666ba61612fd: Verifying Checksum 16:29:46 666ba61612fd: Download complete 16:29:46 c516ae0d96e1: Verifying Checksum 16:29:46 684cea983483: Verifying Checksum 16:29:46 dd3240ac7de5: Download complete 16:29:46 59bf1c3509f3: Download complete 16:29:47 b1e948a4e11c: Verifying Checksum 16:29:47 b1e948a4e11c: Download complete 16:29:47 59bf1c3509f3: Pull complete 16:29:47 666ba61612fd: Pull complete 16:29:47 8ed8ca486205: Pull complete 16:29:47 646ad004c059: Verifying Checksum 16:29:47 cc1cd167ecdc: Verifying Checksum 16:29:47 cc1cd167ecdc: Download complete 16:29:47 a8fd76ee1af6: Verifying Checksum 16:29:47 a8fd76ee1af6: Download complete 16:29:52 cc1cd167ecdc: Pull complete 16:29:52 c516ae0d96e1: Pull complete 16:29:52 684cea983483: Pull complete 16:29:52 dd3240ac7de5: Pull complete 16:29:52 b1e948a4e11c: Pull complete 16:29:54 a8fd76ee1af6: Pull complete 16:29:55 646ad004c059: Pull complete 16:29:55 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:29:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 16:29:55 + 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 16:29:55 + docker inspect -f . ci-base-image-x86_64 16:29:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:55 prd-ubuntu20.04-docker-8c-8g-16585 does not seem to be running inside a container 16:29:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@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-x86_64 cat 16:29:58 $ docker top 3d2800b76c2ea98c568498384fbaa4e8c95523591885606f0e9e093c439e5b5f -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:58 + go version 16:29:58 go version go1.17.7 linux/amd64 [Pipeline] } 16:29:58 $ docker stop --time=1 3d2800b76c2ea98c568498384fbaa4e8c95523591885606f0e9e093c439e5b5f 16:29:59 $ docker rm -f 3d2800b76c2ea98c568498384fbaa4e8c95523591885606f0e9e093c439e5b5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:00 + docker inspect -f . ci-base-image-x86_64 16:30:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:00 prd-ubuntu20.04-docker-8c-8g-16585 does not seem to be running inside a container 16:30:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@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-x86_64 cat 16:30:00 $ docker top 0578cce8b29cebe80050afc7b83b0f86fee71b3d81968d88f7a2dfdd32d0d5f2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:30:01 + make test 16:30:01 CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 16:30:01 go: downloading github.com/nats-io/nats.go v1.16.0 16:30:01 go: downloading github.com/pebbe/zmq4 v1.2.7 16:30:01 go: downloading github.com/stretchr/testify v1.7.5 16:30:01 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 16:30:01 go: downloading github.com/google/uuid v1.3.0 16:30:01 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:30:01 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:30:01 go: downloading github.com/davecgh/go-spew v1.1.1 16:30:01 go: downloading gopkg.in/yaml.v3 v3.0.1 16:30:01 go: downloading github.com/pmezard/go-difflib v1.0.0 16:30:01 go: downloading github.com/x448/float16 v0.8.4 16:30:01 go: downloading github.com/stretchr/objx v0.4.0 16:30:01 go: downloading github.com/gorilla/websocket v1.4.2 16:30:01 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 16:30:01 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 16:30:01 go: downloading github.com/nats-io/nuid v1.0.1 16:30:01 go: downloading github.com/nats-io/nkeys v0.3.0 16:30:01 Still waiting to schedule task 16:30:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:30:01 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 16:30:11 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 16:30:15 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.071s coverage: 90.4% of statements 16:30:15 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.044s coverage: 82.1% of statements 16:30:15 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] 16:30:15 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] 16:30:15 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.033s coverage: 3.4% of statements 16:30:15 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.045s coverage: 68.5% of statements 16:30:15 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 16:30:37 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.383s coverage: 83.8% of statements 16:30:37 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.036s coverage: 88.9% of statements 16:30:37 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 16:30:37 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.030s coverage: 100.0% of statements 16:30:37 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.041s coverage: 100.0% of statements 16:30:37 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.027s coverage: 90.9% of statements 16:30:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:30:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:30:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 16:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:30:48 $ docker stop --time=1 0578cce8b29cebe80050afc7b83b0f86fee71b3d81968d88f7a2dfdd32d0d5f2 16:30:49 $ docker rm -f 0578cce8b29cebe80050afc7b83b0f86fee71b3d81968d88f7a2dfdd32d0d5f2 [Pipeline] // withDockerContainer [Pipeline] sh 16:30:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:30:50 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 16:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:50 16:30:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:50 latest: Pulling from edgex-lftools-log-publisher 16:30:50 5eb5b503b376: Pulling fs layer 16:30:50 5c69ac0246d0: Pulling fs layer 16:30:50 ec43610c2a17: Pulling fs layer 16:30:50 3a2ae6a8a46f: Pulling fs layer 16:30:50 33b1e0a273af: Pulling fs layer 16:30:50 5d3b04190fa2: Pulling fs layer 16:30:50 2f39f015ded8: Pulling fs layer 16:30:50 33b1e0a273af: Waiting 16:30:50 3a2ae6a8a46f: Waiting 16:30:50 2f39f015ded8: Waiting 16:30:50 5c69ac0246d0: Verifying Checksum 16:30:50 5c69ac0246d0: Download complete 16:30:50 3a2ae6a8a46f: Verifying Checksum 16:30:50 3a2ae6a8a46f: Download complete 16:30:50 33b1e0a273af: Verifying Checksum 16:30:50 33b1e0a273af: Download complete 16:30:51 5d3b04190fa2: Verifying Checksum 16:30:51 5d3b04190fa2: Download complete 16:30:51 ec43610c2a17: Verifying Checksum 16:30:51 ec43610c2a17: Download complete 16:30:51 5eb5b503b376: Verifying Checksum 16:30:51 5eb5b503b376: Download complete 16:30:51 2f39f015ded8: Download complete 16:30:52 5eb5b503b376: Pull complete 16:30:52 5c69ac0246d0: Pull complete 16:30:52 ec43610c2a17: Pull complete 16:30:53 3a2ae6a8a46f: Pull complete 16:30:53 33b1e0a273af: Pull complete 16:30:53 5d3b04190fa2: Pull complete 16:30:57 2f39f015ded8: Pull complete 16:30:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:30:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:57 prd-ubuntu20.04-docker-8c-8g-16585 does not seem to be running inside a container 16:30:57 $ 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/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@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:latest cat 16:30:59 $ docker top 12b307fe0b14c08d78aac9cada5c5f9d8c346475c2e5df2376db7e3e0e520259 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:59 ---> job-cost.sh 16:30:59 lf-activate-venv: SKIPPING 16:30:59 INFO: No Stack... 16:31:00 INFO: Retrieving Pricing Info for: v3-standard-8 16:31:00 INFO: Archiving Costs [Pipeline] sh 16:31:00 + cat /w/workspace/xfoundry_go-mod-messaging_PR-137/archives/cost.csv 16:31:00 + cut -d, -f6 [Pipeline] lock 16:31:00 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] 16:31:00 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] did not exist. Created. 16:31:00 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:31:01 + echo total: 0.2199999988079071 [Pipeline] stash 16:31:01 Stashed 1 file(s) [Pipeline] } 16:31:01 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] [Pipeline] // lock [Pipeline] } 16:31:01 $ docker stop --time=1 12b307fe0b14c08d78aac9cada5c5f9d8c346475c2e5df2376db7e3e0e520259 16:31:02 $ docker rm -f 12b307fe0b14c08d78aac9cada5c5f9d8c346475c2e5df2376db7e3e0e520259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:34:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16607 in /w/workspace/xfoundry_go-mod-messaging_PR-137 [Pipeline] { [Pipeline] ws 16:34:29 Running in /w/workspace/go-mod-messaging/41 [Pipeline] { [Pipeline] checkout 16:34:29 Selected Git installation does not exist. Using Default 16:34:29 The recommended git tool is: NONE 16:34:38 using credential edgex-jenkins-ssh 16:34:38 Cloning the remote Git repository 16:34:38 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 16:34:38 > git init /w/workspace/go-mod-messaging/41 # timeout=10 16:34:39 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 16:34:39 > git --version # timeout=10 16:34:39 > git --version # 'git version 2.25.1' 16:34:39 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:34:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 16:34:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:34:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 16:34:40 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 16:34:40 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:34:40 Merging remotes/origin/main commit 07372525aff25985f4d930310b99193ab8dd0701 into PR head commit 1d08ee8f471d6d92392b02fec992905af1b3239b 16:34:41 Merge succeeded, producing a5e5ebdb7062dae715d40dfd2f41862df922bcd8 16:34:41 Checking out Revision a5e5ebdb7062dae715d40dfd2f41862df922bcd8 (PR-137) 16:34:40 > git config core.sparsecheckout # timeout=10 16:34:40 > git checkout -f 1d08ee8f471d6d92392b02fec992905af1b3239b # timeout=10 16:34:41 > git remote # timeout=10 16:34:41 > git config --get remote.origin.url # timeout=10 16:34:41 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:41 > git merge 07372525aff25985f4d930310b99193ab8dd0701 # timeout=10 16:34:41 > git rev-parse HEAD^{commit} # timeout=10 16:34:41 > git config core.sparsecheckout # timeout=10 16:34:41 > git checkout -f a5e5ebdb7062dae715d40dfd2f41862df922bcd8 # timeout=10 16:34:45 Commit message: "Merge commit '07372525aff25985f4d930310b99193ab8dd0701' into HEAD" 16:34:45 > git rev-list --no-walk 1d08ee8f471d6d92392b02fec992905af1b3239b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:34:46 % Total % Received % Xferd Average Speed Time Time Time Current 16:34:46 Dload Upload Total Spent Left Speed 16:34:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 79564 0 --:--:-- --:--:-- --:--:-- 79564 100 12253 100 12253 0 0 79051 0 --:--:-- --:--:-- --:--:-- 78544 [Pipeline] sh 16:34:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:34:48 + + sudo teesudo /etc/docker/daemon.new jq 16:34:48 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:34:48 { 16:34:48 "registry-mirrors": [ 16:34:48 "https://nexus3.edgexfoundry.org:10001" 16:34:48 ], 16:34:48 "bip": "10.250.0.254/24", 16:34:48 "hosts": [ 16:34:48 "tcp://0.0.0.0:5555", 16:34:48 "unix:///var/run/docker.sock" 16:34:48 ], 16:34:48 "mtu": 1458, 16:34:48 "selinux-enabled": true, 16:34:48 "seccomp-profile": "/etc/docker/seccomp.json" 16:34:48 } [Pipeline] sh 16:34:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:34:48 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 16:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:07 ========================================================= 16:35:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:35:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:35:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:35:09 9b3977197b4f: Pulling fs layer 16:35:09 1a89e8eeedd5: Pulling fs layer 16:35:09 94645a83ff95: Pulling fs layer 16:35:09 e6fb740bc735: Pulling fs layer 16:35:09 3a77bd46dcc9: Pulling fs layer 16:35:09 355e64cbe906: Pulling fs layer 16:35:09 63ab81a10011: Pulling fs layer 16:35:09 555d1d1c4555: Pulling fs layer 16:35:09 7d9057610161: Pulling fs layer 16:35:09 355e64cbe906: Waiting 16:35:09 63ab81a10011: Waiting 16:35:09 555d1d1c4555: Waiting 16:35:09 7d9057610161: Waiting 16:35:09 e6fb740bc735: Waiting 16:35:09 3a77bd46dcc9: Waiting 16:35:09 94645a83ff95: Verifying Checksum 16:35:09 94645a83ff95: Download complete 16:35:09 1a89e8eeedd5: Verifying Checksum 16:35:09 1a89e8eeedd5: Download complete 16:35:09 3a77bd46dcc9: Verifying Checksum 16:35:09 3a77bd46dcc9: Download complete 16:35:09 9b3977197b4f: Verifying Checksum 16:35:09 9b3977197b4f: Download complete 16:35:09 355e64cbe906: Verifying Checksum 16:35:09 355e64cbe906: Download complete 16:35:09 63ab81a10011: Verifying Checksum 16:35:09 63ab81a10011: Download complete 16:35:10 9b3977197b4f: Pull complete 16:35:10 7d9057610161: Verifying Checksum 16:35:10 7d9057610161: Download complete 16:35:10 1a89e8eeedd5: Pull complete 16:35:10 94645a83ff95: Pull complete 16:35:11 555d1d1c4555: Verifying Checksum 16:35:11 555d1d1c4555: Download complete 16:35:11 e6fb740bc735: Verifying Checksum 16:35:11 e6fb740bc735: Download complete 16:35:24 e6fb740bc735: Pull complete 16:35:24 3a77bd46dcc9: Pull complete 16:35:24 355e64cbe906: Pull complete 16:35:24 63ab81a10011: Pull complete 16:35:31 555d1d1c4555: Pull complete 16:35:32 7d9057610161: Pull complete 16:35:32 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:35:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 16:35:32 + 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 16:35:32 + docker inspect -f . ci-base-image-arm64 16:35:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:33 prd-ubuntu20.04-docker-arm64-4c-16g-16607 does not seem to be running inside a container 16:35:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/41 -v /w/workspace/go-mod-messaging/41:/w/workspace/go-mod-messaging/41:rw,z -v /w/workspace/go-mod-messaging/41@tmp:/w/workspace/go-mod-messaging/41@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 16:35:36 $ docker top 57cd377dede0bacc1b3d3dc10e91ae38a29ef1abc1dad7395f8ebeff2fd18d3c -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:37 + go version 16:35:37 go version go1.17.7 linux/arm64 [Pipeline] } 16:35:37 $ docker stop --time=1 57cd377dede0bacc1b3d3dc10e91ae38a29ef1abc1dad7395f8ebeff2fd18d3c 16:35:39 $ docker rm -f 57cd377dede0bacc1b3d3dc10e91ae38a29ef1abc1dad7395f8ebeff2fd18d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:39 + docker inspect -f . ci-base-image-arm64 16:35:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:40 prd-ubuntu20.04-docker-arm64-4c-16g-16607 does not seem to be running inside a container 16:35:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/41 -v /w/workspace/go-mod-messaging/41:/w/workspace/go-mod-messaging/41:rw,z -v /w/workspace/go-mod-messaging/41@tmp:/w/workspace/go-mod-messaging/41@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 16:35:42 $ docker top f3f62bcff1fe1349b0cb7c51ba152cc7395458c9445e5a0057563f43e2ef3140 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:35:43 + make test 16:35:43 CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 16:35:43 go: downloading github.com/nats-io/nats.go v1.16.0 16:35:43 go: downloading github.com/stretchr/testify v1.7.5 16:35:43 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 16:35:43 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:35:43 go: downloading github.com/google/uuid v1.3.0 16:35:43 go: downloading github.com/pebbe/zmq4 v1.2.7 16:35:43 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:35:43 go: downloading github.com/davecgh/go-spew v1.1.1 16:35:43 go: downloading github.com/pmezard/go-difflib v1.0.0 16:35:43 go: downloading github.com/stretchr/objx v0.4.0 16:35:43 go: downloading gopkg.in/yaml.v3 v3.0.1 16:35:43 go: downloading github.com/gorilla/websocket v1.4.2 16:35:43 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 16:35:43 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 16:35:43 go: downloading github.com/nats-io/nkeys v0.3.0 16:35:43 go: downloading github.com/nats-io/nuid v1.0.1 16:35:43 go: downloading github.com/x448/float16 v0.8.4 16:35:43 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 16:36:51 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 16:37:14 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.196s coverage: 90.4% of statements 16:37:24 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.138s coverage: 82.1% of statements 16:37:24 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] 16:37:24 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] 16:37:24 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.073s coverage: 3.4% of statements 16:37:25 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.129s coverage: 68.5% of statements 16:37:25 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 16:37:40 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.477s coverage: 83.8% of statements 16:37:40 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.079s coverage: 88.9% of statements 16:37:40 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 16:37:40 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.077s coverage: 100.0% of statements 16:37:40 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.093s coverage: 100.0% of statements 16:37:40 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.060s coverage: 90.9% of statements 16:37:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:37:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:38:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:38:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 16:38:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:38:27 $ docker stop --time=1 f3f62bcff1fe1349b0cb7c51ba152cc7395458c9445e5a0057563f43e2ef3140 16:38:29 $ docker rm -f f3f62bcff1fe1349b0cb7c51ba152cc7395458c9445e5a0057563f43e2ef3140 [Pipeline] // withDockerContainer [Pipeline] sh 16:38:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:38:31 Warning: overwriting stash ‘coverage-report’ 16:38:31 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 16:38:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:32 16:38:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:32 arm64: Pulling from edgex-lftools-log-publisher 16:38:32 8998bd30e6a1: Pulling fs layer 16:38:32 04944245beec: Pulling fs layer 16:38:32 699f458cf7ca: Pulling fs layer 16:38:32 765212b225bb: Pulling fs layer 16:38:32 f23df028b6ca: Pulling fs layer 16:38:32 d65c8cfc05b1: Pulling fs layer 16:38:32 2437ff75d9bd: Pulling fs layer 16:38:32 765212b225bb: Waiting 16:38:32 f23df028b6ca: Waiting 16:38:32 d65c8cfc05b1: Waiting 16:38:32 2437ff75d9bd: Waiting 16:38:32 04944245beec: Verifying Checksum 16:38:32 04944245beec: Download complete 16:38:32 765212b225bb: Verifying Checksum 16:38:32 765212b225bb: Download complete 16:38:33 f23df028b6ca: Verifying Checksum 16:38:33 f23df028b6ca: Download complete 16:38:33 d65c8cfc05b1: Verifying Checksum 16:38:33 d65c8cfc05b1: Download complete 16:38:33 699f458cf7ca: Verifying Checksum 16:38:33 699f458cf7ca: Download complete 16:38:33 8998bd30e6a1: Verifying Checksum 16:38:33 8998bd30e6a1: Download complete 16:38:36 2437ff75d9bd: Verifying Checksum 16:38:36 2437ff75d9bd: Download complete 16:38:38 8998bd30e6a1: Pull complete 16:38:38 04944245beec: Pull complete 16:38:40 699f458cf7ca: Pull complete 16:38:40 765212b225bb: Pull complete 16:38:41 f23df028b6ca: Pull complete 16:38:41 d65c8cfc05b1: Pull complete 16:38:56 2437ff75d9bd: Pull complete 16:38:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:57 prd-ubuntu20.04-docker-arm64-4c-16g-16607 does not seem to be running inside a container 16:38:57 $ 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-messaging/41 -v /w/workspace/go-mod-messaging/41:/w/workspace/go-mod-messaging/41:rw,z -v /w/workspace/go-mod-messaging/41@tmp:/w/workspace/go-mod-messaging/41@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 16:39:00 $ docker top 60354dd733032632a500d09443cc3198268bbb14de438b0f16c9b352b010fba6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:01 ---> job-cost.sh 16:39:01 lf-activate-venv: SKIPPING 16:39:01 INFO: No Stack... 16:39:01 INFO: Retrieving Pricing Info for: v3-standard-4 16:39:02 INFO: Archiving Costs [Pipeline] sh 16:39:03 + cat /w/workspace/go-mod-messaging/41/archives/cost.csv 16:39:03 + cut -d, -f6 [Pipeline] lock 16:39:03 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] 16:39:03 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] did not exist. Created. 16:39:03 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:39:03 /w/workspace/go-mod-messaging/41@tmp/durable-adb97f7c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:39:04 + echo total: 0.10999999940395355 [Pipeline] stash 16:39:04 Warning: overwriting stash ‘stack-cost’ 16:39:04 Stashed 1 file(s) [Pipeline] } 16:39:04 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-41-stack-cost] [Pipeline] // lock [Pipeline] } 16:39:04 $ docker stop --time=1 60354dd733032632a500d09443cc3198268bbb14de438b0f16c9b352b010fba6 16:39:06 $ docker rm -f 60354dd733032632a500d09443cc3198268bbb14de438b0f16c9b352b010fba6 [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 16:39:06 provisioning config files... 16:39:06 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/config2171724402197476449tmp [Pipeline] { [Pipeline] sh 16:39:07 + set +x 16:39:07 + + curl -s https://codecov.io/bash 16:39:07 bash -s -- 16:39:07 16:39:07 _____ _ 16:39:07 / ____| | | 16:39:07 | | ___ __| | ___ ___ _____ __ 16:39:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:39:07 | |___| (_) | (_| | __/ (_| (_) \ V / 16:39:07 \_____\___/ \__,_|\___|\___\___/ \_/ 16:39:07 Bash-1.0.6 16:39:07 16:39:07 16:39:07 ==> git version 2.25.1 found 16:39:07 ==> 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 16:39:07 Release-Date: 2020-01-08 16:39:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:39:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:39:07 ==> Jenkins CI detected. 16:39:07 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-137 16:39:07 project root: . 16:39:07 --> token set from env 16:39:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:39:07 ==> Running gcov in . (disable via -X gcov) 16:39:07 ==> Python coveragepy not found 16:39:07 ==> Searching for coverage reports in: 16:39:07 + . 16:39:07 -> Found 1 reports 16:39:07 ==> Detecting git/mercurial file structure 16:39:07 ==> Reading reports 16:39:07 + ./coverage.out bytes=32511 16:39:07 ==> Appending adjustments 16:39:07 https://docs.codecov.io/docs/fixing-reports 16:39:07 + Found adjustments 16:39:07 ==> Gzipping contents 16:39:07 8.0K /tmp/codecov.rsmWZG.gz 16:39:07 ==> Uploading reports 16:39:07 url: https://codecov.io 16:39:07 query: branch=PR-137&commit=197c7105c7045fddcfcc11f470e6d76e5fed4a6d&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-137%2F41%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=137&job=&cmd_args= 16:39:07 -> Pinging Codecov 16:39:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-137&commit=197c7105c7045fddcfcc11f470e6d76e5fed4a6d&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-137%2F41%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=137&job=&cmd_args= 16:39:07 -> Uploading to 16:39:07 https://storage.googleapis.com/codecov/v4/raw/2022-07-01/F6E385568367DD0E4001BA4F8F1CB792/197c7105c7045fddcfcc11f470e6d76e5fed4a6d/73dd6a8d-000f-4d78-b3a2-dcc863c465f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220701T163907Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0cd1d7e8634f436d096d68be2313871ddb351b468ab41c78e97063e4cdb1375 16:39:07 % Total % Received % Xferd Average Speed Time Time Time Current 16:39:07 Dload Upload Total Spent Left Speed 16:39:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7313 0 0 100 7313 0 25569 --:--:-- --:--:-- --:--:-- 25569 16:39:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/197c7105c7045fddcfcc11f470e6d76e5fed4a6d [Pipeline] } 16:39:08 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 16:39:08 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-137/archives ] 16:39:08 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-137/archives 16:39:08 total 16 16:39:08 drwxr-xr-x 3 root root 4096 Jul 1 16:31 . 16:39:08 drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 16:31 .. 16:39:08 drwxr-xr-x 2 root root 4096 Jul 1 16:31 cost 16:39:08 -rw-r--r-- 1 root root 88 Jul 1 16:31 cost.csv 16:39:08 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-137/archives 16:39:08 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-137/archives 16:39:08 total 16 16:39:08 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 16:31 . 16:39:08 drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 16:31 .. 16:39:08 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 16:31 cost 16:39:08 -rw-r--r-- 1 jenkins jenkins 88 Jul 1 16:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:39:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:39:10 ---> package-listing.sh 16:39:10 ++ facter osfamily 16:39:10 ++ tr '[:upper:]' '[:lower:]' 16:39:10 + OS_FAMILY=debian 16:39:10 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-137 16:39:10 + START_PACKAGES=/tmp/packages_start.txt 16:39:10 + END_PACKAGES=/tmp/packages_end.txt 16:39:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:39:10 + PACKAGES=/tmp/packages_start.txt 16:39:10 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-137 ']' 16:39:10 + PACKAGES=/tmp/packages_end.txt 16:39:10 + case "${OS_FAMILY}" in 16:39:10 + dpkg -l 16:39:10 + grep '^ii' 16:39:10 + '[' -f /tmp/packages_start.txt ']' 16:39:10 + '[' -f /tmp/packages_end.txt ']' 16:39:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:39:10 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-137 ']' 16:39:10 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-137/archives/ 16:39:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-137/archives/ [Pipeline] echo 16:39:10 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/xfoundry_go-mod-messaging_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:39:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:11 prd-ubuntu20.04-docker-8c-8g-16585 does not seem to be running inside a container 16:39:11 $ 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/xfoundry_go-mod-messaging_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@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 16:39:11 $ docker top 8b13e1d2c23ad5b47af9be5625b526132814dad9876bd03ac24fc040f11f99ad -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:11 + touch /tmp/pre-build-complete [Pipeline] sh 16:39:12 + mkdir -p /var/log/sysstat [Pipeline] sh 16:39:12 + ls /var/log/sa-host 16:39:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:12 provisioning config files... 16:39:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/config8737454448821349837tmp [Pipeline] { [Pipeline] echo 16:39:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:39:12 ---> create-netrc.sh [Pipeline] } 16:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:39:13 ---> python-tools-install.sh [Pipeline] echo 16:39:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:39:13 ---> sudo-logs.sh 16:39:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:39:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:39:13 ---> job-cost.sh 16:39:13 lf-activate-venv: SKIPPING 16:39:13 DEBUG: total: 0.2199999988079071 16:39:13 INFO: Retrieving Stack Cost... 16:39:14 INFO: Retrieving Pricing Info for: v3-standard-8 16:39:14 INFO: Archiving Costs [Pipeline] echo 16:39:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:39:15 ---> logs-deploy.sh 16:39:15 lf-activate-venv: SKIPPING 16:39:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-137/41 16:39:15 INFO: archiving workspace using pattern(s): 16:39:15 Archives upload complete. 16:39:15 INFO: archiving logs to Nexus