Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7bfe6c0ffcb323c070954b07199cece6f79f3ba 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-ssh15590934023719239257.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh14472817914898568972.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6855921680206450710.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh14524552893808036935.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh684063935398711228.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41850 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 f7bfe6c0ffcb323c070954b07199cece6f79f3ba (main) > 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 f7bfe6c0ffcb323c070954b07199cece6f79f3ba # timeout=10 Commit message: "Build: Update change log for 2.2.0 (#337)" > git rev-list --no-walk 9e90773c253324884bef3249c78fa76c8e272f85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:03:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:03:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:03:32 ========================================================= 18:03:32 EdgeX Global Pipelines Version Info 18:03:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:03:33 ------------------- 18:03:33 stable info: 18:03:33 ------------------- 18:03:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:03:33 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 18:03:33 Message: update stable to v1.0.227 18:03:33 ------------------- 18:03:33 experimental info: 18:03:33 ------------------- 18:03:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:03:33 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 18:03:33 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:03:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 18:03:33 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 18:03:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7bfe6c0ffcb323c070954b07199cece6f79f3ba [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7bfe6c [Pipeline] echo 18:03:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:03:34 + git rev-list -1 --merges f7bfe6c0ffcb323c070954b07199cece6f79f3ba~1..f7bfe6c0ffcb323c070954b07199cece6f79f3ba [Pipeline] echo 18:03:34 -----------> git rev-list -1 --merges f7bfe6c0ffcb323c070954b07199cece6f79f3ba~1..f7bfe6c0ffcb323c070954b07199cece6f79f3ba f7bfe6c0ffcb323c070954b07199cece6f79f3ba [false] [Pipeline] sh 18:03:35 + git log --format=format:%s -1 f7bfe6c0ffcb323c070954b07199cece6f79f3ba [Pipeline] echo 18:03:35 ========================================================= 18:03:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:03:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:35 + git log --format=format:%s -1 f7bfe6c0ffcb323c070954b07199cece6f79f3ba [Pipeline] echo 18:03:35 [semverPrep] GIT_COMMIT: f7bfe6c0ffcb323c070954b07199cece6f79f3ba, Commit Message: Build: Update change log for 2.2.0 (#337) [Pipeline] echo 18:03:35 [semverPrep] This is not a build commit. [Pipeline] sh 18:03:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:03:35 + grep -v github /etc/ssh/ssh_known_hosts 18:03:35 + [ -e /tmp/ssh_known_hosts ] 18:03:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:03:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:03:35 + sudo tee -a /etc/ssh/ssh_known_hosts 18:03:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:03:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:03:36 18:03:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:03:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:03:36 latest: Pulling from edgex-devops/py-git-semver 18:03:36 1fe172e4850f: Pulling fs layer 18:03:36 caf521ccaac6: Pulling fs layer 18:03:36 3ead6fa29328: Pulling fs layer 18:03:36 5c2a1cbceb83: Pulling fs layer 18:03:36 a8d5f1318db7: Pulling fs layer 18:03:36 c427282e49a2: Pulling fs layer 18:03:36 1827001aaf11: Pulling fs layer 18:03:36 0714d37db230: Pulling fs layer 18:03:36 ac28cf19c067: Pulling fs layer 18:03:36 ca983d60f3e2: Pulling fs layer 18:03:36 9f894cec8388: Pulling fs layer 18:03:36 5c2a1cbceb83: Waiting 18:03:36 a8d5f1318db7: Waiting 18:03:36 0714d37db230: Waiting 18:03:36 9f894cec8388: Waiting 18:03:36 ac28cf19c067: Waiting 18:03:36 ca983d60f3e2: Waiting 18:03:36 c427282e49a2: Waiting 18:03:36 1827001aaf11: Waiting 18:03:37 caf521ccaac6: Verifying Checksum 18:03:37 caf521ccaac6: Download complete 18:03:37 5c2a1cbceb83: Verifying Checksum 18:03:37 5c2a1cbceb83: Download complete 18:03:37 a8d5f1318db7: Verifying Checksum 18:03:37 a8d5f1318db7: Download complete 18:03:37 3ead6fa29328: Verifying Checksum 18:03:37 3ead6fa29328: Download complete 18:03:37 0714d37db230: Download complete 18:03:37 ac28cf19c067: Verifying Checksum 18:03:37 ac28cf19c067: Download complete 18:03:37 ca983d60f3e2: Verifying Checksum 18:03:37 ca983d60f3e2: Download complete 18:03:37 9f894cec8388: Download complete 18:03:37 1fe172e4850f: Download complete 18:03:37 1827001aaf11: Verifying Checksum 18:03:37 1827001aaf11: Download complete 18:03:38 1fe172e4850f: Pull complete 18:03:38 caf521ccaac6: Pull complete 18:03:38 3ead6fa29328: Pull complete 18:03:39 5c2a1cbceb83: Pull complete 18:03:39 a8d5f1318db7: Pull complete 18:03:39 c427282e49a2: Pull complete 18:03:41 1827001aaf11: Pull complete 18:03:41 0714d37db230: Pull complete 18:03:41 ac28cf19c067: Pull complete 18:03:41 ca983d60f3e2: Pull complete 18:03:41 9f894cec8388: Pull complete 18:03:42 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 18:03:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:03:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 18:03:42 prd-ubuntu20.04-docker-8c-8g-41850 does not seem to be running inside a container 18:03:42 $ 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:latest cat 18:03:45 $ docker top 33236a693352c6299f3fc10f1ff8d0e1c4cf3c7057372d67b544a3cbc59aec5d -eo pid,comm 18:03:45 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). 18:03:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:03:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:45 [ssh-agent] Looking for ssh-agent implementation... 18:03:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:45 $ docker exec 33236a693352c6299f3fc10f1ff8d0e1c4cf3c7057372d67b544a3cbc59aec5d ssh-agent 18:03:45 SSH_AUTH_SOCK=/tmp/ssh-U0h7WIRgpV5z/agent.32 18:03:45 SSH_AGENT_PID=39 18:03:45 Running ssh-add (command line suppressed) 18:03:45 Identity added: /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_8565436716268317184.key (/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_8565436716268317184.key) 18:03:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:46 + git tag --points-at HEAD [Pipeline] } 18:03:46 $ docker exec --env ******** --env ******** 33236a693352c6299f3fc10f1ff8d0e1c4cf3c7057372d67b544a3cbc59aec5d ssh-agent -k 18:03:46 unset SSH_AUTH_SOCK; 18:03:46 unset SSH_AGENT_PID; 18:03:46 echo Agent pid 39 killed; 18:03:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:03:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:46 [ssh-agent] Looking for ssh-agent implementation... 18:03:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:46 $ docker exec 33236a693352c6299f3fc10f1ff8d0e1c4cf3c7057372d67b544a3cbc59aec5d ssh-agent 18:03:46 SSH_AUTH_SOCK=/tmp/ssh-a3sMsGQiN0fa/agent.73 18:03:46 SSH_AGENT_PID=80 18:03:46 Running ssh-add (command line suppressed) 18:03:46 Identity added: /w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_2772348465761815293.key (/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/private_key_2772348465761815293.key) 18:03:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:47 + git semver init 18:03:47 2022-05-09 18:03:47,220 [run_init] DEBUG init version:0.0.0 force:False 18:03:47 2022-05-09 18:03:47,220 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-bootstrap_main/.semver 18:03:47 2022-05-09 18:03:47,221 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver 18:03:47 2022-05-09 18:03:47,221 [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) 18:03:48 2022-05-09 18:03:48,033 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-bootstrap_main/.git/info/exclude 18:03:48 2022-05-09 18:03:48,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main with force:False 18:03:48 2022-05-09 18:03:48,034 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main 18:03:48 2022-05-09 18:03:48,034 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-bootstrap_main/.semver/main 18:03:48 2.2.0-dev.23 [Pipeline] } 18:03:48 $ docker exec --env ******** --env ******** 33236a693352c6299f3fc10f1ff8d0e1c4cf3c7057372d67b544a3cbc59aec5d ssh-agent -k 18:03:48 unset SSH_AUTH_SOCK; 18:03:48 unset SSH_AGENT_PID; 18:03:48 echo Agent pid 80 killed; 18:03:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:03:48 + git semver [Pipeline] } 18:03:48 $ docker stop --time=1 33236a693352c6299f3fc10f1ff8d0e1c4cf3c7057372d67b544a3cbc59aec5d 18:03:50 $ docker rm -f 33236a693352c6299f3fc10f1ff8d0e1c4cf3c7057372d67b544a3cbc59aec5d [Pipeline] // withDockerContainer [Pipeline] sh 18:03:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:03:51 Stashed 1 file(s) [Pipeline] echo 18:03:51 [edgeXSemver]: initialized semver on version 2.2.0-dev.23 [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 18:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:51 ========================================================= 18:03:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:03:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:03:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:03:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:03:51 59bf1c3509f3: Pulling fs layer 18:03:51 666ba61612fd: Pulling fs layer 18:03:51 8ed8ca486205: Pulling fs layer 18:03:51 4fe6c5a15a65: Pulling fs layer 18:03:51 22a0e8bec74d: Pulling fs layer 18:03:51 ca2b28591e48: Pulling fs layer 18:03:51 a51346096db8: Pulling fs layer 18:03:51 daebc70d1ce1: Pulling fs layer 18:03:51 0e18a0eac166: Pulling fs layer 18:03:51 ca2b28591e48: Waiting 18:03:51 a51346096db8: Waiting 18:03:51 daebc70d1ce1: Waiting 18:03:51 4fe6c5a15a65: Waiting 18:03:51 22a0e8bec74d: Waiting 18:03:51 8ed8ca486205: Verifying Checksum 18:03:51 8ed8ca486205: Download complete 18:03:51 666ba61612fd: Verifying Checksum 18:03:51 666ba61612fd: Download complete 18:03:51 22a0e8bec74d: Verifying Checksum 18:03:51 22a0e8bec74d: Download complete 18:03:51 ca2b28591e48: Verifying Checksum 18:03:51 ca2b28591e48: Download complete 18:03:51 a51346096db8: Verifying Checksum 18:03:51 a51346096db8: Download complete 18:03:51 59bf1c3509f3: Verifying Checksum 18:03:51 59bf1c3509f3: Download complete 18:03:51 daebc70d1ce1: Verifying Checksum 18:03:51 daebc70d1ce1: Download complete 18:03:51 59bf1c3509f3: Pull complete 18:03:51 666ba61612fd: Pull complete 18:03:52 8ed8ca486205: Pull complete 18:03:52 0e18a0eac166: Verifying Checksum 18:03:52 0e18a0eac166: Download complete 18:03:52 4fe6c5a15a65: Verifying Checksum 18:03:52 4fe6c5a15a65: Download complete 18:03:56 4fe6c5a15a65: Pull complete 18:03:56 22a0e8bec74d: Pull complete 18:03:56 ca2b28591e48: Pull complete 18:03:56 a51346096db8: Pull complete 18:03:56 daebc70d1ce1: Pull complete 18:03:58 0e18a0eac166: Pull complete 18:03:58 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 18:03:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:03:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 18:03:58 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 18:03:59 + docker inspect -f . ci-base-image-x86_64 18:03:59 . [Pipeline] withDockerContainer 18:03:59 prd-ubuntu20.04-docker-8c-8g-41850 does not seem to be running inside a container 18:03:59 $ 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 18:04:01 $ docker top a913a4838dae5756ab51eee59b71da80e3590b94516e0979089e55e21c6882f1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:01 + go version 18:04:01 go version go1.17.6 linux/amd64 [Pipeline] } 18:04:01 $ docker stop --time=1 a913a4838dae5756ab51eee59b71da80e3590b94516e0979089e55e21c6882f1 18:04:03 $ docker rm -f a913a4838dae5756ab51eee59b71da80e3590b94516e0979089e55e21c6882f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:04:03 + docker inspect -f . ci-base-image-x86_64 18:04:03 . [Pipeline] withDockerContainer 18:04:03 prd-ubuntu20.04-docker-8c-8g-41850 does not seem to be running inside a container 18:04:03 $ 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 18:04:03 $ docker top 900f81e3115dfb0c9159d2acb1b13bc8c516e72b475f2caad03cedd2dc63a6d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:04:04 + make test 18:04:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:04:04 go: downloading github.com/stretchr/testify v1.7.1 18:04:04 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 18:04:04 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.28 18:04:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 18:04:04 go: downloading github.com/google/uuid v1.3.0 18:04:04 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:04:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 18:04:04 go: downloading github.com/pelletier/go-toml v1.9.4 18:04:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 18:04:04 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 18:04:04 go: downloading github.com/gorilla/mux v1.8.0 18:04:04 go: downloading github.com/davecgh/go-spew v1.1.1 18:04:04 go: downloading github.com/pmezard/go-difflib v1.0.0 18:04:04 go: downloading github.com/stretchr/objx v0.1.1 18:04:04 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 18:04:04 go: downloading github.com/hashicorp/errwrap v1.0.0 18:04:04 go: downloading github.com/go-kit/log v0.2.0 18:04:04 go: downloading github.com/go-playground/validator/v10 v10.10.1 18:04:04 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 18:04:04 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 18:04:04 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:04:04 go: downloading github.com/pebbe/zmq4 v1.2.7 18:04:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:04:04 go: downloading github.com/hashicorp/consul/api v1.9.1 18:04:04 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:04:04 go: downloading github.com/go-logfmt/logfmt v0.5.1 18:04:04 go: downloading github.com/go-playground/universal-translator v0.18.0 18:04:04 go: downloading github.com/leodido/go-urn v1.2.1 18:04:04 go: downloading golang.org/x/text v0.3.7 18:04:04 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 18:04:04 go: downloading github.com/x448/float16 v0.8.4 18:04:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:04:04 go: downloading github.com/zeebo/errs v1.2.2 18:04:04 go: downloading github.com/mitchellh/copystructure v1.0.0 18:04:04 go: downloading google.golang.org/grpc v1.42.0 18:04:04 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:04:04 go: downloading github.com/gorilla/websocket v1.4.2 18:04:04 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 18:04:04 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 18:04:04 go: downloading google.golang.org/protobuf v1.27.1 18:04:04 go: downloading github.com/go-playground/locales v0.14.0 18:04:04 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:04:04 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:04:04 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:04:04 go: downloading github.com/hashicorp/serf v0.9.5 18:04:04 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:04:04 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 18:04:04 go: downloading github.com/fatih/color v1.9.0 18:04:04 go: downloading github.com/mattn/go-isatty v0.0.12 18:04:04 go: downloading github.com/golang/protobuf v1.5.2 18:04:04 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 18:04:04 go: downloading github.com/mattn/go-colorable v0.1.6 18:04:05 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:04:05 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:04:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:04:06 Still waiting to schedule task 18:04:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:04:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 18:04:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.038s coverage: 4.6% of statements 18:04:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 18:04:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.023s coverage: 92.2% of statements 18:04:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.011s coverage: 85.3% of statements 18:04:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.012s coverage: 54.9% of statements 18:04:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 18:04:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 18:04:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.010s coverage: 100.0% of statements 18:04:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.319s coverage: 88.1% of statements 18:04:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.026s coverage: 25.0% of statements 18:04:19 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.023s coverage: 79.6% of statements 18:04:19 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 18:04:19 ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.029s coverage: 41.7% of statements 18:04:19 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.002s coverage: 91.3% of statements 18:04:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:04:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:04:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 18:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:04:29 $ docker stop --time=1 900f81e3115dfb0c9159d2acb1b13bc8c516e72b475f2caad03cedd2dc63a6d9 18:04:32 $ docker rm -f 900f81e3115dfb0c9159d2acb1b13bc8c516e72b475f2caad03cedd2dc63a6d9 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:04:33 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] sh 18:04:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:33 18:04:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:04:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:34 latest: Pulling from edgex-lftools-log-publisher 18:04:34 5eb5b503b376: Pulling fs layer 18:04:34 5c69ac0246d0: Pulling fs layer 18:04:34 ec43610c2a17: Pulling fs layer 18:04:34 3a2ae6a8a46f: Pulling fs layer 18:04:34 33b1e0a273af: Pulling fs layer 18:04:34 5d3b04190fa2: Pulling fs layer 18:04:34 2f39f015ded8: Pulling fs layer 18:04:34 33b1e0a273af: Waiting 18:04:34 3a2ae6a8a46f: Waiting 18:04:34 2f39f015ded8: Waiting 18:04:34 5d3b04190fa2: Waiting 18:04:34 5c69ac0246d0: Download complete 18:04:34 3a2ae6a8a46f: Download complete 18:04:34 33b1e0a273af: Verifying Checksum 18:04:34 33b1e0a273af: Download complete 18:04:34 5d3b04190fa2: Verifying Checksum 18:04:34 5d3b04190fa2: Download complete 18:04:34 ec43610c2a17: Verifying Checksum 18:04:34 ec43610c2a17: Download complete 18:04:34 5eb5b503b376: Download complete 18:04:34 2f39f015ded8: Verifying Checksum 18:04:34 2f39f015ded8: Download complete 18:04:35 5eb5b503b376: Pull complete 18:04:35 5c69ac0246d0: Pull complete 18:04:36 ec43610c2a17: Pull complete 18:04:36 3a2ae6a8a46f: Pull complete 18:04:36 33b1e0a273af: Pull complete 18:04:36 5d3b04190fa2: Pull complete 18:04:40 2f39f015ded8: Pull complete 18:04:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:04:40 prd-ubuntu20.04-docker-8c-8g-41850 does not seem to be running inside a container 18:04:40 $ 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 18:04:43 $ docker top 09b4edd81750b2e29e47b89ddd99c17ad6ebb14a88e148eef2c3236999869bac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:43 ---> job-cost.sh 18:04:43 lf-activate-venv: SKIPPING 18:04:43 INFO: No Stack... 18:04:44 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:44 INFO: Archiving Costs [Pipeline] sh 18:04:44 + cat /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/cost.csv 18:04:44 + cut -d, -f6 [Pipeline] lock 18:04:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] 18:04:44 Resource [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] did not exist. Created. 18:04:44 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:44 + echo total: 0.2199999988079071 [Pipeline] stash 18:04:44 Stashed 1 file(s) [Pipeline] } 18:04:44 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:44 $ docker stop --time=1 09b4edd81750b2e29e47b89ddd99c17ad6ebb14a88e148eef2c3236999869bac 18:04:46 $ docker rm -f 09b4edd81750b2e29e47b89ddd99c17ad6ebb14a88e148eef2c3236999869bac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:06:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41855 in /w/workspace/gexfoundry_go-mod-bootstrap_main [Pipeline] { [Pipeline] ws 18:06:49 Running in /w/workspace/go-mod-bootstrap/49 [Pipeline] { [Pipeline] checkout 18:06:49 Selected Git installation does not exist. Using Default 18:06:49 The recommended git tool is: NONE 18:06:56 using credential edgex-jenkins-ssh 18:06:56 Cloning the remote Git repository 18:06:57 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 18:06:57 > git init /w/workspace/go-mod-bootstrap/49 # timeout=10 18:06:57 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 18:06:57 > git --version # timeout=10 18:06:57 > git --version # 'git version 2.25.1' 18:06:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:06:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:06:58 Avoid second fetch 18:06:58 Checking out Revision f7bfe6c0ffcb323c070954b07199cece6f79f3ba (main) 18:06:58 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 18:06:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:06:58 > git config core.sparsecheckout # timeout=10 18:06:58 > git checkout -f f7bfe6c0ffcb323c070954b07199cece6f79f3ba # timeout=10 18:07:03 Commit message: "Build: Update change log for 2.2.0 (#337)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:07:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:03 Dload Upload Total Spent Left Speed 18:07:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 18:07:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:07:04 + sudo tee /etc/docker/daemon.new 18:07:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:07:04 { 18:07:04 "registry-mirrors": [ 18:07:04 "https://nexus3.edgexfoundry.org:10001" 18:07:04 ], 18:07:04 "bip": "10.250.0.254/24", 18:07:04 "hosts": [ 18:07:04 "tcp://0.0.0.0:5555", 18:07:04 "unix:///var/run/docker.sock" 18:07:04 ], 18:07:04 "mtu": 1458, 18:07:04 "selinux-enabled": true, 18:07:04 "seccomp-profile": "/etc/docker/seccomp.json" 18:07:04 } [Pipeline] sh 18:07:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:07:05 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 18:07:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:07:24 ========================================================= 18:07:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:07:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:07:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:07:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:07:25 9b3977197b4f: Pulling fs layer 18:07:25 1a89e8eeedd5: Pulling fs layer 18:07:25 94645a83ff95: Pulling fs layer 18:07:25 3f3a8bcf1eab: Pulling fs layer 18:07:25 0c92f367c5e7: Pulling fs layer 18:07:25 3096ccb668a1: Pulling fs layer 18:07:25 e8cf19c19ddd: Pulling fs layer 18:07:25 a4caa8a26152: Pulling fs layer 18:07:25 3f3a8bcf1eab: Waiting 18:07:25 e8cf19c19ddd: Waiting 18:07:25 a4caa8a26152: Waiting 18:07:25 0c92f367c5e7: Waiting 18:07:25 3096ccb668a1: Waiting 18:07:25 94645a83ff95: Verifying Checksum 18:07:25 94645a83ff95: Download complete 18:07:25 1a89e8eeedd5: Verifying Checksum 18:07:25 1a89e8eeedd5: Download complete 18:07:25 0c92f367c5e7: Verifying Checksum 18:07:25 0c92f367c5e7: Download complete 18:07:25 3096ccb668a1: Verifying Checksum 18:07:25 3096ccb668a1: Download complete 18:07:25 9b3977197b4f: Verifying Checksum 18:07:25 9b3977197b4f: Download complete 18:07:25 e8cf19c19ddd: Verifying Checksum 18:07:25 e8cf19c19ddd: Download complete 18:07:26 9b3977197b4f: Pull complete 18:07:26 1a89e8eeedd5: Pull complete 18:07:27 94645a83ff95: Pull complete 18:07:27 a4caa8a26152: Verifying Checksum 18:07:27 a4caa8a26152: Download complete 18:07:28 3f3a8bcf1eab: Verifying Checksum 18:07:28 3f3a8bcf1eab: Download complete 18:07:40 3f3a8bcf1eab: Pull complete 18:07:40 0c92f367c5e7: Pull complete 18:07:40 3096ccb668a1: Pull complete 18:07:40 e8cf19c19ddd: Pull complete 18:07:47 a4caa8a26152: Pull complete 18:07:47 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 18:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:07:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 18:07:47 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 18:07:48 + docker inspect -f . ci-base-image-arm64 18:07:48 . [Pipeline] withDockerContainer 18:07:48 prd-ubuntu20.04-docker-arm64-4c-16g-41855 does not seem to be running inside a container 18:07:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/49 -v /w/workspace/go-mod-bootstrap/49:/w/workspace/go-mod-bootstrap/49:rw,z -v /w/workspace/go-mod-bootstrap/49@tmp:/w/workspace/go-mod-bootstrap/49@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 18:07:51 $ docker top 21e9d7f3bb9c20a41595b03cf385c413b63b6ce873afb1d450af2cad878d5e65 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:52 + go version 18:07:52 go version go1.17.6 linux/arm64 [Pipeline] } 18:07:52 $ docker stop --time=1 21e9d7f3bb9c20a41595b03cf385c413b63b6ce873afb1d450af2cad878d5e65 18:07:54 $ docker rm -f 21e9d7f3bb9c20a41595b03cf385c413b63b6ce873afb1d450af2cad878d5e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:07:55 + docker inspect -f . ci-base-image-arm64 18:07:55 . [Pipeline] withDockerContainer 18:07:55 prd-ubuntu20.04-docker-arm64-4c-16g-41855 does not seem to be running inside a container 18:07:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/49 -v /w/workspace/go-mod-bootstrap/49:/w/workspace/go-mod-bootstrap/49:rw,z -v /w/workspace/go-mod-bootstrap/49@tmp:/w/workspace/go-mod-bootstrap/49@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 18:07:56 $ docker top 0cb3c677525adf638adf8e80fef7f169bf7d8b59d65ed4ad427c52fc3185b54a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:07:57 + make test 18:07:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:07:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 18:07:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.28 18:07:57 go: downloading github.com/pelletier/go-toml v1.9.4 18:07:58 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 18:07:58 go: downloading github.com/stretchr/testify v1.7.1 18:07:58 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 18:07:58 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 18:07:58 go: downloading github.com/gorilla/mux v1.8.0 18:07:58 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 18:07:58 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:07:58 go: downloading github.com/google/uuid v1.3.0 18:07:58 go: downloading github.com/davecgh/go-spew v1.1.1 18:07:58 go: downloading github.com/pmezard/go-difflib v1.0.0 18:07:58 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 18:07:58 go: downloading github.com/go-kit/log v0.2.0 18:07:58 go: downloading github.com/stretchr/objx v0.1.1 18:07:58 go: downloading github.com/go-playground/validator/v10 v10.10.1 18:07:58 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 18:07:58 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 18:07:59 go: downloading github.com/hashicorp/errwrap v1.0.0 18:07:59 go: downloading github.com/hashicorp/consul/api v1.9.1 18:07:59 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:07:59 go: downloading github.com/go-logfmt/logfmt v0.5.1 18:07:59 go: downloading github.com/x448/float16 v0.8.4 18:07:59 go: downloading github.com/go-playground/universal-translator v0.18.0 18:07:59 go: downloading github.com/leodido/go-urn v1.2.1 18:07:59 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 18:07:59 go: downloading golang.org/x/text v0.3.7 18:07:59 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:07:59 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:07:59 go: downloading github.com/pebbe/zmq4 v1.2.7 18:07:59 go: downloading github.com/zeebo/errs v1.2.2 18:07:59 go: downloading google.golang.org/grpc v1.42.0 18:08:00 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:08:00 go: downloading github.com/mitchellh/copystructure v1.0.0 18:08:00 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:08:00 go: downloading github.com/go-playground/locales v0.14.0 18:08:00 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:08:00 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:08:00 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:08:00 go: downloading github.com/hashicorp/serf v0.9.5 18:08:00 go: downloading github.com/gorilla/websocket v1.4.2 18:08:00 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 18:08:01 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 18:08:01 go: downloading google.golang.org/protobuf v1.27.1 18:08:02 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 18:08:02 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:08:02 go: downloading github.com/fatih/color v1.9.0 18:08:02 go: downloading github.com/mattn/go-isatty v0.0.12 18:08:02 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:08:03 go: downloading github.com/golang/protobuf v1.5.2 18:08:03 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 18:08:03 go: downloading github.com/mattn/go-colorable v0.1.6 18:08:03 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:08:03 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:09:40 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 18:09:40 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.085s coverage: 4.6% of statements 18:09:40 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 18:09:40 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.083s coverage: 92.2% of statements 18:09:40 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.058s coverage: 85.3% of statements 18:09:42 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.093s coverage: 54.9% of statements 18:09:42 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 18:09:42 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 18:09:42 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.093s coverage: 100.0% of statements 18:09:43 fatal error: concurrent map iteration and map write 18:09:43 18:09:43 goroutine 52 [running]: 18:09:43 runtime.throw({0xa0daf2, 0x26}) 18:09:43 /usr/local/go/src/runtime/panic.go:1198 +0x54 fp=0x40004cef70 sp=0x40004cef40 pc=0x43b244 18:09:43 runtime.mapiternext(0x40004e4ea0) 18:09:43 /usr/local/go/src/runtime/map.go:858 +0x540 fp=0x40004ceff0 sp=0x40004cef70 pc=0x412c80 18:09:43 runtime.mapiterinit(0x94e6e0, 0x400009e5d0, 0x40004e4ea0) 18:09:43 /usr/local/go/src/runtime/map.go:848 +0x294 fp=0x40004cf020 sp=0x40004ceff0 pc=0x412714 18:09:43 reflect.mapiterinit(0x94e6e0, 0x400009e5d0) 18:09:43 /usr/local/go/src/runtime/map.go:1340 +0x4c fp=0x40004cf050 sp=0x40004cf020 pc=0x46a9fc 18:09:43 reflect.(*MapIter).Next(0x400032b320) 18:09:43 /usr/local/go/src/reflect/value.go:1626 +0x5c fp=0x40004cf080 sp=0x40004cf050 pc=0x4d31cc 18:09:43 internal/fmtsort.Sort({0x94e6e0, 0x40000d6000, 0x1b5}) 18:09:43 /usr/local/go/src/internal/fmtsort/sort.go:63 +0x14c fp=0x40004cf140 sp=0x40004cf080 pc=0x4dd93c 18:09:43 fmt.(*pp).printValue(0x40005112b0, {0x94e6e0, 0x40000d6000, 0x1b5}, 0x76, 0x2) 18:09:43 /usr/local/go/src/fmt/print.go:769 +0x3e0 fp=0x40004cf320 sp=0x40004cf140 pc=0x4e54a0 18:09:43 fmt.(*pp).printValue(0x40005112b0, {0x978280, 0x40000d6000, 0x199}, 0x76, 0x1) 18:09:43 /usr/local/go/src/fmt/print.go:806 +0x12dc fp=0x40004cf500 sp=0x40004cf320 pc=0x4e639c 18:09:43 fmt.(*pp).printValue(0x40005112b0, {0x9bde80, 0x40000d6000, 0x16}, 0x76, 0x0) 18:09:43 /usr/local/go/src/fmt/print.go:876 +0xce8 fp=0x40004cf6e0 sp=0x40004cf500 pc=0x4e5da8 18:09:43 fmt.(*pp).printArg(0x40005112b0, {0x9bde80, 0x40000d6000}, 0x76) 18:09:43 /usr/local/go/src/fmt/print.go:712 +0x8dc fp=0x40004cf780 sp=0x40004cf6e0 pc=0x4e504c 18:09:43 fmt.(*pp).doPrintf(0x40005112b0, {0x9fc0dc, 0xd}, {0x40004cfa80, 0x1, 0x1}) 18:09:43 /usr/local/go/src/fmt/print.go:1122 +0x798 fp=0x40004cf870 sp=0x40004cf780 pc=0x4e7f58 18:09:43 fmt.Sprintf({0x9fc0dc, 0xd}, {0x40004cfa80, 0x1, 0x1}) 18:09:43 /usr/local/go/src/fmt/print.go:219 +0x54 fp=0x40004cf8d0 sp=0x40004cf870 pc=0x4e1a34 18:09:43 github.com/stretchr/testify/mock.Arguments.Diff({0x400050d9e0, 0x2, 0x2}, {0x400032b2a0, 0x2, 0x2}) 18:09:43 /go/pkg/mod/github.com/stretchr/testify@v1.7.1/mock/mock.go:803 +0xf8 fp=0x40004cfb40 sp=0x40004cf8d0 pc=0x8bf308 18:09:43 github.com/stretchr/testify/mock.(*Mock).findExpectedCall(0x400051ab40, {0xb969c7, 0x6}, {0x400032b2a0, 0x2, 0x2}) 18:09:43 /go/pkg/mod/github.com/stretchr/testify@v1.7.1/mock/mock.go:295 +0xd8 fp=0x40004cfbc0 sp=0x40004cfb40 pc=0x8bbc78 18:09:43 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x400051ab40, {0xb969c7, 0x6}, {0x400032b2a0, 0x2, 0x2}) 18:09:43 /go/pkg/mod/github.com/stretchr/testify@v1.7.1/mock/mock.go:401 +0xcc fp=0x40004cfe20 sp=0x40004cfbc0 pc=0x8bc51c 18:09:43 github.com/stretchr/testify/mock.(*Mock).Called(0x400051ab40, {0x400032b2a0, 0x2, 0x2}) 18:09:43 /go/pkg/mod/github.com/stretchr/testify@v1.7.1/mock/mock.go:391 +0x178 fp=0x40004cfed0 sp=0x40004cfe20 pc=0x8bc3e8 18:09:43 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks.(*MetricsReporter).Report(0x400051ab40, {0xac52b8, 0x40000d6000}, 0x40004e2bd0) 18:09:43 /w/workspace/go-mod-bootstrap/49/bootstrap/interfaces/mocks/MetricsReporter.go:17 +0xc0 fp=0x40004cff40 sp=0x40004cfed0 pc=0x8c3270 18:09:43 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics.(*manager).Run.func1({0xabc910, 0x40000be000}, 0x400051abe0) 18:09:43 /w/workspace/go-mod-bootstrap/49/bootstrap/metrics/manager.go:112 +0x1b4 fp=0x40004cffc0 sp=0x40004cff40 pc=0x8c4554 18:09:43 runtime.goexit() 18:09:43 /usr/local/go/src/runtime/asm_arm64.s:1133 +0x4 fp=0x40004cffc0 sp=0x40004cffc0 pc=0x470934 18:09:43 created by github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics.(*manager).Run 18:09:43 /w/workspace/go-mod-bootstrap/49/bootstrap/metrics/manager.go:100 +0xd4 18:09:43 18:09:43 goroutine 1 [chan receive]: 18:09:43 testing.(*T).Run(0x400036f1e0, {0xa06f4c, 0x1d}, 0xa24d08) 18:09:43 /usr/local/go/src/testing/testing.go:1307 +0x36c 18:09:43 testing.runTests.func1(0x400036f1e0) 18:09:43 /usr/local/go/src/testing/testing.go:1598 +0x80 18:09:43 testing.tRunner(0x400036f1e0, 0x400029fce8) 18:09:43 /usr/local/go/src/testing/testing.go:1259 +0xf8 18:09:43 testing.runTests(0x40000b68e8, {0xe32fe0, 0xa, 0xa}, {0xc09674afb4d9b3dc, 0x8bb563db8d, 0xe9dc60}) 18:09:43 /usr/local/go/src/testing/testing.go:1596 +0x3f8 18:09:43 testing.(*M).Run(0x4000342480) 18:09:43 /usr/local/go/src/testing/testing.go:1504 +0x510 18:09:43 main.main() 18:09:43 _testmain.go:111 +0x228 18:09:43 18:09:43 goroutine 70 [chan receive]: 18:09:43 testing.(*T).Run(0x4000418820, {0x9ff58f, 0x12}, 0x40005beb40) 18:09:43 /usr/local/go/src/testing/testing.go:1307 +0x36c 18:09:43 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics.TestMessageBusReporter_Report(0x4000418820) 18:09:43 /w/workspace/go-mod-bootstrap/49/bootstrap/metrics/reporter_test.go:182 +0xe3c 18:09:43 testing.tRunner(0x4000418820, 0xa24d08) 18:09:43 /usr/local/go/src/testing/testing.go:1259 +0xf8 18:09:43 created by testing.(*T).Run 18:09:43 /usr/local/go/src/testing/testing.go:1306 +0x350 18:09:43 18:09:43 goroutine 22 [chan receive]: 18:09:43 github.com/rcrowley/go-metrics.(*meterArbiter).tick(0xe9d6c0) 18:09:43 /go/pkg/mod/github.com/rcrowley/go-metrics@v0.0.0-20181016184325-3113b8401b8a/meter.go:239 +0x34 18:09:43 created by github.com/rcrowley/go-metrics.NewMeter 18:09:43 /go/pkg/mod/github.com/rcrowley/go-metrics@v0.0.0-20181016184325-3113b8401b8a/meter.go:46 +0xec 18:09:43 18:09:43 goroutine 74 [runnable]: 18:09:43 sync.(*RWMutex).Unlock(0x40000d6008) 18:09:43 /usr/local/go/src/sync/rwmutex.go:131 +0x128 18:09:43 github.com/rcrowley/go-metrics.(*StandardRegistry).Unregister(0x40000d6000, {0x9fb539, 0xb}) 18:09:43 /go/pkg/mod/github.com/rcrowley/go-metrics@v0.0.0-20181016184325-3113b8401b8a/registry.go:191 +0xb4 18:09:43 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics.TestMessageBusReporter_Report.func1(0x40004191e0) 18:09:43 /w/workspace/go-mod-bootstrap/49/bootstrap/metrics/reporter_test.go:227 +0x6a8 18:09:43 testing.tRunner(0x40004191e0, 0x40005beb40) 18:09:43 /usr/local/go/src/testing/testing.go:1259 +0xf8 18:09:43 created by testing.(*T).Run 18:09:43 /usr/local/go/src/testing/testing.go:1306 +0x350 18:09:43 FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.402s 18:09:43 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.118s coverage: 25.0% of statements 18:09:53 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.102s coverage: 79.6% of statements 18:09:53 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 18:09:53 ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.076s coverage: 41.7% of statements 18:09:53 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.022s coverage: 91.3% of statements 18:09:53 FAIL 18:09:53 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 18:09:53 $ docker stop --time=1 0cb3c677525adf638adf8e80fef7f169bf7d8b59d65ed4ad427c52fc3185b54a 18:09:55 $ docker rm -f 0cb3c677525adf638adf8e80fef7f169bf7d8b59d65ed4ad427c52fc3185b54a [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] sh 18:09:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:09:58 18:09:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:09:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:09:59 arm64: Pulling from edgex-lftools-log-publisher 18:09:59 8998bd30e6a1: Pulling fs layer 18:09:59 04944245beec: Pulling fs layer 18:09:59 699f458cf7ca: Pulling fs layer 18:09:59 765212b225bb: Pulling fs layer 18:09:59 f23df028b6ca: Pulling fs layer 18:09:59 d65c8cfc05b1: Pulling fs layer 18:09:59 2437ff75d9bd: Pulling fs layer 18:09:59 765212b225bb: Waiting 18:09:59 f23df028b6ca: Waiting 18:09:59 d65c8cfc05b1: Waiting 18:09:59 04944245beec: Verifying Checksum 18:09:59 04944245beec: Download complete 18:09:59 765212b225bb: Verifying Checksum 18:09:59 765212b225bb: Download complete 18:09:59 f23df028b6ca: Verifying Checksum 18:09:59 f23df028b6ca: Download complete 18:09:59 d65c8cfc05b1: Verifying Checksum 18:09:59 d65c8cfc05b1: Download complete 18:09:59 699f458cf7ca: Verifying Checksum 18:09:59 699f458cf7ca: Download complete 18:10:00 8998bd30e6a1: Verifying Checksum 18:10:00 8998bd30e6a1: Download complete 18:10:02 2437ff75d9bd: Verifying Checksum 18:10:02 2437ff75d9bd: Download complete 18:10:04 8998bd30e6a1: Pull complete 18:10:05 04944245beec: Pull complete 18:10:06 699f458cf7ca: Pull complete 18:10:06 765212b225bb: Pull complete 18:10:07 f23df028b6ca: Pull complete 18:10:08 d65c8cfc05b1: Pull complete 18:10:23 2437ff75d9bd: Pull complete 18:10:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:10:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:10:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:10:23 prd-ubuntu20.04-docker-arm64-4c-16g-41855 does not seem to be running inside a container 18:10:23 $ 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/49 -v /w/workspace/go-mod-bootstrap/49:/w/workspace/go-mod-bootstrap/49:rw,z -v /w/workspace/go-mod-bootstrap/49@tmp:/w/workspace/go-mod-bootstrap/49@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 18:10:26 $ docker top ce206b0db39b1219b88bd9d3d7a4da78acfa42c7f28660a8b69a179513bc2a32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:27 ---> job-cost.sh 18:10:27 lf-activate-venv: SKIPPING 18:10:27 INFO: No Stack... 18:10:27 INFO: Retrieving Pricing Info for: v3-standard-4 18:10:28 INFO: Archiving Costs [Pipeline] sh 18:10:29 + cat /w/workspace/go-mod-bootstrap/49/archives/cost.csv 18:10:29 + cut -d, -f6 [Pipeline] lock 18:10:29 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] 18:10:29 Resource [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] did not exist. Created. 18:10:29 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:10:30 /w/workspace/go-mod-bootstrap/49@tmp/durable-c45f3b1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:10:30 + echo total: 0.10999999940395355 [Pipeline] stash 18:10:30 Warning: overwriting stash ‘stack-cost’ 18:10:31 Stashed 1 file(s) [Pipeline] } 18:10:31 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 18:10:31 $ docker stop --time=1 ce206b0db39b1219b88bd9d3d7a4da78acfa42c7f28660a8b69a179513bc2a32 18:10:33 $ docker rm -f ce206b0db39b1219b88bd9d3d7a4da78acfa42c7f28660a8b69a179513bc2a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:10:33 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 18:10:34 + [ -d /w/workspace/gexfoundry_go-mod-bootstrap_main/archives ] 18:10:34 + ls -al /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 18:10:34 total 16 18:10:34 drwxr-xr-x 3 root root 4096 May 9 18:04 . 18:10:34 drwxrwxr-x 9 jenkins jenkins 4096 May 9 18:04 .. 18:10:34 drwxr-xr-x 2 root root 4096 May 9 18:04 cost 18:10:34 -rw-r--r-- 1 root root 86 May 9 18:04 cost.csv 18:10:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 18:10:34 + ls -al /w/workspace/gexfoundry_go-mod-bootstrap_main/archives 18:10:34 total 16 18:10:34 drwxr-xr-x 3 jenkins jenkins 4096 May 9 18:04 . 18:10:34 drwxrwxr-x 9 jenkins jenkins 4096 May 9 18:04 .. 18:10:34 drwxr-xr-x 2 jenkins jenkins 4096 May 9 18:04 cost 18:10:34 -rw-r--r-- 1 jenkins jenkins 86 May 9 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:10:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:10:35 ---> package-listing.sh 18:10:35 ++ facter osfamily 18:10:35 ++ tr '[:upper:]' '[:lower:]' 18:10:35 + OS_FAMILY=debian 18:10:35 + workspace=/w/workspace/gexfoundry_go-mod-bootstrap_main 18:10:35 + START_PACKAGES=/tmp/packages_start.txt 18:10:35 + END_PACKAGES=/tmp/packages_end.txt 18:10:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:10:35 + PACKAGES=/tmp/packages_start.txt 18:10:35 + '[' /w/workspace/gexfoundry_go-mod-bootstrap_main ']' 18:10:35 + PACKAGES=/tmp/packages_end.txt 18:10:35 + case "${OS_FAMILY}" in 18:10:35 + dpkg -l 18:10:35 + grep '^ii' 18:10:35 + '[' -f /tmp/packages_start.txt ']' 18:10:35 + '[' -f /tmp/packages_end.txt ']' 18:10:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:10:35 + '[' /w/workspace/gexfoundry_go-mod-bootstrap_main ']' 18:10:35 + mkdir -p /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/ 18:10:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-bootstrap_main/archives/ [Pipeline] echo 18:10:35 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 18:10:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:10:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:10:36 . [Pipeline] withDockerContainer 18:10:36 prd-ubuntu20.04-docker-8c-8g-41850 does not seem to be running inside a container 18:10:36 $ 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 18:10:36 $ docker top 1548df58e4c218979d15b802827603bda535c4bd20c3713faaddb83f2446a2ef -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:37 + touch /tmp/pre-build-complete [Pipeline] sh 18:10:37 + mkdir -p /var/log/sysstat [Pipeline] sh 18:10:37 + ls /var/log/sa-host 18:10:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:10:37 provisioning config files... 18:10:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-bootstrap_main@tmp/config8667557180092166402tmp [Pipeline] { [Pipeline] echo 18:10:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:10:38 ---> create-netrc.sh [Pipeline] } 18:10:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:10:38 ---> python-tools-install.sh [Pipeline] echo 18:10:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:10:38 ---> sudo-logs.sh 18:10:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:10:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:10:39 ---> job-cost.sh 18:10:39 lf-activate-venv: SKIPPING 18:10:39 DEBUG: total: 0.2199999988079071 18:10:39 INFO: Retrieving Stack Cost... 18:10:39 INFO: Retrieving Pricing Info for: v3-standard-8 18:10:40 INFO: Archiving Costs [Pipeline] echo 18:10:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:10:40 ---> logs-deploy.sh 18:10:40 lf-activate-venv: SKIPPING 18:10:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/main/49 18:10:40 INFO: archiving workspace using pattern(s): 18:10:41 Archives upload complete. 18:10:41 INFO: archiving logs to Nexus