Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a43e4483e78b56bbeb4e7e782749350c10340679 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-ssh5782865987021607778.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh495837520994580935.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh7653476102211562036.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh2981885531856220197.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-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-ssh4299864984853096381.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-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-8575 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a43e4483e78b56bbeb4e7e782749350c10340679 (main) Commit message: "feat: add security Consul metrics (#383)" > 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 a43e4483e78b56bbeb4e7e782749350c10340679 # timeout=10 > git rev-list --no-walk 3493ca49c20ed9c97753fbe1378ba018d4dc2e28 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:29:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:29:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:29:12 ========================================================= 16:29:12 EdgeX Global Pipelines Version Info 16:29:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:29:13 ------------------- 16:29:13 stable info: 16:29:13 ------------------- 16:29:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:29:13 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:29:13 Message: update stable to v1.0.243 16:29:13 ------------------- 16:29:13 experimental info: 16:29:13 ------------------- 16:29:13 Commited By: **** collab-it+edgex@linuxfoundation.org 16:29:13 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:29:13 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a43e4483e78b56bbeb4e7e782749350c10340679 [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a43e448 [Pipeline] echo 16:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:29:14 + git rev-list -1 --merges a43e4483e78b56bbeb4e7e782749350c10340679~1..a43e4483e78b56bbeb4e7e782749350c10340679 [Pipeline] echo 16:29:14 -----------> git rev-list -1 --merges a43e4483e78b56bbeb4e7e782749350c10340679~1..a43e4483e78b56bbeb4e7e782749350c10340679 a43e4483e78b56bbeb4e7e782749350c10340679 [false] [Pipeline] sh 16:29:15 + git log --format=format:%s -1 a43e4483e78b56bbeb4e7e782749350c10340679 [Pipeline] echo 16:29:15 ========================================================= 16:29:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:29:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:29:15 + git log --format=format:%s -1 a43e4483e78b56bbeb4e7e782749350c10340679 [Pipeline] echo 16:29:15 [semverPrep] GIT_COMMIT: a43e4483e78b56bbeb4e7e782749350c10340679, Commit Message: feat: add security Consul metrics (#383) [Pipeline] echo 16:29:15 [semverPrep] This is not a build commit. [Pipeline] sh 16:29:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:29:15 + grep -v github /etc/ssh/ssh_known_hosts 16:29:15 + [ -e /tmp/ssh_known_hosts ] 16:29:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:29:15 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:29:15 sudo tee -a /etc/ssh/ssh_known_hosts 16:29:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:16 16:29:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:16 0.1.4: Pulling from edgex-devops/py-git-semver 16:29:16 b85a868b505f: Pulling fs layer 16:29:16 e2be974225ed: Pulling fs layer 16:29:16 339a4e72a1f5: Pulling fs layer 16:29:16 988bab9f4d93: Pulling fs layer 16:29:16 1469e6f7b9e6: Pulling fs layer 16:29:16 eaf3925da568: Pulling fs layer 16:29:16 bab4dde63d76: Pulling fs layer 16:29:16 bde34c3a00c8: Pulling fs layer 16:29:16 b352a97aabf1: Pulling fs layer 16:29:16 4872d77fe225: Pulling fs layer 16:29:16 5851b861e8e6: Pulling fs layer 16:29:16 988bab9f4d93: Waiting 16:29:16 1469e6f7b9e6: Waiting 16:29:16 eaf3925da568: Waiting 16:29:16 4872d77fe225: Waiting 16:29:16 bab4dde63d76: Waiting 16:29:16 b352a97aabf1: Waiting 16:29:16 bde34c3a00c8: Waiting 16:29:16 5851b861e8e6: Waiting 16:29:16 e2be974225ed: Download complete 16:29:16 988bab9f4d93: Download complete 16:29:16 1469e6f7b9e6: Verifying Checksum 16:29:16 1469e6f7b9e6: Download complete 16:29:16 339a4e72a1f5: Verifying Checksum 16:29:16 339a4e72a1f5: Download complete 16:29:16 eaf3925da568: Verifying Checksum 16:29:16 eaf3925da568: Download complete 16:29:17 bde34c3a00c8: Verifying Checksum 16:29:17 bde34c3a00c8: Download complete 16:29:17 b352a97aabf1: Verifying Checksum 16:29:17 b352a97aabf1: Download complete 16:29:17 4872d77fe225: Verifying Checksum 16:29:17 4872d77fe225: Download complete 16:29:17 5851b861e8e6: Verifying Checksum 16:29:17 5851b861e8e6: Download complete 16:29:17 b85a868b505f: Verifying Checksum 16:29:17 b85a868b505f: Download complete 16:29:17 bab4dde63d76: Verifying Checksum 16:29:17 bab4dde63d76: Download complete 16:29:18 b85a868b505f: Pull complete 16:29:18 e2be974225ed: Pull complete 16:29:19 339a4e72a1f5: Pull complete 16:29:19 988bab9f4d93: Pull complete 16:29:19 1469e6f7b9e6: Pull complete 16:29:19 eaf3925da568: Pull complete 16:29:21 bab4dde63d76: Pull complete 16:29:21 bde34c3a00c8: Pull complete 16:29:21 b352a97aabf1: Pull complete 16:29:21 4872d77fe225: Pull complete 16:29:21 5851b861e8e6: Pull complete 16:29:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:21 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 16:29:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:29:25 $ docker top ec35e9a6c38373a3d3a2cbccf8b87e3af7806caed7b328654f66ec7d799eddc9 -eo pid,comm 16:29:25 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). 16:29:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:25 [ssh-agent] Looking for ssh-agent implementation... 16:29:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:25 $ docker exec ec35e9a6c38373a3d3a2cbccf8b87e3af7806caed7b328654f66ec7d799eddc9 ssh-agent 16:29:25 SSH_AUTH_SOCK=/tmp/ssh-m3bpmAINbJe7/agent.31 16:29:25 SSH_AGENT_PID=37 16:29:25 Running ssh-add (command line suppressed) 16:29:25 Identity added: /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_934353195122149093.key (/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_934353195122149093.key) 16:29:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:25 + git tag --points-at HEAD [Pipeline] } 16:29:25 $ docker exec --env ******** --env ******** ec35e9a6c38373a3d3a2cbccf8b87e3af7806caed7b328654f66ec7d799eddc9 ssh-agent -k 16:29:25 unset SSH_AUTH_SOCK; 16:29:25 unset SSH_AGENT_PID; 16:29:25 echo Agent pid 37 killed; 16:29:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:25 [ssh-agent] Looking for ssh-agent implementation... 16:29:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:26 $ docker exec ec35e9a6c38373a3d3a2cbccf8b87e3af7806caed7b328654f66ec7d799eddc9 ssh-agent 16:29:26 SSH_AUTH_SOCK=/tmp/ssh-Jt9o45Mlp9eE/agent.70 16:29:26 SSH_AGENT_PID=76 16:29:26 Running ssh-add (command line suppressed) 16:29:26 Identity added: /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_14909048139399163189.key (/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_14909048139399163189.key) 16:29:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:26 + git semver init 16:29:26 2022-10-19 16:29:26,757 [run_init] DEBUG init version:0.0.0 force:False 16:29:26 2022-10-19 16:29:26,757 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-bootstrap_main/.semver 16:29:26 2022-10-19 16:29:26,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver 16:29:26 2022-10-19 16:29:26,758 [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) 16:29:27 2022-10-19 16:29:27,713 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-bootstrap_main/.git/info/exclude 16:29:27 2022-10-19 16:29:27,714 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main with force:False 16:29:27 2022-10-19 16:29:27,714 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main 16:29:27 2022-10-19 16:29:27,714 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main 16:29:27 2.3.0-dev.22 [Pipeline] } 16:29:27 $ docker exec --env ******** --env ******** ec35e9a6c38373a3d3a2cbccf8b87e3af7806caed7b328654f66ec7d799eddc9 ssh-agent -k 16:29:27 unset SSH_AUTH_SOCK; 16:29:27 unset SSH_AGENT_PID; 16:29:27 echo Agent pid 76 killed; 16:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:28 + git semver [Pipeline] } 16:29:28 $ docker stop --time=1 ec35e9a6c38373a3d3a2cbccf8b87e3af7806caed7b328654f66ec7d799eddc9 16:29:29 $ docker rm -f ec35e9a6c38373a3d3a2cbccf8b87e3af7806caed7b328654f66ec7d799eddc9 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:29:30 Stashed 1 file(s) [Pipeline] echo 16:29:30 [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [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 16:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:30 ========================================================= 16:29:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:29:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:29:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:29:30 213ec9aee27d: Pulling fs layer 16:29:30 4583459ba037: Pulling fs layer 16:29:30 93c1e223e6f2: Pulling fs layer 16:29:30 53926ce57604: Pulling fs layer 16:29:30 21b2b0c7a3f4: Pulling fs layer 16:29:30 30f14e443154: Pulling fs layer 16:29:30 801331c1e519: Pulling fs layer 16:29:30 99cc6dd402b0: Pulling fs layer 16:29:30 7d9ed39f4882: Pulling fs layer 16:29:30 30f14e443154: Waiting 16:29:30 801331c1e519: Waiting 16:29:30 99cc6dd402b0: Waiting 16:29:30 7d9ed39f4882: Waiting 16:29:30 21b2b0c7a3f4: Waiting 16:29:30 53926ce57604: Waiting 16:29:30 93c1e223e6f2: Verifying Checksum 16:29:30 93c1e223e6f2: Download complete 16:29:30 4583459ba037: Verifying Checksum 16:29:30 4583459ba037: Download complete 16:29:30 21b2b0c7a3f4: Download complete 16:29:30 30f14e443154: Verifying Checksum 16:29:30 30f14e443154: Download complete 16:29:30 213ec9aee27d: Verifying Checksum 16:29:30 213ec9aee27d: Download complete 16:29:30 801331c1e519: Verifying Checksum 16:29:30 801331c1e519: Download complete 16:29:31 213ec9aee27d: Pull complete 16:29:31 4583459ba037: Pull complete 16:29:31 93c1e223e6f2: Pull complete 16:29:31 7d9ed39f4882: Verifying Checksum 16:29:31 7d9ed39f4882: Download complete 16:29:31 99cc6dd402b0: Verifying Checksum 16:29:31 99cc6dd402b0: Download complete 16:29:31 53926ce57604: Verifying Checksum 16:29:31 53926ce57604: Download complete 16:29:36 53926ce57604: Pull complete 16:29:36 21b2b0c7a3f4: Pull complete 16:29:36 30f14e443154: Pull complete 16:29:36 801331c1e519: Pull complete 16:29:38 99cc6dd402b0: Pull complete 16:29:39 7d9ed39f4882: Pull complete 16:29:39 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:29:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 16:29:39 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:39 + docker inspect -f . ci-base-image-x86_64 16:29:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:39 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 16:29:39 $ 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 ******** ci-base-image-x86_64 cat 16:29:44 $ docker top 8e5a87e48fe8399e4451bbbfe558f4c9478b95f4cc866ae3f0ee5020178f43a4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:44 + go version 16:29:44 go version go1.18.7 linux/amd64 [Pipeline] } 16:29:44 $ docker stop --time=1 8e5a87e48fe8399e4451bbbfe558f4c9478b95f4cc866ae3f0ee5020178f43a4 16:29:45 Still waiting to schedule task 16:29:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:29:46 $ docker rm -f 8e5a87e48fe8399e4451bbbfe558f4c9478b95f4cc866ae3f0ee5020178f43a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:46 + docker inspect -f . ci-base-image-x86_64 16:29:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:46 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 16:29:46 $ 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 ******** ci-base-image-x86_64 cat 16:29:46 $ docker top 156dd0286607eba8601e31cb916bea0b18da4221e3df69f26647a6e1acf807e5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:47 + git config --global --add safe.directory /w/workspace/gexfoundry_go-mod-bootstrap_main [Pipeline] fileExists [Pipeline] sh 16:29:47 + make test 16:29:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:29:47 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 16:29:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 16:29:47 go: downloading github.com/stretchr/testify v1.8.0 16:29:47 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 16:29:47 go: downloading github.com/pelletier/go-toml v1.9.5 16:29:47 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.8 16:29:47 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 16:29:47 go: downloading github.com/google/uuid v1.3.0 16:29:47 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:29:47 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 16:29:47 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 16:29:47 go: downloading github.com/gorilla/mux v1.8.0 16:29:47 go: downloading github.com/davecgh/go-spew v1.1.1 16:29:47 go: downloading github.com/pmezard/go-difflib v1.0.0 16:29:47 go: downloading gopkg.in/yaml.v3 v3.0.1 16:29:47 go: downloading github.com/stretchr/objx v0.4.0 16:29:47 go: downloading github.com/go-kit/log v0.2.0 16:29:47 go: downloading github.com/go-playground/validator/v10 v10.10.1 16:29:47 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 16:29:47 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:29:47 go: downloading github.com/hashicorp/errwrap v1.0.0 16:29:47 go: downloading github.com/gorilla/websocket v1.4.2 16:29:47 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 16:29:47 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 16:29:47 go: downloading github.com/hashicorp/consul/api v1.9.1 16:29:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:29:47 go: downloading github.com/go-logfmt/logfmt v0.5.1 16:29:47 go: downloading github.com/go-playground/universal-translator v0.18.0 16:29:47 go: downloading github.com/leodido/go-urn v1.2.1 16:29:47 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 16:29:47 go: downloading golang.org/x/text v0.3.7 16:29:47 go: downloading github.com/x448/float16 v0.8.4 16:29:47 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:29:47 go: downloading github.com/mitchellh/copystructure v1.0.0 16:29:47 go: downloading github.com/mitchellh/mapstructure v1.5.0 16:29:47 go: downloading github.com/pebbe/zmq4 v1.2.7 16:29:48 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:29:48 go: downloading github.com/zeebo/errs v1.2.2 16:29:48 go: downloading google.golang.org/grpc v1.46.0 16:29:48 go: downloading github.com/go-playground/locales v0.14.0 16:29:48 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:29:48 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:29:48 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:29:48 go: downloading github.com/hashicorp/serf v0.9.5 16:29:48 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 16:29:48 go: downloading google.golang.org/protobuf v1.28.0 16:29:48 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:29:48 go: downloading github.com/fatih/color v1.9.0 16:29:48 go: downloading github.com/mattn/go-isatty v0.0.14 16:29:48 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 16:29:48 go: downloading github.com/mattn/go-colorable v0.1.12 16:29:48 go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d 16:29:48 go: downloading github.com/golang/protobuf v1.5.2 16:29:48 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:29:48 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:29:48 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:30:01 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 16:30:02 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.015s coverage: 9.9% of statements 16:30:02 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 16:30:02 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.013s coverage: 92.5% of statements 16:30:02 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.005s coverage: 85.3% of statements 16:30:04 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 2.024s coverage: 42.8% of statements 16:30:04 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 16:30:04 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 16:30:04 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.019s coverage: 100.0% of statements 16:30:04 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.321s coverage: 88.4% of statements 16:30:04 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.015s coverage: 25.0% of statements 16:30:05 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.048s coverage: 81.4% of statements 16:30:05 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 16:30:05 ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.013s coverage: 41.7% of statements 16:30:05 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.003s coverage: 91.3% of statements 16:30:13 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:30:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:30:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:30:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 16:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:30:15 $ docker stop --time=1 156dd0286607eba8601e31cb916bea0b18da4221e3df69f26647a6e1acf807e5 16:30:20 $ docker rm -f 156dd0286607eba8601e31cb916bea0b18da4221e3df69f26647a6e1acf807e5 [Pipeline] // withDockerContainer [Pipeline] sh 16:30:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:30:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:22 16:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:22 latest: Pulling from edgex-lftools-log-publisher 16:30:22 5eb5b503b376: Pulling fs layer 16:30:22 5c69ac0246d0: Pulling fs layer 16:30:22 ec43610c2a17: Pulling fs layer 16:30:22 3a2ae6a8a46f: Pulling fs layer 16:30:22 33b1e0a273af: Pulling fs layer 16:30:22 5d3b04190fa2: Pulling fs layer 16:30:22 2f39f015ded8: Pulling fs layer 16:30:22 33b1e0a273af: Waiting 16:30:22 5d3b04190fa2: Waiting 16:30:22 2f39f015ded8: Waiting 16:30:22 3a2ae6a8a46f: Waiting 16:30:22 5c69ac0246d0: Verifying Checksum 16:30:22 5c69ac0246d0: Download complete 16:30:22 3a2ae6a8a46f: Verifying Checksum 16:30:22 3a2ae6a8a46f: Download complete 16:30:22 33b1e0a273af: Verifying Checksum 16:30:22 33b1e0a273af: Download complete 16:30:22 5d3b04190fa2: Verifying Checksum 16:30:22 5d3b04190fa2: Download complete 16:30:22 ec43610c2a17: Verifying Checksum 16:30:22 ec43610c2a17: Download complete 16:30:22 5eb5b503b376: Verifying Checksum 16:30:22 5eb5b503b376: Download complete 16:30:23 2f39f015ded8: Download complete 16:30:23 5eb5b503b376: Pull complete 16:30:23 5c69ac0246d0: Pull complete 16:30:24 ec43610c2a17: Pull complete 16:30:24 3a2ae6a8a46f: Pull complete 16:30:24 33b1e0a273af: Pull complete 16:30:24 5d3b04190fa2: Pull complete 16:30:30 2f39f015ded8: Pull complete 16:30:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:30 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 16:30:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:30:33 $ docker top 1fa0df897e2054ab76afecccb3b2b40d6cae6b72c78f106faaf7a730ab43856b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:33 ---> job-cost.sh 16:30:33 lf-activate-venv: SKIPPING 16:30:33 INFO: No Stack... 16:30:33 INFO: Retrieving Pricing Info for: v3-standard-8 16:30:34 INFO: Archiving Costs [Pipeline] sh 16:30:34 + cat /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/cost.csv 16:30:34 + cut -d, -f6 [Pipeline] lock 16:30:34 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] 16:30:34 Resource [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] did not exist. Created. 16:30:34 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:30:34 + echo total: 0.2199999988079071 [Pipeline] stash 16:30:35 Stashed 1 file(s) [Pipeline] } 16:30:35 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 16:30:35 $ docker stop --time=1 1fa0df897e2054ab76afecccb3b2b40d6cae6b72c78f106faaf7a730ab43856b 16:30:36 $ docker rm -f 1fa0df897e2054ab76afecccb3b2b40d6cae6b72c78f106faaf7a730ab43856b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:31:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8578 in /w/workspace/gexfoundry_go-mod-bootstrap_main [Pipeline] { [Pipeline] ws 16:31:30 Running in /w/workspace/go-mod-bootstrap/77 [Pipeline] { [Pipeline] checkout 16:31:30 Selected Git installation does not exist. Using Default 16:31:30 The recommended git tool is: NONE 16:31:35 using credential edgex-jenkins-ssh 16:31:35 Cloning the remote Git repository 16:31:35 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 16:31:35 > git init /w/workspace/go-mod-bootstrap/77 # timeout=10 16:31:35 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 16:31:35 > git --version # timeout=10 16:31:35 > git --version # 'git version 2.25.1' 16:31:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:35 Verifying host key using known hosts file 16:31:36 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:31:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:31:37 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 16:31:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:31:38 Avoid second fetch 16:31:38 Checking out Revision a43e4483e78b56bbeb4e7e782749350c10340679 (main) 16:31:38 Commit message: "feat: add security Consul metrics (#383)" 16:31:38 > git config core.sparsecheckout # timeout=10 16:31:38 > git checkout -f a43e4483e78b56bbeb4e7e782749350c10340679 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:31:39 % Total % Received % Xferd Average Speed Time Time Time Current 16:31:39 Dload Upload Total Spent Left Speed 16:31:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75011 0 --:--:-- --:--:-- --:--:-- 75011 [Pipeline] sh 16:31:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:31:40 + sudo+ sudo tee /etc/docker/daemon.new 16:31:40 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:31:40 { 16:31:40 "registry-mirrors": [ 16:31:40 "https://nexus3.edgexfoundry.org:10001" 16:31:40 ], 16:31:40 "bip": "10.250.0.254/24", 16:31:40 "hosts": [ 16:31:40 "tcp://0.0.0.0:5555", 16:31:40 "unix:///var/run/docker.sock" 16:31:40 ], 16:31:40 "mtu": 1458, 16:31:40 "selinux-enabled": true, 16:31:40 "seccomp-profile": "/etc/docker/seccomp.json" 16:31:40 } [Pipeline] sh 16:31:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:31:41 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 16:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:32:00 ========================================================= 16:32:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:32:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:32:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:32:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:32:01 9b18e9b68314: Pulling fs layer 16:32:01 d32db5db7311: Pulling fs layer 16:32:01 d0c4b47475fc: Pulling fs layer 16:32:01 5831b945b038: Pulling fs layer 16:32:01 86bbec2aaacd: Pulling fs layer 16:32:01 e10730c5d714: Pulling fs layer 16:32:01 5dd5c2283517: Pulling fs layer 16:32:01 d5ac0230b979: Pulling fs layer 16:32:01 5831b945b038: Waiting 16:32:01 e10730c5d714: Waiting 16:32:01 86bbec2aaacd: Waiting 16:32:01 5dd5c2283517: Waiting 16:32:01 d5ac0230b979: Waiting 16:32:01 d0c4b47475fc: Verifying Checksum 16:32:01 d0c4b47475fc: Download complete 16:32:01 d32db5db7311: Download complete 16:32:01 86bbec2aaacd: Verifying Checksum 16:32:01 86bbec2aaacd: Download complete 16:32:01 e10730c5d714: Verifying Checksum 16:32:01 e10730c5d714: Download complete 16:32:01 9b18e9b68314: Verifying Checksum 16:32:01 9b18e9b68314: Download complete 16:32:01 9b18e9b68314: Pull complete 16:32:02 d5ac0230b979: Verifying Checksum 16:32:02 d5ac0230b979: Download complete 16:32:02 d32db5db7311: Pull complete 16:32:02 d0c4b47475fc: Pull complete 16:32:03 5dd5c2283517: Verifying Checksum 16:32:03 5dd5c2283517: Download complete 16:32:04 5831b945b038: Verifying Checksum 16:32:04 5831b945b038: Download complete 16:32:16 5831b945b038: Pull complete 16:32:16 86bbec2aaacd: Pull complete 16:32:16 e10730c5d714: Pull complete 16:32:23 5dd5c2283517: Pull complete 16:32:24 d5ac0230b979: Pull complete 16:32:24 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 16:32:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:32:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 16:32:25 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:25 + docker inspect -f . ci-base-image-arm64 16:32:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:25 prd-ubuntu20.04-docker-arm64-4c-16g-8578 does not seem to be running inside a container 16:32:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/77 -v /w/workspace/go-mod-bootstrap/77:/w/workspace/go-mod-bootstrap/77:rw,z -v /w/workspace/go-mod-bootstrap/77@tmp:/w/workspace/go-mod-bootstrap/77@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 ******** ci-base-image-arm64 cat 16:32:28 $ docker top cb43df3043b759e03d4d6e44c4a16344faf169fae8314e8f4c17ecf41f0cc12e -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:29 + go version 16:32:29 go version go1.18.7 linux/arm64 [Pipeline] } 16:32:29 $ docker stop --time=1 cb43df3043b759e03d4d6e44c4a16344faf169fae8314e8f4c17ecf41f0cc12e 16:32:31 $ docker rm -f cb43df3043b759e03d4d6e44c4a16344faf169fae8314e8f4c17ecf41f0cc12e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:31 + docker inspect -f . ci-base-image-arm64 16:32:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:32 prd-ubuntu20.04-docker-arm64-4c-16g-8578 does not seem to be running inside a container 16:32:32 $ 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/77 -v /w/workspace/go-mod-bootstrap/77:/w/workspace/go-mod-bootstrap/77:rw,z -v /w/workspace/go-mod-bootstrap/77@tmp:/w/workspace/go-mod-bootstrap/77@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 ******** ci-base-image-arm64 cat 16:32:33 $ docker top 4783dc981ae066941c126f1993f91051b384974467d10d14a2969ac60a7fa8fd -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:33 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/77 [Pipeline] fileExists [Pipeline] sh 16:32:34 + make test 16:32:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:32:34 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 16:32:34 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 16:32:34 go: downloading github.com/pelletier/go-toml v1.9.5 16:32:34 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.3.0-dev.8 16:32:34 go: downloading github.com/stretchr/testify v1.8.0 16:32:34 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 16:32:34 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 16:32:35 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 16:32:35 go: downloading github.com/google/uuid v1.3.0 16:32:35 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:32:35 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 16:32:35 go: downloading github.com/gorilla/mux v1.8.0 16:32:35 go: downloading github.com/go-kit/log v0.2.0 16:32:35 go: downloading github.com/davecgh/go-spew v1.1.1 16:32:35 go: downloading github.com/pmezard/go-difflib v1.0.0 16:32:35 go: downloading github.com/stretchr/objx v0.4.0 16:32:35 go: downloading gopkg.in/yaml.v3 v3.0.1 16:32:35 go: downloading github.com/go-playground/validator/v10 v10.10.1 16:32:35 go: downloading github.com/hashicorp/errwrap v1.0.0 16:32:35 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:32:35 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.1 16:32:35 go: downloading github.com/hashicorp/consul/api v1.9.1 16:32:35 go: downloading github.com/go-logfmt/logfmt v0.5.1 16:32:35 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:32:35 go: downloading github.com/gorilla/websocket v1.4.2 16:32:35 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 16:32:35 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 16:32:35 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:32:35 go: downloading github.com/pebbe/zmq4 v1.2.7 16:32:35 go: downloading github.com/x448/float16 v0.8.4 16:32:35 go: downloading github.com/go-playground/universal-translator v0.18.0 16:32:35 go: downloading github.com/leodido/go-urn v1.2.1 16:32:35 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 16:32:35 go: downloading golang.org/x/text v0.3.7 16:32:36 go: downloading github.com/zeebo/errs v1.2.2 16:32:36 go: downloading google.golang.org/grpc v1.46.0 16:32:37 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:32:37 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:32:37 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:32:37 go: downloading github.com/hashicorp/serf v0.9.5 16:32:37 go: downloading github.com/mitchellh/mapstructure v1.5.0 16:32:37 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:32:37 go: downloading github.com/mitchellh/copystructure v1.0.0 16:32:37 go: downloading github.com/go-playground/locales v0.14.0 16:32:37 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 16:32:37 go: downloading google.golang.org/protobuf v1.28.0 16:32:38 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 16:32:38 go: downloading github.com/fatih/color v1.9.0 16:32:38 go: downloading github.com/mattn/go-isatty v0.0.14 16:32:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:32:38 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:32:38 go: downloading github.com/golang/protobuf v1.5.2 16:32:38 go: downloading golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d 16:32:39 go: downloading github.com/mattn/go-colorable v0.1.12 16:32:39 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:32:39 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:34:16 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 16:34:16 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.070s coverage: 9.9% of statements 16:34:16 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 16:34:16 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.074s coverage: 92.5% of statements 16:34:16 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.032s coverage: 85.3% of statements 16:34:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 2.106s coverage: 42.8% of statements 16:34:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 16:34:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 16:34:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.085s coverage: 100.0% of statements 16:34:17 panic: runtime error: invalid memory address or nil pointer dereference 16:34:17 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x405010] 16:34:17 16:34:17 goroutine 67 [running]: 16:34:17 internal/fmtsort.compare({0x959420?, 0x400048a940?, 0x4000090d88?}, {0x959420?, 0x400048a900?, 0x4660c0?}) 16:34:17 /usr/local/go/src/internal/fmtsort/sort.go:108 +0x938 16:34:17 internal/fmtsort.(*SortedMap).Less(0x4000052800?, 0x400048a950?, 0x4000090e18?) 16:34:17 /usr/local/go/src/internal/fmtsort/sort.go:27 +0x64 16:34:17 sort.insertionSort({0xb38148, 0x40003e1920}, 0x0, 0x3) 16:34:17 /usr/local/go/src/sort/sort.go:40 +0xc0 16:34:17 sort.stable({0xb38148, 0x40003e1920}, 0x3) 16:34:17 /usr/local/go/src/sort/sort.go:390 +0x68 16:34:17 sort.Stable({0xb38148, 0x40003e1920}) 16:34:17 /usr/local/go/src/sort/sort.go:379 +0x40 16:34:17 internal/fmtsort.Sort({0x98b6a0?, 0x400003a040?, 0x400003a05c?}) 16:34:17 /usr/local/go/src/internal/fmtsort/sort.go:71 +0x2f0 16:34:17 fmt.(*pp).printValue(0x40004920d0, {0x98b6a0?, 0x400003a040?, 0x4100a8?}, 0x76, 0x2) 16:34:17 /usr/local/go/src/fmt/print.go:769 +0x3ec 16:34:17 fmt.(*pp).printValue(0x40004920d0, {0x9bbd80?, 0x400003a040?, 0x562694?}, 0x76, 0x1) 16:34:17 /usr/local/go/src/fmt/print.go:806 +0x10a4 16:34:17 fmt.(*pp).printValue(0x40004920d0, {0xa0bac0?, 0x400003a040?, 0xb323f0?}, 0x76, 0x0) 16:34:17 /usr/local/go/src/fmt/print.go:876 +0xbc0 16:34:17 fmt.(*pp).printArg(0x40004920d0, {0xa0bac0?, 0x400003a040}, 0x76) 16:34:17 /usr/local/go/src/fmt/print.go:712 +0x798 16:34:17 fmt.(*pp).doPrintf(0x40004920d0, {0xa4f789, 0xd}, {0x4000091960?, 0x1, 0x1}) 16:34:17 /usr/local/go/src/fmt/print.go:1122 +0x6f0 16:34:17 fmt.Sprintf({0xa4f789, 0xd}, {0x4000091960, 0x1, 0x1}) 16:34:17 /usr/local/go/src/fmt/print.go:219 +0x50 16:34:17 github.com/stretchr/testify/mock.Arguments.Diff({0x40003fac40, 0x2, 0x4000091a98?}, {0x4000335cc0, 0x2, 0x437ba8?}) 16:34:17 /go/pkg/mod/github.com/stretchr/testify@v1.8.0/mock/mock.go:883 +0x108 16:34:17 github.com/stretchr/testify/mock.(*Mock).findExpectedCall(0x4000091b08?, {0xc19a3b, 0x6}, {0x4000335cc0, 0x2, 0x2}) 16:34:17 /go/pkg/mod/github.com/stretchr/testify@v1.8.0/mock/mock.go:355 +0xd0 16:34:17 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x4000354960, {0xc19a3b, 0x6}, {0x4000335cc0, 0x2, 0x2}) 16:34:17 /go/pkg/mod/github.com/stretchr/testify@v1.8.0/mock/mock.go:460 +0xd0 16:34:17 github.com/stretchr/testify/mock.(*Mock).Called(0x4000091e18?, {0x4000335cc0, 0x2, 0x2}) 16:34:17 /go/pkg/mod/github.com/stretchr/testify@v1.8.0/mock/mock.go:450 +0x114 16:34:17 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks.(*MetricsReporter).Report(0x4000354960, {0xb3abf0?, 0x400003a040}, 0x40003e1890) 16:34:17 /w/workspace/go-mod-bootstrap/77/bootstrap/interfaces/mocks/MetricsReporter.go:17 +0xd0 16:34:17 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics.(*manager).Run.func1() 16:34:17 /w/workspace/go-mod-bootstrap/77/bootstrap/metrics/manager.go:112 +0x1f0 16:34:17 created by github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics.(*manager).Run 16:34:17 /w/workspace/go-mod-bootstrap/77/bootstrap/metrics/manager.go:100 +0x114 16:34:17 FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.380s 16:34:18 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.080s coverage: 25.0% of statements 16:34:25 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.110s coverage: 81.4% of statements 16:34:25 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 16:34:25 ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.037s coverage: 41.7% of statements 16:34:25 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.014s coverage: 91.3% of statements 16:34:25 FAIL 16:34:25 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 16:34:25 $ docker stop --time=1 4783dc981ae066941c126f1993f91051b384974467d10d14a2969ac60a7fa8fd 16:34:29 $ docker rm -f 4783dc981ae066941c126f1993f91051b384974467d10d14a2969ac60a7fa8fd [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:32 16:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:32 arm64: Pulling from edgex-lftools-log-publisher 16:34:32 8998bd30e6a1: Pulling fs layer 16:34:32 04944245beec: Pulling fs layer 16:34:32 699f458cf7ca: Pulling fs layer 16:34:32 765212b225bb: Pulling fs layer 16:34:32 f23df028b6ca: Pulling fs layer 16:34:32 d65c8cfc05b1: Pulling fs layer 16:34:32 2437ff75d9bd: Pulling fs layer 16:34:32 765212b225bb: Waiting 16:34:32 d65c8cfc05b1: Waiting 16:34:32 2437ff75d9bd: Waiting 16:34:32 f23df028b6ca: Waiting 16:34:32 04944245beec: Verifying Checksum 16:34:32 04944245beec: Download complete 16:34:32 765212b225bb: Verifying Checksum 16:34:32 765212b225bb: Download complete 16:34:32 f23df028b6ca: Verifying Checksum 16:34:32 f23df028b6ca: Download complete 16:34:32 d65c8cfc05b1: Verifying Checksum 16:34:32 d65c8cfc05b1: Download complete 16:34:33 699f458cf7ca: Verifying Checksum 16:34:33 699f458cf7ca: Download complete 16:34:33 8998bd30e6a1: Verifying Checksum 16:34:33 8998bd30e6a1: Download complete 16:34:35 2437ff75d9bd: Verifying Checksum 16:34:35 2437ff75d9bd: Download complete 16:34:37 8998bd30e6a1: Pull complete 16:34:37 04944245beec: Pull complete 16:34:39 699f458cf7ca: Pull complete 16:34:39 765212b225bb: Pull complete 16:34:40 f23df028b6ca: Pull complete 16:34:40 d65c8cfc05b1: Pull complete 16:34:55 2437ff75d9bd: Pull complete 16:34:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:55 prd-ubuntu20.04-docker-arm64-4c-16g-8578 does not seem to be running inside a container 16:34:55 $ 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/77 -v /w/workspace/go-mod-bootstrap/77:/w/workspace/go-mod-bootstrap/77:rw,z -v /w/workspace/go-mod-bootstrap/77@tmp:/w/workspace/go-mod-bootstrap/77@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:arm64 cat 16:34:58 $ docker top b2a3e4e74d2cfe29ffc45218d05200a00f0700af40a0bd210ca03795d5393664 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:59 ---> job-cost.sh 16:34:59 lf-activate-venv: SKIPPING 16:34:59 INFO: No Stack... 16:34:59 INFO: Retrieving Pricing Info for: v3-standard-4 16:35:00 INFO: Archiving Costs [Pipeline] sh 16:35:01 + cat /w/workspace/go-mod-bootstrap/77/archives/cost.csv 16:35:01 + cut -d, -f6 [Pipeline] lock 16:35:01 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] 16:35:01 Resource [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] did not exist. Created. 16:35:01 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:35:01 /w/workspace/go-mod-bootstrap/77@tmp/durable-e472f97f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:35:02 + echo total: 0.10999999940395355 [Pipeline] stash 16:35:02 Warning: overwriting stash ‘stack-cost’ 16:35:02 Stashed 1 file(s) [Pipeline] } 16:35:02 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 16:35:02 $ docker stop --time=1 b2a3e4e74d2cfe29ffc45218d05200a00f0700af40a0bd210ca03795d5393664 16:35:05 $ docker rm -f b2a3e4e74d2cfe29ffc45218d05200a00f0700af40a0bd210ca03795d5393664 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:35:05 Failed in branch arm64 [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 16:35:06 + [ -d /w/workspace/gexfoundry_go-mod-bootstrap_main/archives ] 16:35:06 + ls -al /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 16:35:06 total 16 16:35:06 drwxr-xr-x 3 root root 4096 Oct 19 16:30 . 16:35:06 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 16:30 .. 16:35:06 drwxr-xr-x 2 root root 4096 Oct 19 16:30 cost 16:35:06 -rw-r--r-- 1 root root 87 Oct 19 16:30 cost.csv 16:35:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 16:35:06 + ls -al /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 16:35:06 total 16 16:35:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 16:30 . 16:35:06 drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 16:30 .. 16:35:06 drwxr-xr-x 2 jenkins jenkins 4096 Oct 19 16:30 cost 16:35:06 -rw-r--r-- 1 jenkins jenkins 87 Oct 19 16:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:35:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:35:07 ---> package-listing.sh 16:35:07 ++ facter osfamily 16:35:07 ++ tr '[:upper:]' '[:lower:]' 16:35:07 + OS_FAMILY=debian 16:35:07 + workspace=/w/workspace/gexfoundry_go-mod-bootstrap_main 16:35:07 + START_PACKAGES=/tmp/packages_start.txt 16:35:07 + END_PACKAGES=/tmp/packages_end.txt 16:35:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:35:07 + PACKAGES=/tmp/packages_start.txt 16:35:07 + '[' /w/workspace/gexfoundry_go-mod-bootstrap_main ']' 16:35:07 + PACKAGES=/tmp/packages_end.txt 16:35:07 + case "${OS_FAMILY}" in 16:35:07 + dpkg -l 16:35:07 + grep '^ii' 16:35:07 + '[' -f /tmp/packages_start.txt ']' 16:35:07 + '[' -f /tmp/packages_end.txt ']' 16:35:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:35:07 + '[' /w/workspace/gexfoundry_go-mod-bootstrap_main ']' 16:35:07 + mkdir -p /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/ 16:35:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/ [Pipeline] echo 16:35:07 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 16:35:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:08 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 16:35:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:35:08 $ docker top 72310c97e5bc819e5f3efb9e8b3b63020485b8bb1be258ca6995414264b179bd -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:08 + touch /tmp/pre-build-complete [Pipeline] sh 16:35:09 + mkdir -p /var/log/sysstat [Pipeline] sh 16:35:09 + ls /var/log/sa-host 16:35:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:09 provisioning config files... 16:35:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/config4375955137854960891tmp [Pipeline] { [Pipeline] echo 16:35:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:35:10 ---> create-netrc.sh [Pipeline] } 16:35:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:35:10 ---> python-tools-install.sh [Pipeline] echo 16:35:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:35:10 ---> sudo-logs.sh 16:35:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:35:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:35:10 ---> job-cost.sh 16:35:10 lf-activate-venv: SKIPPING 16:35:10 DEBUG: total: 0.2199999988079071 16:35:10 INFO: Retrieving Stack Cost... 16:35:11 INFO: Retrieving Pricing Info for: v3-standard-8 16:35:11 INFO: Archiving Costs [Pipeline] echo 16:35:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:35:12 ---> logs-deploy.sh 16:35:12 lf-activate-venv: SKIPPING 16:35:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/main/77 16:35:12 INFO: archiving workspace using pattern(s): 16:35:13 Archives upload complete. 16:35:13 INFO: archiving logs to Nexus