Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1cb4d43b72ad73268d751b8c912d079a7272c3d+696719805f16fdb1f1dabd114fa1cfb88149d110 (a4d12469f404dd6afd4b9f62492dee28678d86d7) 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-ssh769160310243468464.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11331072218836850048.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-79/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-79/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13065485512940031492.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8584089751349320107.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-79/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-79/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5209000933427229208.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-configuration, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-configuration-settings PROJECT: go-mod-configuration USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-configuration DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-117891 in /w/workspace/undry_go-mod-configuration_PR-79 [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-configuration.git > git init /w/workspace/undry_go-mod-configuration_PR-79 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.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-configuration.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 696719805f16fdb1f1dabd114fa1cfb88149d110 into PR head commit b1cb4d43b72ad73268d751b8c912d079a7272c3d Merge succeeded, producing fd4db743d9858ab5e29196a2b1df479e2409aa46 Checking out Revision fd4db743d9858ab5e29196a2b1df479e2409aa46 (PR-79) > git config core.sparsecheckout # timeout=10 > git checkout -f b1cb4d43b72ad73268d751b8c912d079a7272c3d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 696719805f16fdb1f1dabd114fa1cfb88149d110 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd4db743d9858ab5e29196a2b1df479e2409aa46 # timeout=10 Commit message: "Merge commit '696719805f16fdb1f1dabd114fa1cfb88149d110' into HEAD" > git rev-list --no-walk b1cb4d43b72ad73268d751b8c912d079a7272c3d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:45:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:45:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:45:21 ========================================================= 13:45:21 EdgeX Global Pipelines Version Info 13:45:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:45:22 ------------------- 13:45:22 stable info: 13:45:22 ------------------- 13:45:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:45:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:45:22 Message: update stable to v1.0.243 13:45:22 ------------------- 13:45:22 experimental info: 13:45:22 ------------------- 13:45:22 Commited By: **** collab-it+edgex@linuxfoundation.org 13:45:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:45:22 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd4db743d9858ab5e29196a2b1df479e2409aa46 [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd4db74 [Pipeline] echo 13:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:45:23 + git rev-list -1 --merges fd4db743d9858ab5e29196a2b1df479e2409aa46~1..fd4db743d9858ab5e29196a2b1df479e2409aa46 [Pipeline] echo 13:45:23 -----------> git rev-list -1 --merges fd4db743d9858ab5e29196a2b1df479e2409aa46~1..fd4db743d9858ab5e29196a2b1df479e2409aa46 fd4db743d9858ab5e29196a2b1df479e2409aa46 13:45:23 fd4db743d9858ab5e29196a2b1df479e2409aa46 [false] [Pipeline] sh 13:45:24 + git log --format=format:%s -1 fd4db743d9858ab5e29196a2b1df479e2409aa46 [Pipeline] echo 13:45:24 ========================================================= 13:45:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:45:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:45:24 + git log --format=format:%s -1 fd4db743d9858ab5e29196a2b1df479e2409aa46 [Pipeline] echo 13:45:24 [semverPrep] GIT_COMMIT: fd4db743d9858ab5e29196a2b1df479e2409aa46, Commit Message: Merge commit '696719805f16fdb1f1dabd114fa1cfb88149d110' into HEAD [Pipeline] echo 13:45:24 [semverPrep] This is not a build commit. [Pipeline] sh 13:45:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:45:24 + grep -v github /etc/ssh/ssh_known_hosts 13:45:24 + [ -e /tmp/ssh_known_hosts ] 13:45:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:45:24 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:45:24 sudo tee -a /etc/ssh/ssh_known_hosts 13:45:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:45:25 13:45:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:45:25 0.1.4: Pulling from edgex-devops/py-git-semver 13:45:25 b85a868b505f: Pulling fs layer 13:45:25 e2be974225ed: Pulling fs layer 13:45:25 339a4e72a1f5: Pulling fs layer 13:45:25 988bab9f4d93: Pulling fs layer 13:45:25 1469e6f7b9e6: Pulling fs layer 13:45:25 eaf3925da568: Pulling fs layer 13:45:25 bab4dde63d76: Pulling fs layer 13:45:25 bde34c3a00c8: Pulling fs layer 13:45:25 b352a97aabf1: Pulling fs layer 13:45:25 4872d77fe225: Pulling fs layer 13:45:25 5851b861e8e6: Pulling fs layer 13:45:25 1469e6f7b9e6: Waiting 13:45:25 eaf3925da568: Waiting 13:45:25 bab4dde63d76: Waiting 13:45:25 bde34c3a00c8: Waiting 13:45:25 b352a97aabf1: Waiting 13:45:25 4872d77fe225: Waiting 13:45:25 5851b861e8e6: Waiting 13:45:25 988bab9f4d93: Waiting 13:45:25 e2be974225ed: Download complete 13:45:25 988bab9f4d93: Verifying Checksum 13:45:25 988bab9f4d93: Download complete 13:45:26 339a4e72a1f5: Verifying Checksum 13:45:26 339a4e72a1f5: Download complete 13:45:26 1469e6f7b9e6: Verifying Checksum 13:45:26 1469e6f7b9e6: Download complete 13:45:26 eaf3925da568: Download complete 13:45:26 bde34c3a00c8: Verifying Checksum 13:45:26 bde34c3a00c8: Download complete 13:45:26 b352a97aabf1: Verifying Checksum 13:45:26 b352a97aabf1: Download complete 13:45:26 4872d77fe225: Download complete 13:45:26 5851b861e8e6: Download complete 13:45:26 b85a868b505f: Verifying Checksum 13:45:26 b85a868b505f: Download complete 13:45:26 bab4dde63d76: Verifying Checksum 13:45:26 bab4dde63d76: Download complete 13:45:27 b85a868b505f: Pull complete 13:45:27 e2be974225ed: Pull complete 13:45:28 339a4e72a1f5: Pull complete 13:45:28 988bab9f4d93: Pull complete 13:45:28 1469e6f7b9e6: Pull complete 13:45:28 eaf3925da568: Pull complete 13:45:30 bab4dde63d76: Pull complete 13:45:30 bde34c3a00c8: Pull complete 13:45:30 b352a97aabf1: Pull complete 13:45:30 4872d77fe225: Pull complete 13:45:30 5851b861e8e6: Pull complete 13:45:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:45:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:45:30 prd-ubuntu20.04-docker-8c-8g-117891 does not seem to be running inside a container 13:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-79 -v /w/workspace/undry_go-mod-configuration_PR-79:/w/workspace/undry_go-mod-configuration_PR-79:rw,z -v /w/workspace/undry_go-mod-configuration_PR-79@tmp:/w/workspace/undry_go-mod-configuration_PR-79@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:45:32 $ docker top 93faebe7df830d6f2e7fb37b281373127339bf892f5853679641bb83f7c20f8e -eo pid,comm 13:45:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:45:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:45:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:45:32 [ssh-agent] Looking for ssh-agent implementation... 13:45:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:45:32 $ docker exec 93faebe7df830d6f2e7fb37b281373127339bf892f5853679641bb83f7c20f8e ssh-agent 13:45:32 SSH_AUTH_SOCK=/tmp/ssh-VZdnG2oXKWcv/agent.32 13:45:32 SSH_AGENT_PID=38 13:45:32 Running ssh-add (command line suppressed) 13:45:32 Identity added: /w/workspace/undry_go-mod-configuration_PR-79@tmp/private_key_6207115984069983968.key (/w/workspace/undry_go-mod-configuration_PR-79@tmp/private_key_6207115984069983968.key) 13:45:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:45:33 + git tag --points-at HEAD [Pipeline] } 13:45:33 $ docker exec --env ******** --env ******** 93faebe7df830d6f2e7fb37b281373127339bf892f5853679641bb83f7c20f8e ssh-agent -k 13:45:33 unset SSH_AUTH_SOCK; 13:45:33 unset SSH_AGENT_PID; 13:45:33 echo Agent pid 38 killed; 13:45:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:45:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:45:33 [ssh-agent] Looking for ssh-agent implementation... 13:45:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:45:33 $ docker exec 93faebe7df830d6f2e7fb37b281373127339bf892f5853679641bb83f7c20f8e ssh-agent 13:45:33 SSH_AUTH_SOCK=/tmp/ssh-xyZD5NU58aEA/agent.70 13:45:33 SSH_AGENT_PID=76 13:45:33 Running ssh-add (command line suppressed) 13:45:33 Identity added: /w/workspace/undry_go-mod-configuration_PR-79@tmp/private_key_5556858411199760520.key (/w/workspace/undry_go-mod-configuration_PR-79@tmp/private_key_5556858411199760520.key) 13:45:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:45:33 + git semver init 13:45:34 2022-11-02 13:45:33,999 [run_init] DEBUG init version:0.0.0 force:False 13:45:34 2022-11-02 13:45:34,000 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_go-mod-configuration_PR-79/.semver 13:45:34 2022-11-02 13:45:34,001 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-configuration.git /w/workspace/undry_go-mod-configuration_PR-79/.semver 13:45:34 2022-11-02 13:45:34,001 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-configuration.git', '/w/workspace/undry_go-mod-configuration_PR-79/.semver'], cwd=/w/workspace/undry_go-mod-configuration_PR-79, universal_newlines=False, shell=None, istream=None) 13:45:35 2022-11-02 13:45:34,810 [append_file] DEBUG append to file:/w/workspace/undry_go-mod-configuration_PR-79/.git/info/exclude 13:45:35 2022-11-02 13:45:34,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_go-mod-configuration_PR-79/.semver/PR-79 with force:False 13:45:35 2022-11-02 13:45:34,811 [write_file] DEBUG write to file:/w/workspace/undry_go-mod-configuration_PR-79/.semver/PR-79 13:45:35 2022-11-02 13:45:34,815 [execute] INFO git cat-file --batch-check 13:45:35 2022-11-02 13:45:34,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_go-mod-configuration_PR-79/.semver, universal_newlines=False, shell=None, istream=) 13:45:35 2022-11-02 13:45:34,822 [execute] INFO git cat-file --batch 13:45:35 2022-11-02 13:45:34,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_go-mod-configuration_PR-79/.semver, universal_newlines=False, shell=None, istream=) 13:45:35 2022-11-02 13:45:34,827 [read_version] DEBUG read version from /w/workspace/undry_go-mod-configuration_PR-79/.semver/PR-79 13:45:35 0.0.0 [Pipeline] } 13:45:35 $ docker exec --env ******** --env ******** 93faebe7df830d6f2e7fb37b281373127339bf892f5853679641bb83f7c20f8e ssh-agent -k 13:45:35 unset SSH_AUTH_SOCK; 13:45:35 unset SSH_AGENT_PID; 13:45:35 echo Agent pid 76 killed; 13:45:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:45:35 + git semver [Pipeline] } 13:45:35 $ docker stop --time=1 93faebe7df830d6f2e7fb37b281373127339bf892f5853679641bb83f7c20f8e 13:45:37 $ docker rm -f 93faebe7df830d6f2e7fb37b281373127339bf892f5853679641bb83f7c20f8e [Pipeline] // withDockerContainer [Pipeline] sh 13:45:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:45:37 Stashed 1 file(s) [Pipeline] echo 13:45:37 [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 13:45:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:45:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:45:37 ========================================================= 13:45:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:45:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 13:45:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:45:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:45:38 213ec9aee27d: Pulling fs layer 13:45:38 4583459ba037: Pulling fs layer 13:45:38 93c1e223e6f2: Pulling fs layer 13:45:38 53926ce57604: Pulling fs layer 13:45:38 21b2b0c7a3f4: Pulling fs layer 13:45:38 30f14e443154: Pulling fs layer 13:45:38 801331c1e519: Pulling fs layer 13:45:38 99cc6dd402b0: Pulling fs layer 13:45:38 7d9ed39f4882: Pulling fs layer 13:45:38 30f14e443154: Waiting 13:45:38 53926ce57604: Waiting 13:45:38 801331c1e519: Waiting 13:45:38 21b2b0c7a3f4: Waiting 13:45:38 99cc6dd402b0: Waiting 13:45:38 7d9ed39f4882: Waiting 13:45:38 93c1e223e6f2: Verifying Checksum 13:45:38 93c1e223e6f2: Download complete 13:45:38 4583459ba037: Download complete 13:45:38 21b2b0c7a3f4: Download complete 13:45:38 30f14e443154: Verifying Checksum 13:45:38 30f14e443154: Download complete 13:45:38 213ec9aee27d: Verifying Checksum 13:45:38 213ec9aee27d: Download complete 13:45:38 801331c1e519: Download complete 13:45:38 213ec9aee27d: Pull complete 13:45:38 4583459ba037: Pull complete 13:45:38 93c1e223e6f2: Pull complete 13:45:39 7d9ed39f4882: Verifying Checksum 13:45:39 7d9ed39f4882: Download complete 13:45:39 99cc6dd402b0: Verifying Checksum 13:45:39 99cc6dd402b0: Download complete 13:45:39 53926ce57604: Verifying Checksum 13:45:39 53926ce57604: Download complete 13:45:44 53926ce57604: Pull complete 13:45:44 21b2b0c7a3f4: Pull complete 13:45:44 30f14e443154: Pull complete 13:45:44 801331c1e519: Pull complete 13:45:45 99cc6dd402b0: Pull complete 13:45:46 7d9ed39f4882: Pull complete 13:45:46 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 13:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:45:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 13:45:46 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:47 + docker inspect -f . ci-base-image-x86_64 13:45:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:45:47 prd-ubuntu20.04-docker-8c-8g-117891 does not seem to be running inside a container 13:45:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_go-mod-configuration_PR-79 -v /w/workspace/undry_go-mod-configuration_PR-79:/w/workspace/undry_go-mod-configuration_PR-79:rw,z -v /w/workspace/undry_go-mod-configuration_PR-79@tmp:/w/workspace/undry_go-mod-configuration_PR-79@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 ******** ci-base-image-x86_64 cat 13:45:49 $ docker top 641d3df36fe4c50b3b55edbf2d4375be0273af6721e47eb238928a13ed1b2e9f -eo pid,comm [Pipeline] { [Pipeline] sh 13:45:49 + go version 13:45:49 go version go1.18.7 linux/amd64 [Pipeline] } 13:45:49 $ docker stop --time=1 641d3df36fe4c50b3b55edbf2d4375be0273af6721e47eb238928a13ed1b2e9f 13:45:50 $ docker rm -f 641d3df36fe4c50b3b55edbf2d4375be0273af6721e47eb238928a13ed1b2e9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:51 + docker inspect -f . ci-base-image-x86_64 13:45:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:45:51 prd-ubuntu20.04-docker-8c-8g-117891 does not seem to be running inside a container 13:45:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_go-mod-configuration_PR-79 -v /w/workspace/undry_go-mod-configuration_PR-79:/w/workspace/undry_go-mod-configuration_PR-79:rw,z -v /w/workspace/undry_go-mod-configuration_PR-79@tmp:/w/workspace/undry_go-mod-configuration_PR-79@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 ******** ci-base-image-x86_64 cat 13:45:51 $ docker top debb50b07de26e9e2b0662da35823823db1dbab795cdb6537b0d32b7e1979259 -eo pid,comm [Pipeline] { [Pipeline] sh 13:45:52 + git config --global --add safe.directory /w/workspace/undry_go-mod-configuration_PR-79 [Pipeline] fileExists [Pipeline] sh 13:45:52 + make test 13:45:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:45:52 go: downloading github.com/stretchr/testify v1.8.1 13:45:52 go: downloading github.com/hashicorp/consul/api v1.15.3 13:45:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:45:52 go: downloading github.com/pelletier/go-toml v1.9.5 13:45:52 go: downloading github.com/mitchellh/mapstructure v1.4.1 13:45:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 13:45:52 go: downloading github.com/mitchellh/copystructure v1.0.0 13:45:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 13:45:52 go: downloading github.com/pmezard/go-difflib v1.0.0 13:45:52 go: downloading gopkg.in/yaml.v3 v3.0.1 13:45:52 go: downloading github.com/davecgh/go-spew v1.1.1 13:45:52 go: downloading github.com/hashicorp/serf v0.9.7 13:45:52 go: downloading github.com/hashicorp/go-hclog v0.14.1 13:45:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 13:45:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 13:45:52 go: downloading github.com/mattn/go-isatty v0.0.12 13:45:52 go: downloading github.com/fatih/color v1.9.0 13:45:52 go: downloading golang.org/x/sys v0.0.0-20220412211240-33da011f77ad 13:45:52 go: downloading github.com/mattn/go-colorable v0.1.6 13:45:52 go: downloading github.com/armon/go-metrics v0.3.10 13:45:52 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 13:45:52 go: downloading github.com/hashicorp/golang-lru v0.5.4 13:45:52 Still waiting to schedule task 13:45:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:45:59 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.006s coverage: 85.7% of statements 13:46:05 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.586s coverage: 88.3% of statements 13:46:05 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.005s coverage: 100.0% of statements 13:46:12 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 13:46:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:46:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:46:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:46:14 $ docker stop --time=1 debb50b07de26e9e2b0662da35823823db1dbab795cdb6537b0d32b7e1979259 13:46:16 $ docker rm -f debb50b07de26e9e2b0662da35823823db1dbab795cdb6537b0d32b7e1979259 [Pipeline] // withDockerContainer [Pipeline] sh 13:46:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:46:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:46:17 13:46:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:46:17 latest: Pulling from edgex-lftools-log-publisher 13:46:17 5eb5b503b376: Pulling fs layer 13:46:17 5c69ac0246d0: Pulling fs layer 13:46:17 ec43610c2a17: Pulling fs layer 13:46:17 3a2ae6a8a46f: Pulling fs layer 13:46:17 33b1e0a273af: Pulling fs layer 13:46:17 5d3b04190fa2: Pulling fs layer 13:46:17 2f39f015ded8: Pulling fs layer 13:46:17 3a2ae6a8a46f: Waiting 13:46:17 33b1e0a273af: Waiting 13:46:17 5d3b04190fa2: Waiting 13:46:17 2f39f015ded8: Waiting 13:46:17 5c69ac0246d0: Download complete 13:46:17 3a2ae6a8a46f: Download complete 13:46:18 33b1e0a273af: Verifying Checksum 13:46:18 33b1e0a273af: Download complete 13:46:18 5d3b04190fa2: Download complete 13:46:18 ec43610c2a17: Download complete 13:46:18 5eb5b503b376: Verifying Checksum 13:46:18 5eb5b503b376: Download complete 13:46:18 2f39f015ded8: Download complete 13:46:19 5eb5b503b376: Pull complete 13:46:19 5c69ac0246d0: Pull complete 13:46:20 ec43610c2a17: Pull complete 13:46:20 3a2ae6a8a46f: Pull complete 13:46:20 33b1e0a273af: Pull complete 13:46:20 5d3b04190fa2: Pull complete 13:46:25 2f39f015ded8: Pull complete 13:46:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:46:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:46:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:25 prd-ubuntu20.04-docker-8c-8g-117891 does not seem to be running inside a container 13:46:25 $ 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/undry_go-mod-configuration_PR-79 -v /w/workspace/undry_go-mod-configuration_PR-79:/w/workspace/undry_go-mod-configuration_PR-79:rw,z -v /w/workspace/undry_go-mod-configuration_PR-79@tmp:/w/workspace/undry_go-mod-configuration_PR-79@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 13:46:27 $ docker top a06a9da7268a766ca6e4d750ff8963f10a6e41350ffde4d0c4015fe2313774c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:28 ---> job-cost.sh 13:46:28 lf-activate-venv: SKIPPING 13:46:28 INFO: No Stack... 13:46:28 INFO: Retrieving Pricing Info for: v3-standard-8 13:46:29 INFO: Archiving Costs [Pipeline] sh 13:46:29 + cat /w/workspace/undry_go-mod-configuration_PR-79/archives/cost.csv 13:46:29 + cut -d, -f6 [Pipeline] lock 13:46:29 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] 13:46:29 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] did not exist. Created. 13:46:29 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:46:29 + echo total: 0.2199999988079071 [Pipeline] stash 13:46:29 Stashed 1 file(s) [Pipeline] } 13:46:29 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:46:29 $ docker stop --time=1 a06a9da7268a766ca6e4d750ff8963f10a6e41350ffde4d0c4015fe2313774c3 13:46:30 $ docker rm -f a06a9da7268a766ca6e4d750ff8963f10a6e41350ffde4d0c4015fe2313774c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:47:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117892 in /w/workspace/undry_go-mod-configuration_PR-79 [Pipeline] { [Pipeline] ws 13:47:24 Running in /w/workspace/go-mod-configuration/4 [Pipeline] { [Pipeline] checkout 13:47:24 Selected Git installation does not exist. Using Default 13:47:24 The recommended git tool is: NONE 13:47:29 using credential edgex-jenkins-ssh 13:47:29 Cloning the remote Git repository 13:47:29 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 13:47:29 > git init /w/workspace/go-mod-configuration/4 # timeout=10 13:47:29 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 13:47:29 > git --version # timeout=10 13:47:29 > git --version # 'git version 2.25.1' 13:47:29 using GIT_SSH to set credentials SSH Credentials for GitHub 13:47:29 Verifying host key using known hosts file 13:47:30 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 13:47:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:47:31 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 13:47:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:47:31 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 13:47:31 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 13:47:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:47:31 Verifying host key using known hosts file 13:47:31 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 13:47:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:47:32 Merging remotes/origin/main commit 696719805f16fdb1f1dabd114fa1cfb88149d110 into PR head commit b1cb4d43b72ad73268d751b8c912d079a7272c3d 13:47:32 Merge succeeded, producing a9fc2b4360ac2d6b99f29fc0d2708bd3c8c6d3bb 13:47:32 Checking out Revision a9fc2b4360ac2d6b99f29fc0d2708bd3c8c6d3bb (PR-79) 13:47:32 > git config core.sparsecheckout # timeout=10 13:47:32 > git checkout -f b1cb4d43b72ad73268d751b8c912d079a7272c3d # timeout=10 13:47:32 > git remote # timeout=10 13:47:32 > git config --get remote.origin.url # timeout=10 13:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 13:47:32 Verifying host key using known hosts file 13:47:32 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 13:47:32 > git merge 696719805f16fdb1f1dabd114fa1cfb88149d110 # timeout=10 13:47:32 > git rev-parse HEAD^{commit} # timeout=10 13:47:32 > git config core.sparsecheckout # timeout=10 13:47:32 > git checkout -f a9fc2b4360ac2d6b99f29fc0d2708bd3c8c6d3bb # timeout=10 13:47:36 Commit message: "Merge commit '696719805f16fdb1f1dabd114fa1cfb88149d110' into HEAD" 13:47:36 > git rev-list --no-walk b1cb4d43b72ad73268d751b8c912d079a7272c3d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:47:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:47:37 % Total % Received % Xferd Average Speed Time Time Time Current 13:47:37 Dload Upload Total Spent Left Speed 13:47:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81831 0 --:--:-- --:--:-- --:--:-- 82366 [Pipeline] sh 13:47:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:47:38 + sudo tee /etc/docker/daemon.new 13:47:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:47:38 { 13:47:38 "registry-mirrors": [ 13:47:38 "https://nexus3.edgexfoundry.org:10001" 13:47:38 ], 13:47:38 "bip": "10.250.0.254/24", 13:47:38 "hosts": [ 13:47:38 "tcp://0.0.0.0:5555", 13:47:38 "unix:///var/run/docker.sock" 13:47:38 ], 13:47:38 "mtu": 1458, 13:47:38 "selinux-enabled": true, 13:47:38 "seccomp-profile": "/etc/docker/seccomp.json" 13:47:38 } [Pipeline] sh 13:47:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:47:38 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 13:47:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:47:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:47:57 ========================================================= 13:47:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:47:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 13:47:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:47:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:47:58 9b18e9b68314: Pulling fs layer 13:47:58 d32db5db7311: Pulling fs layer 13:47:58 d0c4b47475fc: Pulling fs layer 13:47:58 5831b945b038: Pulling fs layer 13:47:58 86bbec2aaacd: Pulling fs layer 13:47:58 e10730c5d714: Pulling fs layer 13:47:58 5dd5c2283517: Pulling fs layer 13:47:58 d5ac0230b979: Pulling fs layer 13:47:58 5831b945b038: Waiting 13:47:58 86bbec2aaacd: Waiting 13:47:58 e10730c5d714: Waiting 13:47:58 5dd5c2283517: Waiting 13:47:58 d5ac0230b979: Waiting 13:47:58 d0c4b47475fc: Verifying Checksum 13:47:58 d0c4b47475fc: Download complete 13:47:58 d32db5db7311: Verifying Checksum 13:47:58 d32db5db7311: Download complete 13:47:58 86bbec2aaacd: Verifying Checksum 13:47:58 86bbec2aaacd: Download complete 13:47:58 e10730c5d714: Verifying Checksum 13:47:58 e10730c5d714: Download complete 13:47:58 9b18e9b68314: Verifying Checksum 13:47:58 9b18e9b68314: Download complete 13:47:59 d5ac0230b979: Verifying Checksum 13:47:59 d5ac0230b979: Download complete 13:47:59 9b18e9b68314: Pull complete 13:48:00 d32db5db7311: Pull complete 13:48:00 d0c4b47475fc: Pull complete 13:48:00 5dd5c2283517: Verifying Checksum 13:48:00 5dd5c2283517: Download complete 13:48:01 5831b945b038: Verifying Checksum 13:48:01 5831b945b038: Download complete 13:48:13 5831b945b038: Pull complete 13:48:13 86bbec2aaacd: Pull complete 13:48:13 e10730c5d714: Pull complete 13:48:19 5dd5c2283517: Pull complete 13:48:21 d5ac0230b979: Pull complete 13:48:21 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 13:48:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:48:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 13:48:21 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:22 + docker inspect -f . ci-base-image-arm64 13:48:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:22 prd-ubuntu20.04-docker-arm64-4c-16g-117892 does not seem to be running inside a container 13:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/4 -v /w/workspace/go-mod-configuration/4:/w/workspace/go-mod-configuration/4:rw,z -v /w/workspace/go-mod-configuration/4@tmp:/w/workspace/go-mod-configuration/4@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 ******** ci-base-image-arm64 cat 13:48:25 $ docker top 2ac0ac6895c63e7219f8894cff8bbf107fe741d735487874b791d5dd76b3a17d -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:26 + go version 13:48:26 go version go1.18.7 linux/arm64 [Pipeline] } 13:48:26 $ docker stop --time=1 2ac0ac6895c63e7219f8894cff8bbf107fe741d735487874b791d5dd76b3a17d 13:48:27 $ docker rm -f 2ac0ac6895c63e7219f8894cff8bbf107fe741d735487874b791d5dd76b3a17d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:28 + docker inspect -f . ci-base-image-arm64 13:48:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:28 prd-ubuntu20.04-docker-arm64-4c-16g-117892 does not seem to be running inside a container 13:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-configuration/4 -v /w/workspace/go-mod-configuration/4:/w/workspace/go-mod-configuration/4:rw,z -v /w/workspace/go-mod-configuration/4@tmp:/w/workspace/go-mod-configuration/4@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 ******** ci-base-image-arm64 cat 13:48:29 $ docker top 49c8cfc44cd48305a310762085d550059ef0b53722aed74f20cae1fb5a7172f2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:30 + git config --global --add safe.directory /w/workspace/go-mod-configuration/4 [Pipeline] fileExists [Pipeline] sh 13:48:30 + make test 13:48:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:48:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:48:30 go: downloading github.com/hashicorp/consul/api v1.15.3 13:48:30 go: downloading github.com/pelletier/go-toml v1.9.5 13:48:30 go: downloading github.com/stretchr/testify v1.8.1 13:48:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 13:48:31 go: downloading github.com/mitchellh/copystructure v1.0.0 13:48:31 go: downloading github.com/mitchellh/mapstructure v1.4.1 13:48:31 go: downloading github.com/davecgh/go-spew v1.1.1 13:48:31 go: downloading github.com/pmezard/go-difflib v1.0.0 13:48:31 go: downloading gopkg.in/yaml.v3 v3.0.1 13:48:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 13:48:31 go: downloading github.com/hashicorp/go-hclog v0.14.1 13:48:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 13:48:31 go: downloading github.com/hashicorp/serf v0.9.7 13:48:31 go: downloading github.com/mitchellh/reflectwalk v1.0.0 13:48:31 go: downloading github.com/fatih/color v1.9.0 13:48:31 go: downloading github.com/mattn/go-isatty v0.0.12 13:48:31 go: downloading github.com/mattn/go-colorable v0.1.6 13:48:31 go: downloading golang.org/x/sys v0.0.0-20220412211240-33da011f77ad 13:48:31 go: downloading github.com/armon/go-metrics v0.3.10 13:48:31 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 13:48:31 go: downloading github.com/hashicorp/golang-lru v0.5.4 13:49:03 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.024s coverage: 85.7% of statements 13:49:12 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.726s coverage: 88.3% of statements 13:49:12 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.014s coverage: 100.0% of statements 13:49:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:49:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:49:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:49:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:49:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:49:22 $ docker stop --time=1 49c8cfc44cd48305a310762085d550059ef0b53722aed74f20cae1fb5a7172f2 13:49:23 $ docker rm -f 49c8cfc44cd48305a310762085d550059ef0b53722aed74f20cae1fb5a7172f2 [Pipeline] // withDockerContainer [Pipeline] sh 13:49:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:49:24 Warning: overwriting stash ‘coverage-report’ 13:49:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:49:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:25 13:49:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:49:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:25 arm64: Pulling from edgex-lftools-log-publisher 13:49:25 8998bd30e6a1: Pulling fs layer 13:49:25 04944245beec: Pulling fs layer 13:49:25 699f458cf7ca: Pulling fs layer 13:49:25 765212b225bb: Pulling fs layer 13:49:25 f23df028b6ca: Pulling fs layer 13:49:25 d65c8cfc05b1: Pulling fs layer 13:49:25 2437ff75d9bd: Pulling fs layer 13:49:25 765212b225bb: Waiting 13:49:25 f23df028b6ca: Waiting 13:49:25 d65c8cfc05b1: Waiting 13:49:25 2437ff75d9bd: Waiting 13:49:26 04944245beec: Verifying Checksum 13:49:26 04944245beec: Download complete 13:49:26 765212b225bb: Verifying Checksum 13:49:26 765212b225bb: Download complete 13:49:26 f23df028b6ca: Verifying Checksum 13:49:26 f23df028b6ca: Download complete 13:49:26 699f458cf7ca: Verifying Checksum 13:49:26 699f458cf7ca: Download complete 13:49:26 8998bd30e6a1: Verifying Checksum 13:49:26 8998bd30e6a1: Download complete 13:49:28 2437ff75d9bd: Verifying Checksum 13:49:28 2437ff75d9bd: Download complete 13:49:30 8998bd30e6a1: Pull complete 13:49:30 04944245beec: Pull complete 13:49:32 699f458cf7ca: Pull complete 13:49:32 765212b225bb: Pull complete 13:49:33 f23df028b6ca: Pull complete 13:49:33 d65c8cfc05b1: Pull complete 13:49:48 2437ff75d9bd: Pull complete 13:49:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:49:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:49:48 prd-ubuntu20.04-docker-arm64-4c-16g-117892 does not seem to be running inside a container 13:49:48 $ 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-configuration/4 -v /w/workspace/go-mod-configuration/4:/w/workspace/go-mod-configuration/4:rw,z -v /w/workspace/go-mod-configuration/4@tmp:/w/workspace/go-mod-configuration/4@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:arm64 cat 13:49:51 $ docker top 48f8d3700f840ccd5d6f9f40cb74046f992aa140b075a814657c784c1a6a5fb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:49:51 ---> job-cost.sh 13:49:52 lf-activate-venv: SKIPPING 13:49:52 INFO: No Stack... 13:49:52 INFO: Retrieving Pricing Info for: v3-standard-4 13:49:53 INFO: Archiving Costs [Pipeline] sh 13:49:53 + cat /w/workspace/go-mod-configuration/4/archives/cost.csv 13:49:53 + cut -d, -f6 [Pipeline] lock 13:49:53 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] 13:49:53 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] did not exist. Created. 13:49:53 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:49:54 /w/workspace/go-mod-configuration/4@tmp/durable-93213ef7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:49:54 + echo total: 0.10999999940395355 [Pipeline] stash 13:49:54 Warning: overwriting stash ‘stack-cost’ 13:49:55 Stashed 1 file(s) [Pipeline] } 13:49:55 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-79-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:49:55 $ docker stop --time=1 48f8d3700f840ccd5d6f9f40cb74046f992aa140b075a814657c784c1a6a5fb1 13:49:56 $ docker rm -f 48f8d3700f840ccd5d6f9f40cb74046f992aa140b075a814657c784c1a6a5fb1 [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 13:49:56 provisioning config files... 13:49:56 copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-79@tmp/config8944678102699565482tmp [Pipeline] { [Pipeline] sh 13:49:57 + set +x 13:49:57 + + curl -s https://codecov.io/bash 13:49:57 bash -s -- 13:49:57 13:49:57 _____ _ 13:49:57 / ____| | | 13:49:57 | | ___ __| | ___ ___ _____ __ 13:49:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:49:57 | |___| (_) | (_| | __/ (_| (_) \ V / 13:49:57 \_____\___/ \__,_|\___|\___\___/ \_/ 13:49:57 Bash-1.0.6 13:49:57 13:49:57 13:49:57 ==> git version 2.25.1 found 13:49:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:49:57 Release-Date: 2020-01-08 13:49:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:49:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:49:57 ==> Jenkins CI detected. 13:49:57 current dir:  /w/workspace/undry_go-mod-configuration_PR-79 13:49:57 project root: . 13:49:57 --> token set from env 13:49:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:49:57 ==> Running gcov in . (disable via -X gcov) 13:49:57 ==> Python coveragepy not found 13:49:57 ==> Searching for coverage reports in: 13:49:57 + . 13:49:57 -> Found 1 reports 13:49:57 ==> Detecting git/mercurial file structure 13:49:57 ==> Reading reports 13:49:57 + ./coverage.out bytes=17231 13:49:57 ==> Appending adjustments 13:49:57 https://docs.codecov.io/docs/fixing-reports 13:49:57 + Found adjustments 13:49:57 ==> Gzipping contents 13:49:57 4.0K /tmp/codecov.7HDc7x.gz 13:49:57 ==> Uploading reports 13:49:57 url: https://codecov.io 13:49:57 query: branch=PR-79&commit=fd4db743d9858ab5e29196a2b1df479e2409aa46&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-79%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=79&job=&cmd_args= 13:49:57 -> Pinging Codecov 13:49:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=b03387cf-fbed-45a6-9f6b-56101d2ea1b2&branch=PR-79&commit=fd4db743d9858ab5e29196a2b1df479e2409aa46&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-79%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=79&job=&cmd_args= 13:49:57 -> Uploading to 13:49:57 https://storage.googleapis.com/codecov/v4/raw/2022-11-02/9F92B070CA9CA35F4914AC8684776953/fd4db743d9858ab5e29196a2b1df479e2409aa46/3a2fd13c-fd59-4b71-9b6e-8a3cc6cb2720.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T134957Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b41b4f5d96f97bb7579c6309861c2c328e655732ca4e8c4ca4fcf52259a98054 13:49:57 % Total % Received % Xferd Average Speed Time Time Time Current 13:49:57 Dload Upload Total Spent Left Speed 13:49:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2943 0 0 100 2943 0 12417 --:--:-- --:--:-- --:--:-- 12417 13:49:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-configuration/commit/fd4db743d9858ab5e29196a2b1df479e2409aa46 [Pipeline] } 13:49:58 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 13:49:58 + [ -d /w/workspace/undry_go-mod-configuration_PR-79/archives ] 13:49:58 + ls -al /w/workspace/undry_go-mod-configuration_PR-79/archives 13:49:58 total 16 13:49:58 drwxr-xr-x 3 root root 4096 Nov 2 13:46 . 13:49:58 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 13:46 .. 13:49:58 drwxr-xr-x 2 root root 4096 Nov 2 13:46 cost 13:49:58 -rw-r--r-- 1 root root 91 Nov 2 13:46 cost.csv 13:49:58 + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-configuration_PR-79/archives 13:49:58 + ls -al /w/workspace/undry_go-mod-configuration_PR-79/archives 13:49:58 total 16 13:49:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 13:46 . 13:49:58 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 13:46 .. 13:49:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 13:46 cost 13:49:58 -rw-r--r-- 1 jenkins jenkins 91 Nov 2 13:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:49:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:49:59 ---> package-listing.sh 13:49:59 ++ facter osfamily 13:49:59 ++ tr '[:upper:]' '[:lower:]' 13:50:00 + OS_FAMILY=debian 13:50:00 + workspace=/w/workspace/undry_go-mod-configuration_PR-79 13:50:00 + START_PACKAGES=/tmp/packages_start.txt 13:50:00 + END_PACKAGES=/tmp/packages_end.txt 13:50:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:50:00 + PACKAGES=/tmp/packages_start.txt 13:50:00 + '[' /w/workspace/undry_go-mod-configuration_PR-79 ']' 13:50:00 + PACKAGES=/tmp/packages_end.txt 13:50:00 + case "${OS_FAMILY}" in 13:50:00 + dpkg -l 13:50:00 + grep '^ii' 13:50:00 + '[' -f /tmp/packages_start.txt ']' 13:50:00 + '[' -f /tmp/packages_end.txt ']' 13:50:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:50:00 + '[' /w/workspace/undry_go-mod-configuration_PR-79 ']' 13:50:00 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-79/archives/ 13:50:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-79/archives/ [Pipeline] echo 13:50:00 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_go-mod-configuration_PR-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:50:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:50:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:50:01 prd-ubuntu20.04-docker-8c-8g-117891 does not seem to be running inside a container 13:50:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_go-mod-configuration_PR-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-configuration_PR-79 -v /w/workspace/undry_go-mod-configuration_PR-79:/w/workspace/undry_go-mod-configuration_PR-79:rw,z -v /w/workspace/undry_go-mod-configuration_PR-79@tmp:/w/workspace/undry_go-mod-configuration_PR-79@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:50:01 $ docker top 20f52252308d2c0827eaf5df2953984f9f67f77a544613f6f46a01c1106554f1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:50:01 + touch /tmp/pre-build-complete [Pipeline] sh 13:50:01 + mkdir -p /var/log/sysstat [Pipeline] sh 13:50:02 + ls /var/log/sa-host 13:50:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:50:02 provisioning config files... 13:50:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-79@tmp/config2754721716368645452tmp [Pipeline] { [Pipeline] echo 13:50:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:50:02 ---> create-netrc.sh [Pipeline] } 13:50:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:50:02 ---> python-tools-install.sh [Pipeline] echo 13:50:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:50:03 ---> sudo-logs.sh 13:50:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:50:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:50:03 ---> job-cost.sh 13:50:03 lf-activate-venv: SKIPPING 13:50:03 DEBUG: total: 0.2199999988079071 13:50:03 INFO: Retrieving Stack Cost... 13:50:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:50:04 INFO: Archiving Costs [Pipeline] echo 13:50:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:50:04 ---> logs-deploy.sh 13:50:04 lf-activate-venv: SKIPPING 13:50:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-79/4 13:50:04 INFO: archiving workspace using pattern(s): 13:50:05 Archives upload complete. 13:50:05 INFO: archiving logs to Nexus