Pull request #305 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 08573bbfd931317508999ff6f49fcfc57c235ea6+70014b9e95730daa22e8c7eb0adf351f909bdfff (a446714d0cff4a66028101f205ca4f320757148c) 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-ssh11807532981160327209.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh3069174130037471756.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-305/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/PR-305/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9919068259863969300.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh12159144126019499330.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-305/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/PR-305/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2762364020266224965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4846 in /w/workspace/xfoundry_go-mod-bootstrap_PR-305 [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/xfoundry_go-mod-bootstrap_PR-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/jenkins-gitclient-ssh145041670687759128.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 70014b9e95730daa22e8c7eb0adf351f909bdfff into PR head commit 08573bbfd931317508999ff6f49fcfc57c235ea6 Merge succeeded, producing 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e Checking out Revision 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e (PR-305) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/jenkins-gitclient-ssh4151530293091465210.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08573bbfd931317508999ff6f49fcfc57c235ea6 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/jenkins-gitclient-ssh4167453478961908169.key > git merge 70014b9e95730daa22e8c7eb0adf351f909bdfff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e # timeout=10 Commit message: "Merge commit '70014b9e95730daa22e8c7eb0adf351f909bdfff' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 6314f91af8e2d5ef12a0c3bd039cf5e4f03e8afa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:24:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:24:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:24:21 ========================================================= 19:24:21 EdgeX Global Pipelines Version Info 19:24:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:24:22 ------------------- 19:24:22 stable info: 19:24:22 ------------------- 19:24:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:24:22 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 19:24:22 Message: update stable to v1.0.220 19:24:23 ------------------- 19:24:23 experimental info: 19:24:23 ------------------- 19:24:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:24:23 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 19:24:23 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 19:24:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 19:24:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e [Pipeline] echo 19:24:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b72cb3 [Pipeline] echo 19:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:24:24 + git rev-list -1 --merges 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e~1..9b72cb3dc51b9df45a1c229d493e8bf73ad0200e [Pipeline] echo 19:24:24 -----------> git rev-list -1 --merges 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e~1..9b72cb3dc51b9df45a1c229d493e8bf73ad0200e 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e 19:24:24 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e [false] [Pipeline] sh 19:24:24 + git log --format=format:%s -1 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e [Pipeline] echo 19:24:24 ========================================================= 19:24:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:24:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:24:25 + git log --format=format:%s -1 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e [Pipeline] echo 19:24:25 [semverPrep] GIT_COMMIT: 9b72cb3dc51b9df45a1c229d493e8bf73ad0200e, Commit Message: Merge commit '70014b9e95730daa22e8c7eb0adf351f909bdfff' into HEAD [Pipeline] echo 19:24:25 [semverPrep] This is not a build commit. [Pipeline] sh 19:24:25 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 19:24:25 + grep -v github /etc/ssh/ssh_known_hosts 19:24:25 + '[' -e /tmp/ssh_known_hosts ']' 19:24:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:24:25 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 19:24:25 + sudo tee -a /etc/ssh/ssh_known_hosts 19:24:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:24:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:24:26 19:24:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:24:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:24:26 latest: Pulling from edgex-devops/git-semver 19:24:26 a0d0a0d46f8b: Pulling fs layer 19:24:26 3e5f54012d9b: Pulling fs layer 19:24:26 4c7163046ea9: Pulling fs layer 19:24:26 0c2d73faf560: Pulling fs layer 19:24:26 0c2d73faf560: Waiting 19:24:26 3e5f54012d9b: Verifying Checksum 19:24:26 3e5f54012d9b: Download complete 19:24:26 a0d0a0d46f8b: Verifying Checksum 19:24:26 a0d0a0d46f8b: Download complete 19:24:26 4c7163046ea9: Verifying Checksum 19:24:26 4c7163046ea9: Download complete 19:24:26 0c2d73faf560: Verifying Checksum 19:24:26 0c2d73faf560: Download complete 19:24:26 a0d0a0d46f8b: Pull complete 19:24:26 3e5f54012d9b: Pull complete 19:24:26 4c7163046ea9: Pull complete 19:24:27 0c2d73faf560: Pull complete 19:24:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:24:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:24:27 prd-centos7-docker-4c-2g-4846 does not seem to be running inside a container 19:24:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-305 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305:/w/workspace/xfoundry_go-mod-bootstrap_PR-305:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:24:27 $ docker top e531dce875ed50ba2d655caa6fefc1a37915ac582e7e08884cea4ed6c68ca8c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:24:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:24:28 [ssh-agent] Looking for ssh-agent implementation... 19:24:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:24:28 $ docker exec e531dce875ed50ba2d655caa6fefc1a37915ac582e7e08884cea4ed6c68ca8c1 ssh-agent 19:24:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBIlKAh/agent.14 19:24:28 SSH_AGENT_PID=21 19:24:28 Running ssh-add (command line suppressed) 19:24:28 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_5669671628043510012.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_5669671628043510012.key) 19:24:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:24:28 + git tag --points-at HEAD [Pipeline] } 19:24:28 $ docker exec --env ******** --env ******** e531dce875ed50ba2d655caa6fefc1a37915ac582e7e08884cea4ed6c68ca8c1 ssh-agent -k 19:24:28 unset SSH_AUTH_SOCK; 19:24:28 unset SSH_AGENT_PID; 19:24:28 echo Agent pid 21 killed; 19:24:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:24:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:24:28 [ssh-agent] Looking for ssh-agent implementation... 19:24:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:24:28 $ docker exec e531dce875ed50ba2d655caa6fefc1a37915ac582e7e08884cea4ed6c68ca8c1 ssh-agent 19:24:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdMKbCI/agent.54 19:24:29 SSH_AGENT_PID=60 19:24:29 Running ssh-add (command line suppressed) 19:24:29 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_4336517240817060584.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_4336517240817060584.key) 19:24:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:24:29 + git semver init 19:24:29 # -> Open(): unable to determine branch for HEAD 19:24:29 # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-305/.git 19:24:29 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-305 19:24:29 # $SEMVER_REMOTE_NAME = origin 19:24:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:24:29 # $SEMVER_USER_NAME = edgex-jenkins 19:24:29 # $SEMVER_BRANCH = PR-305 19:24:29 # $SEMVER_TEMP = /tmp/semver-965515559 19:24:29 # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP 19:24:30 # '/tmp/semver-965515559' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-305/.semver' 19:24:30 # -> Force: false 19:24:30 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-305/.semver [Pipeline] } 19:24:30 $ docker exec --env ******** --env ******** e531dce875ed50ba2d655caa6fefc1a37915ac582e7e08884cea4ed6c68ca8c1 ssh-agent -k 19:24:30 unset SSH_AUTH_SOCK; 19:24:30 unset SSH_AGENT_PID; 19:24:30 echo Agent pid 60 killed; 19:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:24:30 + git semver [Pipeline] } 19:24:30 $ docker stop --time=1 e531dce875ed50ba2d655caa6fefc1a37915ac582e7e08884cea4ed6c68ca8c1 19:24:32 $ docker rm -f e531dce875ed50ba2d655caa6fefc1a37915ac582e7e08884cea4ed6c68ca8c1 [Pipeline] // withDockerContainer [Pipeline] sh 19:24:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:24:32 Stashed 1 file(s) [Pipeline] echo 19:24:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:24:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:24:32 ========================================================= 19:24:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:24:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 19:24:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:24:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:24:33 59bf1c3509f3: Pulling fs layer 19:24:33 666ba61612fd: Pulling fs layer 19:24:33 8ed8ca486205: Pulling fs layer 19:24:33 4fe6c5a15a65: Pulling fs layer 19:24:33 22a0e8bec74d: Pulling fs layer 19:24:33 640e595b4fbd: Pulling fs layer 19:24:33 763cafe07f6e: Pulling fs layer 19:24:33 0c0b528cf693: Pulling fs layer 19:24:33 10935f4eaf8b: Pulling fs layer 19:24:33 4fe6c5a15a65: Waiting 19:24:33 22a0e8bec74d: Waiting 19:24:33 640e595b4fbd: Waiting 19:24:33 763cafe07f6e: Waiting 19:24:33 0c0b528cf693: Waiting 19:24:33 10935f4eaf8b: Waiting 19:24:33 8ed8ca486205: Verifying Checksum 19:24:33 8ed8ca486205: Download complete 19:24:33 666ba61612fd: Verifying Checksum 19:24:33 666ba61612fd: Download complete 19:24:33 22a0e8bec74d: Verifying Checksum 19:24:33 22a0e8bec74d: Download complete 19:24:33 640e595b4fbd: Verifying Checksum 19:24:33 640e595b4fbd: Download complete 19:24:33 763cafe07f6e: Verifying Checksum 19:24:33 763cafe07f6e: Download complete 19:24:33 59bf1c3509f3: Verifying Checksum 19:24:33 59bf1c3509f3: Download complete 19:24:33 0c0b528cf693: Verifying Checksum 19:24:33 0c0b528cf693: Download complete 19:24:33 4fe6c5a15a65: Verifying Checksum 19:24:33 4fe6c5a15a65: Download complete 19:24:33 10935f4eaf8b: Download complete 19:24:33 59bf1c3509f3: Pull complete 19:24:34 666ba61612fd: Pull complete 19:24:34 8ed8ca486205: Pull complete 19:24:38 4fe6c5a15a65: Pull complete 19:24:38 22a0e8bec74d: Pull complete 19:24:38 640e595b4fbd: Pull complete 19:24:38 763cafe07f6e: Pull complete 19:24:38 0c0b528cf693: Pull complete 19:24:41 10935f4eaf8b: Pull complete 19:24:41 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 19:24:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:24:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 19:24:41 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 19:24:41 + docker inspect -f . ci-base-image-x86_64 19:24:41 . [Pipeline] withDockerContainer 19:24:41 prd-centos7-docker-4c-2g-4846 does not seem to be running inside a container 19:24:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-305 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305:/w/workspace/xfoundry_go-mod-bootstrap_PR-305:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:24:43 $ docker top 4f35a10d42e4d777aead633b64fe0dbb464479a3c304a8525110a3b8fd0dd3d7 -eo pid,comm [Pipeline] { [Pipeline] sh 19:24:44 + go version 19:24:44 go version go1.17.6 linux/amd64 [Pipeline] } 19:24:44 $ docker stop --time=1 4f35a10d42e4d777aead633b64fe0dbb464479a3c304a8525110a3b8fd0dd3d7 19:24:45 $ docker rm -f 4f35a10d42e4d777aead633b64fe0dbb464479a3c304a8525110a3b8fd0dd3d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:24:45 + docker inspect -f . ci-base-image-x86_64 19:24:45 . [Pipeline] withDockerContainer 19:24:45 prd-centos7-docker-4c-2g-4846 does not seem to be running inside a container 19:24:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-305 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305:/w/workspace/xfoundry_go-mod-bootstrap_PR-305:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:24:46 $ docker top c3771a6fc299e45a52d15359590327d65546e741ef46064d7086b221e06323c1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:24:46 + make test 19:24:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:24:46 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 19:24:46 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 19:24:46 go: downloading github.com/pelletier/go-toml v1.9.4 19:24:46 go: downloading github.com/stretchr/testify v1.7.0 19:24:46 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 19:24:46 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 19:24:47 go: downloading github.com/gorilla/mux v1.8.0 19:24:47 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:24:47 go: downloading github.com/davecgh/go-spew v1.1.1 19:24:47 go: downloading github.com/pmezard/go-difflib v1.0.0 19:24:47 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 19:24:47 go: downloading github.com/go-kit/kit v0.11.0 19:24:47 go: downloading github.com/go-playground/validator/v10 v10.9.0 19:24:47 go: downloading github.com/google/uuid v1.3.0 19:24:47 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:24:47 go: downloading github.com/stretchr/objx v0.1.1 19:24:47 go: downloading github.com/hashicorp/consul/api v1.9.1 19:24:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:24:47 go: downloading github.com/hashicorp/errwrap v1.0.0 19:24:47 go: downloading github.com/go-playground/universal-translator v0.18.0 19:24:47 go: downloading github.com/leodido/go-urn v1.2.1 19:24:47 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 19:24:47 go: downloading golang.org/x/text v0.3.6 19:24:47 go: downloading github.com/go-logfmt/logfmt v0.5.0 19:24:47 go: downloading github.com/x448/float16 v0.8.4 19:24:47 Still waiting to schedule task 19:24:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:24:48 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:24:48 go: downloading github.com/mitchellh/copystructure v1.0.0 19:24:48 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:24:48 go: downloading github.com/go-playground/locales v0.14.0 19:24:48 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:24:48 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:24:48 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:24:48 go: downloading github.com/hashicorp/serf v0.9.5 19:24:48 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:24:48 go: downloading github.com/fatih/color v1.9.0 19:24:48 go: downloading github.com/mattn/go-isatty v0.0.12 19:24:48 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:24:48 go: downloading github.com/mattn/go-colorable v0.1.6 19:24:48 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 19:24:48 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:24:48 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:25:03 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 19:25:03 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.006s coverage: 5.1% of statements 19:25:03 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 19:25:03 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.007s coverage: 92.2% of statements 19:25:03 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.003s coverage: 85.3% of statements 19:25:03 --- FAIL: TestClientsBootstrapHandler (0.00s) 19:25:03 --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap_using_registry (0.00s) 19:25:03 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 19:25:03 panic: runtime error: invalid memory address or nil pointer dereference 19:25:03 [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5cf09d] 19:25:03 19:25:03 goroutine 8 [running]: 19:25:03 testing.tRunner.func1.2({0x604f20, 0x817510}) 19:25:03 /usr/local/go/src/testing/testing.go:1209 +0x24e 19:25:03 testing.tRunner.func1() 19:25:03 /usr/local/go/src/testing/testing.go:1212 +0x218 19:25:03 panic({0x604f20, 0x817510}) 19:25:03 /usr/local/go/src/runtime/panic.go:1038 +0x215 19:25:03 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers.(*ClientsBootstrap).getClientUrl(0xc00013fa80, {0x6507ad, 0xd}, {0xc0001d2af8, 0x0}, {{0xc078cec3f2126fc0, 0x37a828, 0x825d60}, 0x3b9aca00, 0x3b9aca00}, ...) 19:25:03 /w/workspace/xfoundry_go-mod-bootstrap_PR-305/bootstrap/handlers/clients.go:134 +0x2dd 19:25:03 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0xc00013fa80, {0x6a1f90, 0xc00001a160}, 0xc000069944, {{0xc078cec3f2126fc0, 0x37a828, 0x825d60}, 0x3b9aca00, 0x3b9aca00}, 0xc00030d8c0) 19:25:03 /w/workspace/xfoundry_go-mod-bootstrap_PR-305/bootstrap/handlers/clients.go:58 +0x426 19:25:03 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers.TestClientsBootstrapHandler.func1(0xc00035a1a0) 19:25:03 /w/workspace/xfoundry_go-mod-bootstrap_PR-305/bootstrap/handlers/clients_test.go:200 +0x705 19:25:03 testing.tRunner(0xc00035a1a0, 0xc00030a400) 19:25:03 /usr/local/go/src/testing/testing.go:1259 +0x102 19:25:03 created by testing.(*T).Run 19:25:03 /usr/local/go/src/testing/testing.go:1306 +0x35a 19:25:03 FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.010s 19:25:03 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 19:25:03 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 19:25:04 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.009s coverage: 100.0% of statements 19:25:04 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.008s coverage: 25.0% of statements 19:25:07 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.018s coverage: 79.7% of statements 19:25:07 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 19:25:07 ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] 19:25:07 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.017s coverage: 91.3% of statements 19:25:07 FAIL 19:25:07 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 19:25:07 $ docker stop --time=1 c3771a6fc299e45a52d15359590327d65546e741ef46064d7086b221e06323c1 19:25:09 $ docker rm -f c3771a6fc299e45a52d15359590327d65546e741ef46064d7086b221e06323c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:25:10 19:25:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:25:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:25:10 latest: Pulling from edgex-lftools-log-publisher 19:25:10 b4d181a07f80: Pulling fs layer 19:25:10 a1111a8f2ec3: Pulling fs layer 19:25:10 ed53099fbce6: Pulling fs layer 19:25:10 dc539afda2c1: Pulling fs layer 19:25:10 77bc0d833cb6: Pulling fs layer 19:25:10 9065ff56babe: Pulling fs layer 19:25:10 d287ab97295c: Pulling fs layer 19:25:10 dc539afda2c1: Waiting 19:25:10 77bc0d833cb6: Waiting 19:25:10 9065ff56babe: Waiting 19:25:10 d287ab97295c: Waiting 19:25:10 a1111a8f2ec3: Verifying Checksum 19:25:10 a1111a8f2ec3: Download complete 19:25:10 dc539afda2c1: Verifying Checksum 19:25:10 dc539afda2c1: Download complete 19:25:11 ed53099fbce6: Verifying Checksum 19:25:11 ed53099fbce6: Download complete 19:25:11 9065ff56babe: Verifying Checksum 19:25:11 9065ff56babe: Download complete 19:25:11 77bc0d833cb6: Verifying Checksum 19:25:11 77bc0d833cb6: Download complete 19:25:11 b4d181a07f80: Verifying Checksum 19:25:11 b4d181a07f80: Download complete 19:25:11 d287ab97295c: Verifying Checksum 19:25:11 d287ab97295c: Download complete 19:25:12 b4d181a07f80: Pull complete 19:25:12 a1111a8f2ec3: Pull complete 19:25:13 ed53099fbce6: Pull complete 19:25:13 dc539afda2c1: Pull complete 19:25:13 77bc0d833cb6: Pull complete 19:25:14 9065ff56babe: Pull complete 19:25:19 d287ab97295c: Pull complete 19:25:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:25:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:25:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:25:19 prd-centos7-docker-4c-2g-4846 does not seem to be running inside a container 19:25:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-305 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305:/w/workspace/xfoundry_go-mod-bootstrap_PR-305:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:25:21 $ docker top 7821b2c1d2be2dedc4aef3dc7dcf9dc8be76cc062da46dc83cf1ad32327e2cd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:25:22 ---> job-cost.sh 19:25:22 lf-activate-venv: SKIPPING 19:25:22 INFO: No Stack... 19:25:22 INFO: Retrieving Pricing Info for: v3-standard-2 19:25:22 INFO: Archiving Costs [Pipeline] sh 19:25:23 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives/cost.csv 19:25:23 + cut -d, -f6 [Pipeline] lock 19:25:23 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] 19:25:23 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] did not exist. Created. 19:25:23 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:25:23 + echo total: 0.05999999865889549 [Pipeline] stash 19:25:23 Stashed 1 file(s) [Pipeline] } 19:25:23 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] [Pipeline] // lock [Pipeline] } 19:25:23 $ docker stop --time=1 7821b2c1d2be2dedc4aef3dc7dcf9dc8be76cc062da46dc83cf1ad32327e2cd4 19:25:24 $ docker rm -f 7821b2c1d2be2dedc4aef3dc7dcf9dc8be76cc062da46dc83cf1ad32327e2cd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:25:24 Failed in branch amd64 19:26:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4847 in /w/workspace/xfoundry_go-mod-bootstrap_PR-305 [Pipeline] { [Pipeline] ws 19:26:15 Running in /w/workspace/go-mod-bootstrap/8 [Pipeline] { [Pipeline] checkout 19:26:16 Selected Git installation does not exist. Using Default 19:26:16 The recommended git tool is: NONE 19:26:20 using credential edgex-jenkins-ssh 19:26:20 Cloning the remote Git repository 19:26:21 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 19:26:21 > git init /w/workspace/go-mod-bootstrap/8 # timeout=10 19:26:21 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 19:26:21 > git --version # timeout=10 19:26:21 > git --version # 'git version 2.17.1' 19:26:21 using GIT_SSH to set credentials SSH Credentials for GitHub 19:26:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:26:23 Merging remotes/origin/main commit 70014b9e95730daa22e8c7eb0adf351f909bdfff into PR head commit 08573bbfd931317508999ff6f49fcfc57c235ea6 19:26:22 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 19:26:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:26:22 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 19:26:22 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 19:26:22 using GIT_SSH to set credentials SSH Credentials for GitHub 19:26:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:26:23 > git config core.sparsecheckout # timeout=10 19:26:23 > git checkout -f 08573bbfd931317508999ff6f49fcfc57c235ea6 # timeout=10 19:26:23 > git remote # timeout=10 19:26:23 Merge succeeded, producing e40b64687868f377e45ef9ab83e1ddc5b902ccb0 19:26:23 Checking out Revision e40b64687868f377e45ef9ab83e1ddc5b902ccb0 (PR-305) 19:26:23 > git config --get remote.origin.url # timeout=10 19:26:23 using GIT_SSH to set credentials SSH Credentials for GitHub 19:26:23 > git merge 70014b9e95730daa22e8c7eb0adf351f909bdfff # timeout=10 19:26:23 > git rev-parse HEAD^{commit} # timeout=10 19:26:23 > git config core.sparsecheckout # timeout=10 19:26:23 > git checkout -f e40b64687868f377e45ef9ab83e1ddc5b902ccb0 # timeout=10 19:26:27 Commit message: "Merge commit '70014b9e95730daa22e8c7eb0adf351f909bdfff' into HEAD" 19:26:27 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:26:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:26:28 % Total % Received % Xferd Average Speed Time Time Time Current 19:26:28 Dload Upload Total Spent Left Speed 19:26:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85201 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh 19:26:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:26:27 > git rev-list --no-walk 6314f91af8e2d5ef12a0c3bd039cf5e4f03e8afa # timeout=10 19:26:29 + sudo tee /etc/docker/daemon.new 19:26:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:26:29 { 19:26:29 "registry-mirrors": [ 19:26:29 "https://nexus3.edgexfoundry.org:10001" 19:26:29 ], 19:26:29 "bip": "10.250.0.254/24", 19:26:29 "hosts": [ 19:26:29 "tcp://0.0.0.0:5555", 19:26:29 "unix:///var/run/docker.sock" 19:26:29 ], 19:26:29 "mtu": 1458, 19:26:29 "selinux-enabled": true, 19:26:29 "seccomp-profile": "/etc/docker/seccomp.json" 19:26:29 } [Pipeline] sh 19:26:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:26:30 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 19:26:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:26:49 ========================================================= 19:26:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:26:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 19:26:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:26:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:26:49 9b3977197b4f: Pulling fs layer 19:26:49 1a89e8eeedd5: Pulling fs layer 19:26:49 94645a83ff95: Pulling fs layer 19:26:49 3f3a8bcf1eab: Pulling fs layer 19:26:49 0c92f367c5e7: Pulling fs layer 19:26:49 f7c0051592d6: Pulling fs layer 19:26:49 a227ed2f7395: Pulling fs layer 19:26:49 7b1c46037f91: Pulling fs layer 19:26:49 3f3a8bcf1eab: Waiting 19:26:49 0c92f367c5e7: Waiting 19:26:49 f7c0051592d6: Waiting 19:26:49 7b1c46037f91: Waiting 19:26:49 a227ed2f7395: Waiting 19:26:49 94645a83ff95: Verifying Checksum 19:26:49 94645a83ff95: Download complete 19:26:49 1a89e8eeedd5: Verifying Checksum 19:26:49 1a89e8eeedd5: Download complete 19:26:49 0c92f367c5e7: Verifying Checksum 19:26:49 0c92f367c5e7: Download complete 19:26:49 f7c0051592d6: Verifying Checksum 19:26:49 f7c0051592d6: Download complete 19:26:49 a227ed2f7395: Verifying Checksum 19:26:49 a227ed2f7395: Download complete 19:26:49 9b3977197b4f: Download complete 19:26:50 9b3977197b4f: Pull complete 19:26:51 1a89e8eeedd5: Pull complete 19:26:51 94645a83ff95: Pull complete 19:26:51 7b1c46037f91: Verifying Checksum 19:26:51 7b1c46037f91: Download complete 19:26:52 3f3a8bcf1eab: Verifying Checksum 19:26:52 3f3a8bcf1eab: Download complete 19:27:04 3f3a8bcf1eab: Pull complete 19:27:04 0c92f367c5e7: Pull complete 19:27:04 f7c0051592d6: Pull complete 19:27:04 a227ed2f7395: Pull complete 19:27:10 7b1c46037f91: Pull complete 19:27:10 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 19:27:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:27:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 19:27:10 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 19:27:10 + docker inspect -f . ci-base-image-arm64 19:27:10 . [Pipeline] withDockerContainer 19:27:11 prd-ubuntu18.04-docker-arm64-4c-16g-4847 does not seem to be running inside a container 19:27:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/8 -v /w/workspace/go-mod-bootstrap/8:/w/workspace/go-mod-bootstrap/8:rw,z -v /w/workspace/go-mod-bootstrap/8@tmp:/w/workspace/go-mod-bootstrap/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:27:14 $ docker top 244ea66e529888cfa5cf8d0adec8d3170ff9fffa4a2c0d003eb890afef28fcdf -eo pid,comm [Pipeline] { [Pipeline] sh 19:27:15 + go version 19:27:15 go version go1.17.6 linux/arm64 [Pipeline] } 19:27:15 $ docker stop --time=1 244ea66e529888cfa5cf8d0adec8d3170ff9fffa4a2c0d003eb890afef28fcdf 19:27:16 $ docker rm -f 244ea66e529888cfa5cf8d0adec8d3170ff9fffa4a2c0d003eb890afef28fcdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:27:17 + docker inspect -f . ci-base-image-arm64 19:27:17 . [Pipeline] withDockerContainer 19:27:17 prd-ubuntu18.04-docker-arm64-4c-16g-4847 does not seem to be running inside a container 19:27:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/8 -v /w/workspace/go-mod-bootstrap/8:/w/workspace/go-mod-bootstrap/8:rw,z -v /w/workspace/go-mod-bootstrap/8@tmp:/w/workspace/go-mod-bootstrap/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:27:18 $ docker top 6d4b8ef7213526b04c5fe122d68a1ea689cd5041c083d41945169f0590c662e0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:27:19 + make test 19:27:19 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:27:19 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 19:27:19 go: downloading github.com/pelletier/go-toml v1.9.4 19:27:19 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 19:27:20 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 19:27:20 go: downloading github.com/stretchr/testify v1.7.0 19:27:20 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 19:27:20 go: downloading github.com/gorilla/mux v1.8.0 19:27:20 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:27:20 go: downloading github.com/davecgh/go-spew v1.1.1 19:27:20 go: downloading github.com/pmezard/go-difflib v1.0.0 19:27:20 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 19:27:20 go: downloading github.com/go-kit/kit v0.11.0 19:27:20 go: downloading github.com/stretchr/objx v0.1.1 19:27:20 go: downloading github.com/go-playground/validator/v10 v10.9.0 19:27:20 go: downloading github.com/google/uuid v1.3.0 19:27:20 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:27:20 go: downloading github.com/hashicorp/errwrap v1.0.0 19:27:20 go: downloading github.com/hashicorp/consul/api v1.9.1 19:27:20 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:27:20 go: downloading github.com/x448/float16 v0.8.4 19:27:20 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:27:20 go: downloading github.com/mitchellh/copystructure v1.0.0 19:27:20 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:27:20 go: downloading github.com/go-playground/universal-translator v0.18.0 19:27:20 go: downloading github.com/leodido/go-urn v1.2.1 19:27:20 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 19:27:20 go: downloading golang.org/x/text v0.3.6 19:27:20 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:27:20 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:27:20 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:27:20 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:27:20 go: downloading github.com/hashicorp/serf v0.9.5 19:27:20 go: downloading github.com/go-logfmt/logfmt v0.5.0 19:27:20 go: downloading github.com/go-playground/locales v0.14.0 19:27:21 go: downloading github.com/fatih/color v1.9.0 19:27:21 go: downloading github.com/mattn/go-isatty v0.0.12 19:27:21 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:27:21 go: downloading github.com/mattn/go-colorable v0.1.6 19:27:21 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 19:27:21 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:27:21 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:28:00 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 19:28:01 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.041s coverage: 5.1% of statements 19:28:01 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 19:28:01 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.093s coverage: 92.2% of statements 19:28:01 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.028s coverage: 85.3% of statements 19:28:03 --- FAIL: TestClientsBootstrapHandler (0.00s) 19:28:03 --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap_using_registry (0.00s) 19:28:03 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 19:28:03 panic: runtime error: invalid memory address or nil pointer dereference 19:28:03 [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1daae4] 19:28:03 19:28:03 goroutine 8 [running]: 19:28:03 testing.tRunner.func1.2({0x2108c0, 0x426550}) 19:28:03 /usr/local/go/src/testing/testing.go:1209 +0x258 19:28:03 testing.tRunner.func1(0x40000a5d40) 19:28:03 /usr/local/go/src/testing/testing.go:1212 +0x278 19:28:03 panic({0x2108c0, 0x426550}) 19:28:03 /usr/local/go/src/runtime/panic.go:1038 +0x224 19:28:03 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers.(*ClientsBootstrap).getClientUrl(0x400013da88, {0x259a7b, 0x9}, {0x40001ceaf8, 0x16}, {{0xc078cef0aaba43f0, 0x16b168b, 0x434da0}, 0x3b9aca00, 0x3b9aca00}, ...) 19:28:03 /w/workspace/go-mod-bootstrap/8/bootstrap/handlers/clients.go:134 +0x2a4 19:28:03 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0x400013da88, {0x2ad630, 0x400001a160}, 0x400006192c, {{0xc078cef0aaba43f0, 0x16b168b, 0x434da0}, 0x3b9aca00, 0x3b9aca00}, 0x40003098c0) 19:28:03 /w/workspace/go-mod-bootstrap/8/bootstrap/handlers/clients.go:58 +0x3e4 19:28:03 github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers.TestClientsBootstrapHandler.func1(0x40000a5d40) 19:28:03 /w/workspace/go-mod-bootstrap/8/bootstrap/handlers/clients_test.go:200 +0x7d8 19:28:03 testing.tRunner(0x40000a5d40, 0x40002b6800) 19:28:03 /usr/local/go/src/testing/testing.go:1259 +0xf8 19:28:03 created by testing.(*T).Run 19:28:03 /usr/local/go/src/testing/testing.go:1306 +0x350 19:28:03 FAIL github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.053s 19:28:03 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 19:28:03 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 19:28:03 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.043s coverage: 100.0% of statements 19:28:03 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.052s coverage: 25.0% of statements 19:28:08 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.061s coverage: 79.7% of statements 19:28:08 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 19:28:08 ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] 19:28:08 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.011s coverage: 91.3% of statements 19:28:08 FAIL 19:28:08 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 19:28:08 $ docker stop --time=1 6d4b8ef7213526b04c5fe122d68a1ea689cd5041c083d41945169f0590c662e0 19:28:10 $ docker rm -f 6d4b8ef7213526b04c5fe122d68a1ea689cd5041c083d41945169f0590c662e0 [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 19:28:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:12 19:28:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:28:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:12 arm64: Pulling from edgex-lftools-log-publisher 19:28:12 448f6bf000e3: Pulling fs layer 19:28:12 f757da607395: Pulling fs layer 19:28:12 05883995daec: Pulling fs layer 19:28:12 8603b9c90790: Pulling fs layer 19:28:12 1560dd03e051: Pulling fs layer 19:28:12 27f5ce0e4adf: Pulling fs layer 19:28:12 c2d8d7efcc4b: Pulling fs layer 19:28:12 8603b9c90790: Waiting 19:28:12 1560dd03e051: Waiting 19:28:12 27f5ce0e4adf: Waiting 19:28:12 c2d8d7efcc4b: Waiting 19:28:12 f757da607395: Verifying Checksum 19:28:12 f757da607395: Download complete 19:28:12 8603b9c90790: Verifying Checksum 19:28:12 8603b9c90790: Download complete 19:28:12 1560dd03e051: Verifying Checksum 19:28:12 1560dd03e051: Download complete 19:28:12 27f5ce0e4adf: Verifying Checksum 19:28:12 27f5ce0e4adf: Download complete 19:28:12 05883995daec: Verifying Checksum 19:28:12 05883995daec: Download complete 19:28:13 448f6bf000e3: Verifying Checksum 19:28:13 448f6bf000e3: Download complete 19:28:15 c2d8d7efcc4b: Verifying Checksum 19:28:15 c2d8d7efcc4b: Download complete 19:28:16 448f6bf000e3: Pull complete 19:28:17 f757da607395: Pull complete 19:28:18 05883995daec: Pull complete 19:28:18 8603b9c90790: Pull complete 19:28:19 1560dd03e051: Pull complete 19:28:20 27f5ce0e4adf: Pull complete 19:28:35 c2d8d7efcc4b: Pull complete 19:28:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:28:35 prd-ubuntu18.04-docker-arm64-4c-16g-4847 does not seem to be running inside a container 19:28:35 $ 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/8 -v /w/workspace/go-mod-bootstrap/8:/w/workspace/go-mod-bootstrap/8:rw,z -v /w/workspace/go-mod-bootstrap/8@tmp:/w/workspace/go-mod-bootstrap/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:28:38 $ docker top 67d3983b1f54ad183c84aaa1c9d2ac2b5bac089bea14329607d97151908b2560 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:28:39 ---> job-cost.sh 19:28:39 lf-activate-venv: SKIPPING 19:28:39 INFO: No Stack... 19:28:39 INFO: Retrieving Pricing Info for: v3-standard-4 19:28:39 INFO: Archiving Costs [Pipeline] sh 19:28:40 + cat+ cut -d, -f6 19:28:40 /w/workspace/go-mod-bootstrap/8/archives/cost.csv [Pipeline] lock 19:28:40 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] 19:28:40 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] did not exist. Created. 19:28:40 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:28:40 /w/workspace/go-mod-bootstrap/8@tmp/durable-31187edc/script.sh: 1: /w/workspace/go-mod-bootstrap/8@tmp/durable-31187edc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:28:41 + echo total: 0.10999999940395355 [Pipeline] stash 19:28:41 Warning: overwriting stash ‘stack-cost’ 19:28:41 Stashed 1 file(s) [Pipeline] } 19:28:41 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-8-stack-cost] [Pipeline] // lock [Pipeline] } 19:28:41 $ docker stop --time=1 67d3983b1f54ad183c84aaa1c9d2ac2b5bac089bea14329607d97151908b2560 19:28:43 $ docker rm -f 67d3983b1f54ad183c84aaa1c9d2ac2b5bac089bea14329607d97151908b2560 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:28:43 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 19:28:44 + '[' -d /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives ']' 19:28:44 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives 19:28:44 total 8 19:28:44 drwxr-xr-x. 3 root root 34 Feb 8 19:25 . 19:28:44 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 8 19:25 .. 19:28:44 drwxr-xr-x. 2 root root 6 Feb 8 19:25 cost 19:28:44 -rw-r--r--. 1 root root 86 Feb 8 19:25 cost.csv 19:28:44 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives 19:28:44 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives 19:28:44 total 8 19:28:44 drwxr-xr-x. 3 jenkins jenkins 34 Feb 8 19:25 . 19:28:44 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 8 19:25 .. 19:28:44 drwxr-xr-x. 2 jenkins jenkins 6 Feb 8 19:25 cost 19:28:44 -rw-r--r--. 1 jenkins jenkins 86 Feb 8 19:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:28:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:28:45 ---> package-listing.sh 19:28:45 ++ tr '[:upper:]' '[:lower:]' 19:28:45 ++ facter osfamily 19:28:45 + OS_FAMILY=redhat 19:28:45 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-305 19:28:45 + START_PACKAGES=/tmp/packages_start.txt 19:28:45 + END_PACKAGES=/tmp/packages_end.txt 19:28:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:28:45 + PACKAGES=/tmp/packages_start.txt 19:28:45 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-305 ']' 19:28:45 + PACKAGES=/tmp/packages_end.txt 19:28:45 + case "${OS_FAMILY}" in 19:28:45 + rpm -qa 19:28:45 + sort 19:28:46 + '[' -f /tmp/packages_start.txt ']' 19:28:46 + '[' -f /tmp/packages_end.txt ']' 19:28:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:28:46 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-305 ']' 19:28:46 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives/ 19:28:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives/ [Pipeline] echo 19:28:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:28:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:28:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:28:46 . [Pipeline] withDockerContainer 19:28:46 prd-centos7-docker-4c-2g-4846 does not seem to be running inside a container 19:28:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-305 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305:/w/workspace/xfoundry_go-mod-bootstrap_PR-305:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:28:47 $ docker top f862d7dfa777fca921556f4172b03d0673709d1529ae56e72926fbe9fd7cf1ff -eo pid,comm [Pipeline] { [Pipeline] sh 19:28:47 + touch /tmp/pre-build-complete [Pipeline] sh 19:28:47 + mkdir -p /var/log/sysstat [Pipeline] sh 19:28:48 + ls /var/log/sa-host 19:28:48 + sadf -c /var/log/sa-host/sa08 19:28:48 file_magic: OK 19:28:48 HZ: Using current value: 100 19:28:48 file_header: OK 19:28:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 19:28:48 Statistics: 19:28:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:28:48 File successfully converted to sysstat format version 12.0.3 19:28:48 + sadf -c /var/log/sa-host/sa17 19:28:48 file_magic: OK 19:28:48 HZ: Using current value: 100 19:28:48 file_header: OK 19:28:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 19:28:48 Statistics: 19:28:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:28:48 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:28:48 provisioning config files... 19:28:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/config2277757737581247318tmp [Pipeline] { [Pipeline] echo 19:28:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:28:48 ---> create-netrc.sh [Pipeline] } 19:28:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:28:49 ---> python-tools-install.sh [Pipeline] echo 19:28:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:28:49 ---> sudo-logs.sh 19:28:49 Archiving 'sudo' log.. 19:28:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-4846.novalocal: Name or service not known 19:28:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-4846.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 19:28:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:28:49 ---> job-cost.sh 19:28:49 lf-activate-venv: SKIPPING 19:28:49 DEBUG: total: 0.05999999865889549 19:28:49 INFO: Retrieving Stack Cost... 19:28:49 INFO: Retrieving Pricing Info for: v3-standard-2 19:28:50 INFO: Archiving Costs [Pipeline] echo 19:28:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:28:50 ---> logs-deploy.sh 19:28:50 lf-activate-venv: SKIPPING 19:28:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-305/8 19:28:50 INFO: archiving workspace using pattern(s): 19:28:51 Archives upload complete. 19:28:51 INFO: archiving logs to Nexus