Pull request #562 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch main at b171584baabd50881bf72082494493a340744952 rather than abf7e2da7c8ba352c42044657da295b86f189150 Obtained Jenkinsfile from b171584baabd50881bf72082494493a340744952 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-ssh10979636976094641586.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10009983146499145356.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14243727064870040931.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13402690078905427456.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17495866923437664533.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-bootstrap, 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-bootstrap-settings PROJECT: go-mod-bootstrap USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-bootstrap 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-1395 in /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-562 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b171584baabd50881bf72082494493a340744952 into PR head commit abf7e2da7c8ba352c42044657da295b86f189150 Merge succeeded, producing dacb922e18a96fcb9945ff219954e730d0151715 Checking out Revision dacb922e18a96fcb9945ff219954e730d0151715 (PR-562) > git config core.sparsecheckout # timeout=10 > git checkout -f abf7e2da7c8ba352c42044657da295b86f189150 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b171584baabd50881bf72082494493a340744952 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dacb922e18a96fcb9945ff219954e730d0151715 # timeout=10 Commit message: "Merge commit 'b171584baabd50881bf72082494493a340744952' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1742766232bca7f46a1893fe1b671a0f31a601f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:37:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:37:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:37:05 ========================================================= 03:37:05 EdgeX Global Pipelines Version Info 03:37:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:37:06 ------------------- 03:37:06 stable info: 03:37:06 ------------------- 03:37:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:37:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:37:06 Message: update stable to v1.0.250 03:37:07 ------------------- 03:37:07 experimental info: 03:37:07 ------------------- 03:37:07 Commited By: **** collab-it+edgex@linuxfoundation.org 03:37:07 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:37:07 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-562 [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-562 [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-562 [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dacb922e18a96fcb9945ff219954e730d0151715 [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dacb922 [Pipeline] echo 03:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:37:08 + git rev-list -1 --merges dacb922e18a96fcb9945ff219954e730d0151715~1..dacb922e18a96fcb9945ff219954e730d0151715 [Pipeline] echo 03:37:08 -----------> git rev-list -1 --merges dacb922e18a96fcb9945ff219954e730d0151715~1..dacb922e18a96fcb9945ff219954e730d0151715 dacb922e18a96fcb9945ff219954e730d0151715 03:37:08 dacb922e18a96fcb9945ff219954e730d0151715 [false] [Pipeline] sh 03:37:08 + git log --format=format:%s -1 dacb922e18a96fcb9945ff219954e730d0151715 [Pipeline] echo 03:37:08 ========================================================= 03:37:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:37:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:09 + git log --format=format:%s -1 dacb922e18a96fcb9945ff219954e730d0151715 [Pipeline] echo 03:37:09 [semverPrep] GIT_COMMIT: dacb922e18a96fcb9945ff219954e730d0151715, Commit Message: Merge commit 'b171584baabd50881bf72082494493a340744952' into HEAD [Pipeline] echo 03:37:09 [semverPrep] This is not a build commit. [Pipeline] sh 03:37:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:37:09 + grep -v github /etc/ssh/ssh_known_hosts 03:37:09 + [ -e /tmp/ssh_known_hosts ] 03:37:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:37:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:37:09 + sudo tee -a /etc/ssh/ssh_known_hosts 03:37:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:10 03:37:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:10 0.1.4: Pulling from edgex-devops/py-git-semver 03:37:10 b85a868b505f: Pulling fs layer 03:37:10 e2be974225ed: Pulling fs layer 03:37:10 339a4e72a1f5: Pulling fs layer 03:37:10 988bab9f4d93: Pulling fs layer 03:37:10 1469e6f7b9e6: Pulling fs layer 03:37:10 eaf3925da568: Pulling fs layer 03:37:10 bab4dde63d76: Pulling fs layer 03:37:10 bde34c3a00c8: Pulling fs layer 03:37:10 b352a97aabf1: Pulling fs layer 03:37:10 4872d77fe225: Pulling fs layer 03:37:10 5851b861e8e6: Pulling fs layer 03:37:10 988bab9f4d93: Waiting 03:37:10 1469e6f7b9e6: Waiting 03:37:10 eaf3925da568: Waiting 03:37:10 bab4dde63d76: Waiting 03:37:10 bde34c3a00c8: Waiting 03:37:10 b352a97aabf1: Waiting 03:37:10 4872d77fe225: Waiting 03:37:10 5851b861e8e6: Waiting 03:37:10 e2be974225ed: Download complete 03:37:10 988bab9f4d93: Verifying Checksum 03:37:10 988bab9f4d93: Download complete 03:37:10 1469e6f7b9e6: Verifying Checksum 03:37:10 1469e6f7b9e6: Download complete 03:37:10 339a4e72a1f5: Verifying Checksum 03:37:10 339a4e72a1f5: Download complete 03:37:10 eaf3925da568: Verifying Checksum 03:37:10 eaf3925da568: Download complete 03:37:10 bde34c3a00c8: Verifying Checksum 03:37:10 bde34c3a00c8: Download complete 03:37:10 b352a97aabf1: Download complete 03:37:10 4872d77fe225: Verifying Checksum 03:37:10 4872d77fe225: Download complete 03:37:10 5851b861e8e6: Verifying Checksum 03:37:10 5851b861e8e6: Download complete 03:37:11 b85a868b505f: Verifying Checksum 03:37:11 b85a868b505f: Download complete 03:37:11 bab4dde63d76: Verifying Checksum 03:37:11 bab4dde63d76: Download complete 03:37:12 b85a868b505f: Pull complete 03:37:12 e2be974225ed: Pull complete 03:37:12 339a4e72a1f5: Pull complete 03:37:12 988bab9f4d93: Pull complete 03:37:13 1469e6f7b9e6: Pull complete 03:37:13 eaf3925da568: Pull complete 03:37:15 bab4dde63d76: Pull complete 03:37:15 bde34c3a00c8: Pull complete 03:37:15 b352a97aabf1: Pull complete 03:37:15 4872d77fe225: Pull complete 03:37:15 5851b861e8e6: Pull complete 03:37:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:15 prd-ubuntu20.04-docker-8c-8g-1395 does not seem to be running inside a container 03:37:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:37:18 $ docker top 5f10947f9757a7e37c68e1999049b376bcf3de19caf009b59791976bcf1767a4 -eo pid,comm 03:37:18 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). 03:37:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:37:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:18 [ssh-agent] Looking for ssh-agent implementation... 03:37:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:18 $ docker exec 5f10947f9757a7e37c68e1999049b376bcf3de19caf009b59791976bcf1767a4 ssh-agent 03:37:18 SSH_AUTH_SOCK=/tmp/ssh-0JWugCyKr5tj/agent.33 03:37:18 SSH_AGENT_PID=39 03:37:18 Running ssh-add (command line suppressed) 03:37:18 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_12208220205328431173.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_12208220205328431173.key) 03:37:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:19 + git tag --points-at HEAD [Pipeline] } 03:37:19 $ docker exec --env ******** --env ******** 5f10947f9757a7e37c68e1999049b376bcf3de19caf009b59791976bcf1767a4 ssh-agent -k 03:37:19 unset SSH_AUTH_SOCK; 03:37:19 unset SSH_AGENT_PID; 03:37:19 echo Agent pid 39 killed; 03:37:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:37:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:19 [ssh-agent] Looking for ssh-agent implementation... 03:37:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:19 $ docker exec 5f10947f9757a7e37c68e1999049b376bcf3de19caf009b59791976bcf1767a4 ssh-agent 03:37:19 SSH_AUTH_SOCK=/tmp/ssh-IomJ1K2udUfN/agent.71 03:37:19 SSH_AGENT_PID=77 03:37:19 Running ssh-add (command line suppressed) 03:37:19 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_18386349870887610294.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_18386349870887610294.key) 03:37:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:19 + git semver init 03:37:20 2023-07-18 03:37:20,102 [run_init] DEBUG init version:0.0.0 force:False 03:37:20 2023-07-18 03:37:20,103 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver 03:37:20 2023-07-18 03:37:20,104 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver 03:37:20 2023-07-18 03:37:20,104 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562, universal_newlines=False, shell=None, istream=None) 03:37:21 2023-07-18 03:37:20,932 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.git/info/exclude 03:37:21 2023-07-18 03:37:20,933 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 with force:False 03:37:21 2023-07-18 03:37:20,933 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 03:37:21 2023-07-18 03:37:20,936 [execute] INFO git cat-file --batch-check 03:37:21 2023-07-18 03:37:20,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) 03:37:21 2023-07-18 03:37:20,943 [execute] INFO git cat-file --batch 03:37:21 2023-07-18 03:37:20,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) 03:37:21 2023-07-18 03:37:20,948 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 03:37:21 0.0.0 [Pipeline] } 03:37:21 $ docker exec --env ******** --env ******** 5f10947f9757a7e37c68e1999049b376bcf3de19caf009b59791976bcf1767a4 ssh-agent -k 03:37:21 unset SSH_AUTH_SOCK; 03:37:21 unset SSH_AGENT_PID; 03:37:21 echo Agent pid 77 killed; 03:37:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:37:21 + git semver [Pipeline] } 03:37:21 $ docker stop --time=1 5f10947f9757a7e37c68e1999049b376bcf3de19caf009b59791976bcf1767a4 03:37:23 $ docker rm -f --volumes 5f10947f9757a7e37c68e1999049b376bcf3de19caf009b59791976bcf1767a4 [Pipeline] // withDockerContainer [Pipeline] sh 03:37:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:37:23 Stashed 1 file(s) [Pipeline] echo 03:37:23 [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 03:37:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:37:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:37:23 ========================================================= 03:37:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:37:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 03:37:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:37:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:37:24 4db1b89c0bd1: Pulling fs layer 03:37:24 6911f1a30b25: Pulling fs layer 03:37:24 e194b8c5c2a9: Pulling fs layer 03:37:24 6863d3e3a2b1: Pulling fs layer 03:37:24 ec0bb842ea78: Pulling fs layer 03:37:24 40a00589a448: Pulling fs layer 03:37:24 6c08303d61cc: Pulling fs layer 03:37:24 798269fcf238: Pulling fs layer 03:37:24 ec0bb842ea78: Waiting 03:37:24 40a00589a448: Waiting 03:37:24 6c08303d61cc: Waiting 03:37:24 6863d3e3a2b1: Waiting 03:37:24 798269fcf238: Waiting 03:37:24 6911f1a30b25: Verifying Checksum 03:37:24 6911f1a30b25: Download complete 03:37:24 6863d3e3a2b1: Verifying Checksum 03:37:24 6863d3e3a2b1: Download complete 03:37:24 ec0bb842ea78: Download complete 03:37:24 4db1b89c0bd1: Download complete 03:37:24 40a00589a448: Verifying Checksum 03:37:24 40a00589a448: Download complete 03:37:24 4db1b89c0bd1: Pull complete 03:37:24 6911f1a30b25: Pull complete 03:37:24 798269fcf238: Verifying Checksum 03:37:24 798269fcf238: Download complete 03:37:25 e194b8c5c2a9: Verifying Checksum 03:37:25 e194b8c5c2a9: Download complete 03:37:25 6c08303d61cc: Verifying Checksum 03:37:25 6c08303d61cc: Download complete 03:37:29 e194b8c5c2a9: Pull complete 03:37:29 6863d3e3a2b1: Pull complete 03:37:29 ec0bb842ea78: Pull complete 03:37:29 40a00589a448: Pull complete 03:37:31 6c08303d61cc: Pull complete 03:37:32 798269fcf238: Pull complete 03:37:32 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:37:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:37:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 03:37:32 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:32 + docker inspect -f . ci-base-image-x86_64 03:37:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:33 prd-ubuntu20.04-docker-8c-8g-1395 does not seem to be running inside a container 03:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:37:37 $ docker top 80db9a1a72e57bf6cc57ccde20a54deae3083543b810d1d1d2e6ef8e7a7e0c5c -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:37 + go version 03:37:37 go version go1.20.6 linux/amd64 [Pipeline] } 03:37:37 $ docker stop --time=1 80db9a1a72e57bf6cc57ccde20a54deae3083543b810d1d1d2e6ef8e7a7e0c5c 03:37:38 Still waiting to schedule task 03:37:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:37:38 $ docker rm -f --volumes 80db9a1a72e57bf6cc57ccde20a54deae3083543b810d1d1d2e6ef8e7a7e0c5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:39 + docker inspect -f . ci-base-image-x86_64 03:37:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:39 prd-ubuntu20.04-docker-8c-8g-1395 does not seem to be running inside a container 03:37:39 $ 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-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:37:39 $ docker top b87628bfe295b6a76f0d603c81332145c7d6e7913e153205b24556381abb555a -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:40 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] fileExists [Pipeline] sh 03:37:40 + make test 03:37:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:37:40 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 03:37:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 03:37:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 03:37:40 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 03:37:40 go: downloading github.com/gorilla/mux v1.8.0 03:37:40 go: downloading github.com/mitchellh/mapstructure v1.5.0 03:37:40 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 03:37:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 03:37:40 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 03:37:41 go: downloading github.com/mitchellh/copystructure v1.2.0 03:37:41 go: downloading github.com/stretchr/testify v1.8.4 03:37:41 go: downloading gopkg.in/yaml.v3 v3.0.1 03:37:41 go: downloading github.com/google/uuid v1.3.0 03:37:41 go: downloading github.com/hashicorp/go-multierror v1.1.1 03:37:41 go: downloading github.com/gorilla/websocket v1.5.0 03:37:41 go: downloading golang.org/x/net v0.10.0 03:37:41 go: downloading golang.org/x/sync v0.2.0 03:37:41 go: downloading github.com/go-kit/log v0.2.1 03:37:41 go: downloading github.com/go-playground/validator/v10 v10.14.1 03:37:41 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 03:37:41 go: downloading github.com/mitchellh/reflectwalk v1.0.2 03:37:41 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 03:37:41 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 03:37:41 go: downloading github.com/stretchr/objx v0.5.0 03:37:41 go: downloading github.com/hashicorp/errwrap v1.1.0 03:37:41 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 03:37:41 go: downloading github.com/go-redis/redis/v7 v7.3.0 03:37:41 go: downloading github.com/x448/float16 v0.8.4 03:37:41 go: downloading github.com/hashicorp/consul/api v1.22.0 03:37:41 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 03:37:41 go: downloading github.com/go-playground/universal-translator v0.18.1 03:37:41 go: downloading github.com/leodido/go-urn v1.2.4 03:37:41 go: downloading golang.org/x/crypto v0.9.0 03:37:41 go: downloading golang.org/x/text v0.9.0 03:37:41 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:37:41 go: downloading github.com/zeebo/errs v1.3.0 03:37:41 go: downloading google.golang.org/grpc v1.53.0 03:37:41 go: downloading github.com/go-playground/locales v0.14.1 03:37:42 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 03:37:42 go: downloading google.golang.org/protobuf v1.28.1 03:37:42 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 03:37:42 go: downloading github.com/go-logfmt/logfmt v0.5.1 03:37:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 03:37:42 go: downloading github.com/hashicorp/go-hclog v1.5.0 03:37:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 03:37:42 go: downloading github.com/hashicorp/serf v0.10.1 03:37:42 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 03:37:42 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 03:37:43 go: downloading github.com/armon/go-metrics v0.4.1 03:37:43 go: downloading github.com/golang/protobuf v1.5.2 03:37:43 go: downloading golang.org/x/sys v0.8.0 03:37:43 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 03:37:43 go: downloading github.com/hashicorp/golang-lru v0.5.4 03:37:43 go: downloading github.com/mattn/go-isatty v0.0.17 03:37:43 go: downloading github.com/fatih/color v1.14.1 03:37:43 go: downloading github.com/mattn/go-colorable v0.1.13 03:38:01 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 03:38:01 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 03:38:01 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 03:38:01 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 03:38:01 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.042s coverage: 35.4% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.023s coverage: 96.2% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.020s coverage: 91.7% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.385s coverage: 88.2% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.008s coverage: 85.0% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.026s coverage: 42.4% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.038s coverage: 100.0% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.335s coverage: 87.7% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.028s coverage: 25.0% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.047s coverage: 79.0% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.013s coverage: 58.6% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.014s coverage: 31.2% of statements 03:38:19 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.007s coverage: 91.3% of statements 03:38:27 bootstrap/controller/commonapi.go:105:21: Error return value of `mapstructure.Decode` is not checked (errcheck) 03:38:27 mapstructure.Decode(c.config.configuration, &m) 03:38:27 ^ 03:38:27 make: *** [Makefile:14: lint] Error 1 [Pipeline] } 03:38:27 $ docker stop --time=1 b87628bfe295b6a76f0d603c81332145c7d6e7913e153205b24556381abb555a 03:38:30 $ docker rm -f --volumes b87628bfe295b6a76f0d603c81332145c7d6e7913e153205b24556381abb555a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:38:31 03:38:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:38:31 latest: Pulling from edgex-lftools-log-publisher 03:38:31 5eb5b503b376: Pulling fs layer 03:38:31 5c69ac0246d0: Pulling fs layer 03:38:31 ec43610c2a17: Pulling fs layer 03:38:31 3a2ae6a8a46f: Pulling fs layer 03:38:31 33b1e0a273af: Pulling fs layer 03:38:31 5d3b04190fa2: Pulling fs layer 03:38:31 2f39f015ded8: Pulling fs layer 03:38:31 3a2ae6a8a46f: Waiting 03:38:31 33b1e0a273af: Waiting 03:38:31 5d3b04190fa2: Waiting 03:38:31 2f39f015ded8: Waiting 03:38:31 5c69ac0246d0: Download complete 03:38:31 3a2ae6a8a46f: Download complete 03:38:31 33b1e0a273af: Verifying Checksum 03:38:31 33b1e0a273af: Download complete 03:38:31 ec43610c2a17: Verifying Checksum 03:38:31 5d3b04190fa2: Verifying Checksum 03:38:31 5d3b04190fa2: Download complete 03:38:31 5eb5b503b376: Verifying Checksum 03:38:31 5eb5b503b376: Download complete 03:38:32 2f39f015ded8: Verifying Checksum 03:38:32 2f39f015ded8: Download complete 03:38:33 5eb5b503b376: Pull complete 03:38:33 5c69ac0246d0: Pull complete 03:38:33 ec43610c2a17: Pull complete 03:38:33 3a2ae6a8a46f: Pull complete 03:38:34 33b1e0a273af: Pull complete 03:38:34 5d3b04190fa2: Pull complete 03:38:39 2f39f015ded8: Pull complete 03:38:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:38:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:38:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:39 prd-ubuntu20.04-docker-8c-8g-1395 does not seem to be running inside a container 03:38:39 $ 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-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:38:42 $ docker top ac5ed8759bd1d27b83d3e788278acabb21b79859d9ea794c42a1f9de021a7f06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:42 ---> job-cost.sh 03:38:42 lf-activate-venv: SKIPPING 03:38:42 INFO: No Stack... 03:38:43 INFO: Retrieving Pricing Info for: v3-standard-8 03:38:43 INFO: Archiving Costs [Pipeline] sh 03:38:43 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/cost.csv 03:38:43 + cut -d, -f6 [Pipeline] lock 03:38:43 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] 03:38:43 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] did not exist. Created. 03:38:43 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:38:44 + echo total: 0.2199999988079071 [Pipeline] stash 03:38:44 Stashed 1 file(s) [Pipeline] } 03:38:44 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:38:44 $ docker stop --time=1 ac5ed8759bd1d27b83d3e788278acabb21b79859d9ea794c42a1f9de021a7f06 03:38:45 $ docker rm -f --volumes ac5ed8759bd1d27b83d3e788278acabb21b79859d9ea794c42a1f9de021a7f06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:38:45 Failed in branch amd64 03:39:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1396 in /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] { [Pipeline] ws 03:39:08 Running in /w/workspace/go-mod-bootstrap/6 [Pipeline] { [Pipeline] checkout 03:39:08 The recommended git tool is: git 03:39:13 using credential edgex-jenkins-ssh 03:39:13 Cloning the remote Git repository 03:39:13 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 03:39:14 > git init /w/workspace/go-mod-bootstrap/6 # timeout=10 03:39:14 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 03:39:14 > git --version # timeout=10 03:39:14 > git --version # 'git version 2.25.1' 03:39:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:15 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 03:39:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 03:39:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 03:39:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:39:16 Merging remotes/origin/main commit b171584baabd50881bf72082494493a340744952 into PR head commit abf7e2da7c8ba352c42044657da295b86f189150 03:39:17 Merge succeeded, producing 6c53d5d103d92643778f94496376c3cbeb3ccc71 03:39:17 Checking out Revision 6c53d5d103d92643778f94496376c3cbeb3ccc71 (PR-562) 03:39:16 > git config core.sparsecheckout # timeout=10 03:39:17 > git checkout -f abf7e2da7c8ba352c42044657da295b86f189150 # timeout=10 03:39:17 > git remote # timeout=10 03:39:17 > git config --get remote.origin.url # timeout=10 03:39:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:17 > git merge b171584baabd50881bf72082494493a340744952 # timeout=10 03:39:17 > git rev-parse HEAD^{commit} # timeout=10 03:39:17 > git config core.sparsecheckout # timeout=10 03:39:17 > git checkout -f 6c53d5d103d92643778f94496376c3cbeb3ccc71 # timeout=10 03:39:20 Commit message: "Merge commit 'b171584baabd50881bf72082494493a340744952' into HEAD" 03:39:20 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:39:21 % Total % Received % Xferd Average Speed Time Time Time Current 03:39:21 Dload Upload Total Spent Left Speed 03:39:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k 03:39:20 > git rev-list --no-walk 1742766232bca7f46a1893fe1b671a0f31a601f1 # timeout=10 [Pipeline] sh 03:39:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:39:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 03:39:23 sudo tee /etc/docker/daemon.new 03:39:23 { 03:39:23 "registry-mirrors": [ 03:39:23 "https://nexus3.edgexfoundry.org:10001" 03:39:23 ], 03:39:23 "bip": "10.250.0.254/24", 03:39:23 "hosts": [ 03:39:23 "tcp://0.0.0.0:5555", 03:39:23 "unix:///var/run/docker.sock" 03:39:23 ], 03:39:23 "mtu": 1458, 03:39:23 "selinux-enabled": true, 03:39:23 "seccomp-profile": "/etc/docker/seccomp.json" 03:39:23 } [Pipeline] sh 03:39:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:39:23 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 03:39:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:39:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:39:42 ========================================================= 03:39:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:39:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 03:39:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:39:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:39:43 edb6bdbacee9: Pulling fs layer 03:39:43 5f9638ab2659: Pulling fs layer 03:39:43 8d51d6327a98: Pulling fs layer 03:39:43 8b374f2dd631: Pulling fs layer 03:39:43 ec14aa9079de: Pulling fs layer 03:39:43 2f466654f4bb: Pulling fs layer 03:39:43 554e91adad29: Pulling fs layer 03:39:43 8b374f2dd631: Waiting 03:39:43 ec14aa9079de: Waiting 03:39:43 2f466654f4bb: Waiting 03:39:43 554e91adad29: Waiting 03:39:43 5f9638ab2659: Verifying Checksum 03:39:43 5f9638ab2659: Download complete 03:39:43 8b374f2dd631: Verifying Checksum 03:39:43 8b374f2dd631: Download complete 03:39:43 ec14aa9079de: Verifying Checksum 03:39:43 ec14aa9079de: Download complete 03:39:43 edb6bdbacee9: Verifying Checksum 03:39:43 edb6bdbacee9: Download complete 03:39:44 edb6bdbacee9: Pull complete 03:39:44 554e91adad29: Verifying Checksum 03:39:44 554e91adad29: Download complete 03:39:44 5f9638ab2659: Pull complete 03:39:45 8d51d6327a98: Verifying Checksum 03:39:45 8d51d6327a98: Download complete 03:39:45 2f466654f4bb: Verifying Checksum 03:39:45 2f466654f4bb: Download complete 03:39:57 8d51d6327a98: Pull complete 03:39:57 8b374f2dd631: Pull complete 03:39:57 ec14aa9079de: Pull complete 03:40:03 2f466654f4bb: Pull complete 03:40:05 554e91adad29: Pull complete 03:40:05 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:40:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:40:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 03:40:06 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:06 + docker inspect -f . ci-base-image-arm64 03:40:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:06 prd-ubuntu20.04-docker-arm64-4c-16g-1396 does not seem to be running inside a container 03:40:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:09 $ docker top 0f9404cf1c69a0c18fcaa93921b9da223f2e3df70cf39b175d7aff44378571de -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:10 + go version 03:40:10 go version go1.20.6 linux/arm64 [Pipeline] } 03:40:10 $ docker stop --time=1 0f9404cf1c69a0c18fcaa93921b9da223f2e3df70cf39b175d7aff44378571de 03:40:12 $ docker rm -f --volumes 0f9404cf1c69a0c18fcaa93921b9da223f2e3df70cf39b175d7aff44378571de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:12 + docker inspect -f . ci-base-image-arm64 03:40:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:12 prd-ubuntu20.04-docker-arm64-4c-16g-1396 does not seem to be running inside a container 03:40:12 $ 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-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:16 $ docker top 00dd148122cf5a7320657ce2216285270b20bfa1aa590ea4f3b8ec88c4653f3d -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:16 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/6 [Pipeline] fileExists [Pipeline] sh 03:40:16 + make test 03:40:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:40:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 03:40:17 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 03:40:17 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 03:40:17 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 03:40:17 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 03:40:17 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 03:40:17 go: downloading github.com/mitchellh/copystructure v1.2.0 03:40:17 go: downloading gopkg.in/yaml.v3 v3.0.1 03:40:17 go: downloading github.com/stretchr/testify v1.8.4 03:40:17 go: downloading github.com/gorilla/mux v1.8.0 03:40:17 go: downloading github.com/mitchellh/mapstructure v1.5.0 03:40:17 go: downloading github.com/google/uuid v1.3.0 03:40:17 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 03:40:17 go: downloading github.com/hashicorp/go-multierror v1.1.1 03:40:17 go: downloading github.com/gorilla/websocket v1.5.0 03:40:17 go: downloading golang.org/x/net v0.10.0 03:40:18 go: downloading golang.org/x/sync v0.2.0 03:40:18 go: downloading github.com/go-kit/log v0.2.1 03:40:18 go: downloading github.com/go-playground/validator/v10 v10.14.1 03:40:18 go: downloading github.com/mitchellh/reflectwalk v1.0.2 03:40:18 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 03:40:18 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 03:40:18 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 03:40:18 go: downloading github.com/stretchr/objx v0.5.0 03:40:18 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 03:40:18 go: downloading github.com/hashicorp/consul/api v1.22.0 03:40:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:40:18 go: downloading github.com/hashicorp/errwrap v1.1.0 03:40:19 go: downloading github.com/go-redis/redis/v7 v7.3.0 03:40:19 go: downloading github.com/go-logfmt/logfmt v0.5.1 03:40:19 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 03:40:19 go: downloading github.com/go-playground/universal-translator v0.18.1 03:40:19 go: downloading github.com/leodido/go-urn v1.2.4 03:40:19 go: downloading golang.org/x/crypto v0.9.0 03:40:19 go: downloading golang.org/x/text v0.9.0 03:40:19 go: downloading github.com/zeebo/errs v1.3.0 03:40:19 go: downloading google.golang.org/grpc v1.53.0 03:40:21 go: downloading github.com/x448/float16 v0.8.4 03:40:21 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 03:40:21 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 03:40:21 go: downloading github.com/hashicorp/go-hclog v1.5.0 03:40:21 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 03:40:21 go: downloading github.com/hashicorp/serf v0.10.1 03:40:21 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 03:40:21 go: downloading github.com/go-playground/locales v0.14.1 03:40:21 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 03:40:22 go: downloading google.golang.org/protobuf v1.28.1 03:40:23 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 03:40:23 go: downloading github.com/fatih/color v1.14.1 03:40:23 go: downloading github.com/mattn/go-isatty v0.0.17 03:40:23 go: downloading github.com/armon/go-metrics v0.4.1 03:40:23 go: downloading github.com/golang/protobuf v1.5.2 03:40:23 go: downloading golang.org/x/sys v0.8.0 03:40:24 go: downloading github.com/mattn/go-colorable v0.1.13 03:40:24 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 03:40:24 go: downloading github.com/hashicorp/golang-lru v0.5.4 03:42:31 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 03:42:35 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 03:42:43 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 03:42:43 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 03:42:53 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.166s coverage: 35.4% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.088s coverage: 96.2% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.102s coverage: 91.7% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.326s coverage: 88.2% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.018s coverage: 85.0% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.098s coverage: 42.4% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.142s coverage: 100.0% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.399s coverage: 87.7% of statements 03:42:55 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.069s coverage: 25.0% of statements 03:42:56 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.169s coverage: 79.0% of statements 03:42:56 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.052s coverage: 58.6% of statements 03:42:56 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.045s coverage: 31.2% of statements 03:42:56 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.016s coverage: 91.3% of statements 03:42:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:42:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:43:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:43:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 03:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:43:23 $ docker stop --time=1 00dd148122cf5a7320657ce2216285270b20bfa1aa590ea4f3b8ec88c4653f3d 03:43:25 $ docker rm -f --volumes 00dd148122cf5a7320657ce2216285270b20bfa1aa590ea4f3b8ec88c4653f3d [Pipeline] // withDockerContainer [Pipeline] sh 03:43:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:43:28 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 03:43:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:43:29 03:43:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:43:29 arm64: Pulling from edgex-lftools-log-publisher 03:43:29 8998bd30e6a1: Pulling fs layer 03:43:29 04944245beec: Pulling fs layer 03:43:29 699f458cf7ca: Pulling fs layer 03:43:29 765212b225bb: Pulling fs layer 03:43:29 f23df028b6ca: Pulling fs layer 03:43:29 d65c8cfc05b1: Pulling fs layer 03:43:29 2437ff75d9bd: Pulling fs layer 03:43:29 765212b225bb: Waiting 03:43:29 f23df028b6ca: Waiting 03:43:29 2437ff75d9bd: Waiting 03:43:29 d65c8cfc05b1: Waiting 03:43:29 04944245beec: Verifying Checksum 03:43:29 04944245beec: Download complete 03:43:29 765212b225bb: Verifying Checksum 03:43:29 765212b225bb: Download complete 03:43:29 f23df028b6ca: Verifying Checksum 03:43:29 f23df028b6ca: Download complete 03:43:29 d65c8cfc05b1: Verifying Checksum 03:43:29 d65c8cfc05b1: Download complete 03:43:29 699f458cf7ca: Verifying Checksum 03:43:29 699f458cf7ca: Download complete 03:43:30 8998bd30e6a1: Verifying Checksum 03:43:30 8998bd30e6a1: Download complete 03:43:36 2437ff75d9bd: Verifying Checksum 03:43:36 2437ff75d9bd: Download complete 03:43:36 8998bd30e6a1: Pull complete 03:43:36 04944245beec: Pull complete 03:43:38 699f458cf7ca: Pull complete 03:43:38 765212b225bb: Pull complete 03:43:39 f23df028b6ca: Pull complete 03:43:39 d65c8cfc05b1: Pull complete 03:43:57 2437ff75d9bd: Pull complete 03:43:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:43:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:57 prd-ubuntu20.04-docker-arm64-4c-16g-1396 does not seem to be running inside a container 03:43:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:44:00 $ docker top 0cb186ff666e59ea4ae5693eb01b8fa0669182b6d92073b2ef5665a820788a3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:01 ---> job-cost.sh 03:44:01 lf-activate-venv: SKIPPING 03:44:01 INFO: No Stack... 03:44:01 INFO: Retrieving Pricing Info for: v3-standard-4 03:44:02 INFO: Archiving Costs [Pipeline] sh 03:44:02 + cut -d, -f6 03:44:02 + cat /w/workspace/go-mod-bootstrap/6/archives/cost.csv [Pipeline] lock 03:44:02 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] 03:44:02 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] did not exist. Created. 03:44:02 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:03 /w/workspace/go-mod-bootstrap/6@tmp/durable-f356ddda/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:44:04 + echo total: 0.10999999940395355 [Pipeline] stash 03:44:04 Warning: overwriting stash ‘stack-cost’ 03:44:04 Stashed 1 file(s) [Pipeline] } 03:44:04 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:04 $ docker stop --time=1 0cb186ff666e59ea4ae5693eb01b8fa0669182b6d92073b2ef5665a820788a3f 03:44:06 $ docker rm -f --volumes 0cb186ff666e59ea4ae5693eb01b8fa0669182b6d92073b2ef5665a820788a3f [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:44:06 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives ] 03:44:06 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 03:44:06 total 16 03:44:06 drwxr-xr-x 3 root root 4096 Jul 18 03:38 . 03:44:06 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 03:38 .. 03:44:06 drwxr-xr-x 2 root root 4096 Jul 18 03:38 cost 03:44:06 -rw-r--r-- 1 root root 88 Jul 18 03:38 cost.csv 03:44:06 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 03:44:06 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 03:44:06 total 16 03:44:06 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 03:38 . 03:44:06 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 03:38 .. 03:44:06 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 03:38 cost 03:44:06 -rw-r--r-- 1 jenkins jenkins 88 Jul 18 03:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:44:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:44:08 ---> package-listing.sh 03:44:08 ++ facter osfamily 03:44:08 ++ tr '[:upper:]' '[:lower:]' 03:44:08 + OS_FAMILY=debian 03:44:08 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-562 03:44:08 + START_PACKAGES=/tmp/packages_start.txt 03:44:08 + END_PACKAGES=/tmp/packages_end.txt 03:44:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:44:08 + PACKAGES=/tmp/packages_start.txt 03:44:08 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' 03:44:08 + PACKAGES=/tmp/packages_end.txt 03:44:08 + case "${OS_FAMILY}" in 03:44:08 + dpkg -l 03:44:08 + grep '^ii' 03:44:08 + '[' -f /tmp/packages_start.txt ']' 03:44:08 + '[' -f /tmp/packages_end.txt ']' 03:44:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:44:08 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' 03:44:08 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/ 03:44:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/ [Pipeline] echo 03:44:08 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-bootstrap_PR-562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:44:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:09 prd-ubuntu20.04-docker-8c-8g-1395 does not seem to be running inside a container 03:44:09 $ 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-bootstrap_PR-562/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-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:44:09 $ docker top d79313f8a2dd70a15403d2da06ea4dbc3b83dd4f6b12d551882252addd5fd66c -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:09 + touch /tmp/pre-build-complete [Pipeline] sh 03:44:10 + mkdir -p /var/log/sysstat [Pipeline] sh 03:44:10 + ls /var/log/sa-host 03:44:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:10 provisioning config files... 03:44:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/config2534969082252353678tmp [Pipeline] { [Pipeline] echo 03:44:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:44:10 ---> create-netrc.sh [Pipeline] } 03:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:44:11 ---> python-tools-install.sh [Pipeline] echo 03:44:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:44:11 ---> sudo-logs.sh 03:44:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:44:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:44:11 ---> job-cost.sh 03:44:11 lf-activate-venv: SKIPPING 03:44:11 DEBUG: total: 0.2199999988079071 03:44:11 INFO: Retrieving Stack Cost... 03:44:12 INFO: Retrieving Pricing Info for: v3-standard-8 03:44:12 INFO: Archiving Costs [Pipeline] echo 03:44:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:44:12 ---> logs-deploy.sh 03:44:12 lf-activate-venv: SKIPPING 03:44:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-562/6 03:44:12 INFO: archiving workspace using pattern(s): 03:44:13 Archives upload complete. 03:44:13 INFO: archiving logs to Nexus