Pull request #181 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 048c99dfa6dec690e8d0fa9fa4e19a459e40079d+b3ccdde951e4ba870424f0007a3d9bd898c7deee (653e91e27062fdc922ec9de56dc5bf84dd193ad3) 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-ssh13811890946800948596.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2817914820981905870.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-181/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-181/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8211797903250549341.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5318999985847366152.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-181/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-181/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2813314509614571305.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.18 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-8367 in /w/workspace/xfoundry_go-mod-messaging_PR-181 [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-181 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 b3ccdde951e4ba870424f0007a3d9bd898c7deee into PR head commit 048c99dfa6dec690e8d0fa9fa4e19a459e40079d > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 048c99dfa6dec690e8d0fa9fa4e19a459e40079d # timeout=10 Merge succeeded, producing 048c99dfa6dec690e8d0fa9fa4e19a459e40079d Checking out Revision 048c99dfa6dec690e8d0fa9fa4e19a459e40079d (PR-181) Commit message: "build(deps): bump github.com/nats-io/nats.go from 1.17.0 to 1.18.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T16:34:21.792Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T16:34:21.833Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T16:34:21.845Z] ========================================================= [2022-10-17T16:34:21.845Z] EdgeX Global Pipelines Version Info [2022-10-17T16:34:21.845Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge b3ccdde951e4ba870424f0007a3d9bd898c7deee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 048c99dfa6dec690e8d0fa9fa4e19a459e40079d # timeout=10 > git rev-list --no-walk fdd3014e78bf92af3dbe4c062eba549795b8cb6d # timeout=10 [2022-10-17T16:34:22.543Z] ------------------- [2022-10-17T16:34:22.544Z] stable info: [2022-10-17T16:34:22.544Z] ------------------- [2022-10-17T16:34:22.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T16:34:22.544Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T16:34:22.544Z] Message: update stable to v1.0.239 [2022-10-17T16:34:23.117Z] ------------------- [2022-10-17T16:34:23.117Z] experimental info: [2022-10-17T16:34:23.117Z] ------------------- [2022-10-17T16:34:23.117Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T16:34:23.117Z] Commit SHA: d2e0ee4e0e42c6415879ffb8430f990d8bf891ca [2022-10-17T16:34:23.117Z] Message: update experimental to v1.0.241 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T16:34:23.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-10-17T16:34:23.323Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-10-17T16:34:23.332Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T16:34:23.340Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T16:34:23.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T16:34:23.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T16:34:23.372Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T16:34:23.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T16:34:23.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T16:34:23.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T16:34:23.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T16:34:23.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-10-17T16:34:23.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T16:34:23.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T16:34:23.468Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T16:34:23.485Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T16:34:23.495Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T16:34:23.510Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T16:34:23.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T16:34:23.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T16:34:23.546Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T16:34:23.558Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T16:34:23.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T16:34:23.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T16:34:23.593Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-10-17T16:34:23.606Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T16:34:23.617Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T16:34:23.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-181 [Pipeline] echo [2022-10-17T16:34:23.638Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-181 [Pipeline] echo [2022-10-17T16:34:23.651Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-181 [Pipeline] echo [2022-10-17T16:34:23.662Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 048c99dfa6dec690e8d0fa9fa4e19a459e40079d [Pipeline] echo [2022-10-17T16:34:23.672Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 048c99d [Pipeline] echo [2022-10-17T16:34:23.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T16:34:24.020Z] + git rev-list -1 --merges 048c99dfa6dec690e8d0fa9fa4e19a459e40079d~1..048c99dfa6dec690e8d0fa9fa4e19a459e40079d [Pipeline] echo [2022-10-17T16:34:24.056Z] -----------> git rev-list -1 --merges 048c99dfa6dec690e8d0fa9fa4e19a459e40079d~1..048c99dfa6dec690e8d0fa9fa4e19a459e40079d 048c99dfa6dec690e8d0fa9fa4e19a459e40079d [false] [Pipeline] sh [2022-10-17T16:34:24.343Z] + git log --format=format:%s -1 048c99dfa6dec690e8d0fa9fa4e19a459e40079d [Pipeline] echo [2022-10-17T16:34:24.357Z] ========================================================= [2022-10-17T16:34:24.357Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T16:34:24.357Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T16:34:24.700Z] + git log --format=format:%s -1 048c99dfa6dec690e8d0fa9fa4e19a459e40079d [Pipeline] echo [2022-10-17T16:34:24.710Z] [semverPrep] GIT_COMMIT: 048c99dfa6dec690e8d0fa9fa4e19a459e40079d, Commit Message: build(deps): bump github.com/nats-io/nats.go from 1.17.0 to 1.18.0 [Pipeline] echo [2022-10-17T16:34:24.722Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T16:34:25.082Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T16:34:25.082Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T16:34:25.082Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T16:34:25.082Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T16:34:25.082Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T16:34:25.082Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T16:34:25.082Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:34:25.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T16:34:25.690Z] [2022-10-17T16:34:25.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:34:25.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T16:34:25.990Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T16:34:25.990Z] b85a868b505f: Pulling fs layer [2022-10-17T16:34:25.990Z] e2be974225ed: Pulling fs layer [2022-10-17T16:34:25.990Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T16:34:25.990Z] 988bab9f4d93: Pulling fs layer [2022-10-17T16:34:25.990Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T16:34:25.990Z] eaf3925da568: Pulling fs layer [2022-10-17T16:34:25.990Z] bab4dde63d76: Pulling fs layer [2022-10-17T16:34:25.990Z] bde34c3a00c8: Pulling fs layer [2022-10-17T16:34:25.990Z] b352a97aabf1: Pulling fs layer [2022-10-17T16:34:25.990Z] 4872d77fe225: Pulling fs layer [2022-10-17T16:34:25.990Z] 5851b861e8e6: Pulling fs layer [2022-10-17T16:34:25.990Z] 988bab9f4d93: Waiting [2022-10-17T16:34:25.990Z] b352a97aabf1: Waiting [2022-10-17T16:34:25.990Z] 4872d77fe225: Waiting [2022-10-17T16:34:25.990Z] 1469e6f7b9e6: Waiting [2022-10-17T16:34:25.990Z] bab4dde63d76: Waiting [2022-10-17T16:34:25.990Z] bde34c3a00c8: Waiting [2022-10-17T16:34:25.990Z] 5851b861e8e6: Waiting [2022-10-17T16:34:25.990Z] eaf3925da568: Waiting [2022-10-17T16:34:25.990Z] e2be974225ed: Download complete [2022-10-17T16:34:25.990Z] 988bab9f4d93: Download complete [2022-10-17T16:34:26.251Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T16:34:26.251Z] 1469e6f7b9e6: Download complete [2022-10-17T16:34:26.251Z] eaf3925da568: Verifying Checksum [2022-10-17T16:34:26.251Z] eaf3925da568: Download complete [2022-10-17T16:34:26.251Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T16:34:26.251Z] 339a4e72a1f5: Download complete [2022-10-17T16:34:26.251Z] bde34c3a00c8: Verifying Checksum [2022-10-17T16:34:26.251Z] bde34c3a00c8: Download complete [2022-10-17T16:34:26.251Z] b352a97aabf1: Verifying Checksum [2022-10-17T16:34:26.251Z] b352a97aabf1: Download complete [2022-10-17T16:34:26.251Z] 4872d77fe225: Verifying Checksum [2022-10-17T16:34:26.251Z] 4872d77fe225: Download complete [2022-10-17T16:34:26.251Z] 5851b861e8e6: Download complete [2022-10-17T16:34:26.251Z] b85a868b505f: Verifying Checksum [2022-10-17T16:34:26.251Z] b85a868b505f: Download complete [2022-10-17T16:34:26.510Z] bab4dde63d76: Verifying Checksum [2022-10-17T16:34:26.510Z] bab4dde63d76: Download complete [2022-10-17T16:34:27.446Z] b85a868b505f: Pull complete [2022-10-17T16:34:27.706Z] e2be974225ed: Pull complete [2022-10-17T16:34:27.965Z] 339a4e72a1f5: Pull complete [2022-10-17T16:34:27.965Z] 988bab9f4d93: Pull complete [2022-10-17T16:34:28.224Z] 1469e6f7b9e6: Pull complete [2022-10-17T16:34:28.224Z] eaf3925da568: Pull complete [2022-10-17T16:34:30.143Z] bab4dde63d76: Pull complete [2022-10-17T16:34:30.143Z] bde34c3a00c8: Pull complete [2022-10-17T16:34:30.402Z] b352a97aabf1: Pull complete [2022-10-17T16:34:30.402Z] 4872d77fe225: Pull complete [2022-10-17T16:34:30.402Z] 5851b861e8e6: Pull complete [2022-10-17T16:34:30.661Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T16:34:30.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T16:34:30.661Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:34:30.746Z] prd-ubuntu20.04-docker-8c-8g-8367 does not seem to be running inside a container [2022-10-17T16:34:30.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-181 -v /w/workspace/xfoundry_go-mod-messaging_PR-181:/w/workspace/xfoundry_go-mod-messaging_PR-181:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T16:34:33.039Z] $ docker top 7bdc112b795ddfda8a4921043a2e66dcc92e124905728b09adcbb24d6f5e7c7b -eo pid,comm [2022-10-17T16:34:33.098Z] 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). [2022-10-17T16:34:33.098Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T16:34:33.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T16:34:33.130Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T16:34:33.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T16:34:33.272Z] $ docker exec 7bdc112b795ddfda8a4921043a2e66dcc92e124905728b09adcbb24d6f5e7c7b ssh-agent [2022-10-17T16:34:33.379Z] SSH_AUTH_SOCK=/tmp/ssh-6yUhMjZSPPQp/agent.32 [2022-10-17T16:34:33.380Z] SSH_AGENT_PID=38 [2022-10-17T16:34:33.386Z] Running ssh-add (command line suppressed) [2022-10-17T16:34:33.499Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-181@tmp/private_key_13525921320073815416.key (/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp/private_key_13525921320073815416.key) [2022-10-17T16:34:33.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T16:34:33.801Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T16:34:33.816Z] $ docker exec --env ******** --env ******** 7bdc112b795ddfda8a4921043a2e66dcc92e124905728b09adcbb24d6f5e7c7b ssh-agent -k [2022-10-17T16:34:33.914Z] unset SSH_AUTH_SOCK; [2022-10-17T16:34:33.914Z] unset SSH_AGENT_PID; [2022-10-17T16:34:33.914Z] echo Agent pid 38 killed; [2022-10-17T16:34:33.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T16:34:33.948Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T16:34:33.948Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T16:34:34.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T16:34:34.059Z] $ docker exec 7bdc112b795ddfda8a4921043a2e66dcc92e124905728b09adcbb24d6f5e7c7b ssh-agent [2022-10-17T16:34:34.163Z] SSH_AUTH_SOCK=/tmp/ssh-uSpDgkjDPHH2/agent.70 [2022-10-17T16:34:34.163Z] SSH_AGENT_PID=76 [2022-10-17T16:34:34.168Z] Running ssh-add (command line suppressed) [2022-10-17T16:34:34.273Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-181@tmp/private_key_2000456565344523152.key (/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp/private_key_2000456565344523152.key) [2022-10-17T16:34:34.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T16:34:34.567Z] + git semver init [2022-10-17T16:34:34.825Z] 2022-10-17 16:34:34,766 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T16:34:34.826Z] 2022-10-17 16:34:34,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-181/.semver [2022-10-17T16:34:34.826Z] 2022-10-17 16:34:34,767 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-181/.semver [2022-10-17T16:34:34.826Z] 2022-10-17 16:34:34,767 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-181/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-181, universal_newlines=False, shell=None, istream=None) [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,664 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-181/.git/info/exclude [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,664 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-181/.semver/PR-181 with force:False [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,665 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-181/.semver/PR-181 [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,669 [execute] INFO git cat-file --batch-check [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-181/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,675 [execute] INFO git cat-file --batch [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-181/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T16:34:35.765Z] 2022-10-17 16:34:35,681 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-181/.semver/PR-181 [2022-10-17T16:34:35.765Z] 0.0.0 [Pipeline] } [2022-10-17T16:34:35.779Z] $ docker exec --env ******** --env ******** 7bdc112b795ddfda8a4921043a2e66dcc92e124905728b09adcbb24d6f5e7c7b ssh-agent -k [2022-10-17T16:34:35.874Z] unset SSH_AUTH_SOCK; [2022-10-17T16:34:35.875Z] unset SSH_AGENT_PID; [2022-10-17T16:34:35.875Z] echo Agent pid 76 killed; [2022-10-17T16:34:35.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T16:34:36.180Z] + git semver [Pipeline] } [2022-10-17T16:34:36.458Z] $ docker stop --time=1 7bdc112b795ddfda8a4921043a2e66dcc92e124905728b09adcbb24d6f5e7c7b [2022-10-17T16:34:37.763Z] $ docker rm -f 7bdc112b795ddfda8a4921043a2e66dcc92e124905728b09adcbb24d6f5e7c7b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T16:34:38.094Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T16:34:38.276Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T16:34:38.278Z] [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 [2022-10-17T16:34:38.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T16:34:38.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T16:34:38.447Z] ========================================================= [2022-10-17T16:34:38.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T16:34:38.447Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-10-17T16:34:38.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T16:34:38.738Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T16:34:38.738Z] 213ec9aee27d: Pulling fs layer [2022-10-17T16:34:38.738Z] 4583459ba037: Pulling fs layer [2022-10-17T16:34:38.738Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T16:34:38.738Z] 53926ce57604: Pulling fs layer [2022-10-17T16:34:38.738Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T16:34:38.738Z] 30f14e443154: Pulling fs layer [2022-10-17T16:34:38.738Z] 801331c1e519: Pulling fs layer [2022-10-17T16:34:38.738Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T16:34:38.738Z] 21b2b0c7a3f4: Waiting [2022-10-17T16:34:38.738Z] 53926ce57604: Waiting [2022-10-17T16:34:38.738Z] 801331c1e519: Waiting [2022-10-17T16:34:38.738Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T16:34:38.738Z] 99cc6dd402b0: Waiting [2022-10-17T16:34:38.738Z] 7d9ed39f4882: Waiting [2022-10-17T16:34:38.738Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T16:34:38.738Z] 93c1e223e6f2: Download complete [2022-10-17T16:34:38.738Z] 4583459ba037: Download complete [2022-10-17T16:34:38.738Z] 21b2b0c7a3f4: Download complete [2022-10-17T16:34:38.738Z] 30f14e443154: Verifying Checksum [2022-10-17T16:34:38.738Z] 30f14e443154: Download complete [2022-10-17T16:34:38.738Z] 213ec9aee27d: Verifying Checksum [2022-10-17T16:34:38.738Z] 801331c1e519: Download complete [2022-10-17T16:34:39.000Z] 213ec9aee27d: Pull complete [2022-10-17T16:34:39.000Z] 4583459ba037: Pull complete [2022-10-17T16:34:39.261Z] 93c1e223e6f2: Pull complete [2022-10-17T16:34:39.261Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T16:34:39.261Z] 7d9ed39f4882: Download complete [2022-10-17T16:34:39.520Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T16:34:39.520Z] 99cc6dd402b0: Download complete [2022-10-17T16:34:39.520Z] 53926ce57604: Verifying Checksum [2022-10-17T16:34:39.520Z] 53926ce57604: Download complete [2022-10-17T16:34:43.702Z] 53926ce57604: Pull complete [2022-10-17T16:34:43.702Z] 21b2b0c7a3f4: Pull complete [2022-10-17T16:34:43.702Z] 30f14e443154: Pull complete [2022-10-17T16:34:43.702Z] 801331c1e519: Pull complete [2022-10-17T16:34:45.603Z] 99cc6dd402b0: Pull complete [2022-10-17T16:34:46.542Z] 7d9ed39f4882: Pull complete [2022-10-17T16:34:46.542Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T16:34:46.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T16:34:46.542Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-10-17T16:34:46.831Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:34:47.136Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T16:34:47.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:34:47.207Z] prd-ubuntu20.04-docker-8c-8g-8367 does not seem to be running inside a container [2022-10-17T16:34:47.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-181 -v /w/workspace/xfoundry_go-mod-messaging_PR-181:/w/workspace/xfoundry_go-mod-messaging_PR-181:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T16:34:51.011Z] $ docker top 559ecc3c09f52060d49196e0d7f5c059163cc076232312f24159dd6c3bf32845 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T16:34:51.352Z] + go version [2022-10-17T16:34:51.352Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T16:34:51.366Z] $ docker stop --time=1 559ecc3c09f52060d49196e0d7f5c059163cc076232312f24159dd6c3bf32845 [2022-10-17T16:34:52.631Z] $ docker rm -f 559ecc3c09f52060d49196e0d7f5c059163cc076232312f24159dd6c3bf32845 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:34:53.032Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T16:34:53.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:34:53.110Z] prd-ubuntu20.04-docker-8c-8g-8367 does not seem to be running inside a container [2022-10-17T16:34:53.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_go-mod-messaging_PR-181 -v /w/workspace/xfoundry_go-mod-messaging_PR-181:/w/workspace/xfoundry_go-mod-messaging_PR-181:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T16:34:53.372Z] Still waiting to schedule task [2022-10-17T16:34:53.372Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-17T16:34:53.491Z] $ docker top 9bb796def2da30276ca7134973005aa9fb10c6b441ea5877a009037aef19a13d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T16:34:53.829Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-181 [Pipeline] fileExists [Pipeline] sh [2022-10-17T16:34:54.128Z] + make test [2022-10-17T16:34:54.128Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-10-17T16:34:54.128Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-10-17T16:34:54.128Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-10-17T16:34:54.128Z] go: downloading github.com/google/uuid v1.3.0 [2022-10-17T16:34:54.128Z] go: downloading github.com/nats-io/nats.go v1.18.0 [2022-10-17T16:34:54.128Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-10-17T16:34:54.128Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.3 [2022-10-17T16:34:54.128Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-10-17T16:34:54.128Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-10-17T16:34:54.128Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-10-17T16:34:54.128Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-10-17T16:34:54.128Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-10-17T16:34:54.128Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-10-17T16:34:54.128Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-10-17T16:34:54.128Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-10-17T16:34:54.128Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-10-17T16:34:54.128Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-10-17T16:34:54.386Z] go: downloading golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be [2022-10-17T16:34:54.386Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-10-17T16:34:54.386Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-10-17T16:34:54.386Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-10-17T16:34:54.386Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-10-17T16:34:54.386Z] go: downloading golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec [2022-10-17T16:35:06.598Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T16:35:10.780Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.058s coverage: 90.4% of statements [2022-10-17T16:35:10.780Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.063s coverage: 87.7% of statements [2022-10-17T16:35:10.780Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-10-17T16:35:10.780Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T16:35:20.752Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.095s coverage: 35.9% of statements [2022-10-17T16:35:20.752Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.043s coverage: 68.5% of statements [2022-10-17T16:35:20.752Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.373s coverage: 83.8% of statements [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.061s coverage: 88.9% of statements [2022-10-17T16:35:32.977Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.028s coverage: 100.0% of statements [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.031s coverage: 100.0% of statements [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.025s coverage: 95.1% of statements [2022-10-17T16:35:32.977Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-10-17T16:35:32.977Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.100s coverage: 90.4% of statements [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.023s coverage: 100.0% of statements [2022-10-17T16:35:32.977Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.032s coverage: 100.0% of statements [2022-10-17T16:35:32.977Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.049s coverage: 68.5% of statements [2022-10-17T16:35:32.977Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T16:35:54.904Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.376s coverage: 83.8% of statements [2022-10-17T16:35:54.904Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.037s coverage: 88.9% of statements [2022-10-17T16:35:54.904Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T16:35:54.904Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.038s coverage: 100.0% of statements [2022-10-17T16:35:54.904Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.031s coverage: 100.0% of statements [2022-10-17T16:35:54.904Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.030s coverage: 95.1% of statements [2022-10-17T16:36:03.004Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T16:36:03.004Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T16:36:04.377Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T16:36:04.377Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-10-17T16:36:04.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T16:36:04.405Z] $ docker stop --time=1 9bb796def2da30276ca7134973005aa9fb10c6b441ea5877a009037aef19a13d [2022-10-17T16:36:06.122Z] $ docker rm -f 9bb796def2da30276ca7134973005aa9fb10c6b441ea5877a009037aef19a13d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T16:36:06.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T16:36:06.616Z] 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 [2022-10-17T16:36:07.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T16:36:07.065Z] [2022-10-17T16:36:07.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:36:07.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T16:36:07.436Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T16:36:07.436Z] 5eb5b503b376: Pulling fs layer [2022-10-17T16:36:07.436Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T16:36:07.436Z] ec43610c2a17: Pulling fs layer [2022-10-17T16:36:07.436Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T16:36:07.436Z] 33b1e0a273af: Pulling fs layer [2022-10-17T16:36:07.436Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T16:36:07.436Z] 2f39f015ded8: Pulling fs layer [2022-10-17T16:36:07.436Z] 33b1e0a273af: Waiting [2022-10-17T16:36:07.436Z] 5d3b04190fa2: Waiting [2022-10-17T16:36:07.436Z] 2f39f015ded8: Waiting [2022-10-17T16:36:07.436Z] 3a2ae6a8a46f: Waiting [2022-10-17T16:36:07.436Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T16:36:07.436Z] 5c69ac0246d0: Download complete [2022-10-17T16:36:07.436Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T16:36:07.436Z] 3a2ae6a8a46f: Download complete [2022-10-17T16:36:07.436Z] 33b1e0a273af: Verifying Checksum [2022-10-17T16:36:07.436Z] 33b1e0a273af: Download complete [2022-10-17T16:36:07.709Z] 5d3b04190fa2: Download complete [2022-10-17T16:36:07.709Z] ec43610c2a17: Verifying Checksum [2022-10-17T16:36:07.709Z] ec43610c2a17: Download complete [2022-10-17T16:36:07.709Z] 5eb5b503b376: Verifying Checksum [2022-10-17T16:36:07.709Z] 5eb5b503b376: Download complete [2022-10-17T16:36:09.128Z] 5eb5b503b376: Pull complete [2022-10-17T16:36:09.128Z] 5c69ac0246d0: Pull complete [2022-10-17T16:36:09.386Z] ec43610c2a17: Pull complete [2022-10-17T16:36:09.644Z] 3a2ae6a8a46f: Pull complete [2022-10-17T16:36:09.644Z] 33b1e0a273af: Pull complete [2022-10-17T16:36:09.902Z] 5d3b04190fa2: Pull complete [2022-10-17T16:36:14.082Z] 2f39f015ded8: Pull complete [2022-10-17T16:36:14.082Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T16:36:14.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T16:36:14.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:36:14.156Z] prd-ubuntu20.04-docker-8c-8g-8367 does not seem to be running inside a container [2022-10-17T16:36:14.187Z] $ 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-181 -v /w/workspace/xfoundry_go-mod-messaging_PR-181:/w/workspace/xfoundry_go-mod-messaging_PR-181:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-181@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 [2022-10-17T16:36:17.578Z] $ docker top 0790cf689269f83362b0a0259d7029be8429295999ae20ed0021d292822278cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:36:17.951Z] ---> job-cost.sh [2022-10-17T16:36:17.951Z] lf-activate-venv: SKIPPING [2022-10-17T16:36:17.951Z] INFO: No Stack... [2022-10-17T16:36:18.519Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T16:36:18.778Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T16:36:19.064Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-181/archives/cost.csv [2022-10-17T16:36:19.064Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T16:36:19.076Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] [2022-10-17T16:36:19.083Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] did not exist. Created. [2022-10-17T16:36:19.083Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T16:36:19.378Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T16:36:19.408Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T16:36:19.415Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T16:36:19.432Z] $ docker stop --time=1 0790cf689269f83362b0a0259d7029be8429295999ae20ed0021d292822278cc [2022-10-17T16:36:20.570Z] $ docker rm -f 0790cf689269f83362b0a0259d7029be8429295999ae20ed0021d292822278cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T16:37:48.885Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8370 in /w/workspace/xfoundry_go-mod-messaging_PR-181 [Pipeline] { [Pipeline] ws [2022-10-17T16:37:48.897Z] Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout [2022-10-17T16:37:48.924Z] Selected Git installation does not exist. Using Default [2022-10-17T16:37:48.924Z] The recommended git tool is: NONE [2022-10-17T16:37:54.238Z] using credential edgex-jenkins-ssh [2022-10-17T16:37:54.253Z] Cloning the remote Git repository [2022-10-17T16:37:54.297Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-17T16:37:54.386Z] > git init /w/workspace/go-mod-messaging/2 # timeout=10 [2022-10-17T16:37:54.531Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-17T16:37:54.532Z] > git --version # timeout=10 [2022-10-17T16:37:54.552Z] > git --version # 'git version 2.25.1' [2022-10-17T16:37:54.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T16:37:54.597Z] Verifying host key using known hosts file [2022-10-17T16:37:54.778Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T16:37:54.791Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T16:37:55.606Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-10-17T16:37:55.626Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T16:37:57.120Z] Merging remotes/origin/main commit b3ccdde951e4ba870424f0007a3d9bd898c7deee into PR head commit 048c99dfa6dec690e8d0fa9fa4e19a459e40079d [2022-10-17T16:37:57.367Z] Merge succeeded, producing 048c99dfa6dec690e8d0fa9fa4e19a459e40079d [2022-10-17T16:37:57.368Z] Checking out Revision 048c99dfa6dec690e8d0fa9fa4e19a459e40079d (PR-181) [2022-10-17T16:37:56.467Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-10-17T16:37:56.508Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-17T16:37:56.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T16:37:56.514Z] Verifying host key using known hosts file [2022-10-17T16:37:56.522Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T16:37:56.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T16:37:57.142Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T16:37:57.163Z] > git checkout -f 048c99dfa6dec690e8d0fa9fa4e19a459e40079d # timeout=10 [2022-10-17T16:37:57.253Z] > git remote # timeout=10 [2022-10-17T16:37:57.274Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T16:37:57.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T16:37:57.302Z] Verifying host key using known hosts file [2022-10-17T16:37:57.308Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T16:37:57.321Z] > git merge b3ccdde951e4ba870424f0007a3d9bd898c7deee # timeout=10 [2022-10-17T16:37:57.350Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T16:37:57.375Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T16:37:57.391Z] > git checkout -f 048c99dfa6dec690e8d0fa9fa4e19a459e40079d # timeout=10 [2022-10-17T16:37:57.858Z] Commit message: "build(deps): bump github.com/nats-io/nats.go from 1.17.0 to 1.18.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T16:37:58.658Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T16:37:58.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T16:37:58.659Z] Dload Upload Total Spent Left Speed [2022-10-17T16:37:58.659Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-10-17T16:37:59.316Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T16:37:59.648Z] + sudo tee /etc/docker/daemon.new [2022-10-17T16:37:59.648Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T16:37:59.648Z] { [2022-10-17T16:37:59.648Z] "registry-mirrors": [ [2022-10-17T16:37:59.648Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T16:37:59.648Z] ], [2022-10-17T16:37:59.648Z] "bip": "10.250.0.254/24", [2022-10-17T16:37:59.648Z] "hosts": [ [2022-10-17T16:37:59.648Z] "tcp://0.0.0.0:5555", [2022-10-17T16:37:59.648Z] "unix:///var/run/docker.sock" [2022-10-17T16:37:59.648Z] ], [2022-10-17T16:37:59.648Z] "mtu": 1458, [2022-10-17T16:37:59.648Z] "selinux-enabled": true, [2022-10-17T16:37:59.648Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T16:37:59.648Z] } [Pipeline] sh [2022-10-17T16:37:59.974Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T16:38:00.302Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-10-17T16:38:18.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T16:38:18.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T16:38:18.710Z] ========================================================= [2022-10-17T16:38:18.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T16:38:18.710Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-10-17T16:38:19.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T16:38:19.632Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T16:38:19.632Z] 9b18e9b68314: Pulling fs layer [2022-10-17T16:38:19.632Z] d32db5db7311: Pulling fs layer [2022-10-17T16:38:19.632Z] d0c4b47475fc: Pulling fs layer [2022-10-17T16:38:19.632Z] 5831b945b038: Pulling fs layer [2022-10-17T16:38:19.632Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T16:38:19.632Z] e10730c5d714: Pulling fs layer [2022-10-17T16:38:19.632Z] 5dd5c2283517: Pulling fs layer [2022-10-17T16:38:19.632Z] d5ac0230b979: Pulling fs layer [2022-10-17T16:38:19.632Z] e10730c5d714: Waiting [2022-10-17T16:38:19.632Z] 5dd5c2283517: Waiting [2022-10-17T16:38:19.632Z] d5ac0230b979: Waiting [2022-10-17T16:38:19.632Z] 5831b945b038: Waiting [2022-10-17T16:38:19.632Z] 86bbec2aaacd: Waiting [2022-10-17T16:38:19.632Z] d0c4b47475fc: Verifying Checksum [2022-10-17T16:38:19.632Z] d0c4b47475fc: Download complete [2022-10-17T16:38:19.632Z] d32db5db7311: Verifying Checksum [2022-10-17T16:38:19.632Z] d32db5db7311: Download complete [2022-10-17T16:38:19.632Z] 86bbec2aaacd: Download complete [2022-10-17T16:38:19.632Z] e10730c5d714: Verifying Checksum [2022-10-17T16:38:19.632Z] e10730c5d714: Download complete [2022-10-17T16:38:19.632Z] 9b18e9b68314: Verifying Checksum [2022-10-17T16:38:19.632Z] 9b18e9b68314: Download complete [2022-10-17T16:38:20.615Z] 9b18e9b68314: Pull complete [2022-10-17T16:38:20.884Z] d5ac0230b979: Verifying Checksum [2022-10-17T16:38:20.884Z] d5ac0230b979: Download complete [2022-10-17T16:38:21.158Z] d32db5db7311: Pull complete [2022-10-17T16:38:21.746Z] d0c4b47475fc: Pull complete [2022-10-17T16:38:22.014Z] 5dd5c2283517: Verifying Checksum [2022-10-17T16:38:22.014Z] 5dd5c2283517: Download complete [2022-10-17T16:38:22.600Z] 5831b945b038: Download complete [2022-10-17T16:38:34.932Z] 5831b945b038: Pull complete [2022-10-17T16:38:34.932Z] 86bbec2aaacd: Pull complete [2022-10-17T16:38:34.932Z] e10730c5d714: Pull complete [2022-10-17T16:38:41.606Z] 5dd5c2283517: Pull complete [2022-10-17T16:38:42.571Z] d5ac0230b979: Pull complete [2022-10-17T16:38:42.571Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T16:38:42.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T16:38:42.571Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-10-17T16:38:42.896Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:38:43.273Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T16:38:43.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:38:43.498Z] prd-ubuntu20.04-docker-arm64-4c-16g-8370 does not seem to be running inside a container [2022-10-17T16:38:43.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T16:38:46.718Z] $ docker top abefdbd1e13a44fba8d8a3f6c7afbe605cbbd3d41f49852191301137d0df9e03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T16:38:47.570Z] + go version [2022-10-17T16:38:47.570Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T16:38:47.594Z] $ docker stop --time=1 abefdbd1e13a44fba8d8a3f6c7afbe605cbbd3d41f49852191301137d0df9e03 [2022-10-17T16:38:49.472Z] $ docker rm -f abefdbd1e13a44fba8d8a3f6c7afbe605cbbd3d41f49852191301137d0df9e03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:38:49.985Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T16:38:49.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:38:50.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-8370 does not seem to be running inside a container [2022-10-17T16:38:50.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T16:38:52.152Z] $ docker top ee148ccbfb7442a66d60034e14d461165cf27b12df8001866143b519904beee6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T16:38:52.980Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/2 [Pipeline] fileExists [Pipeline] sh [2022-10-17T16:38:53.316Z] + make test [2022-10-17T16:38:53.316Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-10-17T16:38:53.590Z] go: downloading github.com/nats-io/nats.go v1.18.0 [2022-10-17T16:38:53.590Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-10-17T16:38:53.590Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-10-17T16:38:53.864Z] go: downloading github.com/google/uuid v1.3.0 [2022-10-17T16:38:53.864Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.3 [2022-10-17T16:38:53.864Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-10-17T16:38:53.864Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-10-17T16:38:54.140Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-10-17T16:38:54.140Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-10-17T16:38:54.140Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-10-17T16:38:54.140Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-10-17T16:38:54.140Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-10-17T16:38:54.140Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-10-17T16:38:54.140Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-10-17T16:38:54.140Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-10-17T16:38:54.140Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-10-17T16:38:54.408Z] go: downloading golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be [2022-10-17T16:38:54.676Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-10-17T16:38:54.676Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-10-17T16:38:54.676Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-10-17T16:38:54.946Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-10-17T16:40:02.851Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T16:40:24.937Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.258s coverage: 90.4% of statements [2022-10-17T16:40:37.252Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.245s coverage: 87.7% of statements [2022-10-17T16:40:37.252Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-10-17T16:40:37.252Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.313s coverage: 35.9% of statements [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.164s coverage: 68.5% of statements [2022-10-17T16:41:33.676Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.468s coverage: 83.8% of statements [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.077s coverage: 88.9% of statements [2022-10-17T16:41:33.676Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.065s coverage: 100.0% of statements [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.066s coverage: 100.0% of statements [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.070s coverage: 95.1% of statements [2022-10-17T16:41:33.676Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-10-17T16:41:33.676Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.223s coverage: 90.4% of statements [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.065s coverage: 100.0% of statements [2022-10-17T16:41:33.676Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.121s coverage: 100.0% of statements [2022-10-17T16:41:33.676Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.191s coverage: 68.5% of statements [2022-10-17T16:41:33.676Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T16:42:00.369Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.512s coverage: 83.8% of statements [2022-10-17T16:42:00.369Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.070s coverage: 88.9% of statements [2022-10-17T16:42:00.369Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T16:42:00.369Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.078s coverage: 100.0% of statements [2022-10-17T16:42:00.369Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.063s coverage: 100.0% of statements [2022-10-17T16:42:00.369Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.100s coverage: 95.1% of statements [2022-10-17T16:42:00.369Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T16:42:00.369Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T16:42:47.265Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T16:42:47.265Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-10-17T16:42:47.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T16:42:47.297Z] $ docker stop --time=1 ee148ccbfb7442a66d60034e14d461165cf27b12df8001866143b519904beee6 [2022-10-17T16:42:49.153Z] $ docker rm -f ee148ccbfb7442a66d60034e14d461165cf27b12df8001866143b519904beee6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T16:42:50.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T16:42:50.538Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T16:42:50.960Z] 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 [2022-10-17T16:42:51.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T16:42:51.417Z] [2022-10-17T16:42:51.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:42:51.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T16:42:51.748Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T16:42:51.748Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T16:42:51.748Z] 04944245beec: Pulling fs layer [2022-10-17T16:42:51.748Z] 699f458cf7ca: Pulling fs layer [2022-10-17T16:42:51.748Z] 765212b225bb: Pulling fs layer [2022-10-17T16:42:51.748Z] f23df028b6ca: Pulling fs layer [2022-10-17T16:42:51.748Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T16:42:51.748Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T16:42:51.748Z] 765212b225bb: Waiting [2022-10-17T16:42:51.748Z] f23df028b6ca: Waiting [2022-10-17T16:42:51.748Z] d65c8cfc05b1: Waiting [2022-10-17T16:42:51.748Z] 2437ff75d9bd: Waiting [2022-10-17T16:42:52.023Z] 04944245beec: Verifying Checksum [2022-10-17T16:42:52.023Z] 04944245beec: Download complete [2022-10-17T16:42:52.023Z] 765212b225bb: Verifying Checksum [2022-10-17T16:42:52.023Z] 765212b225bb: Download complete [2022-10-17T16:42:52.023Z] f23df028b6ca: Verifying Checksum [2022-10-17T16:42:52.023Z] f23df028b6ca: Download complete [2022-10-17T16:42:52.023Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T16:42:52.023Z] d65c8cfc05b1: Download complete [2022-10-17T16:42:52.293Z] 699f458cf7ca: Verifying Checksum [2022-10-17T16:42:52.293Z] 699f458cf7ca: Download complete [2022-10-17T16:42:52.559Z] 8998bd30e6a1: Download complete [2022-10-17T16:42:55.135Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T16:42:55.135Z] 2437ff75d9bd: Download complete [2022-10-17T16:42:57.733Z] 8998bd30e6a1: Pull complete [2022-10-17T16:42:59.701Z] 04944245beec: Pull complete [2022-10-17T16:43:03.042Z] 699f458cf7ca: Pull complete [2022-10-17T16:43:03.042Z] 765212b225bb: Pull complete [2022-10-17T16:43:03.629Z] f23df028b6ca: Pull complete [2022-10-17T16:43:05.042Z] d65c8cfc05b1: Pull complete [2022-10-17T16:43:20.051Z] 2437ff75d9bd: Pull complete [2022-10-17T16:43:20.052Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T16:43:20.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T16:43:20.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:43:20.212Z] prd-ubuntu20.04-docker-arm64-4c-16g-8370 does not seem to be running inside a container [2022-10-17T16:43:20.274Z] $ 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/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T16:43:22.274Z] $ docker top 3a4596f7cddf85760e9db08a9e9d366869090739d5a2a5c815ed8b6746b67745 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:23.110Z] ---> job-cost.sh [2022-10-17T16:43:23.110Z] lf-activate-venv: SKIPPING [2022-10-17T16:43:23.110Z] INFO: No Stack... [2022-10-17T16:43:23.376Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T16:43:24.334Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T16:43:24.656Z] + cat /w/workspace/go-mod-messaging/2/archives/cost.csv [2022-10-17T16:43:24.925Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T16:43:24.983Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] [2022-10-17T16:43:24.993Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] did not exist. Created. [2022-10-17T16:43:24.993Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T16:43:25.646Z] /w/workspace/go-mod-messaging/2@tmp/durable-2cc985b5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T16:43:25.973Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T16:43:25.994Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T16:43:26.038Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T16:43:26.045Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-181-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T16:43:26.069Z] $ docker stop --time=1 3a4596f7cddf85760e9db08a9e9d366869090739d5a2a5c815ed8b6746b67745 [2022-10-17T16:43:27.539Z] $ docker rm -f 3a4596f7cddf85760e9db08a9e9d366869090739d5a2a5c815ed8b6746b67745 [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 [2022-10-17T16:43:27.911Z] provisioning config files... [2022-10-17T16:43:27.922Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp/config17895078359925181569tmp [Pipeline] { [Pipeline] sh [2022-10-17T16:43:28.212Z] + set +x [2022-10-17T16:43:28.212Z] + curl -s https://codecov.io/bash [2022-10-17T16:43:28.212Z] + bash -s -- [2022-10-17T16:43:28.212Z] [2022-10-17T16:43:28.212Z] _____ _ [2022-10-17T16:43:28.212Z] / ____| | | [2022-10-17T16:43:28.212Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T16:43:28.212Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T16:43:28.212Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T16:43:28.212Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T16:43:28.212Z] Bash-1.0.6 [2022-10-17T16:43:28.212Z] [2022-10-17T16:43:28.212Z] [2022-10-17T16:43:28.212Z] ==> git version 2.25.1 found [2022-10-17T16:43:28.212Z] ==> 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 [2022-10-17T16:43:28.212Z] Release-Date: 2020-01-08 [2022-10-17T16:43:28.212Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T16:43:28.212Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T16:43:28.212Z] ==> Jenkins CI detected. [2022-10-17T16:43:28.212Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-181 [2022-10-17T16:43:28.212Z] project root: . [2022-10-17T16:43:28.212Z] --> token set from env [2022-10-17T16:43:28.212Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T16:43:28.212Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T16:43:28.212Z] ==> Python coveragepy not found [2022-10-17T16:43:28.212Z] ==> Searching for coverage reports in: [2022-10-17T16:43:28.212Z] + . [2022-10-17T16:43:28.212Z] -> Found 1 reports [2022-10-17T16:43:28.212Z] ==> Detecting git/mercurial file structure [2022-10-17T16:43:28.212Z] ==> Reading reports [2022-10-17T16:43:28.212Z] + ./coverage.out bytes=25878 [2022-10-17T16:43:28.212Z] ==> Appending adjustments [2022-10-17T16:43:28.212Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T16:43:28.470Z] + Found adjustments [2022-10-17T16:43:28.470Z] ==> Gzipping contents [2022-10-17T16:43:28.470Z] 8.0K /tmp/codecov.SAzt8S.gz [2022-10-17T16:43:28.470Z] ==> Uploading reports [2022-10-17T16:43:28.470Z] url: https://codecov.io [2022-10-17T16:43:28.470Z] query: branch=PR-181&commit=048c99dfa6dec690e8d0fa9fa4e19a459e40079d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-181%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=181&job=&cmd_args= [2022-10-17T16:43:28.470Z] -> Pinging Codecov [2022-10-17T16:43:28.470Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-181&commit=048c99dfa6dec690e8d0fa9fa4e19a459e40079d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-181%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=181&job=&cmd_args= [2022-10-17T16:43:28.728Z] -> Uploading to [2022-10-17T16:43:28.728Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F6E385568367DD0E4001BA4F8F1CB792/048c99dfa6dec690e8d0fa9fa4e19a459e40079d/b96e1c7b-aad1-4f5a-ab4a-8dbe2844d6f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T164328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c369dbe3c9ef58f03f22be0d7b410bcf0bbbe821f5f0960d3c6c7874ead246a [2022-10-17T16:43:28.728Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T16:43:28.728Z] Dload Upload Total Spent Left Speed [2022-10-17T16:43:28.988Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6980 0 0 100 6980 0 34384 --:--:-- --:--:-- --:--:-- 34215 100 6980 0 0 100 6980 0 31727 --:--:-- --:--:-- --:--:-- 31583 [2022-10-17T16:43:28.988Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/048c99dfa6dec690e8d0fa9fa4e19a459e40079d [Pipeline] } [2022-10-17T16:43:28.996Z] 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 [2022-10-17T16:43:29.655Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-181/archives ] [2022-10-17T16:43:29.656Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-181/archives [2022-10-17T16:43:29.656Z] total 16 [2022-10-17T16:43:29.656Z] drwxr-xr-x 3 root root 4096 Oct 17 16:36 . [2022-10-17T16:43:29.656Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 16:36 .. [2022-10-17T16:43:29.656Z] drwxr-xr-x 2 root root 4096 Oct 17 16:36 cost [2022-10-17T16:43:29.656Z] -rw-r--r-- 1 root root 88 Oct 17 16:36 cost.csv [2022-10-17T16:43:29.656Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-181/archives [2022-10-17T16:43:29.656Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-181/archives [2022-10-17T16:43:29.656Z] total 16 [2022-10-17T16:43:29.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 16:36 . [2022-10-17T16:43:29.656Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 16:36 .. [2022-10-17T16:43:29.656Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 16:36 cost [2022-10-17T16:43:29.656Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 17 16:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:29.947Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:30.808Z] ---> package-listing.sh [2022-10-17T16:43:30.809Z] ++ facter osfamily [2022-10-17T16:43:30.809Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T16:43:31.068Z] + OS_FAMILY=debian [2022-10-17T16:43:31.068Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-181 [2022-10-17T16:43:31.068Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T16:43:31.068Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T16:43:31.068Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T16:43:31.068Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T16:43:31.068Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-181 ']' [2022-10-17T16:43:31.068Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T16:43:31.068Z] + case "${OS_FAMILY}" in [2022-10-17T16:43:31.068Z] + dpkg -l [2022-10-17T16:43:31.068Z] + grep '^ii' [2022-10-17T16:43:31.068Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T16:43:31.068Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T16:43:31.068Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T16:43:31.068Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-181 ']' [2022-10-17T16:43:31.068Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-181/archives/ [2022-10-17T16:43:31.068Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-181/archives/ [Pipeline] echo [2022-10-17T16:43:31.078Z] 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-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T16:43:31.355Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T16:43:31.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T16:43:31.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T16:43:31.967Z] prd-ubuntu20.04-docker-8c-8g-8367 does not seem to be running inside a container [2022-10-17T16:43:31.997Z] $ 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-181/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-181 -v /w/workspace/xfoundry_go-mod-messaging_PR-181:/w/workspace/xfoundry_go-mod-messaging_PR-181:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T16:43:32.193Z] $ docker top e538bade3e7d5b7a061ddc4a6ce07ab98ae799697b40a8b08822f342fd881498 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T16:43:32.523Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T16:43:32.805Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T16:43:33.087Z] + ls /var/log/sa-host [2022-10-17T16:43:33.087Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T16:43:33.153Z] provisioning config files... [2022-10-17T16:43:33.160Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-181@tmp/config2479965299328039219tmp [Pipeline] { [Pipeline] echo [2022-10-17T16:43:33.170Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:33.448Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T16:43:33.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:33.775Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T16:43:33.784Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:34.065Z] ---> sudo-logs.sh [2022-10-17T16:43:34.065Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T16:43:34.101Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:34.382Z] ---> job-cost.sh [2022-10-17T16:43:34.382Z] lf-activate-venv: SKIPPING [2022-10-17T16:43:34.382Z] DEBUG: total: 0.2199999988079071 [2022-10-17T16:43:34.382Z] INFO: Retrieving Stack Cost... [2022-10-17T16:43:34.949Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T16:43:35.208Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T16:43:35.220Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T16:43:35.502Z] ---> logs-deploy.sh [2022-10-17T16:43:35.502Z] lf-activate-venv: SKIPPING [2022-10-17T16:43:35.502Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-181/2 [2022-10-17T16:43:35.502Z] INFO: archiving workspace using pattern(s): [2022-10-17T16:43:36.440Z] Archives upload complete. [2022-10-17T16:43:36.440Z] INFO: archiving logs to Nexus