Pull request #175 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d90384092f0cc9cd5456fa32086b28d21f2aa0ec+1f47019fe98ba391dccf3598956e93bbdae57d3c (6311f34df1d4521ef0159b11b40a81dba2dcd817) 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-ssh13897229550870750068.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-ssh344664774313021631.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-175/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-175/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14097233027072354035.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-175/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15124129698316130459.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh746527943347776684.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-175/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-175/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13685465437015922440.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1154 in /w/workspace/xfoundry_go-mod-messaging_PR-175 [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-175 # 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 > 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/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1f47019fe98ba391dccf3598956e93bbdae57d3c into PR head commit d90384092f0cc9cd5456fa32086b28d21f2aa0ec Merge succeeded, producing d90384092f0cc9cd5456fa32086b28d21f2aa0ec Checking out Revision d90384092f0cc9cd5456fa32086b28d21f2aa0ec (PR-175) Commit message: "build(deps): bump github.com/nats-io/nats-server/v2 from 2.9.0 to 2.9.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-26T16:04:31.017Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-26T16:04:31.201Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-26T16:04:31.303Z] ========================================================= [2022-09-26T16:04:31.303Z] EdgeX Global Pipelines Version Info [2022-09-26T16:04:31.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d90384092f0cc9cd5456fa32086b28d21f2aa0ec # timeout=10 > 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 1f47019fe98ba391dccf3598956e93bbdae57d3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d90384092f0cc9cd5456fa32086b28d21f2aa0ec # timeout=10 [2022-09-26T16:04:32.410Z] ------------------- [2022-09-26T16:04:32.410Z] stable info: [2022-09-26T16:04:32.410Z] ------------------- [2022-09-26T16:04:32.410Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-26T16:04:32.410Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T16:04:32.410Z] Message: update stable to v1.0.239 [2022-09-26T16:04:32.671Z] ------------------- [2022-09-26T16:04:32.671Z] experimental info: [2022-09-26T16:04:32.671Z] ------------------- [2022-09-26T16:04:32.671Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-26T16:04:32.671Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T16:04:32.671Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-26T16:04:32.973Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-09-26T16:04:33.015Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-09-26T16:04:33.059Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-26T16:04:33.101Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-26T16:04:33.146Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-26T16:04:33.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-26T16:04:33.240Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-26T16:04:33.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-26T16:04:33.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-26T16:04:33.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-26T16:04:33.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-26T16:04:33.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-09-26T16:04:33.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-26T16:04:33.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-26T16:04:33.543Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T16:04:33.583Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T16:04:33.627Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T16:04:33.663Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T16:04:33.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-26T16:04:33.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-26T16:04:33.787Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-26T16:04:33.826Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-26T16:04:33.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-26T16:04:33.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-26T16:04:33.946Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-09-26T16:04:33.986Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-26T16:04:34.034Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-26T16:04:34.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-175 [Pipeline] echo [2022-09-26T16:04:34.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-175 [Pipeline] echo [2022-09-26T16:04:34.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-175 [Pipeline] echo [2022-09-26T16:04:34.194Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d90384092f0cc9cd5456fa32086b28d21f2aa0ec [Pipeline] echo [2022-09-26T16:04:34.235Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d903840 [Pipeline] echo [2022-09-26T16:04:34.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-26T16:04:34.786Z] + git rev-list -1 --merges d90384092f0cc9cd5456fa32086b28d21f2aa0ec~1..d90384092f0cc9cd5456fa32086b28d21f2aa0ec [Pipeline] echo [2022-09-26T16:04:34.832Z] -----------> git rev-list -1 --merges d90384092f0cc9cd5456fa32086b28d21f2aa0ec~1..d90384092f0cc9cd5456fa32086b28d21f2aa0ec d90384092f0cc9cd5456fa32086b28d21f2aa0ec [false] [Pipeline] sh [2022-09-26T16:04:35.141Z] + git log --format=format:%s -1 d90384092f0cc9cd5456fa32086b28d21f2aa0ec [Pipeline] echo [2022-09-26T16:04:35.178Z] ========================================================= [2022-09-26T16:04:35.178Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-26T16:04:35.178Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T16:04:35.601Z] + git log --format=format:%s -1 d90384092f0cc9cd5456fa32086b28d21f2aa0ec [Pipeline] echo [2022-09-26T16:04:35.634Z] [semverPrep] GIT_COMMIT: d90384092f0cc9cd5456fa32086b28d21f2aa0ec, Commit Message: build(deps): bump github.com/nats-io/nats-server/v2 from 2.9.0 to 2.9.1 [Pipeline] echo [2022-09-26T16:04:35.665Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-26T16:04:36.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-26T16:04:36.051Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-26T16:04:36.051Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-26T16:04:36.051Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-26T16:04:36.051Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-26T16:04:36.051Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-26T16:04:36.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T16:04:36.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T16:04:36.793Z] [2022-09-26T16:04:36.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T16:04:37.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T16:04:37.425Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-26T16:04:37.425Z] b85a868b505f: Pulling fs layer [2022-09-26T16:04:37.425Z] e2be974225ed: Pulling fs layer [2022-09-26T16:04:37.425Z] 339a4e72a1f5: Pulling fs layer [2022-09-26T16:04:37.425Z] 988bab9f4d93: Pulling fs layer [2022-09-26T16:04:37.425Z] 1469e6f7b9e6: Pulling fs layer [2022-09-26T16:04:37.425Z] eaf3925da568: Pulling fs layer [2022-09-26T16:04:37.425Z] bab4dde63d76: Pulling fs layer [2022-09-26T16:04:37.425Z] bde34c3a00c8: Pulling fs layer [2022-09-26T16:04:37.425Z] b352a97aabf1: Pulling fs layer [2022-09-26T16:04:37.425Z] 4872d77fe225: Pulling fs layer [2022-09-26T16:04:37.425Z] 5851b861e8e6: Pulling fs layer [2022-09-26T16:04:37.425Z] eaf3925da568: Waiting [2022-09-26T16:04:37.425Z] 988bab9f4d93: Waiting [2022-09-26T16:04:37.425Z] 1469e6f7b9e6: Waiting [2022-09-26T16:04:37.425Z] 4872d77fe225: Waiting [2022-09-26T16:04:37.425Z] 5851b861e8e6: Waiting [2022-09-26T16:04:37.425Z] bde34c3a00c8: Waiting [2022-09-26T16:04:37.425Z] bab4dde63d76: Waiting [2022-09-26T16:04:37.425Z] b352a97aabf1: Waiting [2022-09-26T16:04:37.425Z] e2be974225ed: Verifying Checksum [2022-09-26T16:04:37.425Z] e2be974225ed: Download complete [2022-09-26T16:04:37.425Z] 988bab9f4d93: Verifying Checksum [2022-09-26T16:04:37.425Z] 988bab9f4d93: Download complete [2022-09-26T16:04:37.425Z] 1469e6f7b9e6: Verifying Checksum [2022-09-26T16:04:37.425Z] 1469e6f7b9e6: Download complete [2022-09-26T16:04:37.425Z] eaf3925da568: Download complete [2022-09-26T16:04:37.683Z] 339a4e72a1f5: Download complete [2022-09-26T16:04:37.683Z] bde34c3a00c8: Verifying Checksum [2022-09-26T16:04:37.683Z] bde34c3a00c8: Download complete [2022-09-26T16:04:37.683Z] b352a97aabf1: Verifying Checksum [2022-09-26T16:04:37.683Z] b352a97aabf1: Download complete [2022-09-26T16:04:37.683Z] 4872d77fe225: Verifying Checksum [2022-09-26T16:04:37.683Z] 4872d77fe225: Download complete [2022-09-26T16:04:37.683Z] 5851b861e8e6: Verifying Checksum [2022-09-26T16:04:37.683Z] 5851b861e8e6: Download complete [2022-09-26T16:04:37.683Z] b85a868b505f: Verifying Checksum [2022-09-26T16:04:37.683Z] b85a868b505f: Download complete [2022-09-26T16:04:37.942Z] bab4dde63d76: Verifying Checksum [2022-09-26T16:04:37.942Z] bab4dde63d76: Download complete [2022-09-26T16:04:39.323Z] b85a868b505f: Pull complete [2022-09-26T16:04:39.323Z] e2be974225ed: Pull complete [2022-09-26T16:04:39.583Z] 339a4e72a1f5: Pull complete [2022-09-26T16:04:39.842Z] 988bab9f4d93: Pull complete [2022-09-26T16:04:40.101Z] 1469e6f7b9e6: Pull complete [2022-09-26T16:04:40.101Z] eaf3925da568: Pull complete [2022-09-26T16:04:42.005Z] bab4dde63d76: Pull complete [2022-09-26T16:04:42.005Z] bde34c3a00c8: Pull complete [2022-09-26T16:04:42.263Z] b352a97aabf1: Pull complete [2022-09-26T16:04:42.263Z] 4872d77fe225: Pull complete [2022-09-26T16:04:42.263Z] 5851b861e8e6: Pull complete [2022-09-26T16:04:42.263Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-26T16:04:42.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T16:04:42.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:04:42.485Z] prd-ubuntu20.04-docker-8c-8g-1154 does not seem to be running inside a container [2022-09-26T16:04:42.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-175 -v /w/workspace/xfoundry_go-mod-messaging_PR-175:/w/workspace/xfoundry_go-mod-messaging_PR-175:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-175@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-175@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-26T16:04:44.701Z] $ docker top 03aad9c477821703634d816fdbe593e617e227ff7fcf3c49fb0d44719e0ded77 -eo pid,comm [2022-09-26T16:04:44.759Z] 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-09-26T16:04:44.759Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-26T16:04:44.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T16:04:44.878Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T16:04:45.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T16:04:45.038Z] $ docker exec 03aad9c477821703634d816fdbe593e617e227ff7fcf3c49fb0d44719e0ded77 ssh-agent [2022-09-26T16:04:45.149Z] SSH_AUTH_SOCK=/tmp/ssh-vzEn41rZHSgh/agent.31 [2022-09-26T16:04:45.149Z] SSH_AGENT_PID=37 [2022-09-26T16:04:45.156Z] Running ssh-add (command line suppressed) [2022-09-26T16:04:45.259Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-175@tmp/private_key_17930216069273460347.key (/w/workspace/xfoundry_go-mod-messaging_PR-175@tmp/private_key_17930216069273460347.key) [2022-09-26T16:04:45.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T16:04:45.623Z] + git tag --points-at HEAD [Pipeline] } [2022-09-26T16:04:45.653Z] $ docker exec --env ******** --env ******** 03aad9c477821703634d816fdbe593e617e227ff7fcf3c49fb0d44719e0ded77 ssh-agent -k [2022-09-26T16:04:45.758Z] unset SSH_AUTH_SOCK; [2022-09-26T16:04:45.759Z] unset SSH_AGENT_PID; [2022-09-26T16:04:45.759Z] echo Agent pid 37 killed; [2022-09-26T16:04:45.774Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-26T16:04:45.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T16:04:45.863Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T16:04:45.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T16:04:45.998Z] $ docker exec 03aad9c477821703634d816fdbe593e617e227ff7fcf3c49fb0d44719e0ded77 ssh-agent [2022-09-26T16:04:46.128Z] SSH_AUTH_SOCK=/tmp/ssh-VVNdXwUSE5kw/agent.69 [2022-09-26T16:04:46.128Z] SSH_AGENT_PID=75 [2022-09-26T16:04:46.134Z] Running ssh-add (command line suppressed) [2022-09-26T16:04:46.232Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-175@tmp/private_key_1797154446977323997.key (/w/workspace/xfoundry_go-mod-messaging_PR-175@tmp/private_key_1797154446977323997.key) [2022-09-26T16:04:46.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T16:04:46.576Z] + git semver init [2022-09-26T16:04:46.837Z] 2022-09-26 16:04:46,771 [run_init] DEBUG init version:0.0.0 force:False [2022-09-26T16:04:46.837Z] 2022-09-26 16:04:46,772 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-175/.semver [2022-09-26T16:04:46.837Z] 2022-09-26 16:04:46,772 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-175/.semver [2022-09-26T16:04:46.837Z] 2022-09-26 16:04:46,772 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-175/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-175, universal_newlines=False, shell=None, istream=None) [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,632 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-175/.git/info/exclude [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-175/.semver/PR-175 with force:False [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,633 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-175/.semver/PR-175 [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,638 [execute] INFO git cat-file --batch-check [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-175/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,644 [execute] INFO git cat-file --batch [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-175/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T16:04:47.779Z] 2022-09-26 16:04:47,651 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-175/.semver/PR-175 [2022-09-26T16:04:47.779Z] 0.0.0 [Pipeline] } [2022-09-26T16:04:47.804Z] $ docker exec --env ******** --env ******** 03aad9c477821703634d816fdbe593e617e227ff7fcf3c49fb0d44719e0ded77 ssh-agent -k [2022-09-26T16:04:47.897Z] unset SSH_AUTH_SOCK; [2022-09-26T16:04:47.898Z] unset SSH_AGENT_PID; [2022-09-26T16:04:47.898Z] echo Agent pid 75 killed; [2022-09-26T16:04:47.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-26T16:04:48.338Z] + git semver [Pipeline] } [2022-09-26T16:04:48.625Z] $ docker stop --time=1 03aad9c477821703634d816fdbe593e617e227ff7fcf3c49fb0d44719e0ded77 [2022-09-26T16:04:49.980Z] $ docker rm -f 03aad9c477821703634d816fdbe593e617e227ff7fcf3c49fb0d44719e0ded77 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T16:04:50.384Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-26T16:04:50.639Z] Stashed 1 file(s) [Pipeline] echo [2022-09-26T16:04:50.659Z] [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-09-26T16:04:51.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T16:04:51.314Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T16:04:51.346Z] ========================================================= [2022-09-26T16:04:51.346Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-26T16:04:51.346Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-26T16:04:51.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T16:04:51.739Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-26T16:04:51.739Z] 2408cc74d12b: Pulling fs layer [2022-09-26T16:04:51.739Z] ea60b727a1ce: Pulling fs layer [2022-09-26T16:04:51.739Z] 30c4a7721957: Pulling fs layer [2022-09-26T16:04:51.739Z] 370296b7ddb6: Pulling fs layer [2022-09-26T16:04:51.739Z] 7c6cee850709: Pulling fs layer [2022-09-26T16:04:51.739Z] 39a5fcdaea64: Pulling fs layer [2022-09-26T16:04:51.739Z] d94ebbe4e438: Pulling fs layer [2022-09-26T16:04:51.739Z] bcfd1f05c69d: Pulling fs layer [2022-09-26T16:04:51.739Z] 59ccb84bbe0f: Pulling fs layer [2022-09-26T16:04:51.739Z] 370296b7ddb6: Waiting [2022-09-26T16:04:51.739Z] 7c6cee850709: Waiting [2022-09-26T16:04:51.739Z] 39a5fcdaea64: Waiting [2022-09-26T16:04:51.739Z] d94ebbe4e438: Waiting [2022-09-26T16:04:51.739Z] bcfd1f05c69d: Waiting [2022-09-26T16:04:51.739Z] 59ccb84bbe0f: Waiting [2022-09-26T16:04:51.739Z] 30c4a7721957: Verifying Checksum [2022-09-26T16:04:51.739Z] 30c4a7721957: Download complete [2022-09-26T16:04:51.739Z] ea60b727a1ce: Verifying Checksum [2022-09-26T16:04:51.739Z] ea60b727a1ce: Download complete [2022-09-26T16:04:51.739Z] 7c6cee850709: Download complete [2022-09-26T16:04:51.739Z] 39a5fcdaea64: Verifying Checksum [2022-09-26T16:04:51.739Z] 39a5fcdaea64: Download complete [2022-09-26T16:04:51.739Z] 2408cc74d12b: Download complete [2022-09-26T16:04:51.739Z] d94ebbe4e438: Verifying Checksum [2022-09-26T16:04:51.739Z] d94ebbe4e438: Download complete [2022-09-26T16:04:52.002Z] 2408cc74d12b: Pull complete [2022-09-26T16:04:52.002Z] ea60b727a1ce: Pull complete [2022-09-26T16:04:52.264Z] 30c4a7721957: Pull complete [2022-09-26T16:04:52.264Z] 59ccb84bbe0f: Verifying Checksum [2022-09-26T16:04:52.264Z] 59ccb84bbe0f: Download complete [2022-09-26T16:04:52.524Z] 370296b7ddb6: Verifying Checksum [2022-09-26T16:04:52.524Z] 370296b7ddb6: Download complete [2022-09-26T16:04:52.781Z] bcfd1f05c69d: Verifying Checksum [2022-09-26T16:04:52.781Z] bcfd1f05c69d: Download complete [2022-09-26T16:04:56.978Z] 370296b7ddb6: Pull complete [2022-09-26T16:04:56.978Z] 7c6cee850709: Pull complete [2022-09-26T16:04:56.978Z] 39a5fcdaea64: Pull complete [2022-09-26T16:04:56.978Z] d94ebbe4e438: Pull complete [2022-09-26T16:04:58.877Z] bcfd1f05c69d: Pull complete [2022-09-26T16:04:59.810Z] 59ccb84bbe0f: Pull complete [2022-09-26T16:04:59.810Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-26T16:04:59.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T16:04:59.810Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-09-26T16:05:00.121Z] + 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-09-26T16:05:00.512Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T16:05:00.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:05:00.656Z] prd-ubuntu20.04-docker-8c-8g-1154 does not seem to be running inside a container [2022-09-26T16:05:00.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-175 -v /w/workspace/xfoundry_go-mod-messaging_PR-175:/w/workspace/xfoundry_go-mod-messaging_PR-175:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-175@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-175@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 ******** ci-base-image-x86_64 cat [2022-09-26T16:05:04.150Z] $ docker top d5ec933e16f3ec35e94b7f061232b95bf689fd6c01a164f233ff56c7b0863f62 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T16:05:04.545Z] + go version [2022-09-26T16:05:04.545Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-26T16:05:04.581Z] $ docker stop --time=1 d5ec933e16f3ec35e94b7f061232b95bf689fd6c01a164f233ff56c7b0863f62 [2022-09-26T16:05:05.896Z] $ docker rm -f d5ec933e16f3ec35e94b7f061232b95bf689fd6c01a164f233ff56c7b0863f62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2022-09-26T16:05:06.107Z] Still waiting to schedule task [2022-09-26T16:05:06.107Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T16:05:06.599Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T16:05:06.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:05:06.743Z] prd-ubuntu20.04-docker-8c-8g-1154 does not seem to be running inside a container [2022-09-26T16:05:06.777Z] $ 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-175 -v /w/workspace/xfoundry_go-mod-messaging_PR-175:/w/workspace/xfoundry_go-mod-messaging_PR-175:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-175@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-175@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 ******** ci-base-image-x86_64 cat [2022-09-26T16:05:07.181Z] $ docker top 83da56898c70a5050b0a9a174ed37269431128463141c765b7780db5d3714a80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T16:05:07.600Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-175 [Pipeline] fileExists [Pipeline] sh [2022-09-26T16:05:07.954Z] + make test [2022-09-26T16:05:07.954Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-09-26T16:05:07.954Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-26T16:05:07.954Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-26T16:05:07.954Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-26T16:05:07.954Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-26T16:05:07.954Z] go: downloading github.com/nats-io/nats.go v1.16.1-0.20220906180156-a1017eec10b0 [2022-09-26T16:05:07.954Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.1 [2022-09-26T16:05:07.954Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-26T16:05:07.954Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-26T16:05:07.954Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-26T16:05:07.954Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-26T16:05:07.954Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-26T16:05:07.954Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-26T16:05:07.954Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-26T16:05:08.212Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-26T16:05:08.473Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-26T16:05:08.473Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-26T16:05:08.473Z] go: downloading golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 [2022-09-26T16:05:08.473Z] go: downloading github.com/klauspost/compress v1.15.10 [2022-09-26T16:05:08.473Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-26T16:05:08.473Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-26T16:05:08.473Z] go: downloading golang.org/x/time v0.0.0-20220920022843-2ce7c2934d45 [2022-09-26T16:05:08.473Z] go: downloading golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8 [2022-09-26T16:05:23.379Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-09-26T16:05:25.914Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.084s coverage: 90.4% of statements [2022-09-26T16:05:26.481Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.045s coverage: 87.0% of statements [2022-09-26T16:05:26.482Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-09-26T16:05:26.482Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-09-26T16:05:36.455Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.108s coverage: 35.9% of statements [2022-09-26T16:05:36.455Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.077s coverage: 68.5% of statements [2022-09-26T16:05:36.455Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.374s coverage: 83.8% of statements [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.034s coverage: 88.9% of statements [2022-09-26T16:05:48.662Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.026s coverage: 100.0% of statements [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.041s coverage: 100.0% of statements [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.046s coverage: 95.1% of statements [2022-09-26T16:05:48.662Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-09-26T16:05:48.662Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.060s coverage: 90.4% of statements [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.027s coverage: 100.0% of statements [2022-09-26T16:05:48.662Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.025s coverage: 100.0% of statements [2022-09-26T16:05:48.662Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.056s coverage: 68.5% of statements [2022-09-26T16:05:48.662Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-09-26T16:06:10.590Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.377s coverage: 83.8% of statements [2022-09-26T16:06:10.591Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.033s coverage: 88.9% of statements [2022-09-26T16:06:10.591Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-09-26T16:06:10.591Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.038s coverage: 100.0% of statements [2022-09-26T16:06:10.591Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.030s coverage: 100.0% of statements [2022-09-26T16:06:10.591Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.032s coverage: 95.1% of statements [2022-09-26T16:06:18.703Z] 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-09-26T16:06:18.703Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T16:06:20.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T16:06:20.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-09-26T16:06:20.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T16:06:20.922Z] $ docker stop --time=1 83da56898c70a5050b0a9a174ed37269431128463141c765b7780db5d3714a80 [2022-09-26T16:06:22.698Z] $ docker rm -f 83da56898c70a5050b0a9a174ed37269431128463141c765b7780db5d3714a80 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T16:06:23.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T16:06:23.318Z] 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-09-26T16:06:24.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T16:06:24.344Z] [2022-09-26T16:06:24.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T16:06:24.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T16:06:24.719Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-26T16:06:24.719Z] 5eb5b503b376: Pulling fs layer [2022-09-26T16:06:24.719Z] 5c69ac0246d0: Pulling fs layer [2022-09-26T16:06:24.719Z] ec43610c2a17: Pulling fs layer [2022-09-26T16:06:24.719Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-26T16:06:24.719Z] 33b1e0a273af: Pulling fs layer [2022-09-26T16:06:24.719Z] 5d3b04190fa2: Pulling fs layer [2022-09-26T16:06:24.719Z] 2f39f015ded8: Pulling fs layer [2022-09-26T16:06:24.719Z] 3a2ae6a8a46f: Waiting [2022-09-26T16:06:24.719Z] 33b1e0a273af: Waiting [2022-09-26T16:06:24.719Z] 5d3b04190fa2: Waiting [2022-09-26T16:06:24.719Z] 2f39f015ded8: Waiting [2022-09-26T16:06:24.719Z] 5c69ac0246d0: Download complete [2022-09-26T16:06:24.719Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-26T16:06:24.719Z] 3a2ae6a8a46f: Download complete [2022-09-26T16:06:24.977Z] 33b1e0a273af: Verifying Checksum [2022-09-26T16:06:24.977Z] 33b1e0a273af: Download complete [2022-09-26T16:06:24.977Z] 5d3b04190fa2: Verifying Checksum [2022-09-26T16:06:24.977Z] 5d3b04190fa2: Download complete [2022-09-26T16:06:24.977Z] ec43610c2a17: Verifying Checksum [2022-09-26T16:06:24.977Z] ec43610c2a17: Download complete [2022-09-26T16:06:24.977Z] 5eb5b503b376: Download complete [2022-09-26T16:06:25.543Z] 2f39f015ded8: Download complete [2022-09-26T16:06:26.481Z] 5eb5b503b376: Pull complete [2022-09-26T16:06:26.481Z] 5c69ac0246d0: Pull complete [2022-09-26T16:06:26.793Z] ec43610c2a17: Pull complete [2022-09-26T16:06:26.793Z] 3a2ae6a8a46f: Pull complete [2022-09-26T16:06:27.068Z] 33b1e0a273af: Pull complete [2022-09-26T16:06:27.343Z] 5d3b04190fa2: Pull complete [2022-09-26T16:06:31.579Z] 2f39f015ded8: Pull complete [2022-09-26T16:06:31.579Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-26T16:06:31.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T16:06:31.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:06:31.807Z] prd-ubuntu20.04-docker-8c-8g-1154 does not seem to be running inside a container [2022-09-26T16:06:31.839Z] $ 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-175 -v /w/workspace/xfoundry_go-mod-messaging_PR-175:/w/workspace/xfoundry_go-mod-messaging_PR-175:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-175@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-175@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-lftools-log-publisher:latest cat [2022-09-26T16:06:34.694Z] $ docker top 955448ccf3580a0ef85b33811653c478cbd44f2b7975f079963325ada4d8d212 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:06:35.149Z] ---> job-cost.sh [2022-09-26T16:06:35.149Z] lf-activate-venv: SKIPPING [2022-09-26T16:06:35.149Z] INFO: No Stack... [2022-09-26T16:06:35.719Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T16:06:35.978Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T16:06:36.307Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-175/archives/cost.csv [2022-09-26T16:06:36.308Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T16:06:36.353Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] [2022-09-26T16:06:36.358Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] did not exist. Created. [2022-09-26T16:06:36.358Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T16:06:36.754Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-26T16:06:36.809Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T16:06:36.842Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T16:06:36.916Z] $ docker stop --time=1 955448ccf3580a0ef85b33811653c478cbd44f2b7975f079963325ada4d8d212 [2022-09-26T16:06:36.924Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1155 in /w/workspace/xfoundry_go-mod-messaging_PR-175 [2022-09-26T16:06:38.073Z] $ docker rm -f 955448ccf3580a0ef85b33811653c478cbd44f2b7975f079963325ada4d8d212 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-09-26T16:06:38.242Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2022-09-26T16:06:38.305Z] Selected Git installation does not exist. Using Default [2022-09-26T16:06:38.305Z] The recommended git tool is: NONE [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-26T16:06:43.016Z] using credential edgex-jenkins-ssh [2022-09-26T16:06:43.033Z] Cloning the remote Git repository [2022-09-26T16:06:43.075Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-09-26T16:06:43.148Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2022-09-26T16:06:43.280Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-09-26T16:06:43.281Z] > git --version # timeout=10 [2022-09-26T16:06:43.307Z] > git --version # 'git version 2.25.1' [2022-09-26T16:06:43.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T16:06:43.353Z] Verifying host key using known hosts file [2022-09-26T16:06:43.533Z] 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-09-26T16:06:43.559Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T16:06:44.389Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-09-26T16:06:44.417Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T16:06:45.178Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-09-26T16:06:45.220Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-09-26T16:06:45.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T16:06:45.226Z] Verifying host key using known hosts file [2022-09-26T16:06:45.233Z] 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-09-26T16:06:45.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-26T16:06:45.865Z] Merging remotes/origin/main commit 1f47019fe98ba391dccf3598956e93bbdae57d3c into PR head commit d90384092f0cc9cd5456fa32086b28d21f2aa0ec [2022-09-26T16:06:46.100Z] Merge succeeded, producing d90384092f0cc9cd5456fa32086b28d21f2aa0ec [2022-09-26T16:06:46.100Z] Checking out Revision d90384092f0cc9cd5456fa32086b28d21f2aa0ec (PR-175) [2022-09-26T16:06:46.547Z] Commit message: "build(deps): bump github.com/nats-io/nats-server/v2 from 2.9.0 to 2.9.1" [2022-09-26T16:06:46.596Z] > git --version # timeout=10 [2022-09-26T16:06:46.607Z] > git --version # 'git version 2.25.1' [2022-09-26T16:06:46.619Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-09-26T16:06:45.882Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T16:06:45.897Z] > git checkout -f d90384092f0cc9cd5456fa32086b28d21f2aa0ec # timeout=10 [2022-09-26T16:06:45.992Z] > git remote # timeout=10 [2022-09-26T16:06:46.007Z] > git config --get remote.origin.url # timeout=10 [2022-09-26T16:06:46.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T16:06:46.045Z] Verifying host key using known hosts file [2022-09-26T16:06:46.049Z] 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-09-26T16:06:46.063Z] > git merge 1f47019fe98ba391dccf3598956e93bbdae57d3c # timeout=10 [2022-09-26T16:06:46.085Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-26T16:06:46.107Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T16:06:46.123Z] > git checkout -f d90384092f0cc9cd5456fa32086b28d21f2aa0ec # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T16:06:47.711Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-26T16:06:47.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T16:06:47.711Z] Dload Upload Total Spent Left Speed [2022-09-26T16:06:47.711Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh [2022-09-26T16:06:48.382Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-26T16:06:48.731Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-26T16:06:48.731Z] + sudo tee /etc/docker/daemon.new [2022-09-26T16:06:48.731Z] { [2022-09-26T16:06:48.731Z] "registry-mirrors": [ [2022-09-26T16:06:48.731Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-26T16:06:48.731Z] ], [2022-09-26T16:06:48.731Z] "bip": "10.250.0.254/24", [2022-09-26T16:06:48.731Z] "hosts": [ [2022-09-26T16:06:48.731Z] "tcp://0.0.0.0:5555", [2022-09-26T16:06:48.731Z] "unix:///var/run/docker.sock" [2022-09-26T16:06:48.731Z] ], [2022-09-26T16:06:48.731Z] "mtu": 1458, [2022-09-26T16:06:48.731Z] "selinux-enabled": true, [2022-09-26T16:06:48.731Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-26T16:06:48.731Z] } [Pipeline] sh [2022-09-26T16:06:49.069Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-26T16:06:49.416Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-09-26T16:07:07.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T16:07:07.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T16:07:07.901Z] ========================================================= [2022-09-26T16:07:07.901Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-26T16:07:07.901Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-09-26T16:07:08.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T16:07:08.924Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-26T16:07:08.924Z] b3c136eddcbf: Pulling fs layer [2022-09-26T16:07:08.924Z] c0a3192eca97: Pulling fs layer [2022-09-26T16:07:08.924Z] a050256f5b6f: Pulling fs layer [2022-09-26T16:07:08.924Z] 656be50a0ddc: Pulling fs layer [2022-09-26T16:07:08.924Z] 2bbca73fdf42: Pulling fs layer [2022-09-26T16:07:08.924Z] 46d945488cbd: Pulling fs layer [2022-09-26T16:07:08.924Z] 8a5474983e97: Pulling fs layer [2022-09-26T16:07:08.924Z] 329c88fbcd65: Pulling fs layer [2022-09-26T16:07:08.924Z] 2bbca73fdf42: Waiting [2022-09-26T16:07:08.924Z] 46d945488cbd: Waiting [2022-09-26T16:07:08.924Z] 8a5474983e97: Waiting [2022-09-26T16:07:08.924Z] 329c88fbcd65: Waiting [2022-09-26T16:07:08.924Z] 656be50a0ddc: Waiting [2022-09-26T16:07:08.924Z] a050256f5b6f: Verifying Checksum [2022-09-26T16:07:08.924Z] a050256f5b6f: Download complete [2022-09-26T16:07:08.924Z] c0a3192eca97: Verifying Checksum [2022-09-26T16:07:08.924Z] c0a3192eca97: Download complete [2022-09-26T16:07:08.924Z] 2bbca73fdf42: Download complete [2022-09-26T16:07:08.924Z] 46d945488cbd: Verifying Checksum [2022-09-26T16:07:08.924Z] 46d945488cbd: Download complete [2022-09-26T16:07:08.924Z] b3c136eddcbf: Verifying Checksum [2022-09-26T16:07:08.924Z] b3c136eddcbf: Download complete [2022-09-26T16:07:09.911Z] 329c88fbcd65: Verifying Checksum [2022-09-26T16:07:09.911Z] 329c88fbcd65: Download complete [2022-09-26T16:07:10.186Z] b3c136eddcbf: Pull complete [2022-09-26T16:07:10.777Z] c0a3192eca97: Pull complete [2022-09-26T16:07:11.056Z] a050256f5b6f: Pull complete [2022-09-26T16:07:11.056Z] 8a5474983e97: Verifying Checksum [2022-09-26T16:07:11.056Z] 8a5474983e97: Download complete [2022-09-26T16:07:12.033Z] 656be50a0ddc: Download complete [2022-09-26T16:07:24.430Z] 656be50a0ddc: Pull complete [2022-09-26T16:07:24.430Z] 2bbca73fdf42: Pull complete [2022-09-26T16:07:24.430Z] 46d945488cbd: Pull complete [2022-09-26T16:07:29.786Z] 8a5474983e97: Pull complete [2022-09-26T16:07:31.753Z] 329c88fbcd65: Pull complete [2022-09-26T16:07:31.753Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-26T16:07:31.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T16:07:31.753Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-09-26T16:07:32.094Z] + 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-09-26T16:07:32.564Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T16:07:32.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:07:32.836Z] prd-ubuntu20.04-docker-arm64-4c-16g-1155 does not seem to be running inside a container [2022-09-26T16:07:32.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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 ******** ci-base-image-arm64 cat [2022-09-26T16:07:35.932Z] $ docker top df123f368fc6e9491afad886901005194e1857ec35edd139032d6f6034e4430e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T16:07:36.790Z] + go version [2022-09-26T16:07:36.790Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-26T16:07:36.827Z] $ docker stop --time=1 df123f368fc6e9491afad886901005194e1857ec35edd139032d6f6034e4430e [2022-09-26T16:07:38.461Z] $ docker rm -f df123f368fc6e9491afad886901005194e1857ec35edd139032d6f6034e4430e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T16:07:39.300Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T16:07:39.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:07:39.541Z] prd-ubuntu20.04-docker-arm64-4c-16g-1155 does not seem to be running inside a container [2022-09-26T16:07:39.608Z] $ 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/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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 ******** ci-base-image-arm64 cat [2022-09-26T16:07:40.731Z] $ docker top c7463004b8f4268ab5f9a885188ec677d8ec50c5c884da2a762213b12f263a7d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T16:07:41.269Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/1 [Pipeline] fileExists [Pipeline] sh [2022-09-26T16:07:41.656Z] + make test [2022-09-26T16:07:41.656Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-09-26T16:07:41.924Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-09-26T16:07:41.924Z] go: downloading github.com/nats-io/nats.go v1.16.1-0.20220906180156-a1017eec10b0 [2022-09-26T16:07:41.924Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-09-26T16:07:42.194Z] go: downloading github.com/google/uuid v1.3.0 [2022-09-26T16:07:42.194Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.1 [2022-09-26T16:07:42.194Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-09-26T16:07:42.194Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-09-26T16:07:42.194Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-09-26T16:07:42.462Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-09-26T16:07:42.462Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-09-26T16:07:42.462Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-09-26T16:07:42.462Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-09-26T16:07:42.462Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-09-26T16:07:42.462Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-09-26T16:07:42.462Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-09-26T16:07:42.462Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-09-26T16:07:42.462Z] go: downloading golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 [2022-09-26T16:07:43.424Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-09-26T16:07:43.424Z] go: downloading github.com/klauspost/compress v1.15.10 [2022-09-26T16:07:43.424Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-09-26T16:07:43.424Z] go: downloading golang.org/x/time v0.0.0-20220920022843-2ce7c2934d45 [2022-09-26T16:08:51.306Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-09-26T16:09:06.322Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.229s coverage: 90.4% of statements [2022-09-26T16:09:18.632Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.142s coverage: 87.0% of statements [2022-09-26T16:09:18.632Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-09-26T16:09:18.632Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.301s coverage: 35.9% of statements [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.125s coverage: 68.5% of statements [2022-09-26T16:10:15.031Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.479s coverage: 83.8% of statements [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.088s coverage: 88.9% of statements [2022-09-26T16:10:15.031Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.068s coverage: 100.0% of statements [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.060s coverage: 100.0% of statements [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.069s coverage: 95.1% of statements [2022-09-26T16:10:15.031Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-09-26T16:10:15.031Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.269s coverage: 90.4% of statements [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.107s coverage: 100.0% of statements [2022-09-26T16:10:15.031Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.061s coverage: 100.0% of statements [2022-09-26T16:10:15.031Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.184s coverage: 68.5% of statements [2022-09-26T16:10:15.031Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-09-26T16:10:37.071Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.476s coverage: 83.8% of statements [2022-09-26T16:10:37.071Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.069s coverage: 88.9% of statements [2022-09-26T16:10:37.071Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-09-26T16:10:37.071Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.073s coverage: 100.0% of statements [2022-09-26T16:10:37.071Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.052s coverage: 100.0% of statements [2022-09-26T16:10:37.071Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.082s coverage: 95.1% of statements [2022-09-26T16:10:37.071Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-26T16:10:37.071Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T16:11:23.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T16:11:23.910Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-09-26T16:11:23.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T16:11:23.981Z] $ docker stop --time=1 c7463004b8f4268ab5f9a885188ec677d8ec50c5c884da2a762213b12f263a7d [2022-09-26T16:11:25.888Z] $ docker rm -f c7463004b8f4268ab5f9a885188ec677d8ec50c5c884da2a762213b12f263a7d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T16:11:27.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T16:11:27.503Z] Warning: overwriting stash ‘coverage-report’ [2022-09-26T16:11:28.038Z] 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-09-26T16:11:29.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T16:11:29.020Z] [2022-09-26T16:11:29.020Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T16:11:29.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T16:11:29.693Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-26T16:11:29.693Z] 8998bd30e6a1: Pulling fs layer [2022-09-26T16:11:29.693Z] 04944245beec: Pulling fs layer [2022-09-26T16:11:29.693Z] 699f458cf7ca: Pulling fs layer [2022-09-26T16:11:29.693Z] 765212b225bb: Pulling fs layer [2022-09-26T16:11:29.693Z] f23df028b6ca: Pulling fs layer [2022-09-26T16:11:29.693Z] d65c8cfc05b1: Pulling fs layer [2022-09-26T16:11:29.693Z] 2437ff75d9bd: Pulling fs layer [2022-09-26T16:11:29.693Z] f23df028b6ca: Waiting [2022-09-26T16:11:29.693Z] d65c8cfc05b1: Waiting [2022-09-26T16:11:29.693Z] 2437ff75d9bd: Waiting [2022-09-26T16:11:29.693Z] 765212b225bb: Waiting [2022-09-26T16:11:29.693Z] 04944245beec: Verifying Checksum [2022-09-26T16:11:29.693Z] 04944245beec: Download complete [2022-09-26T16:11:29.693Z] 765212b225bb: Verifying Checksum [2022-09-26T16:11:29.693Z] 765212b225bb: Download complete [2022-09-26T16:11:29.693Z] f23df028b6ca: Verifying Checksum [2022-09-26T16:11:29.693Z] f23df028b6ca: Download complete [2022-09-26T16:11:29.963Z] d65c8cfc05b1: Verifying Checksum [2022-09-26T16:11:29.963Z] d65c8cfc05b1: Download complete [2022-09-26T16:11:29.963Z] 699f458cf7ca: Verifying Checksum [2022-09-26T16:11:29.963Z] 699f458cf7ca: Download complete [2022-09-26T16:11:30.230Z] 8998bd30e6a1: Verifying Checksum [2022-09-26T16:11:30.230Z] 8998bd30e6a1: Download complete [2022-09-26T16:11:33.572Z] 2437ff75d9bd: Verifying Checksum [2022-09-26T16:11:33.572Z] 2437ff75d9bd: Download complete [2022-09-26T16:11:34.983Z] 8998bd30e6a1: Pull complete [2022-09-26T16:11:35.567Z] 04944245beec: Pull complete [2022-09-26T16:11:36.973Z] 699f458cf7ca: Pull complete [2022-09-26T16:11:37.239Z] 765212b225bb: Pull complete [2022-09-26T16:11:37.823Z] f23df028b6ca: Pull complete [2022-09-26T16:11:38.090Z] d65c8cfc05b1: Pull complete [2022-09-26T16:12:00.150Z] 2437ff75d9bd: Pull complete [2022-09-26T16:12:00.150Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-26T16:12:00.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T16:12:00.150Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:12:00.456Z] prd-ubuntu20.04-docker-arm64-4c-16g-1155 does not seem to be running inside a container [2022-09-26T16:12:00.515Z] $ 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/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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-lftools-log-publisher:arm64 cat [2022-09-26T16:12:02.207Z] $ docker top 541a2ef4f78061ce985ba7160ae5500c1dba5c80bec8a92f7417b1f670126d1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:03.099Z] ---> job-cost.sh [2022-09-26T16:12:03.099Z] lf-activate-venv: SKIPPING [2022-09-26T16:12:03.099Z] INFO: No Stack... [2022-09-26T16:12:03.363Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-26T16:12:04.315Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T16:12:04.657Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2022-09-26T16:12:04.657Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T16:12:04.724Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] [2022-09-26T16:12:04.730Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] did not exist. Created. [2022-09-26T16:12:04.730Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T16:12:05.135Z] /w/workspace/go-mod-messaging/1@tmp/durable-bc1dbaa4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-26T16:12:05.797Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-26T16:12:05.831Z] Warning: overwriting stash ‘stack-cost’ [2022-09-26T16:12:05.880Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T16:12:05.894Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T16:12:05.970Z] $ docker stop --time=1 541a2ef4f78061ce985ba7160ae5500c1dba5c80bec8a92f7417b1f670126d1d [2022-09-26T16:12:07.435Z] $ docker rm -f 541a2ef4f78061ce985ba7160ae5500c1dba5c80bec8a92f7417b1f670126d1d [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-09-26T16:12:08.373Z] provisioning config files... [2022-09-26T16:12:08.386Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-175@tmp/config5369343784851794878tmp [Pipeline] { [Pipeline] sh [2022-09-26T16:12:08.720Z] + set +x [2022-09-26T16:12:08.720Z] + curl -s https://codecov.io/bash [2022-09-26T16:12:08.720Z] + bash -s -- [2022-09-26T16:12:08.720Z] [2022-09-26T16:12:08.720Z] _____ _ [2022-09-26T16:12:08.720Z] / ____| | | [2022-09-26T16:12:08.720Z] | | ___ __| | ___ ___ _____ __ [2022-09-26T16:12:08.720Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-26T16:12:08.720Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-26T16:12:08.720Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-26T16:12:08.720Z] Bash-1.0.6 [2022-09-26T16:12:08.720Z] [2022-09-26T16:12:08.720Z] [2022-09-26T16:12:08.720Z] ==> git version 2.25.1 found [2022-09-26T16:12:08.720Z] ==> 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-09-26T16:12:08.720Z] Release-Date: 2020-01-08 [2022-09-26T16:12:08.720Z] 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-09-26T16:12:08.720Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-26T16:12:08.720Z] ==> Jenkins CI detected. [2022-09-26T16:12:08.720Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-175 [2022-09-26T16:12:08.720Z] project root: . [2022-09-26T16:12:08.720Z] --> token set from env [2022-09-26T16:12:08.720Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-26T16:12:08.720Z] ==> Running gcov in . (disable via -X gcov) [2022-09-26T16:12:08.720Z] ==> Python coveragepy not found [2022-09-26T16:12:08.720Z] ==> Searching for coverage reports in: [2022-09-26T16:12:08.720Z] + . [2022-09-26T16:12:08.720Z] -> Found 1 reports [2022-09-26T16:12:08.720Z] ==> Detecting git/mercurial file structure [2022-09-26T16:12:08.981Z] ==> Reading reports [2022-09-26T16:12:08.981Z] + ./coverage.out bytes=25878 [2022-09-26T16:12:08.981Z] ==> Appending adjustments [2022-09-26T16:12:08.981Z] https://docs.codecov.io/docs/fixing-reports [2022-09-26T16:12:08.981Z] + Found adjustments [2022-09-26T16:12:08.981Z] ==> Gzipping contents [2022-09-26T16:12:09.240Z] 8.0K /tmp/codecov.SNNUca.gz [2022-09-26T16:12:09.240Z] ==> Uploading reports [2022-09-26T16:12:09.240Z] url: https://codecov.io [2022-09-26T16:12:09.240Z] query: branch=PR-175&commit=d90384092f0cc9cd5456fa32086b28d21f2aa0ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=175&job=&cmd_args= [2022-09-26T16:12:09.240Z] -> Pinging Codecov [2022-09-26T16:12:09.240Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-175&commit=d90384092f0cc9cd5456fa32086b28d21f2aa0ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=175&job=&cmd_args= [2022-09-26T16:12:09.500Z] -> Uploading to [2022-09-26T16:12:09.500Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-26/F6E385568367DD0E4001BA4F8F1CB792/d90384092f0cc9cd5456fa32086b28d21f2aa0ec/1bb19121-e485-4b04-8e37-147cf81912da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T161209Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d9492f485e02bf872f7f37c3244e187111c40a0d00fed23ebebd2842fec5869 [2022-09-26T16:12:09.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T16:12:09.500Z] Dload Upload Total Spent Left Speed [2022-09-26T16:12:09.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6970 0 0 100 6970 0 27880 --:--:-- --:--:-- --:--:-- 27880 [2022-09-26T16:12:09.761Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/d90384092f0cc9cd5456fa32086b28d21f2aa0ec [Pipeline] } [2022-09-26T16:12:09.793Z] 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-09-26T16:12:11.661Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-175/archives ] [2022-09-26T16:12:11.661Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-175/archives [2022-09-26T16:12:11.661Z] total 16 [2022-09-26T16:12:11.661Z] drwxr-xr-x 3 root root 4096 Sep 26 16:06 . [2022-09-26T16:12:11.661Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 16:06 .. [2022-09-26T16:12:11.661Z] drwxr-xr-x 2 root root 4096 Sep 26 16:06 cost [2022-09-26T16:12:11.661Z] -rw-r--r-- 1 root root 88 Sep 26 16:06 cost.csv [2022-09-26T16:12:11.661Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-175/archives [2022-09-26T16:12:11.661Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-175/archives [2022-09-26T16:12:11.661Z] total 16 [2022-09-26T16:12:11.661Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:06 . [2022-09-26T16:12:11.661Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 16:06 .. [2022-09-26T16:12:11.661Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 16:06 cost [2022-09-26T16:12:11.661Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 26 16:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:11.992Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:12.890Z] ---> package-listing.sh [2022-09-26T16:12:12.890Z] ++ facter osfamily [2022-09-26T16:12:12.890Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-26T16:12:13.150Z] + OS_FAMILY=debian [2022-09-26T16:12:13.151Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-175 [2022-09-26T16:12:13.151Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-26T16:12:13.151Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-26T16:12:13.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-26T16:12:13.151Z] + PACKAGES=/tmp/packages_start.txt [2022-09-26T16:12:13.151Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-175 ']' [2022-09-26T16:12:13.151Z] + PACKAGES=/tmp/packages_end.txt [2022-09-26T16:12:13.151Z] + case "${OS_FAMILY}" in [2022-09-26T16:12:13.151Z] + dpkg -l [2022-09-26T16:12:13.151Z] + grep '^ii' [2022-09-26T16:12:13.151Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-26T16:12:13.151Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-26T16:12:13.151Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-26T16:12:13.151Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-175 ']' [2022-09-26T16:12:13.151Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-175/archives/ [2022-09-26T16:12:13.151Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-175/archives/ [Pipeline] echo [2022-09-26T16:12:13.190Z] 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-175/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-26T16:12:13.483Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T16:12:14.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T16:12:14.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T16:12:14.269Z] prd-ubuntu20.04-docker-8c-8g-1154 does not seem to be running inside a container [2022-09-26T16:12:14.298Z] $ 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-175/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-175 -v /w/workspace/xfoundry_go-mod-messaging_PR-175:/w/workspace/xfoundry_go-mod-messaging_PR-175:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-175@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-175@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T16:12:14.514Z] $ docker top 55602f50131b4c0e4f92986a8f6f978014b9af7c2b4d10d2ad63d87605bb2086 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T16:12:14.908Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-26T16:12:15.221Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-26T16:12:15.532Z] + ls /var/log/sa-host [2022-09-26T16:12:15.532Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T16:12:15.737Z] provisioning config files... [2022-09-26T16:12:15.747Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-175@tmp/config10645498998607111867tmp [Pipeline] { [Pipeline] echo [2022-09-26T16:12:15.799Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:16.113Z] ---> create-netrc.sh [Pipeline] } [2022-09-26T16:12:16.143Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:16.561Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-26T16:12:16.592Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:16.900Z] ---> sudo-logs.sh [2022-09-26T16:12:16.900Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-26T16:12:16.996Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:17.300Z] ---> job-cost.sh [2022-09-26T16:12:17.300Z] lf-activate-venv: SKIPPING [2022-09-26T16:12:17.300Z] DEBUG: total: 0.2199999988079071 [2022-09-26T16:12:17.300Z] INFO: Retrieving Stack Cost... [2022-09-26T16:12:17.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T16:12:18.129Z] INFO: Archiving Costs [Pipeline] echo [2022-09-26T16:12:18.170Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T16:12:18.475Z] ---> logs-deploy.sh [2022-09-26T16:12:18.475Z] lf-activate-venv: SKIPPING [2022-09-26T16:12:18.475Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-175/1 [2022-09-26T16:12:18.475Z] INFO: archiving workspace using pattern(s): [2022-09-26T16:12:19.410Z] Archives upload complete. [2022-09-26T16:12:19.410Z] INFO: archiving logs to Nexus