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 f25d74ef5ae49e52278627198525548eb755c75c 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-ssh12339697023752770509.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-ssh8818044895605305042.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-ssh4758134244200302561.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-ssh3734427300783463455.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-ssh5619167400626894903.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-1398 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 f25d74ef5ae49e52278627198525548eb755c75c Merge succeeded, producing f25d74ef5ae49e52278627198525548eb755c75c Checking out Revision f25d74ef5ae49e52278627198525548eb755c75c (PR-562) > git config core.sparsecheckout # timeout=10 > git checkout -f f25d74ef5ae49e52278627198525548eb755c75c # 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 f25d74ef5ae49e52278627198525548eb755c75c # timeout=10 Commit message: "feat: Update config structure and move common functions to utils" First time build. Skipping changelog. > git rev-list --no-walk 6c53d5d103d92643778f94496376c3cbeb3ccc71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:40 ========================================================= 04:19:40 EdgeX Global Pipelines Version Info 04:19:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:19:41 ------------------- 04:19:41 stable info: 04:19:41 ------------------- 04:19:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:41 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:19:41 Message: update stable to v1.0.250 04:19:42 ------------------- 04:19:42 experimental info: 04:19:42 ------------------- 04:19:42 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:42 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:19:42 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-562 [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-562 [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-562 [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f25d74ef5ae49e52278627198525548eb755c75c [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f25d74e [Pipeline] echo 04:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:19:43 + git rev-list -1 --merges f25d74ef5ae49e52278627198525548eb755c75c~1..f25d74ef5ae49e52278627198525548eb755c75c [Pipeline] echo 04:19:43 -----------> git rev-list -1 --merges f25d74ef5ae49e52278627198525548eb755c75c~1..f25d74ef5ae49e52278627198525548eb755c75c f25d74ef5ae49e52278627198525548eb755c75c [false] [Pipeline] sh 04:19:43 + git log --format=format:%s -1 f25d74ef5ae49e52278627198525548eb755c75c [Pipeline] echo 04:19:43 ========================================================= 04:19:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:19:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:43 + git log --format=format:%s -1 f25d74ef5ae49e52278627198525548eb755c75c [Pipeline] echo 04:19:43 [semverPrep] GIT_COMMIT: f25d74ef5ae49e52278627198525548eb755c75c, Commit Message: feat: Update config structure and move common functions to utils [Pipeline] echo 04:19:43 [semverPrep] This is not a build commit. [Pipeline] sh 04:19:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:19:44 + grep -v github /etc/ssh/ssh_known_hosts 04:19:44 + [ -e /tmp/ssh_known_hosts ] 04:19:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:19:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:19:44 + sudo tee -a /etc/ssh/ssh_known_hosts 04:19:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:44 04:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:45 0.1.4: Pulling from edgex-devops/py-git-semver 04:19:45 b85a868b505f: Pulling fs layer 04:19:45 e2be974225ed: Pulling fs layer 04:19:45 339a4e72a1f5: Pulling fs layer 04:19:45 988bab9f4d93: Pulling fs layer 04:19:45 1469e6f7b9e6: Pulling fs layer 04:19:45 eaf3925da568: Pulling fs layer 04:19:45 bab4dde63d76: Pulling fs layer 04:19:45 bde34c3a00c8: Pulling fs layer 04:19:45 b352a97aabf1: Pulling fs layer 04:19:45 4872d77fe225: Pulling fs layer 04:19:45 5851b861e8e6: Pulling fs layer 04:19:45 988bab9f4d93: Waiting 04:19:45 1469e6f7b9e6: Waiting 04:19:45 eaf3925da568: Waiting 04:19:45 bab4dde63d76: Waiting 04:19:45 bde34c3a00c8: Waiting 04:19:45 b352a97aabf1: Waiting 04:19:45 4872d77fe225: Waiting 04:19:45 e2be974225ed: Verifying Checksum 04:19:45 e2be974225ed: Download complete 04:19:45 988bab9f4d93: Download complete 04:19:45 1469e6f7b9e6: Verifying Checksum 04:19:45 1469e6f7b9e6: Download complete 04:19:45 eaf3925da568: Download complete 04:19:45 339a4e72a1f5: Verifying Checksum 04:19:45 339a4e72a1f5: Download complete 04:19:45 bde34c3a00c8: Verifying Checksum 04:19:45 bde34c3a00c8: Download complete 04:19:45 b352a97aabf1: Download complete 04:19:45 4872d77fe225: Verifying Checksum 04:19:45 4872d77fe225: Download complete 04:19:45 5851b861e8e6: Verifying Checksum 04:19:45 5851b861e8e6: Download complete 04:19:45 b85a868b505f: Verifying Checksum 04:19:45 b85a868b505f: Download complete 04:19:46 bab4dde63d76: Verifying Checksum 04:19:46 bab4dde63d76: Download complete 04:19:47 b85a868b505f: Pull complete 04:19:47 e2be974225ed: Pull complete 04:19:47 339a4e72a1f5: Pull complete 04:19:47 988bab9f4d93: Pull complete 04:19:47 1469e6f7b9e6: Pull complete 04:19:47 eaf3925da568: Pull complete 04:19:49 bab4dde63d76: Pull complete 04:19:49 bde34c3a00c8: Pull complete 04:19:49 b352a97aabf1: Pull complete 04:19:50 4872d77fe225: Pull complete 04:19:50 5851b861e8e6: Pull complete 04:19:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:19:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:50 prd-ubuntu20.04-docker-8c-8g-1398 does not seem to be running inside a container 04:19:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:19:51 $ docker top 62b49131cef8ed51639288772e67483457e75649fdaa44f6b306f2d1f2e3182a -eo pid,comm 04:19:51 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). 04:19:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:51 [ssh-agent] Looking for ssh-agent implementation... 04:19:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:51 $ docker exec 62b49131cef8ed51639288772e67483457e75649fdaa44f6b306f2d1f2e3182a ssh-agent 04:19:51 SSH_AUTH_SOCK=/tmp/ssh-4Zq7DDUdgnKu/agent.33 04:19:51 SSH_AGENT_PID=39 04:19:51 Running ssh-add (command line suppressed) 04:19:52 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_17155276058913092064.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_17155276058913092064.key) 04:19:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:52 + git tag --points-at HEAD [Pipeline] } 04:19:52 $ docker exec --env ******** --env ******** 62b49131cef8ed51639288772e67483457e75649fdaa44f6b306f2d1f2e3182a ssh-agent -k 04:19:52 unset SSH_AUTH_SOCK; 04:19:52 unset SSH_AGENT_PID; 04:19:52 echo Agent pid 39 killed; 04:19:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:52 [ssh-agent] Looking for ssh-agent implementation... 04:19:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:52 $ docker exec 62b49131cef8ed51639288772e67483457e75649fdaa44f6b306f2d1f2e3182a ssh-agent 04:19:52 SSH_AUTH_SOCK=/tmp/ssh-sPojbx8TqWdJ/agent.71 04:19:52 SSH_AGENT_PID=77 04:19:52 Running ssh-add (command line suppressed) 04:19:52 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_10194369992907540166.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_10194369992907540166.key) 04:19:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:53 + git semver init 04:19:53 2023-07-18 04:19:53,300 [run_init] DEBUG init version:0.0.0 force:False 04:19:53 2023-07-18 04:19:53,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver 04:19:53 2023-07-18 04:19:53,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver 04:19:53 2023-07-18 04:19:53,301 [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) 04:19:54 2023-07-18 04:19:54,067 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.git/info/exclude 04:19:54 2023-07-18 04:19:54,067 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 with force:False 04:19:54 2023-07-18 04:19:54,068 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 04:19:54 2023-07-18 04:19:54,072 [execute] INFO git cat-file --batch-check 04:19:54 2023-07-18 04:19:54,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) 04:19:54 2023-07-18 04:19:54,082 [execute] INFO git cat-file --batch 04:19:54 2023-07-18 04:19:54,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) 04:19:54 2023-07-18 04:19:54,088 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 04:19:54 0.0.0 [Pipeline] } 04:19:54 $ docker exec --env ******** --env ******** 62b49131cef8ed51639288772e67483457e75649fdaa44f6b306f2d1f2e3182a ssh-agent -k 04:19:54 unset SSH_AUTH_SOCK; 04:19:54 unset SSH_AGENT_PID; 04:19:54 echo Agent pid 77 killed; 04:19:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:54 + git semver [Pipeline] } 04:19:55 $ docker stop --time=1 62b49131cef8ed51639288772e67483457e75649fdaa44f6b306f2d1f2e3182a 04:19:56 $ docker rm -f --volumes 62b49131cef8ed51639288772e67483457e75649fdaa44f6b306f2d1f2e3182a [Pipeline] // withDockerContainer [Pipeline] sh 04:19:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:56 Stashed 1 file(s) [Pipeline] echo 04:19:56 [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 04:19:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:57 ========================================================= 04:19:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:19:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:19:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:19:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:19:57 4db1b89c0bd1: Pulling fs layer 04:19:57 6911f1a30b25: Pulling fs layer 04:19:57 e194b8c5c2a9: Pulling fs layer 04:19:57 6863d3e3a2b1: Pulling fs layer 04:19:57 ec0bb842ea78: Pulling fs layer 04:19:57 40a00589a448: Pulling fs layer 04:19:57 6c08303d61cc: Pulling fs layer 04:19:57 ec0bb842ea78: Waiting 04:19:57 6863d3e3a2b1: Waiting 04:19:57 40a00589a448: Waiting 04:19:57 6c08303d61cc: Waiting 04:19:57 798269fcf238: Pulling fs layer 04:19:57 798269fcf238: Waiting 04:19:57 6911f1a30b25: Download complete 04:19:57 6863d3e3a2b1: Verifying Checksum 04:19:57 6863d3e3a2b1: Download complete 04:19:57 ec0bb842ea78: Download complete 04:19:57 4db1b89c0bd1: Verifying Checksum 04:19:57 4db1b89c0bd1: Download complete 04:19:57 40a00589a448: Verifying Checksum 04:19:57 40a00589a448: Download complete 04:19:57 4db1b89c0bd1: Pull complete 04:19:57 6911f1a30b25: Pull complete 04:19:58 798269fcf238: Verifying Checksum 04:19:58 798269fcf238: Download complete 04:19:58 e194b8c5c2a9: Verifying Checksum 04:19:58 e194b8c5c2a9: Download complete 04:19:58 6c08303d61cc: Verifying Checksum 04:19:58 6c08303d61cc: Download complete 04:20:02 e194b8c5c2a9: Pull complete 04:20:02 6863d3e3a2b1: Pull complete 04:20:02 ec0bb842ea78: Pull complete 04:20:02 40a00589a448: Pull complete 04:20:04 6c08303d61cc: Pull complete 04:20:05 798269fcf238: Pull complete 04:20:05 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:20:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 04:20:05 + 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 04:20:06 + docker inspect -f . ci-base-image-x86_64 04:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:06 prd-ubuntu20.04-docker-8c-8g-1398 does not seem to be running inside a container 04:20:06 $ 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 ******** ci-base-image-x86_64 cat 04:20:08 $ docker top 6b4c6ba45ccc79f438fd2162fe9802751ae73e94f171f4b86598effca2b15c51 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:08 + go version 04:20:08 go version go1.20.6 linux/amd64 [Pipeline] } 04:20:08 $ docker stop --time=1 6b4c6ba45ccc79f438fd2162fe9802751ae73e94f171f4b86598effca2b15c51 04:20:09 $ docker rm -f --volumes 6b4c6ba45ccc79f438fd2162fe9802751ae73e94f171f4b86598effca2b15c51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:10 + docker inspect -f . ci-base-image-x86_64 04:20:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:10 prd-ubuntu20.04-docker-8c-8g-1398 does not seem to be running inside a container 04:20:10 $ 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 ******** ci-base-image-x86_64 cat 04:20:10 $ docker top 41dfc258dbd94889546e20f7e9cb613f43d44e21f7370b2a1a7941025f084904 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:11 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] fileExists [Pipeline] sh 04:20:11 + make test 04:20:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:20:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 04:20:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 04:20:11 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 04:20:11 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 04:20:11 go: downloading github.com/gorilla/mux v1.8.0 04:20:11 go: downloading github.com/stretchr/testify v1.8.4 04:20:11 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 04:20:11 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 04:20:11 go: downloading github.com/mitchellh/mapstructure v1.5.0 04:20:11 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 04:20:11 go: downloading github.com/google/uuid v1.3.0 04:20:11 go: downloading github.com/mitchellh/copystructure v1.2.0 04:20:11 go: downloading gopkg.in/yaml.v3 v3.0.1 04:20:11 go: downloading github.com/hashicorp/go-multierror v1.1.1 04:20:11 go: downloading github.com/go-kit/log v0.2.1 04:20:11 go: downloading github.com/go-playground/validator/v10 v10.14.1 04:20:11 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 04:20:11 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 04:20:11 go: downloading github.com/hashicorp/errwrap v1.1.0 04:20:11 go: downloading github.com/gorilla/websocket v1.5.0 04:20:11 go: downloading golang.org/x/net v0.10.0 04:20:11 go: downloading golang.org/x/sync v0.2.0 04:20:11 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:20:11 go: downloading github.com/hashicorp/consul/api v1.22.0 04:20:11 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:20:12 Still waiting to schedule task 04:20:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:20:12 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:20:12 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 04:20:12 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 04:20:12 go: downloading github.com/stretchr/objx v0.5.0 04:20:12 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 04:20:12 go: downloading github.com/go-playground/universal-translator v0.18.1 04:20:12 go: downloading github.com/leodido/go-urn v1.2.4 04:20:12 go: downloading golang.org/x/crypto v0.9.0 04:20:12 go: downloading golang.org/x/text v0.9.0 04:20:12 go: downloading github.com/mitchellh/reflectwalk v1.0.2 04:20:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 04:20:12 go: downloading github.com/hashicorp/go-hclog v1.5.0 04:20:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 04:20:12 go: downloading github.com/hashicorp/serf v0.10.1 04:20:12 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 04:20:12 go: downloading github.com/x448/float16 v0.8.4 04:20:12 go: downloading github.com/zeebo/errs v1.3.0 04:20:12 go: downloading google.golang.org/grpc v1.53.0 04:20:12 go: downloading github.com/go-playground/locales v0.14.1 04:20:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:20:12 go: downloading github.com/fatih/color v1.14.1 04:20:12 go: downloading github.com/mattn/go-isatty v0.0.17 04:20:12 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 04:20:12 go: downloading google.golang.org/protobuf v1.28.1 04:20:13 go: downloading github.com/armon/go-metrics v0.4.1 04:20:13 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 04:20:13 go: downloading golang.org/x/sys v0.8.0 04:20:13 go: downloading github.com/golang/protobuf v1.5.2 04:20:13 go: downloading github.com/mattn/go-colorable v0.1.13 04:20:13 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 04:20:13 go: downloading github.com/hashicorp/golang-lru v0.5.4 04:20:31 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 04:20:31 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 04:20:31 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 04:20:31 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 04:20:32 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.057s coverage: 35.4% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.027s coverage: 96.2% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.019s coverage: 91.7% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.339s coverage: 88.2% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.013s coverage: 85.0% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.029s coverage: 42.4% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.021s coverage: 100.0% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.326s coverage: 87.7% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.015s coverage: 25.0% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.041s coverage: 79.0% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.018s coverage: 58.6% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.018s coverage: 31.2% of statements 04:20:50 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.005s coverage: 91.3% of statements 04:20:56 bootstrap/controller/commonapi.go:105:21: Error return value of `mapstructure.Decode` is not checked (errcheck) 04:20:56 mapstructure.Decode(c.config.configuration, &m) 04:20:56 ^ 04:20:56 make: *** [Makefile:14: lint] Error 1 [Pipeline] } 04:20:56 $ docker stop --time=1 41dfc258dbd94889546e20f7e9cb613f43d44e21f7370b2a1a7941025f084904 04:20:58 $ docker rm -f --volumes 41dfc258dbd94889546e20f7e9cb613f43d44e21f7370b2a1a7941025f084904 [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 04:20:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:59 04:20:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:00 latest: Pulling from edgex-lftools-log-publisher 04:21:00 5eb5b503b376: Pulling fs layer 04:21:00 5c69ac0246d0: Pulling fs layer 04:21:00 ec43610c2a17: Pulling fs layer 04:21:00 3a2ae6a8a46f: Pulling fs layer 04:21:00 33b1e0a273af: Pulling fs layer 04:21:00 5d3b04190fa2: Pulling fs layer 04:21:00 2f39f015ded8: Pulling fs layer 04:21:00 33b1e0a273af: Waiting 04:21:00 2f39f015ded8: Waiting 04:21:00 3a2ae6a8a46f: Waiting 04:21:00 5d3b04190fa2: Waiting 04:21:00 5c69ac0246d0: Download complete 04:21:00 3a2ae6a8a46f: Verifying Checksum 04:21:00 3a2ae6a8a46f: Download complete 04:21:00 33b1e0a273af: Verifying Checksum 04:21:00 33b1e0a273af: Download complete 04:21:00 ec43610c2a17: Verifying Checksum 04:21:00 ec43610c2a17: Download complete 04:21:00 5d3b04190fa2: Verifying Checksum 04:21:00 5d3b04190fa2: Download complete 04:21:00 5eb5b503b376: Verifying Checksum 04:21:00 5eb5b503b376: Download complete 04:21:00 2f39f015ded8: Download complete 04:21:01 5eb5b503b376: Pull complete 04:21:01 5c69ac0246d0: Pull complete 04:21:02 ec43610c2a17: Pull complete 04:21:02 3a2ae6a8a46f: Pull complete 04:21:02 33b1e0a273af: Pull complete 04:21:02 5d3b04190fa2: Pull complete 04:21:06 2f39f015ded8: Pull complete 04:21:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:21:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:06 prd-ubuntu20.04-docker-8c-8g-1398 does not seem to be running inside a container 04:21:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:09 $ docker top 7da59a9758a2fb3f715d652cb3888061dfbde24c7bed2d13e521ba26c9b1437a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:10 ---> job-cost.sh 04:21:10 lf-activate-venv: SKIPPING 04:21:10 INFO: No Stack... 04:21:10 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:10 INFO: Archiving Costs [Pipeline] sh 04:21:10 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/cost.csv 04:21:10 + cut -d, -f6 [Pipeline] lock 04:21:11 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] 04:21:11 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] did not exist. Created. 04:21:11 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:11 + echo total: 0.2199999988079071 [Pipeline] stash 04:21:11 Stashed 1 file(s) [Pipeline] } 04:21:11 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:11 $ docker stop --time=1 7da59a9758a2fb3f715d652cb3888061dfbde24c7bed2d13e521ba26c9b1437a 04:21:12 $ docker rm -f --volumes 7da59a9758a2fb3f715d652cb3888061dfbde24c7bed2d13e521ba26c9b1437a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:21:12 Failed in branch amd64 04:21:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1399 in /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] { [Pipeline] ws 04:21:45 Running in /w/workspace/go-mod-bootstrap/7 [Pipeline] { [Pipeline] checkout 04:21:45 The recommended git tool is: git 04:21:50 using credential edgex-jenkins-ssh 04:21:50 Cloning the remote Git repository 04:21:50 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 04:21:50 > git init /w/workspace/go-mod-bootstrap/7 # timeout=10 04:21:50 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 04:21:50 > git --version # timeout=10 04:21:50 > git --version # 'git version 2.25.1' 04:21:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:51 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 04:21:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 04:21:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 04:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:52 > 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 04:21:53 Merging remotes/origin/main commit b171584baabd50881bf72082494493a340744952 into PR head commit f25d74ef5ae49e52278627198525548eb755c75c 04:21:53 Merge succeeded, producing f25d74ef5ae49e52278627198525548eb755c75c 04:21:53 Checking out Revision f25d74ef5ae49e52278627198525548eb755c75c (PR-562) 04:21:53 > git config core.sparsecheckout # timeout=10 04:21:53 > git checkout -f f25d74ef5ae49e52278627198525548eb755c75c # timeout=10 04:21:53 > git remote # timeout=10 04:21:53 > git config --get remote.origin.url # timeout=10 04:21:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:53 > git merge b171584baabd50881bf72082494493a340744952 # timeout=10 04:21:53 > git rev-parse HEAD^{commit} # timeout=10 04:21:53 > git config core.sparsecheckout # timeout=10 04:21:53 > git checkout -f f25d74ef5ae49e52278627198525548eb755c75c # timeout=10 04:21:56 Commit message: "feat: Update config structure and move common functions to utils" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:21:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:21:57 Dload Upload Total Spent Left Speed 04:21:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh 04:21:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:21:58 + sudo tee /etc/docker/daemon.new 04:21:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:21:58 { 04:21:58 "registry-mirrors": [ 04:21:58 "https://nexus3.edgexfoundry.org:10001" 04:21:58 ], 04:21:58 "bip": "10.250.0.254/24", 04:21:58 "hosts": [ 04:21:58 "tcp://0.0.0.0:5555", 04:21:58 "unix:///var/run/docker.sock" 04:21:58 ], 04:21:58 "mtu": 1458, 04:21:58 "selinux-enabled": true, 04:21:58 "seccomp-profile": "/etc/docker/seccomp.json" 04:21:58 } [Pipeline] sh 04:21:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:21:59 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:17 ========================================================= 04:22:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:22:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:22:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:22:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:22:18 edb6bdbacee9: Pulling fs layer 04:22:18 5f9638ab2659: Pulling fs layer 04:22:18 8d51d6327a98: Pulling fs layer 04:22:18 8b374f2dd631: Pulling fs layer 04:22:18 ec14aa9079de: Pulling fs layer 04:22:18 2f466654f4bb: Pulling fs layer 04:22:18 554e91adad29: Pulling fs layer 04:22:18 8b374f2dd631: Waiting 04:22:18 554e91adad29: Waiting 04:22:18 ec14aa9079de: Waiting 04:22:18 2f466654f4bb: Waiting 04:22:18 5f9638ab2659: Verifying Checksum 04:22:18 5f9638ab2659: Download complete 04:22:18 8b374f2dd631: Verifying Checksum 04:22:18 8b374f2dd631: Download complete 04:22:18 ec14aa9079de: Verifying Checksum 04:22:18 ec14aa9079de: Download complete 04:22:18 edb6bdbacee9: Verifying Checksum 04:22:18 edb6bdbacee9: Download complete 04:22:19 edb6bdbacee9: Pull complete 04:22:20 554e91adad29: Verifying Checksum 04:22:20 554e91adad29: Download complete 04:22:20 5f9638ab2659: Pull complete 04:22:21 8d51d6327a98: Verifying Checksum 04:22:21 8d51d6327a98: Download complete 04:22:21 2f466654f4bb: Verifying Checksum 04:22:21 2f466654f4bb: Download complete 04:22:31 8d51d6327a98: Pull complete 04:22:31 8b374f2dd631: Pull complete 04:22:31 ec14aa9079de: Pull complete 04:22:39 2f466654f4bb: Pull complete 04:22:42 554e91adad29: Pull complete 04:22:42 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:22:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:22:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 04:22:42 + 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 04:22:42 + docker inspect -f . ci-base-image-arm64 04:22:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:43 prd-ubuntu20.04-docker-arm64-4c-16g-1399 does not seem to be running inside a container 04:22:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/7 -v /w/workspace/go-mod-bootstrap/7:/w/workspace/go-mod-bootstrap/7:rw,z -v /w/workspace/go-mod-bootstrap/7@tmp:/w/workspace/go-mod-bootstrap/7@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 04:22:46 $ docker top 3fb038af9a921ac2f4b9cc591f44c4ea3cd5829b31c84673d5579d9d1bbbe874 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:46 + go version 04:22:46 go version go1.20.6 linux/arm64 [Pipeline] } 04:22:46 $ docker stop --time=1 3fb038af9a921ac2f4b9cc591f44c4ea3cd5829b31c84673d5579d9d1bbbe874 04:22:48 $ docker rm -f --volumes 3fb038af9a921ac2f4b9cc591f44c4ea3cd5829b31c84673d5579d9d1bbbe874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:49 + docker inspect -f . ci-base-image-arm64 04:22:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:49 prd-ubuntu20.04-docker-arm64-4c-16g-1399 does not seem to be running inside a container 04:22:49 $ 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/7 -v /w/workspace/go-mod-bootstrap/7:/w/workspace/go-mod-bootstrap/7:rw,z -v /w/workspace/go-mod-bootstrap/7@tmp:/w/workspace/go-mod-bootstrap/7@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 04:22:52 $ docker top 1f086d20c510db52fabbeda8b291ada762ed103cce5d4d99a980f6cbbd4d4549 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:52 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/7 [Pipeline] fileExists [Pipeline] sh 04:22:52 + make test 04:22:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:22:53 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 04:22:53 go: downloading github.com/gorilla/mux v1.8.0 04:22:53 go: downloading github.com/mitchellh/mapstructure v1.5.0 04:22:53 go: downloading github.com/google/uuid v1.3.0 04:22:53 go: downloading github.com/stretchr/testify v1.8.4 04:22:53 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 04:22:53 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 04:22:53 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 04:22:53 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 04:22:53 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 04:22:54 go: downloading github.com/mitchellh/copystructure v1.2.0 04:22:54 go: downloading gopkg.in/yaml.v3 v3.0.1 04:22:54 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 04:22:54 go: downloading github.com/hashicorp/go-multierror v1.1.1 04:22:54 go: downloading github.com/go-kit/log v0.2.1 04:22:54 go: downloading github.com/go-playground/validator/v10 v10.14.1 04:22:54 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 04:22:54 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 04:22:54 go: downloading github.com/gorilla/websocket v1.5.0 04:22:54 go: downloading golang.org/x/net v0.10.0 04:22:54 go: downloading golang.org/x/sync v0.2.0 04:22:54 go: downloading github.com/mitchellh/reflectwalk v1.0.2 04:22:54 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 04:22:54 go: downloading github.com/stretchr/objx v0.5.0 04:22:54 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 04:22:54 go: downloading github.com/hashicorp/errwrap v1.1.0 04:22:54 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:22:54 go: downloading github.com/hashicorp/consul/api v1.22.0 04:22:54 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:22:55 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 04:22:55 go: downloading github.com/go-playground/universal-translator v0.18.1 04:22:55 go: downloading github.com/leodido/go-urn v1.2.4 04:22:55 go: downloading golang.org/x/crypto v0.9.0 04:22:55 go: downloading golang.org/x/text v0.9.0 04:22:55 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:22:55 go: downloading github.com/zeebo/errs v1.3.0 04:22:55 go: downloading google.golang.org/grpc v1.53.0 04:22:57 go: downloading github.com/x448/float16 v0.8.4 04:22:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:22:57 go: downloading github.com/go-playground/locales v0.14.1 04:22:57 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 04:22:57 go: downloading github.com/hashicorp/go-hclog v1.5.0 04:22:57 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 04:22:57 go: downloading github.com/hashicorp/serf v0.10.1 04:22:58 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 04:22:58 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 04:22:58 go: downloading google.golang.org/protobuf v1.28.1 04:23:00 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 04:23:00 go: downloading github.com/fatih/color v1.14.1 04:23:00 go: downloading github.com/mattn/go-isatty v0.0.17 04:23:00 go: downloading github.com/armon/go-metrics v0.4.1 04:23:00 go: downloading github.com/golang/protobuf v1.5.2 04:23:00 go: downloading golang.org/x/sys v0.8.0 04:23:00 go: downloading github.com/mattn/go-colorable v0.1.13 04:23:00 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 04:23:00 go: downloading github.com/hashicorp/golang-lru v0.5.4 04:25:07 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 04:25:09 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 04:25:17 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 04:25:17 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 04:25:28 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.169s coverage: 35.4% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.079s coverage: 96.2% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.091s coverage: 91.7% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.348s coverage: 88.2% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.018s coverage: 85.0% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.094s coverage: 42.4% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.077s coverage: 100.0% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.379s coverage: 87.7% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.053s coverage: 25.0% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.155s coverage: 79.0% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.056s coverage: 58.6% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.043s coverage: 31.2% of statements 04:25:30 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.017s coverage: 91.3% of statements 04:25:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:25:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:25:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:25:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:25:57 $ docker stop --time=1 1f086d20c510db52fabbeda8b291ada762ed103cce5d4d99a980f6cbbd4d4549 04:25:59 $ docker rm -f --volumes 1f086d20c510db52fabbeda8b291ada762ed103cce5d4d99a980f6cbbd4d4549 [Pipeline] // withDockerContainer [Pipeline] sh 04:26:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:02 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 04:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:02 04:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:03 arm64: Pulling from edgex-lftools-log-publisher 04:26:03 8998bd30e6a1: Pulling fs layer 04:26:03 04944245beec: Pulling fs layer 04:26:03 699f458cf7ca: Pulling fs layer 04:26:03 765212b225bb: Pulling fs layer 04:26:03 f23df028b6ca: Pulling fs layer 04:26:03 d65c8cfc05b1: Pulling fs layer 04:26:03 2437ff75d9bd: Pulling fs layer 04:26:03 f23df028b6ca: Waiting 04:26:03 765212b225bb: Waiting 04:26:03 d65c8cfc05b1: Waiting 04:26:03 2437ff75d9bd: Waiting 04:26:03 04944245beec: Verifying Checksum 04:26:03 04944245beec: Download complete 04:26:03 765212b225bb: Verifying Checksum 04:26:03 765212b225bb: Download complete 04:26:03 f23df028b6ca: Verifying Checksum 04:26:03 f23df028b6ca: Download complete 04:26:03 d65c8cfc05b1: Verifying Checksum 04:26:03 d65c8cfc05b1: Download complete 04:26:03 699f458cf7ca: Verifying Checksum 04:26:03 699f458cf7ca: Download complete 04:26:04 8998bd30e6a1: Verifying Checksum 04:26:04 8998bd30e6a1: Download complete 04:26:06 2437ff75d9bd: Verifying Checksum 04:26:06 2437ff75d9bd: Download complete 04:26:09 8998bd30e6a1: Pull complete 04:26:10 04944245beec: Pull complete 04:26:11 699f458cf7ca: Pull complete 04:26:11 765212b225bb: Pull complete 04:26:14 f23df028b6ca: Pull complete 04:26:14 d65c8cfc05b1: Pull complete 04:26:36 2437ff75d9bd: Pull complete 04:26:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:26:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:37 prd-ubuntu20.04-docker-arm64-4c-16g-1399 does not seem to be running inside a container 04:26:37 $ 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/7 -v /w/workspace/go-mod-bootstrap/7:/w/workspace/go-mod-bootstrap/7:rw,z -v /w/workspace/go-mod-bootstrap/7@tmp:/w/workspace/go-mod-bootstrap/7@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 04:26:39 $ docker top 951ccc96c903e6f0a90d824a4b81e49fba9e01ee84ad207f15d12c9e8c9196f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:40 ---> job-cost.sh 04:26:40 lf-activate-venv: SKIPPING 04:26:40 INFO: No Stack... 04:26:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:26:41 INFO: Archiving Costs [Pipeline] sh 04:26:41 + cut -d,+ -f6 04:26:41 cat /w/workspace/go-mod-bootstrap/7/archives/cost.csv [Pipeline] lock 04:26:42 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] 04:26:42 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] did not exist. Created. 04:26:42 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:26:42 /w/workspace/go-mod-bootstrap/7@tmp/durable-c14791da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:26:43 + echo total: 0.10999999940395355 [Pipeline] stash 04:26:43 Warning: overwriting stash ‘stack-cost’ 04:26:43 Stashed 1 file(s) [Pipeline] } 04:26:43 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-7-stack-cost] [Pipeline] // lock [Pipeline] } 04:26:43 $ docker stop --time=1 951ccc96c903e6f0a90d824a4b81e49fba9e01ee84ad207f15d12c9e8c9196f2 04:26:45 $ docker rm -f --volumes 951ccc96c903e6f0a90d824a4b81e49fba9e01ee84ad207f15d12c9e8c9196f2 [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 04:26:46 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives ] 04:26:46 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 04:26:46 total 16 04:26:46 drwxr-xr-x 3 root root 4096 Jul 18 04:21 . 04:26:46 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 04:21 .. 04:26:46 drwxr-xr-x 2 root root 4096 Jul 18 04:21 cost 04:26:46 -rw-r--r-- 1 root root 88 Jul 18 04:21 cost.csv 04:26:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 04:26:46 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 04:26:46 total 16 04:26:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 04:21 . 04:26:46 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 04:21 .. 04:26:46 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 04:21 cost 04:26:46 -rw-r--r-- 1 jenkins jenkins 88 Jul 18 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:26:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:26:47 ---> package-listing.sh 04:26:47 ++ facter osfamily 04:26:47 ++ tr '[:upper:]' '[:lower:]' 04:26:47 + OS_FAMILY=debian 04:26:47 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-562 04:26:47 + START_PACKAGES=/tmp/packages_start.txt 04:26:47 + END_PACKAGES=/tmp/packages_end.txt 04:26:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:26:47 + PACKAGES=/tmp/packages_start.txt 04:26:47 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' 04:26:47 + PACKAGES=/tmp/packages_end.txt 04:26:47 + case "${OS_FAMILY}" in 04:26:47 + dpkg -l 04:26:47 + grep '^ii' 04:26:47 + '[' -f /tmp/packages_start.txt ']' 04:26:47 + '[' -f /tmp/packages_end.txt ']' 04:26:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:26:47 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' 04:26:47 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/ 04:26:47 + 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 04:26:47 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 04:26:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:48 prd-ubuntu20.04-docker-8c-8g-1398 does not seem to be running inside a container 04:26:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:26:48 $ docker top d2b1006b21fe8fc55733ec0194e1df7966f6b6202a738872c4ae1fee193c18fa -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:48 + touch /tmp/pre-build-complete [Pipeline] sh 04:26:49 + mkdir -p /var/log/sysstat [Pipeline] sh 04:26:49 + ls /var/log/sa-host 04:26:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:49 provisioning config files... 04:26:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/config8141065183138159265tmp [Pipeline] { [Pipeline] echo 04:26:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:26:50 ---> create-netrc.sh [Pipeline] } 04:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:26:50 ---> python-tools-install.sh [Pipeline] echo 04:26:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:26:50 ---> sudo-logs.sh 04:26:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:26:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:26:50 ---> job-cost.sh 04:26:50 lf-activate-venv: SKIPPING 04:26:50 DEBUG: total: 0.2199999988079071 04:26:50 INFO: Retrieving Stack Cost... 04:26:51 INFO: Retrieving Pricing Info for: v3-standard-8 04:26:51 INFO: Archiving Costs [Pipeline] echo 04:26:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:26:52 ---> logs-deploy.sh 04:26:52 lf-activate-venv: SKIPPING 04:26:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-562/7 04:26:52 INFO: archiving workspace using pattern(s): 04:26:53 Archives upload complete. 04:26:53 INFO: archiving logs to Nexus