Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cabd487a9169ce01d10044a270bd3906ff571834 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-ssh2969154391245170909.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1619290637492151436.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9276150749179609883.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh1089461545391128550.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1328211784673512552.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 ‘prd-ubuntu20.04-docker-8c-8g-12231’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12234 in /w/workspace/gexfoundry_go-mod-bootstrap_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git > git init /w/workspace/gexfoundry_go-mod-bootstrap_main # 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 Avoid second fetch Checking out Revision cabd487a9169ce01d10044a270bd3906ff571834 (main) Commit message: "fix: [WIP BUG] Ignore Common Writable changes overridden in App/Device common Writable (#526)" > 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 core.sparsecheckout # timeout=10 > git checkout -f cabd487a9169ce01d10044a270bd3906ff571834 # timeout=10 > git rev-list --no-walk a09e027649d06611b3a698c81aabb9850a88853d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:40:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:40:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:40:21 ========================================================= 20:40:21 EdgeX Global Pipelines Version Info 20:40:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:40:22 ------------------- 20:40:22 stable info: 20:40:22 ------------------- 20:40:22 Commited By: Bill Mahoney bill.mahoney@intel.com 20:40:22 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:40:22 Message: update stable to v1.0.248 20:40:23 ------------------- 20:40:23 experimental info: 20:40:23 ------------------- 20:40:23 Commited By: **** collab-it+edgex@linuxfoundation.org 20:40:23 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:40:23 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cabd487a9169ce01d10044a270bd3906ff571834 [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cabd487 [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:40:23 + git rev-list -1 --merges cabd487a9169ce01d10044a270bd3906ff571834~1..cabd487a9169ce01d10044a270bd3906ff571834 [Pipeline] echo 20:40:24 -----------> git rev-list -1 --merges cabd487a9169ce01d10044a270bd3906ff571834~1..cabd487a9169ce01d10044a270bd3906ff571834 cabd487a9169ce01d10044a270bd3906ff571834 [false] [Pipeline] sh 20:40:24 + git log --format=format:%s -1 cabd487a9169ce01d10044a270bd3906ff571834 [Pipeline] echo 20:40:24 ========================================================= 20:40:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:40:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:24 + git log --format=format:%s -1 cabd487a9169ce01d10044a270bd3906ff571834 [Pipeline] echo 20:40:24 [semverPrep] GIT_COMMIT: cabd487a9169ce01d10044a270bd3906ff571834, Commit Message: fix: [WIP BUG] Ignore Common Writable changes overridden in App/Device common Writable (#526) [Pipeline] echo 20:40:24 [semverPrep] This is not a build commit. [Pipeline] sh 20:40:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:40:25 + grep -v github /etc/ssh/ssh_known_hosts 20:40:25 + [ -e /tmp/ssh_known_hosts ] 20:40:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:40:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:40:25 + sudo tee -a /etc/ssh/ssh_known_hosts 20:40:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:25 20:40:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:26 0.1.4: Pulling from edgex-devops/py-git-semver 20:40:26 b85a868b505f: Pulling fs layer 20:40:26 e2be974225ed: Pulling fs layer 20:40:26 339a4e72a1f5: Pulling fs layer 20:40:26 988bab9f4d93: Pulling fs layer 20:40:26 1469e6f7b9e6: Pulling fs layer 20:40:26 eaf3925da568: Pulling fs layer 20:40:26 bab4dde63d76: Pulling fs layer 20:40:26 988bab9f4d93: Waiting 20:40:26 1469e6f7b9e6: Waiting 20:40:26 eaf3925da568: Waiting 20:40:26 bde34c3a00c8: Pulling fs layer 20:40:26 b352a97aabf1: Pulling fs layer 20:40:26 bab4dde63d76: Waiting 20:40:26 bde34c3a00c8: Waiting 20:40:26 4872d77fe225: Pulling fs layer 20:40:26 b352a97aabf1: Waiting 20:40:26 5851b861e8e6: Pulling fs layer 20:40:26 5851b861e8e6: Waiting 20:40:26 e2be974225ed: Verifying Checksum 20:40:26 e2be974225ed: Download complete 20:40:26 988bab9f4d93: Download complete 20:40:26 1469e6f7b9e6: Verifying Checksum 20:40:26 1469e6f7b9e6: Download complete 20:40:26 eaf3925da568: Verifying Checksum 20:40:26 eaf3925da568: Download complete 20:40:26 339a4e72a1f5: Verifying Checksum 20:40:26 339a4e72a1f5: Download complete 20:40:26 bde34c3a00c8: Verifying Checksum 20:40:26 bde34c3a00c8: Download complete 20:40:26 b352a97aabf1: Download complete 20:40:26 4872d77fe225: Verifying Checksum 20:40:26 4872d77fe225: Download complete 20:40:26 5851b861e8e6: Verifying Checksum 20:40:26 5851b861e8e6: Download complete 20:40:26 b85a868b505f: Download complete 20:40:26 bab4dde63d76: Verifying Checksum 20:40:26 bab4dde63d76: Download complete 20:40:27 b85a868b505f: Pull complete 20:40:27 e2be974225ed: Pull complete 20:40:28 339a4e72a1f5: Pull complete 20:40:28 988bab9f4d93: Pull complete 20:40:28 1469e6f7b9e6: Pull complete 20:40:28 eaf3925da568: Pull complete 20:40:30 bab4dde63d76: Pull complete 20:40:30 bde34c3a00c8: Pull complete 20:40:30 b352a97aabf1: Pull complete 20:40:30 4872d77fe225: Pull complete 20:40:30 5851b861e8e6: Pull complete 20:40:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:30 prd-ubuntu20.04-docker-8c-8g-12234 does not seem to be running inside a container 20:40:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-bootstrap_main -v /w/workspace/gexfoundry_go-mod-bootstrap_main:/w/workspace/gexfoundry_go-mod-bootstrap_main:rw,z -v /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp:/w/workspace/gexfoundry_go-mod-bootstrap_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:40:32 $ docker top 9bd0f426c7358f77e9d715f26f9c8ddf856145affa08654cf04d7a882e3a791b -eo pid,comm 20:40:32 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). 20:40:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:40:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:32 [ssh-agent] Looking for ssh-agent implementation... 20:40:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:32 $ docker exec 9bd0f426c7358f77e9d715f26f9c8ddf856145affa08654cf04d7a882e3a791b ssh-agent 20:40:33 SSH_AUTH_SOCK=/tmp/ssh-0xPRRZCSvFHC/agent.32 20:40:33 SSH_AGENT_PID=38 20:40:33 Running ssh-add (command line suppressed) 20:40:33 Identity added: /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_3334470510812547203.key (/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_3334470510812547203.key) 20:40:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:33 + git tag --points-at HEAD [Pipeline] } 20:40:33 $ docker exec --env ******** --env ******** 9bd0f426c7358f77e9d715f26f9c8ddf856145affa08654cf04d7a882e3a791b ssh-agent -k 20:40:33 unset SSH_AUTH_SOCK; 20:40:33 unset SSH_AGENT_PID; 20:40:33 echo Agent pid 38 killed; 20:40:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:33 [ssh-agent] Looking for ssh-agent implementation... 20:40:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:33 $ docker exec 9bd0f426c7358f77e9d715f26f9c8ddf856145affa08654cf04d7a882e3a791b ssh-agent 20:40:33 SSH_AUTH_SOCK=/tmp/ssh-fPbTUBOXfNhr/agent.70 20:40:33 SSH_AGENT_PID=76 20:40:33 Running ssh-add (command line suppressed) 20:40:33 Identity added: /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_1548693359969697418.key (/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_1548693359969697418.key) 20:40:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:34 + git semver init 20:40:34 2023-05-01 20:40:34,415 [run_init] DEBUG init version:0.0.0 force:False 20:40:34 2023-05-01 20:40:34,417 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-bootstrap_main/.semver 20:40:34 2023-05-01 20:40:34,418 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver 20:40:34 2023-05-01 20:40:34,418 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/gexfoundry_go-mod-bootstrap_main/.semver'], cwd=/w/workspace/gexfoundry_go-mod-bootstrap_main, universal_newlines=False, shell=None, istream=None) 20:40:35 2023-05-01 20:40:35,144 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-bootstrap_main/.git/info/exclude 20:40:35 2023-05-01 20:40:35,144 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main with force:False 20:40:35 2023-05-01 20:40:35,144 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main 20:40:35 2023-05-01 20:40:35,144 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main 20:40:35 3.0.0-dev.77 [Pipeline] } 20:40:35 $ docker exec --env ******** --env ******** 9bd0f426c7358f77e9d715f26f9c8ddf856145affa08654cf04d7a882e3a791b ssh-agent -k 20:40:35 unset SSH_AUTH_SOCK; 20:40:35 unset SSH_AGENT_PID; 20:40:35 echo Agent pid 76 killed; 20:40:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:35 + git semver [Pipeline] } 20:40:36 $ docker stop --time=1 9bd0f426c7358f77e9d715f26f9c8ddf856145affa08654cf04d7a882e3a791b 20:40:37 $ docker rm -f --volumes 9bd0f426c7358f77e9d715f26f9c8ddf856145affa08654cf04d7a882e3a791b [Pipeline] // withDockerContainer [Pipeline] sh 20:40:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:40:37 Stashed 1 file(s) [Pipeline] echo 20:40:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.77 [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 20:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:38 ========================================================= 20:40:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:40:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:40:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:40:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:38 f56be85fc22e: Pulling fs layer 20:40:38 85791d961cd3: Pulling fs layer 20:40:38 d694b5ae8c79: Pulling fs layer 20:40:38 9f32a84ed3da: Pulling fs layer 20:40:38 4d19c01a9841: Pulling fs layer 20:40:38 9325e15d5711: Pulling fs layer 20:40:38 556b6ee489ea: Pulling fs layer 20:40:38 c5a4b2cf53e6: Pulling fs layer 20:40:38 9325e15d5711: Waiting 20:40:38 c5a4b2cf53e6: Waiting 20:40:38 9f32a84ed3da: Waiting 20:40:38 4d19c01a9841: Waiting 20:40:38 85791d961cd3: Download complete 20:40:38 9f32a84ed3da: Verifying Checksum 20:40:38 9f32a84ed3da: Download complete 20:40:38 4d19c01a9841: Download complete 20:40:38 f56be85fc22e: Verifying Checksum 20:40:38 f56be85fc22e: Download complete 20:40:38 9325e15d5711: Verifying Checksum 20:40:38 9325e15d5711: Download complete 20:40:38 f56be85fc22e: Pull complete 20:40:38 85791d961cd3: Pull complete 20:40:38 c5a4b2cf53e6: Verifying Checksum 20:40:38 c5a4b2cf53e6: Download complete 20:40:39 d694b5ae8c79: Verifying Checksum 20:40:39 d694b5ae8c79: Download complete 20:40:39 556b6ee489ea: Verifying Checksum 20:40:39 556b6ee489ea: Download complete 20:40:42 d694b5ae8c79: Pull complete 20:40:42 9f32a84ed3da: Pull complete 20:40:42 4d19c01a9841: Pull complete 20:40:42 9325e15d5711: Pull complete 20:40:44 556b6ee489ea: Pull complete 20:40:45 c5a4b2cf53e6: Pull complete 20:40:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:40:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 20:40:45 + 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 20:40:45 + docker inspect -f . ci-base-image-x86_64 20:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:45 prd-ubuntu20.04-docker-8c-8g-12234 does not seem to be running inside a container 20:40:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-bootstrap_main -v /w/workspace/gexfoundry_go-mod-bootstrap_main:/w/workspace/gexfoundry_go-mod-bootstrap_main:rw,z -v /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp:/w/workspace/gexfoundry_go-mod-bootstrap_main@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 ******** ci-base-image-x86_64 cat 20:40:49 $ docker top d569a48ce762ee9adf6326965846b121b9a40f469e34e25c3572f93da4860a98 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:49 + go version 20:40:49 go version go1.20.2 linux/amd64 [Pipeline] } 20:40:49 $ docker stop --time=1 d569a48ce762ee9adf6326965846b121b9a40f469e34e25c3572f93da4860a98 20:40:51 $ docker rm -f --volumes d569a48ce762ee9adf6326965846b121b9a40f469e34e25c3572f93da4860a98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:51 + docker inspect -f . ci-base-image-x86_64 20:40:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:51 prd-ubuntu20.04-docker-8c-8g-12234 does not seem to be running inside a container 20:40:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_go-mod-bootstrap_main -v /w/workspace/gexfoundry_go-mod-bootstrap_main:/w/workspace/gexfoundry_go-mod-bootstrap_main:rw,z -v /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp:/w/workspace/gexfoundry_go-mod-bootstrap_main@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 ******** ci-base-image-x86_64 cat 20:40:51 $ docker top 69a5544c25cc0c833423ff03bba4853e62633e581be5cc97ab74cacdf488389e -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:52 + git config --global --add safe.directory /w/workspace/gexfoundry_go-mod-bootstrap_main [Pipeline] fileExists [Pipeline] sh 20:40:52 + make test 20:40:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:40:52 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 20:40:52 go: downloading github.com/stretchr/testify v1.8.2 20:40:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.38 20:40:52 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.26 20:40:52 go: downloading github.com/google/uuid v1.3.0 20:40:52 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:40:52 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 20:40:52 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 20:40:52 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 20:40:52 go: downloading github.com/mitchellh/copystructure v1.2.0 20:40:52 go: downloading gopkg.in/yaml.v3 v3.0.1 20:40:52 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 20:40:52 go: downloading github.com/gorilla/mux v1.8.0 20:40:52 go: downloading github.com/davecgh/go-spew v1.1.1 20:40:52 go: downloading github.com/pmezard/go-difflib v1.0.0 20:40:52 go: downloading github.com/stretchr/objx v0.5.0 20:40:52 go: downloading github.com/hashicorp/errwrap v1.0.0 20:40:52 go: downloading github.com/go-kit/log v0.2.1 20:40:52 go: downloading github.com/go-playground/validator/v10 v10.12.0 20:40:52 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.4 20:40:52 go: downloading github.com/mitchellh/reflectwalk v1.0.2 20:40:52 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:40:52 go: downloading github.com/gorilla/websocket v1.4.2 20:40:52 go: downloading golang.org/x/net v0.9.0 20:40:52 go: downloading golang.org/x/sync v0.1.0 20:40:52 go: downloading github.com/hashicorp/consul/api v1.20.0 20:40:53 Still waiting to schedule task 20:40:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-12232’ is offline 20:40:53 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:40:53 go: downloading github.com/go-playground/universal-translator v0.18.1 20:40:53 go: downloading github.com/leodido/go-urn v1.2.2 20:40:53 go: downloading golang.org/x/crypto v0.8.0 20:40:53 go: downloading golang.org/x/text v0.9.0 20:40:53 go: downloading github.com/zeebo/errs v1.3.0 20:40:53 go: downloading google.golang.org/grpc v1.53.0 20:40:53 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:40:53 go: downloading github.com/x448/float16 v0.8.4 20:40:53 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 20:40:53 go: downloading google.golang.org/protobuf v1.28.1 20:40:53 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:40:53 go: downloading github.com/go-playground/locales v0.14.1 20:40:53 go: downloading github.com/hashicorp/go-hclog v0.14.1 20:40:53 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:40:53 go: downloading github.com/hashicorp/serf v0.10.1 20:40:53 go: downloading github.com/mitchellh/mapstructure v1.5.0 20:40:53 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:40:53 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:40:53 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 20:40:53 go: downloading github.com/fatih/color v1.9.0 20:40:53 go: downloading github.com/mattn/go-isatty v0.0.14 20:40:53 go: downloading github.com/golang/protobuf v1.5.2 20:40:53 go: downloading golang.org/x/sys v0.7.0 20:40:53 go: downloading github.com/mattn/go-colorable v0.1.12 20:40:53 go: downloading github.com/armon/go-metrics v0.3.10 20:40:53 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 20:40:53 go: downloading github.com/hashicorp/golang-lru v0.5.4 20:41:08 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 20:41:08 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 20:41:08 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 20:41:08 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 20:41:09 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.032s coverage: 34.1% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.021s coverage: 92.4% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.006s coverage: 85.0% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.027s coverage: 42.4% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.015s coverage: 100.0% of statements 20:41:31 fatal error: concurrent map iteration and map write 20:41:31 20:41:31 goroutine 55 [running]: 20:41:31 reflect.mapiternext(0x4a7eaf?) 20:41:31 /usr/local/go/src/runtime/map.go:1380 +0x19 20:41:31 reflect.(*MapIter).Next(0xc0004cafc0?) 20:41:31 /usr/local/go/src/reflect/value.go:1924 +0x7e 20:41:31 internal/fmtsort.Sort({0xa3dd00?, 0xc000080020?, 0xc00008003c?}) 20:41:31 /usr/local/go/src/internal/fmtsort/sort.go:62 +0x1f0 20:41:31 fmt.(*pp).printValue(0xc0004680d0, {0xa3dd00?, 0xc000080020?, 0x28?}, 0x76, 0x2) 20:41:31 /usr/local/go/src/fmt/print.go:816 +0x986 20:41:31 fmt.(*pp).printValue(0xc0004680d0, {0xa70da0?, 0xc000080020?, 0x0?}, 0x76, 0x1) 20:41:31 /usr/local/go/src/fmt/print.go:853 +0x120a 20:41:31 fmt.(*pp).printValue(0xc0004680d0, {0xac4560?, 0xc000080020?, 0xc000478c80?}, 0x76, 0x0) 20:41:31 /usr/local/go/src/fmt/print.go:923 +0xaf0 20:41:31 fmt.(*pp).printArg(0xc0004680d0, {0xac4560?, 0xc000080020}, 0x76) 20:41:31 /usr/local/go/src/fmt/print.go:759 +0x756 20:41:31 fmt.(*pp).doPrintf(0xc0004680d0, {0xb08f4a, 0xd}, {0xc0004cb9a0?, 0x1, 0x1}) 20:41:31 /usr/local/go/src/fmt/print.go:1176 +0x9a9 20:41:31 fmt.Sprintf({0xb08f4a, 0xd}, {0xc0004cb9a0, 0x1, 0x1}) 20:41:31 /usr/local/go/src/fmt/print.go:239 +0x59 20:41:31 github.com/stretchr/testify/mock.Arguments.Diff({0xc00059a5e0, 0x2, 0xc0004cbac8?}, {0xc00059a580, 0x2, 0xc00021df10?}) 20:41:31 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:889 +0x156 20:41:31 github.com/stretchr/testify/mock.(*Mock).findExpectedCall(0x40fd28?, {0xcdd9fa, 0x6}, {0xc00059a580, 0x2, 0x2}) 20:41:31 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:361 +0xf3 20:41:31 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0005aa5a0, {0xcdd9fa, 0x6}, {0xc00059a580, 0x2, 0x2}) 20:41:31 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:466 +0xbd 20:41:31 github.com/stretchr/testify/mock.(*Mock).Called(0x0?, {0xc00059a580, 0x2, 0x2}) 20:41:31 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:456 +0x148 20:41:31 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks.(*MetricsReporter).Report(0xc0005aa5a0, {0xbf0548?, 0xc000080020}, 0xc00023b530) 20:41:31 /w/workspace/gexfoundry_go-mod-bootstrap_main/bootstrap/interfaces/mocks/MetricsReporter.go:17 +0xbf 20:41:31 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics.(*manager).Run.func1() 20:41:31 /w/workspace/gexfoundry_go-mod-bootstrap_main/bootstrap/metrics/manager.go:117 +0x1bd 20:41:31 created by github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics.(*manager).Run 20:41:31 /w/workspace/gexfoundry_go-mod-bootstrap_main/bootstrap/metrics/manager.go:105 +0x14a 20:41:31 20:41:31 goroutine 1 [runnable]: 20:41:31 internal/poll.(*fdMutex).rwlock(0xc000024120, 0x0?) 20:41:31 /usr/local/go/src/internal/poll/fd_mutex.go:117 +0x13d 20:41:31 internal/poll.(*FD).writeLock(...) 20:41:31 /usr/local/go/src/internal/poll/fd_mutex.go:239 20:41:31 internal/poll.(*FD).Write(0xc000024120, {0xc00065c000, 0x5, 0x800}) 20:41:31 /usr/local/go/src/internal/poll/fd_unix.go:370 +0x72 20:41:31 os.(*File).write(...) 20:41:31 /usr/local/go/src/os/file_posix.go:48 20:41:31 os.(*File).Write(0xc000014018, {0xc00065c000?, 0x5, 0xc00060fca0?}) 20:41:31 /usr/local/go/src/os/file.go:175 +0x65 20:41:31 fmt.Fprint({0xbe98a0, 0xc000014018}, {0xc00060fe08, 0x2, 0x2}) 20:41:31 /usr/local/go/src/fmt/print.go:263 +0x75 20:41:31 fmt.Print(...) 20:41:31 /usr/local/go/src/fmt/print.go:272 20:41:31 testing.(*M).Run(0xc0004783c0) 20:41:31 /usr/local/go/src/testing/testing.go:1943 +0xb39 20:41:31 main.main() 20:41:31 _testmain.go:96 +0x1c5 20:41:31 20:41:31 goroutine 9 [chan receive]: 20:41:31 github.com/rcrowley/go-metrics.(*meterArbiter).tick(0x1001240) 20:41:31 /go/pkg/mod/github.com/rcrowley/go-metrics@v0.0.0-20201227073835-cf1acfcdf475/meter.go:239 +0x2a 20:41:31 created by github.com/rcrowley/go-metrics.NewMeter 20:41:31 /go/pkg/mod/github.com/rcrowley/go-metrics@v0.0.0-20201227073835-cf1acfcdf475/meter.go:46 +0xd3 20:41:31 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.319s 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.015s coverage: 25.0% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.062s coverage: 78.9% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.011s coverage: 76.1% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.013s coverage: 31.2% of statements 20:41:31 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.006s coverage: 91.3% of statements 20:41:31 FAIL 20:41:31 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 20:41:31 $ docker stop --time=1 69a5544c25cc0c833423ff03bba4853e62633e581be5cc97ab74cacdf488389e 20:41:33 $ docker rm -f --volumes 69a5544c25cc0c833423ff03bba4853e62633e581be5cc97ab74cacdf488389e [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 20:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:34 20:41:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:34 latest: Pulling from edgex-lftools-log-publisher 20:41:34 5eb5b503b376: Pulling fs layer 20:41:34 5c69ac0246d0: Pulling fs layer 20:41:34 ec43610c2a17: Pulling fs layer 20:41:34 3a2ae6a8a46f: Pulling fs layer 20:41:34 33b1e0a273af: Pulling fs layer 20:41:34 5d3b04190fa2: Pulling fs layer 20:41:34 3a2ae6a8a46f: Waiting 20:41:34 33b1e0a273af: Waiting 20:41:34 2f39f015ded8: Pulling fs layer 20:41:34 5d3b04190fa2: Waiting 20:41:34 2f39f015ded8: Waiting 20:41:34 5c69ac0246d0: Download complete 20:41:34 3a2ae6a8a46f: Verifying Checksum 20:41:34 3a2ae6a8a46f: Download complete 20:41:34 33b1e0a273af: Verifying Checksum 20:41:34 33b1e0a273af: Download complete 20:41:34 5d3b04190fa2: Verifying Checksum 20:41:34 5d3b04190fa2: Download complete 20:41:34 ec43610c2a17: Download complete 20:41:34 5eb5b503b376: Verifying Checksum 20:41:34 5eb5b503b376: Download complete 20:41:35 2f39f015ded8: Download complete 20:41:36 5eb5b503b376: Pull complete 20:41:36 5c69ac0246d0: Pull complete 20:41:36 ec43610c2a17: Pull complete 20:41:36 3a2ae6a8a46f: Pull complete 20:41:36 33b1e0a273af: Pull complete 20:41:36 5d3b04190fa2: Pull complete 20:41:41 2f39f015ded8: Pull complete 20:41:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:41:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:41 prd-ubuntu20.04-docker-8c-8g-12234 does not seem to be running inside a container 20:41:41 $ 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/gexfoundry_go-mod-bootstrap_main -v /w/workspace/gexfoundry_go-mod-bootstrap_main:/w/workspace/gexfoundry_go-mod-bootstrap_main:rw,z -v /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp:/w/workspace/gexfoundry_go-mod-bootstrap_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:41:43 $ docker top 977274d2cbc4b0ef78cb26c2814f7dd66420dd033f0c5c6afdda53d3bd3dc375 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:43 ---> job-cost.sh 20:41:43 lf-activate-venv: SKIPPING 20:41:43 INFO: No Stack... 20:41:44 INFO: Retrieving Pricing Info for: v3-standard-8 20:41:44 INFO: Archiving Costs [Pipeline] sh 20:41:44 + cat /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/cost.csv 20:41:44 + cut -d, -f6 [Pipeline] lock 20:41:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] 20:41:44 Resource [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] did not exist. Created. 20:41:44 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:41:45 + echo total: 0.2199999988079071 [Pipeline] stash 20:41:45 Stashed 1 file(s) [Pipeline] } 20:41:45 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 20:41:45 $ docker stop --time=1 977274d2cbc4b0ef78cb26c2814f7dd66420dd033f0c5c6afdda53d3bd3dc375 20:41:46 $ docker rm -f --volumes 977274d2cbc4b0ef78cb26c2814f7dd66420dd033f0c5c6afdda53d3bd3dc375 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:41:46 Failed in branch amd64 20:42:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12235 in /w/workspace/gexfoundry_go-mod-bootstrap_main [Pipeline] { [Pipeline] ws 20:42:34 Running in /w/workspace/go-mod-bootstrap/165 [Pipeline] { [Pipeline] checkout 20:42:34 Selected Git installation does not exist. Using Default 20:42:34 The recommended git tool is: NONE 20:42:39 using credential edgex-jenkins-ssh 20:42:39 Cloning the remote Git repository 20:42:39 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 20:42:39 > git init /w/workspace/go-mod-bootstrap/165 # timeout=10 20:42:40 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 20:42:40 > git --version # timeout=10 20:42:40 > git --version # 'git version 2.25.1' 20:42:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:41 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 20:42:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:42 Avoid second fetch 20:42:42 Checking out Revision cabd487a9169ce01d10044a270bd3906ff571834 (main) 20:42:42 Commit message: "fix: [WIP BUG] Ignore Common Writable changes overridden in App/Device common Writable (#526)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:42 > git config core.sparsecheckout # timeout=10 20:42:42 > git checkout -f cabd487a9169ce01d10044a270bd3906ff571834 # timeout=10 20:42:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:42:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:42:43 Dload Upload Total Spent Left Speed 20:42:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 20:42:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:42:44 + sudo tee /etc/docker/daemon.new 20:42:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:42:44 { 20:42:44 "registry-mirrors": [ 20:42:44 "https://nexus3.edgexfoundry.org:10001" 20:42:44 ], 20:42:44 "bip": "10.250.0.254/24", 20:42:44 "hosts": [ 20:42:44 "tcp://0.0.0.0:5555", 20:42:44 "unix:///var/run/docker.sock" 20:42:44 ], 20:42:44 "mtu": 1458, 20:42:44 "selinux-enabled": true, 20:42:44 "seccomp-profile": "/etc/docker/seccomp.json" 20:42:44 } [Pipeline] sh 20:42:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:42:45 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 20:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:03 ========================================================= 20:43:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:43:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:43:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:43:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:43:04 c41833b44d91: Pulling fs layer 20:43:04 ed15518f5707: Pulling fs layer 20:43:04 feae8fd75edb: Pulling fs layer 20:43:04 242c74f7c9fa: Pulling fs layer 20:43:04 3cdef696dda3: Pulling fs layer 20:43:04 2ced38df9373: Pulling fs layer 20:43:04 58f1dce35555: Pulling fs layer 20:43:04 3cdef696dda3: Waiting 20:43:04 2ced38df9373: Waiting 20:43:04 242c74f7c9fa: Waiting 20:43:04 58f1dce35555: Waiting 20:43:04 ed15518f5707: Verifying Checksum 20:43:04 ed15518f5707: Download complete 20:43:04 242c74f7c9fa: Verifying Checksum 20:43:04 242c74f7c9fa: Download complete 20:43:04 3cdef696dda3: Verifying Checksum 20:43:04 3cdef696dda3: Download complete 20:43:04 c41833b44d91: Download complete 20:43:05 c41833b44d91: Pull complete 20:43:06 58f1dce35555: Verifying Checksum 20:43:06 58f1dce35555: Download complete 20:43:06 ed15518f5707: Pull complete 20:43:07 feae8fd75edb: Download complete 20:43:07 2ced38df9373: Verifying Checksum 20:43:07 2ced38df9373: Download complete 20:43:19 feae8fd75edb: Pull complete 20:43:19 242c74f7c9fa: Pull complete 20:43:19 3cdef696dda3: Pull complete 20:43:27 2ced38df9373: Pull complete 20:43:30 58f1dce35555: Pull complete 20:43:30 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:43:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 20:43:30 + 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 20:43:31 + docker inspect -f . ci-base-image-arm64 20:43:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:31 prd-ubuntu20.04-docker-arm64-4c-16g-12235 does not seem to be running inside a container 20:43:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/165 -v /w/workspace/go-mod-bootstrap/165:/w/workspace/go-mod-bootstrap/165:rw,z -v /w/workspace/go-mod-bootstrap/165@tmp:/w/workspace/go-mod-bootstrap/165@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 ******** ci-base-image-arm64 cat 20:43:34 $ docker top 55dcee0cddd5706404e3b1416902d37a76cf6c0b0cb89ea86be93c68de6c40d5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:35 + go version 20:43:35 go version go1.20.2 linux/arm64 [Pipeline] } 20:43:35 $ docker stop --time=1 55dcee0cddd5706404e3b1416902d37a76cf6c0b0cb89ea86be93c68de6c40d5 20:43:37 $ docker rm -f --volumes 55dcee0cddd5706404e3b1416902d37a76cf6c0b0cb89ea86be93c68de6c40d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:37 + docker inspect -f . ci-base-image-arm64 20:43:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:37 prd-ubuntu20.04-docker-arm64-4c-16g-12235 does not seem to be running inside a container 20:43:37 $ 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/165 -v /w/workspace/go-mod-bootstrap/165:/w/workspace/go-mod-bootstrap/165:rw,z -v /w/workspace/go-mod-bootstrap/165@tmp:/w/workspace/go-mod-bootstrap/165@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 ******** ci-base-image-arm64 cat 20:43:40 $ docker top d56467387b90f592a360973641aafd26e70d71b41a397184def96fb4e9e3f695 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:41 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/165 [Pipeline] fileExists [Pipeline] sh 20:43:42 + make test 20:43:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:43:42 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.38 20:43:42 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 20:43:42 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 20:43:42 go: downloading github.com/mitchellh/copystructure v1.2.0 20:43:42 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 20:43:42 go: downloading gopkg.in/yaml.v3 v3.0.1 20:43:42 go: downloading github.com/stretchr/testify v1.8.2 20:43:42 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.26 20:43:43 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 20:43:43 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 20:43:43 go: downloading github.com/google/uuid v1.3.0 20:43:43 go: downloading github.com/gorilla/mux v1.8.0 20:43:43 go: downloading github.com/hashicorp/go-multierror v1.1.1 20:43:43 go: downloading github.com/mitchellh/reflectwalk v1.0.2 20:43:43 go: downloading github.com/go-kit/log v0.2.1 20:43:43 go: downloading github.com/go-playground/validator/v10 v10.12.0 20:43:43 go: downloading github.com/gorilla/websocket v1.4.2 20:43:43 go: downloading golang.org/x/net v0.9.0 20:43:43 go: downloading golang.org/x/sync v0.1.0 20:43:43 go: downloading github.com/davecgh/go-spew v1.1.1 20:43:43 go: downloading github.com/pmezard/go-difflib v1.0.0 20:43:43 go: downloading github.com/stretchr/objx v0.5.0 20:43:43 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 20:43:43 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.4 20:43:43 go: downloading github.com/hashicorp/errwrap v1.0.0 20:43:43 go: downloading github.com/hashicorp/consul/api v1.20.0 20:43:43 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:43:43 go: downloading github.com/go-logfmt/logfmt v0.5.1 20:43:43 go: downloading github.com/go-playground/universal-translator v0.18.1 20:43:43 go: downloading github.com/leodido/go-urn v1.2.2 20:43:44 go: downloading golang.org/x/crypto v0.8.0 20:43:44 go: downloading golang.org/x/text v0.9.0 20:43:44 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:43:44 go: downloading github.com/x448/float16 v0.8.4 20:43:44 go: downloading github.com/zeebo/errs v1.3.0 20:43:44 go: downloading google.golang.org/grpc v1.53.0 20:43:46 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:43:46 go: downloading github.com/mitchellh/mapstructure v1.5.0 20:43:46 go: downloading github.com/go-playground/locales v0.14.1 20:43:46 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:43:46 go: downloading github.com/hashicorp/go-hclog v0.14.1 20:43:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:43:46 go: downloading github.com/hashicorp/serf v0.10.1 20:43:46 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 20:43:46 go: downloading google.golang.org/protobuf v1.28.1 20:43:47 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 20:43:47 go: downloading github.com/fatih/color v1.9.0 20:43:47 go: downloading github.com/mattn/go-isatty v0.0.14 20:43:47 go: downloading github.com/armon/go-metrics v0.3.10 20:43:47 go: downloading github.com/golang/protobuf v1.5.2 20:43:48 go: downloading golang.org/x/sys v0.7.0 20:43:48 go: downloading github.com/mattn/go-colorable v0.1.12 20:43:48 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 20:43:48 go: downloading github.com/hashicorp/golang-lru v0.5.4 20:46:09 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 20:46:09 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 20:46:14 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 20:46:14 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 20:46:26 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.153s coverage: 34.1% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.107s coverage: 92.4% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.041s coverage: 85.0% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.115s coverage: 42.4% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.104s coverage: 100.0% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.394s coverage: 87.7% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.054s coverage: 25.0% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.143s coverage: 78.9% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.058s coverage: 76.1% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.044s coverage: 31.2% of statements 20:46:27 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.019s coverage: 91.3% of statements 20:46:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:46:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:47:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:47:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 20:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:47:00 $ docker stop --time=1 d56467387b90f592a360973641aafd26e70d71b41a397184def96fb4e9e3f695 20:47:02 $ docker rm -f --volumes d56467387b90f592a360973641aafd26e70d71b41a397184def96fb4e9e3f695 [Pipeline] // withDockerContainer [Pipeline] sh 20:47:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:06 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 20:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:06 20:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:07 arm64: Pulling from edgex-lftools-log-publisher 20:47:07 8998bd30e6a1: Pulling fs layer 20:47:07 04944245beec: Pulling fs layer 20:47:07 699f458cf7ca: Pulling fs layer 20:47:07 765212b225bb: Pulling fs layer 20:47:07 f23df028b6ca: Pulling fs layer 20:47:07 d65c8cfc05b1: Pulling fs layer 20:47:07 2437ff75d9bd: Pulling fs layer 20:47:07 765212b225bb: Waiting 20:47:07 f23df028b6ca: Waiting 20:47:07 d65c8cfc05b1: Waiting 20:47:07 2437ff75d9bd: Waiting 20:47:07 04944245beec: Verifying Checksum 20:47:07 04944245beec: Download complete 20:47:07 765212b225bb: Verifying Checksum 20:47:07 765212b225bb: Download complete 20:47:07 f23df028b6ca: Verifying Checksum 20:47:07 f23df028b6ca: Download complete 20:47:07 d65c8cfc05b1: Verifying Checksum 20:47:07 d65c8cfc05b1: Download complete 20:47:07 699f458cf7ca: Verifying Checksum 20:47:07 699f458cf7ca: Download complete 20:47:08 8998bd30e6a1: Verifying Checksum 20:47:08 8998bd30e6a1: Download complete 20:47:12 2437ff75d9bd: Verifying Checksum 20:47:12 2437ff75d9bd: Download complete 20:47:15 8998bd30e6a1: Pull complete 20:47:16 04944245beec: Pull complete 20:47:18 699f458cf7ca: Pull complete 20:47:18 765212b225bb: Pull complete 20:47:19 f23df028b6ca: Pull complete 20:47:19 d65c8cfc05b1: Pull complete 20:47:37 2437ff75d9bd: Pull complete 20:47:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:47:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:37 prd-ubuntu20.04-docker-arm64-4c-16g-12235 does not seem to be running inside a container 20:47:38 $ 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/165 -v /w/workspace/go-mod-bootstrap/165:/w/workspace/go-mod-bootstrap/165:rw,z -v /w/workspace/go-mod-bootstrap/165@tmp:/w/workspace/go-mod-bootstrap/165@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:47:41 $ docker top 1dae3160f6205eaf73b58008dd2904800ecbc818ccbe4bcd769d0993c2d32fc4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:41 ---> job-cost.sh 20:47:41 lf-activate-venv: SKIPPING 20:47:41 INFO: No Stack... 20:47:42 INFO: Retrieving Pricing Info for: v3-standard-4 20:47:43 INFO: Archiving Costs [Pipeline] sh 20:47:44 + cat /w/workspace/go-mod-bootstrap/165/archives/cost.csv 20:47:44 + cut -d, -f6 [Pipeline] lock 20:47:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] 20:47:44 Resource [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] did not exist. Created. 20:47:44 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:44 /w/workspace/go-mod-bootstrap/165@tmp/durable-3bc2cdad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:47:45 + echo total: 0.10999999940395355 [Pipeline] stash 20:47:45 Warning: overwriting stash ‘stack-cost’ 20:47:45 Stashed 1 file(s) [Pipeline] } 20:47:45 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:45 $ docker stop --time=1 1dae3160f6205eaf73b58008dd2904800ecbc818ccbe4bcd769d0993c2d32fc4 20:47:47 $ docker rm -f --volumes 1dae3160f6205eaf73b58008dd2904800ecbc818ccbe4bcd769d0993c2d32fc4 [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 20:47:48 + [ -d /w/workspace/gexfoundry_go-mod-bootstrap_main/archives ] 20:47:48 + ls -al /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 20:47:48 total 16 20:47:48 drwxr-xr-x 3 root root 4096 May 1 20:41 . 20:47:48 drwxrwxr-x 9 jenkins jenkins 4096 May 1 20:41 .. 20:47:48 drwxr-xr-x 2 root root 4096 May 1 20:41 cost 20:47:48 -rw-r--r-- 1 root root 88 May 1 20:41 cost.csv 20:47:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 20:47:48 + ls -al /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 20:47:48 total 16 20:47:48 drwxr-xr-x 3 jenkins jenkins 4096 May 1 20:41 . 20:47:48 drwxrwxr-x 9 jenkins jenkins 4096 May 1 20:41 .. 20:47:48 drwxr-xr-x 2 jenkins jenkins 4096 May 1 20:41 cost 20:47:48 -rw-r--r-- 1 jenkins jenkins 88 May 1 20:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:47:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:47:49 ---> package-listing.sh 20:47:49 ++ facter osfamily 20:47:49 ++ tr '[:upper:]' '[:lower:]' 20:47:49 + OS_FAMILY=debian 20:47:49 + workspace=/w/workspace/gexfoundry_go-mod-bootstrap_main 20:47:49 + START_PACKAGES=/tmp/packages_start.txt 20:47:49 + END_PACKAGES=/tmp/packages_end.txt 20:47:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:47:49 + PACKAGES=/tmp/packages_start.txt 20:47:49 + '[' /w/workspace/gexfoundry_go-mod-bootstrap_main ']' 20:47:49 + PACKAGES=/tmp/packages_end.txt 20:47:49 + case "${OS_FAMILY}" in 20:47:49 + dpkg -l 20:47:49 + grep '^ii' 20:47:49 + '[' -f /tmp/packages_start.txt ']' 20:47:49 + '[' -f /tmp/packages_end.txt ']' 20:47:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:47:49 + '[' /w/workspace/gexfoundry_go-mod-bootstrap_main ']' 20:47:49 + mkdir -p /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/ 20:47:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/ [Pipeline] echo 20:47:49 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/gexfoundry_go-mod-bootstrap_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:47:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:50 prd-ubuntu20.04-docker-8c-8g-12234 does not seem to be running inside a container 20:47:50 $ 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/gexfoundry_go-mod-bootstrap_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-bootstrap_main -v /w/workspace/gexfoundry_go-mod-bootstrap_main:/w/workspace/gexfoundry_go-mod-bootstrap_main:rw,z -v /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp:/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:47:50 $ docker top 6267b10c084408d25f514dd3ca03b4fd6f517f2a8a8514a501716e5013cce305 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:51 + touch /tmp/pre-build-complete [Pipeline] sh 20:47:51 + mkdir -p /var/log/sysstat [Pipeline] sh 20:47:51 + ls /var/log/sa-host 20:47:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:51 provisioning config files... 20:47:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/config18036878891837310594tmp [Pipeline] { [Pipeline] echo 20:47:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:47:52 ---> create-netrc.sh [Pipeline] } 20:47:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:47:52 ---> python-tools-install.sh [Pipeline] echo 20:47:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:52 ---> sudo-logs.sh 20:47:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:47:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:53 ---> job-cost.sh 20:47:53 lf-activate-venv: SKIPPING 20:47:53 DEBUG: total: 0.2199999988079071 20:47:53 INFO: Retrieving Stack Cost... 20:47:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:53 INFO: Archiving Costs [Pipeline] echo 20:47:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:47:54 ---> logs-deploy.sh 20:47:54 lf-activate-venv: SKIPPING 20:47:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/main/165 20:47:54 INFO: archiving workspace using pattern(s): 20:47:54 Archives upload complete. 20:47:54 INFO: archiving logs to Nexus