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