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 84f726a2b8de8b0e2783928fc12613a1c7a174d1+70014b9e95730daa22e8c7eb0adf351f909bdfff (a0e24603e2a1305524675d0cd8d7e5222ac30699) 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-ssh14768885884025531455.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-ssh36443729580320749.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-ssh8127775077305702064.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-ssh12056418670931854576.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-ssh4743750303301612865.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 ‘prd-centos7-docker-4c-2g-4498’ is offline Running on prd-centos7-docker-4c-2g-4501 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-ssh2496153215210472539.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 84f726a2b8de8b0e2783928fc12613a1c7a174d1 Merge succeeded, producing b0410fd9a1c4b562e968a835b4f388ab0e8365e0 Checking out Revision b0410fd9a1c4b562e968a835b4f388ab0e8365e0 (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-ssh5505942479912100953.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 84f726a2b8de8b0e2783928fc12613a1c7a174d1 # 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-ssh6814454918683001633.key > git merge 70014b9e95730daa22e8c7eb0adf351f909bdfff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0410fd9a1c4b562e968a835b4f388ab0e8365e0 # timeout=10 Commit message: "Merge commit '70014b9e95730daa22e8c7eb0adf351f909bdfff' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2c8863063b37e44dc81d7eb575fdac37e85c9559 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:08:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:08:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:08:32 ========================================================= 00:08:32 EdgeX Global Pipelines Version Info 00:08:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:08:33 ------------------- 00:08:33 stable info: 00:08:33 ------------------- 00:08:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:08:33 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 00:08:33 Message: update stable to v1.0.220 00:08:33 ------------------- 00:08:33 experimental info: 00:08:33 ------------------- 00:08:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:08:33 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 00:08:33 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0410fd9a1c4b562e968a835b4f388ab0e8365e0 [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0410fd [Pipeline] echo 00:08:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:08:34 + git rev-list -1 --merges b0410fd9a1c4b562e968a835b4f388ab0e8365e0~1..b0410fd9a1c4b562e968a835b4f388ab0e8365e0 [Pipeline] echo 00:08:34 -----------> git rev-list -1 --merges b0410fd9a1c4b562e968a835b4f388ab0e8365e0~1..b0410fd9a1c4b562e968a835b4f388ab0e8365e0 b0410fd9a1c4b562e968a835b4f388ab0e8365e0 00:08:34 b0410fd9a1c4b562e968a835b4f388ab0e8365e0 [false] [Pipeline] sh 00:08:35 + git log --format=format:%s -1 b0410fd9a1c4b562e968a835b4f388ab0e8365e0 [Pipeline] echo 00:08:35 ========================================================= 00:08:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:08:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:08:35 + git log --format=format:%s -1 b0410fd9a1c4b562e968a835b4f388ab0e8365e0 [Pipeline] echo 00:08:35 [semverPrep] GIT_COMMIT: b0410fd9a1c4b562e968a835b4f388ab0e8365e0, Commit Message: Merge commit '70014b9e95730daa22e8c7eb0adf351f909bdfff' into HEAD [Pipeline] echo 00:08:35 [semverPrep] This is not a build commit. [Pipeline] sh 00:08:35 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:08:35 + grep -v github /etc/ssh/ssh_known_hosts 00:08:35 + '[' -e /tmp/ssh_known_hosts ']' 00:08:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:08:35 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 00:08:35 + sudo tee -a /etc/ssh/ssh_known_hosts 00:08:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:08:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:08:36 00:08:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:08:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:08:36 latest: Pulling from edgex-devops/git-semver 00:08:36 a0d0a0d46f8b: Pulling fs layer 00:08:36 3e5f54012d9b: Pulling fs layer 00:08:36 4c7163046ea9: Pulling fs layer 00:08:36 0c2d73faf560: Pulling fs layer 00:08:36 3e5f54012d9b: Verifying Checksum 00:08:36 3e5f54012d9b: Download complete 00:08:36 a0d0a0d46f8b: Verifying Checksum 00:08:36 a0d0a0d46f8b: Download complete 00:08:36 4c7163046ea9: Verifying Checksum 00:08:36 4c7163046ea9: Download complete 00:08:36 0c2d73faf560: Verifying Checksum 00:08:36 0c2d73faf560: Download complete 00:08:36 a0d0a0d46f8b: Pull complete 00:08:36 3e5f54012d9b: Pull complete 00:08:37 4c7163046ea9: Pull complete 00:08:37 0c2d73faf560: Pull complete 00:08:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:08:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:08:37 prd-centos7-docker-4c-2g-4501 does not seem to be running inside a container 00:08:37 $ 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 00:08:38 $ docker top 77849d43ed6391c1ff6ebf9cb222dabee2de98e1328551262e63b202b5841ce1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:38 [ssh-agent] Looking for ssh-agent implementation... 00:08:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:38 $ docker exec 77849d43ed6391c1ff6ebf9cb222dabee2de98e1328551262e63b202b5841ce1 ssh-agent 00:08:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiMJMFL/agent.14 00:08:38 SSH_AGENT_PID=21 00:08:38 Running ssh-add (command line suppressed) 00:08:38 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_9042194801848079982.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_9042194801848079982.key) 00:08:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:38 + git tag --points-at HEAD [Pipeline] } 00:08:38 $ docker exec --env ******** --env ******** 77849d43ed6391c1ff6ebf9cb222dabee2de98e1328551262e63b202b5841ce1 ssh-agent -k 00:08:39 unset SSH_AUTH_SOCK; 00:08:39 unset SSH_AGENT_PID; 00:08:39 echo Agent pid 21 killed; 00:08:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:39 [ssh-agent] Looking for ssh-agent implementation... 00:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:39 $ docker exec 77849d43ed6391c1ff6ebf9cb222dabee2de98e1328551262e63b202b5841ce1 ssh-agent 00:08:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnFfOkk/agent.54 00:08:39 SSH_AGENT_PID=60 00:08:39 Running ssh-add (command line suppressed) 00:08:39 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_3084123278641519219.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/private_key_3084123278641519219.key) 00:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:39 + git semver init 00:08:39 # -> Open(): unable to determine branch for HEAD 00:08:39 # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-305/.git 00:08:39 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-305 00:08:39 # $SEMVER_REMOTE_NAME = origin 00:08:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:08:39 # $SEMVER_USER_NAME = edgex-jenkins 00:08:39 # $SEMVER_BRANCH = PR-305 00:08:39 # $SEMVER_TEMP = /tmp/semver-444434426 00:08:39 # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP 00:08:40 # '/tmp/semver-444434426' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-305/.semver' 00:08:40 # -> Force: false 00:08:40 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-305/.semver [Pipeline] } 00:08:40 $ docker exec --env ******** --env ******** 77849d43ed6391c1ff6ebf9cb222dabee2de98e1328551262e63b202b5841ce1 ssh-agent -k 00:08:40 unset SSH_AUTH_SOCK; 00:08:40 unset SSH_AGENT_PID; 00:08:40 echo Agent pid 60 killed; 00:08:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:41 + git semver [Pipeline] } 00:08:41 $ docker stop --time=1 77849d43ed6391c1ff6ebf9cb222dabee2de98e1328551262e63b202b5841ce1 00:08:42 $ docker rm -f 77849d43ed6391c1ff6ebf9cb222dabee2de98e1328551262e63b202b5841ce1 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:08:42 Stashed 1 file(s) [Pipeline] echo 00:08:42 [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 00:08:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:43 ========================================================= 00:08:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:08:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:08:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:08:43 59bf1c3509f3: Pulling fs layer 00:08:43 666ba61612fd: Pulling fs layer 00:08:43 8ed8ca486205: Pulling fs layer 00:08:43 4fe6c5a15a65: Pulling fs layer 00:08:43 22a0e8bec74d: Pulling fs layer 00:08:43 640e595b4fbd: Pulling fs layer 00:08:43 763cafe07f6e: Pulling fs layer 00:08:43 0c0b528cf693: Pulling fs layer 00:08:43 10935f4eaf8b: Pulling fs layer 00:08:43 640e595b4fbd: Waiting 00:08:43 763cafe07f6e: Waiting 00:08:43 0c0b528cf693: Waiting 00:08:43 10935f4eaf8b: Waiting 00:08:43 4fe6c5a15a65: Waiting 00:08:43 22a0e8bec74d: Waiting 00:08:43 8ed8ca486205: Download complete 00:08:43 666ba61612fd: Download complete 00:08:43 22a0e8bec74d: Verifying Checksum 00:08:43 22a0e8bec74d: Download complete 00:08:43 640e595b4fbd: Verifying Checksum 00:08:43 640e595b4fbd: Download complete 00:08:43 763cafe07f6e: Verifying Checksum 00:08:43 763cafe07f6e: Download complete 00:08:43 59bf1c3509f3: Verifying Checksum 00:08:43 59bf1c3509f3: Download complete 00:08:43 0c0b528cf693: Verifying Checksum 00:08:43 0c0b528cf693: Download complete 00:08:43 59bf1c3509f3: Pull complete 00:08:44 666ba61612fd: Pull complete 00:08:44 4fe6c5a15a65: Verifying Checksum 00:08:44 4fe6c5a15a65: Download complete 00:08:44 8ed8ca486205: Pull complete 00:08:44 10935f4eaf8b: Verifying Checksum 00:08:44 10935f4eaf8b: Download complete 00:08:48 4fe6c5a15a65: Pull complete 00:08:48 22a0e8bec74d: Pull complete 00:08:48 640e595b4fbd: Pull complete 00:08:48 763cafe07f6e: Pull complete 00:08:48 0c0b528cf693: Pull complete 00:08:50 10935f4eaf8b: Pull complete 00:08:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:08:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:08:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 00:08:50 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 00:08:51 + docker inspect -f . ci-base-image-x86_64 00:08:51 . [Pipeline] withDockerContainer 00:08:51 prd-centos7-docker-4c-2g-4501 does not seem to be running inside a container 00:08:51 $ 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 00:08:53 $ docker top eed2bcd527e8c85f9aa30f61278d26addd91df915413e0df1cb939a1daf5f8d7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:53 + go version 00:08:53 go version go1.17.6 linux/amd64 [Pipeline] } 00:08:53 $ docker stop --time=1 eed2bcd527e8c85f9aa30f61278d26addd91df915413e0df1cb939a1daf5f8d7 00:08:55 $ docker rm -f eed2bcd527e8c85f9aa30f61278d26addd91df915413e0df1cb939a1daf5f8d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:55 + docker inspect -f . ci-base-image-x86_64 00:08:55 . [Pipeline] withDockerContainer 00:08:55 prd-centos7-docker-4c-2g-4501 does not seem to be running inside a container 00:08:55 $ 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 00:08:55 $ docker top 833573ef8bb11875190feeac4a4ed77a9905007ba04ccf08f3f0b894a05fcfcc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:08:56 + make test 00:08:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:08:56 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:08:56 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 00:08:56 go: downloading github.com/pelletier/go-toml v1.9.4 00:08:56 go: downloading github.com/stretchr/testify v1.7.0 00:08:56 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:08:56 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 00:08:56 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:08:56 go: downloading github.com/gorilla/mux v1.8.0 00:08:56 go: downloading github.com/davecgh/go-spew v1.1.1 00:08:56 go: downloading github.com/pmezard/go-difflib v1.0.0 00:08:56 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:08:56 go: downloading github.com/go-kit/kit v0.11.0 00:08:56 go: downloading github.com/stretchr/objx v0.1.1 00:08:56 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:08:56 go: downloading github.com/google/uuid v1.3.0 00:08:56 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:08:56 go: downloading github.com/hashicorp/errwrap v1.0.0 00:08:56 go: downloading github.com/hashicorp/consul/api v1.9.1 00:08:56 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:08:56 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:08:56 go: downloading github.com/go-playground/universal-translator v0.18.0 00:08:56 go: downloading github.com/leodido/go-urn v1.2.1 00:08:56 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:08:57 go: downloading golang.org/x/text v0.3.6 00:08:57 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:08:57 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:08:57 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:08:57 go: downloading github.com/hashicorp/serf v0.9.5 00:08:57 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:08:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:08:57 go: downloading github.com/mitchellh/copystructure v1.0.0 00:08:57 go: downloading github.com/x448/float16 v0.8.4 00:08:57 go: downloading github.com/go-playground/locales v0.14.0 00:08:57 go: downloading github.com/fatih/color v1.9.0 00:08:57 go: downloading github.com/mattn/go-isatty v0.0.12 00:08:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:08:57 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:08:57 go: downloading github.com/mattn/go-colorable v0.1.6 00:08:57 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:08:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:08:57 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:08:58 Still waiting to schedule task 00:08:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4499’ is offline 00:09:10 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 00:09:10 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.015s coverage: 5.1% of statements 00:09:10 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 00:09:10 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.006s coverage: 92.2% of statements 00:09:10 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.007s coverage: 85.3% of statements 00:09:12 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.011s coverage: 48.4% of statements 00:09:12 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 00:09:12 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 00:09:12 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.009s coverage: 100.0% of statements 00:09:12 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.007s coverage: 25.0% of statements 00:09:15 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.014s coverage: 79.7% of statements 00:09:15 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 00:09:15 ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] 00:09:15 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.003s coverage: 91.3% of statements 00:09:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:09:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:09:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:09:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:09:33 $ docker stop --time=1 833573ef8bb11875190feeac4a4ed77a9905007ba04ccf08f3f0b894a05fcfcc 00:09:35 $ docker rm -f 833573ef8bb11875190feeac4a4ed77a9905007ba04ccf08f3f0b894a05fcfcc [Pipeline] // withDockerContainer [Pipeline] sh 00:09:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:09:35 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 00:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:36 00:09:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:09:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:36 latest: Pulling from edgex-lftools-log-publisher 00:09:36 b4d181a07f80: Pulling fs layer 00:09:36 a1111a8f2ec3: Pulling fs layer 00:09:36 ed53099fbce6: Pulling fs layer 00:09:36 dc539afda2c1: Pulling fs layer 00:09:36 77bc0d833cb6: Pulling fs layer 00:09:36 9065ff56babe: Pulling fs layer 00:09:36 d287ab97295c: Pulling fs layer 00:09:36 77bc0d833cb6: Waiting 00:09:36 9065ff56babe: Waiting 00:09:36 d287ab97295c: Waiting 00:09:36 dc539afda2c1: Waiting 00:09:36 a1111a8f2ec3: Verifying Checksum 00:09:36 a1111a8f2ec3: Download complete 00:09:36 dc539afda2c1: Verifying Checksum 00:09:36 dc539afda2c1: Download complete 00:09:36 ed53099fbce6: Verifying Checksum 00:09:36 ed53099fbce6: Download complete 00:09:36 9065ff56babe: Verifying Checksum 00:09:36 9065ff56babe: Download complete 00:09:36 77bc0d833cb6: Verifying Checksum 00:09:36 77bc0d833cb6: Download complete 00:09:36 b4d181a07f80: Verifying Checksum 00:09:36 b4d181a07f80: Download complete 00:09:37 d287ab97295c: Verifying Checksum 00:09:37 d287ab97295c: Download complete 00:09:38 b4d181a07f80: Pull complete 00:09:38 a1111a8f2ec3: Pull complete 00:09:39 ed53099fbce6: Pull complete 00:09:39 dc539afda2c1: Pull complete 00:09:39 77bc0d833cb6: Pull complete 00:09:39 9065ff56babe: Pull complete 00:09:44 d287ab97295c: Pull complete 00:09:44 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:09:44 prd-centos7-docker-4c-2g-4501 does not seem to be running inside a container 00:09:44 $ 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 00:09:47 $ docker top cfc0813a69fa85b495ed2d610f5c2bf7defc96f2d617bbcaab3cf9fdb65d9ade -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:47 ---> job-cost.sh 00:09:47 lf-activate-venv: SKIPPING 00:09:47 INFO: No Stack... 00:09:47 INFO: Retrieving Pricing Info for: v3-standard-2 00:09:48 INFO: Archiving Costs [Pipeline] sh 00:09:48 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives/cost.csv 00:09:48 + cut -d, -f6 [Pipeline] lock 00:09:48 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] 00:09:48 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] did not exist. Created. 00:09:48 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:48 + echo total: 0.05999999865889549 [Pipeline] stash 00:09:48 Stashed 1 file(s) [Pipeline] } 00:09:48 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:48 $ docker stop --time=1 cfc0813a69fa85b495ed2d610f5c2bf7defc96f2d617bbcaab3cf9fdb65d9ade 00:09:49 $ docker rm -f cfc0813a69fa85b495ed2d610f5c2bf7defc96f2d617bbcaab3cf9fdb65d9ade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:10:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4502 in /w/workspace/xfoundry_go-mod-bootstrap_PR-305 [Pipeline] { [Pipeline] ws 00:10:26 Running in /w/workspace/go-mod-bootstrap/6 [Pipeline] { [Pipeline] checkout 00:10:26 Selected Git installation does not exist. Using Default 00:10:26 The recommended git tool is: NONE 00:10:31 using credential edgex-jenkins-ssh 00:10:31 Cloning the remote Git repository 00:10:31 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 00:10:31 > git init /w/workspace/go-mod-bootstrap/6 # timeout=10 00:10:31 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 00:10:31 > git --version # timeout=10 00:10:31 > git --version # 'git version 2.17.1' 00:10:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:33 Merging remotes/origin/main commit 70014b9e95730daa22e8c7eb0adf351f909bdfff into PR head commit 84f726a2b8de8b0e2783928fc12613a1c7a174d1 00:10:33 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 00:10:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:33 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 00:10:33 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 00:10:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:33 > 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 00:10:33 > git config core.sparsecheckout # timeout=10 00:10:33 > git checkout -f 84f726a2b8de8b0e2783928fc12613a1c7a174d1 # timeout=10 00:10:33 > git remote # timeout=10 00:10:33 > git config --get remote.origin.url # timeout=10 00:10:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:33 > git merge 70014b9e95730daa22e8c7eb0adf351f909bdfff # timeout=10 00:10:34 Merge succeeded, producing 7713c61f4c87df897eb8aa3f3ae9a9917918b9c3 00:10:34 Checking out Revision 7713c61f4c87df897eb8aa3f3ae9a9917918b9c3 (PR-305) 00:10:34 > git rev-parse HEAD^{commit} # timeout=10 00:10:34 > git config core.sparsecheckout # timeout=10 00:10:34 > git checkout -f 7713c61f4c87df897eb8aa3f3ae9a9917918b9c3 # timeout=10 00:10:38 Commit message: "Merge commit '70014b9e95730daa22e8c7eb0adf351f909bdfff' into HEAD" 00:10:38 First time build. Skipping changelog. 00:10:38 > git rev-list --no-walk 2c8863063b37e44dc81d7eb575fdac37e85c9559 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:10:39 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:39 Dload Upload Total Spent Left Speed 00:10:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 91100 [Pipeline] sh 00:10:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:10:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:10:39 + sudo tee /etc/docker/daemon.new 00:10:39 { 00:10:39 "registry-mirrors": [ 00:10:39 "https://nexus3.edgexfoundry.org:10001" 00:10:39 ], 00:10:39 "bip": "10.250.0.254/24", 00:10:39 "hosts": [ 00:10:39 "tcp://0.0.0.0:5555", 00:10:39 "unix:///var/run/docker.sock" 00:10:39 ], 00:10:39 "mtu": 1458, 00:10:39 "selinux-enabled": true, 00:10:39 "seccomp-profile": "/etc/docker/seccomp.json" 00:10:39 } [Pipeline] sh 00:10:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:10:40 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:10:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:59 ========================================================= 00:10:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:10:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:10:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:11:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:11:00 9b3977197b4f: Pulling fs layer 00:11:00 1a89e8eeedd5: Pulling fs layer 00:11:00 94645a83ff95: Pulling fs layer 00:11:00 3f3a8bcf1eab: Pulling fs layer 00:11:00 0c92f367c5e7: Pulling fs layer 00:11:00 f7c0051592d6: Pulling fs layer 00:11:00 a227ed2f7395: Pulling fs layer 00:11:00 7b1c46037f91: Pulling fs layer 00:11:00 0c92f367c5e7: Waiting 00:11:00 f7c0051592d6: Waiting 00:11:00 a227ed2f7395: Waiting 00:11:00 7b1c46037f91: Waiting 00:11:00 3f3a8bcf1eab: Waiting 00:11:00 94645a83ff95: Verifying Checksum 00:11:00 94645a83ff95: Download complete 00:11:00 1a89e8eeedd5: Download complete 00:11:00 0c92f367c5e7: Verifying Checksum 00:11:00 0c92f367c5e7: Download complete 00:11:00 f7c0051592d6: Verifying Checksum 00:11:00 f7c0051592d6: Download complete 00:11:00 9b3977197b4f: Download complete 00:11:00 a227ed2f7395: Verifying Checksum 00:11:00 a227ed2f7395: Download complete 00:11:01 9b3977197b4f: Pull complete 00:11:01 1a89e8eeedd5: Pull complete 00:11:01 94645a83ff95: Pull complete 00:11:02 7b1c46037f91: Verifying Checksum 00:11:02 7b1c46037f91: Download complete 00:11:02 3f3a8bcf1eab: Verifying Checksum 00:11:02 3f3a8bcf1eab: Download complete 00:11:15 3f3a8bcf1eab: Pull complete 00:11:15 0c92f367c5e7: Pull complete 00:11:15 f7c0051592d6: Pull complete 00:11:15 a227ed2f7395: Pull complete 00:11:21 7b1c46037f91: Pull complete 00:11:21 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:11:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:11:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 00:11:22 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 00:11:22 + docker inspect -f . ci-base-image-arm64 00:11:22 . [Pipeline] withDockerContainer 00:11:22 prd-ubuntu18.04-docker-arm64-4c-16g-4502 does not seem to be running inside a container 00:11:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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 00:11:25 $ docker top 0711527a79f0d83a1d6ce416d2a4187d4881f1e707ea57f22239970ce4d37d11 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:26 + go version 00:11:26 go version go1.17.6 linux/arm64 [Pipeline] } 00:11:26 $ docker stop --time=1 0711527a79f0d83a1d6ce416d2a4187d4881f1e707ea57f22239970ce4d37d11 00:11:28 $ docker rm -f 0711527a79f0d83a1d6ce416d2a4187d4881f1e707ea57f22239970ce4d37d11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:11:29 + docker inspect -f . ci-base-image-arm64 00:11:29 . [Pipeline] withDockerContainer 00:11:29 prd-ubuntu18.04-docker-arm64-4c-16g-4502 does not seem to be running inside a container 00:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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 00:11:30 $ docker top 3db5fe960861e3b684cc82d4b699f1de823af99b86e4a6a1cff0e95314ef868f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:11:31 + make test 00:11:31 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:11:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:11:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 00:11:31 go: downloading github.com/pelletier/go-toml v1.9.4 00:11:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 00:11:31 go: downloading github.com/stretchr/testify v1.7.0 00:11:31 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:11:31 go: downloading github.com/gorilla/mux v1.8.0 00:11:31 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:11:32 go: downloading github.com/davecgh/go-spew v1.1.1 00:11:32 go: downloading github.com/pmezard/go-difflib v1.0.0 00:11:32 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:11:32 go: downloading github.com/go-kit/kit v0.11.0 00:11:32 go: downloading github.com/stretchr/objx v0.1.1 00:11:32 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:11:32 go: downloading github.com/google/uuid v1.3.0 00:11:32 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:11:32 go: downloading github.com/hashicorp/errwrap v1.0.0 00:11:32 go: downloading github.com/hashicorp/consul/api v1.9.1 00:11:32 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:11:32 go: downloading github.com/x448/float16 v0.8.4 00:11:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:11:32 go: downloading github.com/mitchellh/copystructure v1.0.0 00:11:32 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:11:32 go: downloading github.com/go-playground/universal-translator v0.18.0 00:11:32 go: downloading github.com/leodido/go-urn v1.2.1 00:11:32 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:11:32 go: downloading golang.org/x/text v0.3.6 00:11:32 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:11:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:11:32 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:11:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:11:32 go: downloading github.com/hashicorp/serf v0.9.5 00:11:32 go: downloading github.com/go-playground/locales v0.14.0 00:11:33 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:11:33 go: downloading github.com/fatih/color v1.9.0 00:11:33 go: downloading github.com/mattn/go-isatty v0.0.12 00:11:33 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:11:33 go: downloading github.com/mattn/go-colorable v0.1.6 00:11:33 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:11:33 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:11:33 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:12:12 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 00:12:13 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.043s coverage: 5.1% of statements 00:12:13 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 00:12:14 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.112s coverage: 92.2% of statements 00:12:14 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.022s coverage: 85.3% of statements 00:12:16 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.040s coverage: 48.4% of statements 00:12:16 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 00:12:16 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 00:12:16 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.050s coverage: 100.0% of statements 00:12:16 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.043s coverage: 25.0% of statements 00:12:21 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.062s coverage: 79.7% of statements 00:12:21 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 00:12:21 ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] 00:12:21 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.010s coverage: 91.3% of statements 00:12:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:12:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:12:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:12:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:40 $ docker stop --time=1 3db5fe960861e3b684cc82d4b699f1de823af99b86e4a6a1cff0e95314ef868f 00:12:41 $ docker rm -f 3db5fe960861e3b684cc82d4b699f1de823af99b86e4a6a1cff0e95314ef868f [Pipeline] // withDockerContainer [Pipeline] sh 00:12:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:43 Warning: overwriting stash ‘coverage-report’ 00:12:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:44 00:12:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:12:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:45 arm64: Pulling from edgex-lftools-log-publisher 00:12:45 448f6bf000e3: Pulling fs layer 00:12:45 f757da607395: Pulling fs layer 00:12:45 05883995daec: Pulling fs layer 00:12:45 8603b9c90790: Pulling fs layer 00:12:45 1560dd03e051: Pulling fs layer 00:12:45 27f5ce0e4adf: Pulling fs layer 00:12:45 c2d8d7efcc4b: Pulling fs layer 00:12:45 1560dd03e051: Waiting 00:12:45 27f5ce0e4adf: Waiting 00:12:45 c2d8d7efcc4b: Waiting 00:12:45 8603b9c90790: Waiting 00:12:45 f757da607395: Verifying Checksum 00:12:45 f757da607395: Download complete 00:12:45 8603b9c90790: Verifying Checksum 00:12:45 8603b9c90790: Download complete 00:12:45 1560dd03e051: Verifying Checksum 00:12:45 1560dd03e051: Download complete 00:12:45 05883995daec: Verifying Checksum 00:12:45 05883995daec: Download complete 00:12:45 27f5ce0e4adf: Download complete 00:12:45 448f6bf000e3: Verifying Checksum 00:12:45 448f6bf000e3: Download complete 00:12:48 c2d8d7efcc4b: Verifying Checksum 00:12:48 c2d8d7efcc4b: Download complete 00:12:49 448f6bf000e3: Pull complete 00:12:49 f757da607395: Pull complete 00:12:51 05883995daec: Pull complete 00:12:51 8603b9c90790: Pull complete 00:12:52 1560dd03e051: Pull complete 00:12:52 27f5ce0e4adf: Pull complete 00:13:07 c2d8d7efcc4b: Pull complete 00:13:07 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:13:07 prd-ubuntu18.04-docker-arm64-4c-16g-4502 does not seem to be running inside a container 00:13:08 $ 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/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@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 00:13:10 $ docker top 8476e84a75ce0d585c9ae75ec5af0c0ecf8c218ba66fc2a7ebecd5092db58099 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:11 ---> job-cost.sh 00:13:11 lf-activate-venv: SKIPPING 00:13:11 INFO: No Stack... 00:13:11 INFO: Retrieving Pricing Info for: v3-standard-4 00:13:11 INFO: Archiving Costs [Pipeline] sh 00:13:12 + cat /w/workspace/go-mod-bootstrap/6/archives/cost.csv 00:13:12 + cut -d, -f6 [Pipeline] lock 00:13:12 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] 00:13:12 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] did not exist. Created. 00:13:12 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:13 /w/workspace/go-mod-bootstrap/6@tmp/durable-ae0ef0f1/script.sh: 1: /w/workspace/go-mod-bootstrap/6@tmp/durable-ae0ef0f1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:13:14 + echo total: 0.10999999940395355 [Pipeline] stash 00:13:14 Warning: overwriting stash ‘stack-cost’ 00:13:14 Stashed 1 file(s) [Pipeline] } 00:13:14 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-305-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:14 $ docker stop --time=1 8476e84a75ce0d585c9ae75ec5af0c0ecf8c218ba66fc2a7ebecd5092db58099 00:13:15 $ docker rm -f 8476e84a75ce0d585c9ae75ec5af0c0ecf8c218ba66fc2a7ebecd5092db58099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:13:16 provisioning config files... 00:13:16 copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/config5296701538080217178tmp [Pipeline] { [Pipeline] sh 00:13:16 + set +x 00:13:16 + curl -s https://codecov.io/bash 00:13:16 + bash -s -- [Pipeline] } 00:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:13:17 + '[' -d /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives ']' 00:13:17 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives 00:13:17 total 8 00:13:17 drwxr-xr-x. 3 root root 34 Feb 3 00:09 . 00:13:17 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 3 00:09 .. 00:13:17 drwxr-xr-x. 2 root root 6 Feb 3 00:09 cost 00:13:17 -rw-r--r--. 1 root root 87 Feb 3 00:09 cost.csv 00:13:17 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives 00:13:17 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives 00:13:17 total 8 00:13:17 drwxr-xr-x. 3 jenkins jenkins 34 Feb 3 00:09 . 00:13:17 drwxrwxr-x. 9 jenkins jenkins 4096 Feb 3 00:09 .. 00:13:17 drwxr-xr-x. 2 jenkins jenkins 6 Feb 3 00:09 cost 00:13:17 -rw-r--r--. 1 jenkins jenkins 87 Feb 3 00:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:13:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:18 ---> package-listing.sh 00:13:18 ++ facter osfamily 00:13:18 ++ tr '[:upper:]' '[:lower:]' 00:13:18 + OS_FAMILY=redhat 00:13:18 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-305 00:13:18 + START_PACKAGES=/tmp/packages_start.txt 00:13:18 + END_PACKAGES=/tmp/packages_end.txt 00:13:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:18 + PACKAGES=/tmp/packages_start.txt 00:13:18 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-305 ']' 00:13:18 + PACKAGES=/tmp/packages_end.txt 00:13:18 + case "${OS_FAMILY}" in 00:13:18 + rpm -qa 00:13:18 + sort 00:13:18 + '[' -f /tmp/packages_start.txt ']' 00:13:18 + '[' -f /tmp/packages_end.txt ']' 00:13:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:18 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-305 ']' 00:13:18 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-305/archives/ 00:13:18 + 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 00:13:18 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 00:13:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:19 . [Pipeline] withDockerContainer 00:13:19 prd-centos7-docker-4c-2g-4501 does not seem to be running inside a container 00:13:19 $ 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 00:13:20 $ docker top 203ac2f47274142b2e18f00c18fd66ecb7c045a50bc7ff6b3d544d00d3b20492 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:20 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:20 + mkdir -p /var/log/sysstat [Pipeline] sh 00:13:21 + ls /var/log/sa-host 00:13:21 + sadf -c /var/log/sa-host/sa03 00:13:21 file_magic: OK 00:13:21 HZ: Using current value: 100 00:13:21 file_header: OK 00:13:21 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 00:13:21 Statistics: 00:13:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:13:21 File successfully converted to sysstat format version 12.0.3 00:13:21 + sadf -c /var/log/sa-host/sa17 00:13:21 file_magic: OK 00:13:21 HZ: Using current value: 100 00:13:21 file_header: OK 00:13:21 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 00:13:21 Statistics: 00:13:21 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:13:21 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:21 provisioning config files... 00:13:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-305@tmp/config2290734983270541206tmp [Pipeline] { [Pipeline] echo 00:13:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:21 ---> create-netrc.sh [Pipeline] } 00:13:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:13:21 ---> python-tools-install.sh [Pipeline] echo 00:13:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:22 ---> sudo-logs.sh 00:13:22 Archiving 'sudo' log.. 00:13:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-4501.novalocal: Name or service not known 00:13:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-4501.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:13:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:22 ---> job-cost.sh 00:13:22 lf-activate-venv: SKIPPING 00:13:22 DEBUG: total: 0.05999999865889549 00:13:22 INFO: Retrieving Stack Cost... 00:13:22 INFO: Retrieving Pricing Info for: v3-standard-2 00:13:22 INFO: Archiving Costs [Pipeline] echo 00:13:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:23 ---> logs-deploy.sh 00:13:23 lf-activate-venv: SKIPPING 00:13:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-305/6 00:13:23 INFO: archiving workspace using pattern(s): 00:13:23 Archives upload complete. 00:13:24 INFO: archiving logs to Nexus