Pull request #99 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1dd98c124452755b044c3054749e78ad5adec15+4d8d54a65c49840dae70675416d78ca62ff94528 (437a9ac1680a289bb0301bbaf3049d5dda81d194) 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-ssh15458331382706434917.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh3859781501572223708.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4467881652753180894.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3134985091644606975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh2463265429776634020.key > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3002881583019131193.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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-17856 in /w/workspace/undry_go-mod-configuration_PR-99 [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-99 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4d8d54a65c49840dae70675416d78ca62ff94528 into PR head commit e1dd98c124452755b044c3054749e78ad5adec15 Merge succeeded, producing e1dd98c124452755b044c3054749e78ad5adec15 Checking out Revision e1dd98c124452755b044c3054749e78ad5adec15 (PR-99) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1dd98c124452755b044c3054749e78ad5adec15 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d8d54a65c49840dae70675416d78ca62ff94528 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1dd98c124452755b044c3054749e78ad5adec15 # timeout=10 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.20.0 to 1.21.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-05T12:59:22.610Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-05T12:59:22.793Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-05T12:59:22.882Z] ========================================================= [2023-06-05T12:59:22.882Z] EdgeX Global Pipelines Version Info [2023-06-05T12:59:22.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-05T12:59:23.631Z] ------------------- [2023-06-05T12:59:23.631Z] stable info: [2023-06-05T12:59:23.631Z] ------------------- [2023-06-05T12:59:23.631Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-05T12:59:23.631Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-05T12:59:23.631Z] Message: update stable to v1.0.250 [2023-06-05T12:59:24.201Z] ------------------- [2023-06-05T12:59:24.201Z] experimental info: [2023-06-05T12:59:24.201Z] ------------------- [2023-06-05T12:59:24.201Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-05T12:59:24.201Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-05T12:59:24.201Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-05T12:59:24.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo [2023-06-05T12:59:24.521Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo [2023-06-05T12:59:24.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-05T12:59:24.606Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-05T12:59:24.648Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-05T12:59:24.696Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-05T12:59:24.740Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-05T12:59:24.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-05T12:59:24.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-05T12:59:24.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-05T12:59:24.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-05T12:59:24.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo [2023-06-05T12:59:25.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-05T12:59:25.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-05T12:59:25.100Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T12:59:25.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T12:59:25.173Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T12:59:25.218Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T12:59:25.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-05T12:59:25.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-05T12:59:25.337Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-05T12:59:25.378Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-05T12:59:25.424Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-05T12:59:25.465Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-05T12:59:25.514Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-06-05T12:59:25.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-05T12:59:25.603Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-05T12:59:25.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2023-06-05T12:59:25.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2023-06-05T12:59:25.734Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2023-06-05T12:59:25.777Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1dd98c124452755b044c3054749e78ad5adec15 [Pipeline] echo [2023-06-05T12:59:25.818Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1dd98c [Pipeline] echo [2023-06-05T12:59:25.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-05T12:59:26.395Z] + git rev-list -1 --merges e1dd98c124452755b044c3054749e78ad5adec15~1..e1dd98c124452755b044c3054749e78ad5adec15 [Pipeline] echo [2023-06-05T12:59:26.471Z] -----------> git rev-list -1 --merges e1dd98c124452755b044c3054749e78ad5adec15~1..e1dd98c124452755b044c3054749e78ad5adec15 e1dd98c124452755b044c3054749e78ad5adec15 [false] [Pipeline] sh [2023-06-05T12:59:26.786Z] + git log --format=format:%s -1 e1dd98c124452755b044c3054749e78ad5adec15 [Pipeline] echo [2023-06-05T12:59:26.823Z] ========================================================= [2023-06-05T12:59:26.823Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-05T12:59:26.823Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-05T12:59:27.250Z] + git log --format=format:%s -1 e1dd98c124452755b044c3054749e78ad5adec15 [Pipeline] echo [2023-06-05T12:59:27.280Z] [semverPrep] GIT_COMMIT: e1dd98c124452755b044c3054749e78ad5adec15, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.20.0 to 1.21.0 [Pipeline] echo [2023-06-05T12:59:27.311Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-05T12:59:27.684Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-05T12:59:27.684Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-05T12:59:27.684Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-05T12:59:27.684Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-05T12:59:27.684Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-05T12:59:27.684Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-05T12:59:27.684Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T12:59:28.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-05T12:59:28.387Z] [2023-06-05T12:59:28.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T12:59:28.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-05T12:59:28.778Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-05T12:59:28.778Z] b85a868b505f: Pulling fs layer [2023-06-05T12:59:28.778Z] e2be974225ed: Pulling fs layer [2023-06-05T12:59:28.778Z] 339a4e72a1f5: Pulling fs layer [2023-06-05T12:59:28.778Z] 988bab9f4d93: Pulling fs layer [2023-06-05T12:59:28.778Z] 1469e6f7b9e6: Pulling fs layer [2023-06-05T12:59:28.778Z] eaf3925da568: Pulling fs layer [2023-06-05T12:59:28.778Z] bab4dde63d76: Pulling fs layer [2023-06-05T12:59:28.778Z] bde34c3a00c8: Pulling fs layer [2023-06-05T12:59:28.778Z] 1469e6f7b9e6: Waiting [2023-06-05T12:59:28.778Z] bab4dde63d76: Waiting [2023-06-05T12:59:28.778Z] eaf3925da568: Waiting [2023-06-05T12:59:28.778Z] 988bab9f4d93: Waiting [2023-06-05T12:59:28.778Z] b352a97aabf1: Pulling fs layer [2023-06-05T12:59:28.778Z] 4872d77fe225: Pulling fs layer [2023-06-05T12:59:28.778Z] bde34c3a00c8: Waiting [2023-06-05T12:59:28.778Z] 5851b861e8e6: Pulling fs layer [2023-06-05T12:59:28.778Z] 5851b861e8e6: Waiting [2023-06-05T12:59:28.778Z] e2be974225ed: Download complete [2023-06-05T12:59:28.778Z] 988bab9f4d93: Verifying Checksum [2023-06-05T12:59:28.778Z] 988bab9f4d93: Download complete [2023-06-05T12:59:29.040Z] 1469e6f7b9e6: Verifying Checksum [2023-06-05T12:59:29.040Z] 1469e6f7b9e6: Download complete [2023-06-05T12:59:29.040Z] eaf3925da568: Verifying Checksum [2023-06-05T12:59:29.040Z] eaf3925da568: Download complete [2023-06-05T12:59:29.040Z] 339a4e72a1f5: Verifying Checksum [2023-06-05T12:59:29.040Z] 339a4e72a1f5: Download complete [2023-06-05T12:59:29.040Z] bde34c3a00c8: Download complete [2023-06-05T12:59:29.040Z] b352a97aabf1: Verifying Checksum [2023-06-05T12:59:29.040Z] b352a97aabf1: Download complete [2023-06-05T12:59:29.040Z] 4872d77fe225: Download complete [2023-06-05T12:59:29.040Z] 5851b861e8e6: Download complete [2023-06-05T12:59:29.040Z] b85a868b505f: Verifying Checksum [2023-06-05T12:59:29.040Z] b85a868b505f: Download complete [2023-06-05T12:59:29.299Z] bab4dde63d76: Verifying Checksum [2023-06-05T12:59:29.299Z] bab4dde63d76: Download complete [2023-06-05T12:59:30.243Z] b85a868b505f: Pull complete [2023-06-05T12:59:30.502Z] e2be974225ed: Pull complete [2023-06-05T12:59:31.073Z] 339a4e72a1f5: Pull complete [2023-06-05T12:59:31.073Z] 988bab9f4d93: Pull complete [2023-06-05T12:59:31.332Z] 1469e6f7b9e6: Pull complete [2023-06-05T12:59:31.332Z] eaf3925da568: Pull complete [2023-06-05T12:59:33.269Z] bab4dde63d76: Pull complete [2023-06-05T12:59:33.269Z] bde34c3a00c8: Pull complete [2023-06-05T12:59:33.531Z] b352a97aabf1: Pull complete [2023-06-05T12:59:33.531Z] 4872d77fe225: Pull complete [2023-06-05T12:59:33.531Z] 5851b861e8e6: Pull complete [2023-06-05T12:59:33.531Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-05T12:59:33.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-05T12:59:33.531Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T12:59:33.769Z] prd-ubuntu20.04-docker-8c-8g-17856 does not seem to be running inside a container [2023-06-05T12:59:33.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-99 -v /w/workspace/undry_go-mod-configuration_PR-99:/w/workspace/undry_go-mod-configuration_PR-99:rw,z -v /w/workspace/undry_go-mod-configuration_PR-99@tmp:/w/workspace/undry_go-mod-configuration_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-05T12:59:36.787Z] $ docker top e5bc8eeebb422213e654883db53bd9e2ce36a220c62d34544c29dffcc5998d70 -eo pid,comm [2023-06-05T12:59:36.847Z] 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). [2023-06-05T12:59:36.847Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-05T12:59:36.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-05T12:59:36.978Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-05T12:59:37.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-05T12:59:37.107Z] $ docker exec e5bc8eeebb422213e654883db53bd9e2ce36a220c62d34544c29dffcc5998d70 ssh-agent [2023-06-05T12:59:37.220Z] SSH_AUTH_SOCK=/tmp/ssh-KpwavOFzhyQD/agent.31 [2023-06-05T12:59:37.220Z] SSH_AGENT_PID=37 [2023-06-05T12:59:37.229Z] Running ssh-add (command line suppressed) [2023-06-05T12:59:37.338Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-99@tmp/private_key_11117699263457141919.key (/w/workspace/undry_go-mod-configuration_PR-99@tmp/private_key_11117699263457141919.key) [2023-06-05T12:59:37.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-05T12:59:37.694Z] + git tag --points-at HEAD [Pipeline] } [2023-06-05T12:59:37.722Z] $ docker exec --env ******** --env ******** e5bc8eeebb422213e654883db53bd9e2ce36a220c62d34544c29dffcc5998d70 ssh-agent -k [2023-06-05T12:59:37.826Z] unset SSH_AUTH_SOCK; [2023-06-05T12:59:37.827Z] unset SSH_AGENT_PID; [2023-06-05T12:59:37.827Z] echo Agent pid 37 killed; [2023-06-05T12:59:37.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-05T12:59:37.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-05T12:59:37.930Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-05T12:59:38.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-05T12:59:38.058Z] $ docker exec e5bc8eeebb422213e654883db53bd9e2ce36a220c62d34544c29dffcc5998d70 ssh-agent [2023-06-05T12:59:38.175Z] SSH_AUTH_SOCK=/tmp/ssh-S0C44elHXKSX/agent.69 [2023-06-05T12:59:38.175Z] SSH_AGENT_PID=75 [2023-06-05T12:59:38.181Z] Running ssh-add (command line suppressed) [2023-06-05T12:59:38.297Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-99@tmp/private_key_2226668711206710343.key (/w/workspace/undry_go-mod-configuration_PR-99@tmp/private_key_2226668711206710343.key) [2023-06-05T12:59:38.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-05T12:59:38.636Z] + git semver init [2023-06-05T12:59:38.894Z] 2023-06-05 12:59:38,832 [run_init] DEBUG init version:0.0.0 force:False [2023-06-05T12:59:38.894Z] 2023-06-05 12:59:38,833 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_go-mod-configuration_PR-99/.semver [2023-06-05T12:59:38.894Z] 2023-06-05 12:59:38,834 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-configuration.git /w/workspace/undry_go-mod-configuration_PR-99/.semver [2023-06-05T12:59:38.894Z] 2023-06-05 12:59:38,834 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-configuration.git', '/w/workspace/undry_go-mod-configuration_PR-99/.semver'], cwd=/w/workspace/undry_go-mod-configuration_PR-99, universal_newlines=False, shell=None, istream=None) [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,564 [append_file] DEBUG append to file:/w/workspace/undry_go-mod-configuration_PR-99/.git/info/exclude [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,564 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_go-mod-configuration_PR-99/.semver/PR-99 with force:False [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,564 [write_file] DEBUG write to file:/w/workspace/undry_go-mod-configuration_PR-99/.semver/PR-99 [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,567 [execute] INFO git cat-file --batch-check [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_go-mod-configuration_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,574 [execute] INFO git cat-file --batch [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_go-mod-configuration_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-06-05T12:59:39.831Z] 2023-06-05 12:59:39,580 [read_version] DEBUG read version from /w/workspace/undry_go-mod-configuration_PR-99/.semver/PR-99 [2023-06-05T12:59:39.831Z] 0.0.0 [Pipeline] } [2023-06-05T12:59:39.860Z] $ docker exec --env ******** --env ******** e5bc8eeebb422213e654883db53bd9e2ce36a220c62d34544c29dffcc5998d70 ssh-agent -k [2023-06-05T12:59:39.976Z] unset SSH_AUTH_SOCK; [2023-06-05T12:59:39.977Z] unset SSH_AGENT_PID; [2023-06-05T12:59:39.977Z] echo Agent pid 75 killed; [2023-06-05T12:59:39.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-05T12:59:40.406Z] + git semver [Pipeline] } [2023-06-05T12:59:40.695Z] $ docker stop --time=1 e5bc8eeebb422213e654883db53bd9e2ce36a220c62d34544c29dffcc5998d70 [2023-06-05T12:59:41.998Z] $ docker rm -f --volumes e5bc8eeebb422213e654883db53bd9e2ce36a220c62d34544c29dffcc5998d70 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-05T12:59:42.405Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-05T12:59:42.690Z] Stashed 1 file(s) [Pipeline] echo [2023-06-05T12:59:42.705Z] [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 [2023-06-05T12:59:43.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T12:59:43.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T12:59:43.350Z] ========================================================= [2023-06-05T12:59:43.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-05T12:59:43.350Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-06-05T12:59:43.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-05T12:59:43.746Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-05T12:59:43.746Z] f56be85fc22e: Pulling fs layer [2023-06-05T12:59:43.746Z] 85791d961cd3: Pulling fs layer [2023-06-05T12:59:43.746Z] d694b5ae8c79: Pulling fs layer [2023-06-05T12:59:43.746Z] 9f32a84ed3da: Pulling fs layer [2023-06-05T12:59:43.746Z] 4d19c01a9841: Pulling fs layer [2023-06-05T12:59:43.746Z] 9325e15d5711: Pulling fs layer [2023-06-05T12:59:43.746Z] 556b6ee489ea: Pulling fs layer [2023-06-05T12:59:43.746Z] c5a4b2cf53e6: Pulling fs layer [2023-06-05T12:59:43.746Z] 4d19c01a9841: Waiting [2023-06-05T12:59:43.746Z] 9325e15d5711: Waiting [2023-06-05T12:59:43.746Z] c5a4b2cf53e6: Waiting [2023-06-05T12:59:43.746Z] 556b6ee489ea: Waiting [2023-06-05T12:59:43.746Z] 85791d961cd3: Verifying Checksum [2023-06-05T12:59:43.746Z] 85791d961cd3: Download complete [2023-06-05T12:59:43.746Z] 9f32a84ed3da: Download complete [2023-06-05T12:59:43.746Z] 4d19c01a9841: Verifying Checksum [2023-06-05T12:59:43.746Z] f56be85fc22e: Verifying Checksum [2023-06-05T12:59:43.746Z] f56be85fc22e: Download complete [2023-06-05T12:59:43.746Z] 9325e15d5711: Verifying Checksum [2023-06-05T12:59:43.746Z] 9325e15d5711: Download complete [2023-06-05T12:59:44.013Z] f56be85fc22e: Pull complete [2023-06-05T12:59:44.013Z] 85791d961cd3: Pull complete [2023-06-05T12:59:44.274Z] c5a4b2cf53e6: Verifying Checksum [2023-06-05T12:59:44.274Z] c5a4b2cf53e6: Download complete [2023-06-05T12:59:44.536Z] d694b5ae8c79: Verifying Checksum [2023-06-05T12:59:44.536Z] d694b5ae8c79: Download complete [2023-06-05T12:59:44.796Z] 556b6ee489ea: Verifying Checksum [2023-06-05T12:59:44.796Z] 556b6ee489ea: Download complete [2023-06-05T12:59:48.090Z] d694b5ae8c79: Pull complete [2023-06-05T12:59:48.090Z] 9f32a84ed3da: Pull complete [2023-06-05T12:59:48.348Z] 4d19c01a9841: Pull complete [2023-06-05T12:59:48.348Z] 9325e15d5711: Pull complete [2023-06-05T12:59:50.881Z] 556b6ee489ea: Pull complete [2023-06-05T12:59:51.820Z] c5a4b2cf53e6: Pull complete [2023-06-05T12:59:51.820Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-05T12:59:51.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-05T12:59:52.079Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-06-05T12:59:52.391Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T12:59:52.772Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-05T12:59:52.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T12:59:52.923Z] prd-ubuntu20.04-docker-8c-8g-17856 does not seem to be running inside a container [2023-06-05T12:59:52.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_go-mod-configuration_PR-99 -v /w/workspace/undry_go-mod-configuration_PR-99:/w/workspace/undry_go-mod-configuration_PR-99:rw,z -v /w/workspace/undry_go-mod-configuration_PR-99@tmp:/w/workspace/undry_go-mod-configuration_PR-99@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 ******** ci-base-image-x86_64 cat [2023-06-05T12:59:57.788Z] $ docker top a70c86fcf1b4624221fd0b3332088144b328750949ed13512c7f1b497cedb494 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T12:59:58.104Z] Still waiting to schedule task [2023-06-05T12:59:58.105Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17857’ is offline [2023-06-05T12:59:58.182Z] + go version [2023-06-05T12:59:58.182Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-05T12:59:58.218Z] $ docker stop --time=1 a70c86fcf1b4624221fd0b3332088144b328750949ed13512c7f1b497cedb494 [2023-06-05T12:59:59.516Z] $ docker rm -f --volumes a70c86fcf1b4624221fd0b3332088144b328750949ed13512c7f1b497cedb494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T13:00:00.251Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-05T13:00:00.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T13:00:00.407Z] prd-ubuntu20.04-docker-8c-8g-17856 does not seem to be running inside a container [2023-06-05T13:00:00.440Z] $ 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-99 -v /w/workspace/undry_go-mod-configuration_PR-99:/w/workspace/undry_go-mod-configuration_PR-99:rw,z -v /w/workspace/undry_go-mod-configuration_PR-99@tmp:/w/workspace/undry_go-mod-configuration_PR-99@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 ******** ci-base-image-x86_64 cat [2023-06-05T13:00:00.830Z] $ docker top ae97e22dff9425860b38dd367f65d161d7da4c3a9ad1e9a03b4b921b7d66ae3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T13:00:01.223Z] + git config --global --add safe.directory /w/workspace/undry_go-mod-configuration_PR-99 [Pipeline] fileExists [Pipeline] sh [2023-06-05T13:00:01.581Z] + make test [2023-06-05T13:00:01.581Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-06-05T13:00:01.581Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-06-05T13:00:01.581Z] go: downloading github.com/hashicorp/consul/api v1.21.0 [2023-06-05T13:00:01.581Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-06-05T13:00:01.581Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-06-05T13:00:01.581Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2023-06-05T13:00:01.581Z] go: downloading github.com/mitchellh/mapstructure v1.4.1 [2023-06-05T13:00:01.581Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2023-06-05T13:00:01.581Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-06-05T13:00:01.581Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-06-05T13:00:01.581Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-06-05T13:00:01.581Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-06-05T13:00:01.581Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-06-05T13:00:01.581Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-06-05T13:00:01.581Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-06-05T13:00:01.581Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-06-05T13:00:01.840Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2023-06-05T13:00:01.840Z] go: downloading github.com/fatih/color v1.9.0 [2023-06-05T13:00:01.840Z] go: downloading golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 [2023-06-05T13:00:01.840Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2023-06-05T13:00:01.840Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-06-05T13:00:01.840Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-06-05T13:00:01.840Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-06-05T13:00:14.063Z] ? github.com/edgexfoundry/go-mod-configuration/v3/configuration/mocks [no test files] [2023-06-05T13:00:14.063Z] ok github.com/edgexfoundry/go-mod-configuration/v3/configuration 0.007s coverage: 85.7% of statements [2023-06-05T13:00:20.627Z] ok github.com/edgexfoundry/go-mod-configuration/v3/internal/pkg/consul 7.602s coverage: 87.1% of statements [2023-06-05T13:00:20.627Z] ok github.com/edgexfoundry/go-mod-configuration/v3/pkg/types 0.006s coverage: 100.0% of statements [2023-06-05T13:00:32.842Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2023-06-05T13:00:33.779Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-05T13:00:33.779Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-06-05T13:00:33.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-05T13:00:33.847Z] $ docker stop --time=1 ae97e22dff9425860b38dd367f65d161d7da4c3a9ad1e9a03b4b921b7d66ae3e [2023-06-05T13:00:36.482Z] $ docker rm -f --volumes ae97e22dff9425860b38dd367f65d161d7da4c3a9ad1e9a03b4b921b7d66ae3e [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-05T13:00:37.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-05T13:00:37.159Z] 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 [2023-06-05T13:00:38.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T13:00:38.239Z] [2023-06-05T13:00:38.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T13:00:38.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T13:00:38.621Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-05T13:00:38.621Z] 5eb5b503b376: Pulling fs layer [2023-06-05T13:00:38.621Z] 5c69ac0246d0: Pulling fs layer [2023-06-05T13:00:38.621Z] ec43610c2a17: Pulling fs layer [2023-06-05T13:00:38.621Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-05T13:00:38.621Z] 33b1e0a273af: Pulling fs layer [2023-06-05T13:00:38.621Z] 5d3b04190fa2: Pulling fs layer [2023-06-05T13:00:38.621Z] 2f39f015ded8: Pulling fs layer [2023-06-05T13:00:38.621Z] 3a2ae6a8a46f: Waiting [2023-06-05T13:00:38.621Z] 33b1e0a273af: Waiting [2023-06-05T13:00:38.621Z] 5c69ac0246d0: Verifying Checksum [2023-06-05T13:00:38.621Z] 5c69ac0246d0: Download complete [2023-06-05T13:00:38.621Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-05T13:00:38.621Z] 3a2ae6a8a46f: Download complete [2023-06-05T13:00:38.621Z] 33b1e0a273af: Verifying Checksum [2023-06-05T13:00:38.621Z] 33b1e0a273af: Download complete [2023-06-05T13:00:38.621Z] 5d3b04190fa2: Verifying Checksum [2023-06-05T13:00:38.621Z] 5d3b04190fa2: Download complete [2023-06-05T13:00:38.621Z] ec43610c2a17: Verifying Checksum [2023-06-05T13:00:38.621Z] ec43610c2a17: Download complete [2023-06-05T13:00:38.891Z] 5eb5b503b376: Verifying Checksum [2023-06-05T13:00:38.891Z] 5eb5b503b376: Download complete [2023-06-05T13:00:39.458Z] 2f39f015ded8: Verifying Checksum [2023-06-05T13:00:39.458Z] 2f39f015ded8: Download complete [2023-06-05T13:00:40.025Z] 5eb5b503b376: Pull complete [2023-06-05T13:00:40.284Z] 5c69ac0246d0: Pull complete [2023-06-05T13:00:40.561Z] ec43610c2a17: Pull complete [2023-06-05T13:00:40.833Z] 3a2ae6a8a46f: Pull complete [2023-06-05T13:00:41.090Z] 33b1e0a273af: Pull complete [2023-06-05T13:00:41.090Z] 5d3b04190fa2: Pull complete [2023-06-05T13:00:46.355Z] 2f39f015ded8: Pull complete [2023-06-05T13:00:46.355Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-05T13:00:46.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T13:00:46.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T13:00:46.595Z] prd-ubuntu20.04-docker-8c-8g-17856 does not seem to be running inside a container [2023-06-05T13:00:46.633Z] $ 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-99 -v /w/workspace/undry_go-mod-configuration_PR-99:/w/workspace/undry_go-mod-configuration_PR-99:rw,z -v /w/workspace/undry_go-mod-configuration_PR-99@tmp:/w/workspace/undry_go-mod-configuration_PR-99@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-lftools-log-publisher:latest cat [2023-06-05T13:00:49.800Z] $ docker top ce23adaa13666b8ce774d93b9bfeae62fe37ba629ca247e219811b2a10f7b2cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:00:50.254Z] ---> job-cost.sh [2023-06-05T13:00:50.254Z] lf-activate-venv: SKIPPING [2023-06-05T13:00:50.254Z] INFO: No Stack... [2023-06-05T13:00:50.513Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-05T13:00:50.773Z] INFO: Archiving Costs [Pipeline] sh [2023-06-05T13:00:51.084Z] + cat /w/workspace/undry_go-mod-configuration_PR-99/archives/cost.csv [2023-06-05T13:00:51.084Z] + cut -d, -f6 [Pipeline] lock [2023-06-05T13:00:51.124Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] [2023-06-05T13:00:51.129Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] did not exist. Created. [2023-06-05T13:00:51.129Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-05T13:00:51.511Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-05T13:00:51.560Z] Stashed 1 file(s) [Pipeline] } [2023-06-05T13:00:51.588Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-05T13:00:51.662Z] $ docker stop --time=1 ce23adaa13666b8ce774d93b9bfeae62fe37ba629ca247e219811b2a10f7b2cd [2023-06-05T13:00:52.842Z] $ docker rm -f --volumes ce23adaa13666b8ce774d93b9bfeae62fe37ba629ca247e219811b2a10f7b2cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-05T13:02:18.653Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17858 in /w/workspace/undry_go-mod-configuration_PR-99 [Pipeline] { [Pipeline] ws [2023-06-05T13:02:18.708Z] Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout [2023-06-05T13:02:18.787Z] Selected Git installation does not exist. Using Default [2023-06-05T13:02:18.787Z] The recommended git tool is: NONE [2023-06-05T13:02:23.914Z] using credential edgex-jenkins-ssh [2023-06-05T13:02:23.930Z] Cloning the remote Git repository [2023-06-05T13:02:23.981Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2023-06-05T13:02:24.078Z] > git init /w/workspace/go-mod-configuration/1 # timeout=10 [2023-06-05T13:02:24.241Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2023-06-05T13:02:24.243Z] > git --version # timeout=10 [2023-06-05T13:02:24.264Z] > git --version # 'git version 2.25.1' [2023-06-05T13:02:24.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-05T13:02:24.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-05T13:02:25.298Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2023-06-05T13:02:25.320Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-05T13:02:26.202Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2023-06-05T13:02:26.246Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2023-06-05T13:02:26.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-05T13:02:26.268Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-05T13:02:26.734Z] Merging remotes/origin/main commit 4d8d54a65c49840dae70675416d78ca62ff94528 into PR head commit e1dd98c124452755b044c3054749e78ad5adec15 [2023-06-05T13:02:27.015Z] Merge succeeded, producing e1dd98c124452755b044c3054749e78ad5adec15 [2023-06-05T13:02:27.016Z] Checking out Revision e1dd98c124452755b044c3054749e78ad5adec15 (PR-99) [2023-06-05T13:02:27.501Z] Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.20.0 to 1.21.0" [2023-06-05T13:02:27.567Z] > git --version # timeout=10 [2023-06-05T13:02:27.579Z] > git --version # 'git version 2.25.1' [2023-06-05T13:02:27.595Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-05T13:02:26.756Z] > git config core.sparsecheckout # timeout=10 [2023-06-05T13:02:26.829Z] > git checkout -f e1dd98c124452755b044c3054749e78ad5adec15 # timeout=10 [2023-06-05T13:02:26.913Z] > git remote # timeout=10 [2023-06-05T13:02:26.930Z] > git config --get remote.origin.url # timeout=10 [2023-06-05T13:02:26.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-05T13:02:26.969Z] > git merge 4d8d54a65c49840dae70675416d78ca62ff94528 # timeout=10 [2023-06-05T13:02:27.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-05T13:02:27.024Z] > git config core.sparsecheckout # timeout=10 [2023-06-05T13:02:27.040Z] > git checkout -f e1dd98c124452755b044c3054749e78ad5adec15 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-05T13:02:28.833Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-05T13:02:28.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-05T13:02:28.833Z] Dload Upload Total Spent Left Speed [2023-06-05T13:02:28.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-06-05T13:02:29.398Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-05T13:02:29.748Z] + sudo tee /etc/docker/daemon.new [2023-06-05T13:02:29.748Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-05T13:02:29.748Z] { [2023-06-05T13:02:29.748Z] "registry-mirrors": [ [2023-06-05T13:02:29.748Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-05T13:02:29.748Z] ], [2023-06-05T13:02:29.748Z] "bip": "10.250.0.254/24", [2023-06-05T13:02:29.748Z] "hosts": [ [2023-06-05T13:02:29.748Z] "tcp://0.0.0.0:5555", [2023-06-05T13:02:29.748Z] "unix:///var/run/docker.sock" [2023-06-05T13:02:29.748Z] ], [2023-06-05T13:02:29.748Z] "mtu": 1458, [2023-06-05T13:02:29.748Z] "selinux-enabled": true, [2023-06-05T13:02:29.748Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-05T13:02:29.748Z] } [Pipeline] sh [2023-06-05T13:02:30.096Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-05T13:02:30.447Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-06-05T13:02:48.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T13:02:49.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T13:02:49.047Z] ========================================================= [2023-06-05T13:02:49.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-05T13:02:49.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-06-05T13:02:49.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-05T13:02:50.073Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-05T13:02:50.073Z] c41833b44d91: Pulling fs layer [2023-06-05T13:02:50.073Z] ed15518f5707: Pulling fs layer [2023-06-05T13:02:50.073Z] feae8fd75edb: Pulling fs layer [2023-06-05T13:02:50.073Z] 242c74f7c9fa: Pulling fs layer [2023-06-05T13:02:50.073Z] 3cdef696dda3: Pulling fs layer [2023-06-05T13:02:50.073Z] 2ced38df9373: Pulling fs layer [2023-06-05T13:02:50.073Z] 58f1dce35555: Pulling fs layer [2023-06-05T13:02:50.073Z] 242c74f7c9fa: Waiting [2023-06-05T13:02:50.073Z] 2ced38df9373: Waiting [2023-06-05T13:02:50.073Z] 3cdef696dda3: Waiting [2023-06-05T13:02:50.073Z] 58f1dce35555: Waiting [2023-06-05T13:02:50.073Z] ed15518f5707: Verifying Checksum [2023-06-05T13:02:50.073Z] ed15518f5707: Download complete [2023-06-05T13:02:50.073Z] 242c74f7c9fa: Verifying Checksum [2023-06-05T13:02:50.073Z] 242c74f7c9fa: Download complete [2023-06-05T13:02:50.073Z] 3cdef696dda3: Download complete [2023-06-05T13:02:50.073Z] c41833b44d91: Verifying Checksum [2023-06-05T13:02:51.051Z] c41833b44d91: Pull complete [2023-06-05T13:02:51.644Z] 58f1dce35555: Verifying Checksum [2023-06-05T13:02:51.644Z] 58f1dce35555: Download complete [2023-06-05T13:02:52.618Z] feae8fd75edb: Verifying Checksum [2023-06-05T13:02:52.618Z] feae8fd75edb: Download complete [2023-06-05T13:02:52.618Z] 2ced38df9373: Verifying Checksum [2023-06-05T13:02:52.618Z] 2ced38df9373: Download complete [2023-06-05T13:02:54.034Z] ed15518f5707: Pull complete [2023-06-05T13:03:09.166Z] feae8fd75edb: Pull complete [2023-06-05T13:03:09.166Z] 242c74f7c9fa: Pull complete [2023-06-05T13:03:09.166Z] 3cdef696dda3: Pull complete [2023-06-05T13:03:14.519Z] 2ced38df9373: Pull complete [2023-06-05T13:03:16.476Z] 58f1dce35555: Pull complete [2023-06-05T13:03:16.476Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-05T13:03:16.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-05T13:03:16.476Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-06-05T13:03:16.822Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T13:03:17.235Z] + docker inspect -f . ci-base-image-arm64 [2023-06-05T13:03:17.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T13:03:17.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-17858 does not seem to be running inside a container [2023-06-05T13:03:17.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/1@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 ******** ci-base-image-arm64 cat [2023-06-05T13:03:20.917Z] $ docker top b41c06e27d07db4f65f33c853899504863f6d904257a85ad47f952d17bf41aa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T13:03:21.794Z] + go version [2023-06-05T13:03:21.795Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-05T13:03:21.832Z] $ docker stop --time=1 b41c06e27d07db4f65f33c853899504863f6d904257a85ad47f952d17bf41aa8 [2023-06-05T13:03:23.456Z] $ docker rm -f --volumes b41c06e27d07db4f65f33c853899504863f6d904257a85ad47f952d17bf41aa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T13:03:24.290Z] + docker inspect -f . ci-base-image-arm64 [2023-06-05T13:03:24.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T13:03:24.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-17858 does not seem to be running inside a container [2023-06-05T13:03:24.636Z] $ 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/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/1@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 ******** ci-base-image-arm64 cat [2023-06-05T13:03:25.783Z] $ docker top a8a00bbcaf45e3fcf9ed70e2ba57b0df69de85ef3b9cbb4a3ba173075cd38d75 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T13:03:26.336Z] + git config --global --add safe.directory /w/workspace/go-mod-configuration/1 [Pipeline] fileExists [Pipeline] sh [2023-06-05T13:03:27.035Z] + make test [2023-06-05T13:03:27.035Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-06-05T13:03:27.035Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-06-05T13:03:27.035Z] go: downloading github.com/hashicorp/consul/api v1.21.0 [2023-06-05T13:03:27.302Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-06-05T13:03:27.302Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-06-05T13:03:27.302Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-06-05T13:03:27.302Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-06-05T13:03:27.302Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-06-05T13:03:27.569Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-06-05T13:03:27.569Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2023-06-05T13:03:27.569Z] go: downloading github.com/mitchellh/mapstructure v1.4.1 [2023-06-05T13:03:27.569Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-06-05T13:03:27.569Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-06-05T13:03:27.569Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-06-05T13:03:27.569Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-06-05T13:03:27.848Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2023-06-05T13:03:27.848Z] go: downloading github.com/fatih/color v1.9.0 [2023-06-05T13:03:27.848Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2023-06-05T13:03:27.848Z] go: downloading golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 [2023-06-05T13:03:27.848Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2023-06-05T13:03:28.122Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-06-05T13:03:28.122Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-06-05T13:03:28.122Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-06-05T13:04:49.759Z] ? github.com/edgexfoundry/go-mod-configuration/v3/configuration/mocks [no test files] [2023-06-05T13:04:49.759Z] ok github.com/edgexfoundry/go-mod-configuration/v3/configuration 0.033s coverage: 85.7% of statements [2023-06-05T13:04:49.759Z] ok github.com/edgexfoundry/go-mod-configuration/v3/internal/pkg/consul 7.803s coverage: 87.1% of statements [2023-06-05T13:04:49.759Z] ok github.com/edgexfoundry/go-mod-configuration/v3/pkg/types 0.018s coverage: 100.0% of statements [2023-06-05T13:04:49.759Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-05T13:04:49.759Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2023-06-05T13:04:59.840Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-05T13:04:59.840Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-06-05T13:04:59.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-05T13:04:59.914Z] $ docker stop --time=1 a8a00bbcaf45e3fcf9ed70e2ba57b0df69de85ef3b9cbb4a3ba173075cd38d75 [2023-06-05T13:05:01.628Z] $ docker rm -f --volumes a8a00bbcaf45e3fcf9ed70e2ba57b0df69de85ef3b9cbb4a3ba173075cd38d75 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-05T13:05:02.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-05T13:05:02.696Z] Warning: overwriting stash ‘coverage-report’ [2023-06-05T13:05:03.110Z] 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 [2023-06-05T13:05:03.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-05T13:05:03.939Z] [2023-06-05T13:05:03.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T13:05:04.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-05T13:05:04.606Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-05T13:05:04.607Z] 8998bd30e6a1: Pulling fs layer [2023-06-05T13:05:04.607Z] 04944245beec: Pulling fs layer [2023-06-05T13:05:04.607Z] 699f458cf7ca: Pulling fs layer [2023-06-05T13:05:04.607Z] 765212b225bb: Pulling fs layer [2023-06-05T13:05:04.607Z] f23df028b6ca: Pulling fs layer [2023-06-05T13:05:04.607Z] d65c8cfc05b1: Pulling fs layer [2023-06-05T13:05:04.607Z] 2437ff75d9bd: Pulling fs layer [2023-06-05T13:05:04.607Z] 765212b225bb: Waiting [2023-06-05T13:05:04.607Z] f23df028b6ca: Waiting [2023-06-05T13:05:04.607Z] d65c8cfc05b1: Waiting [2023-06-05T13:05:04.607Z] 2437ff75d9bd: Waiting [2023-06-05T13:05:04.607Z] 04944245beec: Verifying Checksum [2023-06-05T13:05:04.607Z] 04944245beec: Download complete [2023-06-05T13:05:04.607Z] 765212b225bb: Verifying Checksum [2023-06-05T13:05:04.607Z] 765212b225bb: Download complete [2023-06-05T13:05:04.607Z] f23df028b6ca: Verifying Checksum [2023-06-05T13:05:04.607Z] f23df028b6ca: Download complete [2023-06-05T13:05:04.607Z] d65c8cfc05b1: Verifying Checksum [2023-06-05T13:05:04.607Z] d65c8cfc05b1: Download complete [2023-06-05T13:05:04.873Z] 699f458cf7ca: Verifying Checksum [2023-06-05T13:05:04.873Z] 699f458cf7ca: Download complete [2023-06-05T13:05:05.140Z] 8998bd30e6a1: Verifying Checksum [2023-06-05T13:05:05.140Z] 8998bd30e6a1: Download complete [2023-06-05T13:05:07.096Z] 2437ff75d9bd: Verifying Checksum [2023-06-05T13:05:07.096Z] 2437ff75d9bd: Download complete [2023-06-05T13:05:09.681Z] 8998bd30e6a1: Pull complete [2023-06-05T13:05:09.950Z] 04944245beec: Pull complete [2023-06-05T13:05:11.375Z] 699f458cf7ca: Pull complete [2023-06-05T13:05:11.375Z] 765212b225bb: Pull complete [2023-06-05T13:05:12.351Z] f23df028b6ca: Pull complete [2023-06-05T13:05:12.351Z] d65c8cfc05b1: Pull complete [2023-06-05T13:05:27.342Z] 2437ff75d9bd: Pull complete [2023-06-05T13:05:27.342Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-05T13:05:27.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-05T13:05:27.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T13:05:27.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-17858 does not seem to be running inside a container [2023-06-05T13:05:27.714Z] $ 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/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/1@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-lftools-log-publisher:arm64 cat [2023-06-05T13:05:29.957Z] $ docker top c77b86b0dffb788dbb55ed37e048cc1a541d6ed6ae4946f674c649d05148b250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:30.513Z] ---> job-cost.sh [2023-06-05T13:05:30.779Z] lf-activate-venv: SKIPPING [2023-06-05T13:05:30.779Z] INFO: No Stack... [2023-06-05T13:05:31.358Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-05T13:05:31.940Z] INFO: Archiving Costs [Pipeline] sh [2023-06-05T13:05:32.278Z] + cat /w/workspace/go-mod-configuration/1/archives/cost.csv [2023-06-05T13:05:32.278Z] + cut -d, -f6 [Pipeline] lock [2023-06-05T13:05:32.625Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] [2023-06-05T13:05:32.630Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] did not exist. Created. [2023-06-05T13:05:32.630Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-05T13:05:33.031Z] /w/workspace/go-mod-configuration/1@tmp/durable-bb45f18b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-05T13:05:33.381Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-05T13:05:33.416Z] Warning: overwriting stash ‘stack-cost’ [2023-06-05T13:05:33.451Z] Stashed 1 file(s) [Pipeline] } [2023-06-05T13:05:33.467Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-05T13:05:33.546Z] $ docker stop --time=1 c77b86b0dffb788dbb55ed37e048cc1a541d6ed6ae4946f674c649d05148b250 [2023-06-05T13:05:35.025Z] $ docker rm -f --volumes c77b86b0dffb788dbb55ed37e048cc1a541d6ed6ae4946f674c649d05148b250 [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 [2023-06-05T13:05:35.980Z] provisioning config files... [2023-06-05T13:05:35.993Z] copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-99@tmp/config419637248054812912tmp [Pipeline] { [Pipeline] sh [2023-06-05T13:05:36.335Z] + set +x [2023-06-05T13:05:36.335Z] + + curl -s https://codecov.io/bashbash [2023-06-05T13:05:36.335Z] -s -- [2023-06-05T13:05:36.335Z] [2023-06-05T13:05:36.335Z] _____ _ [2023-06-05T13:05:36.335Z] / ____| | | [2023-06-05T13:05:36.335Z] | | ___ __| | ___ ___ _____ __ [2023-06-05T13:05:36.335Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-05T13:05:36.335Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-05T13:05:36.335Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-05T13:05:36.335Z] Bash-1.0.6 [2023-06-05T13:05:36.335Z] [2023-06-05T13:05:36.335Z] [2023-06-05T13:05:36.335Z] ==> git version 2.25.1 found [2023-06-05T13:05:36.335Z] ==> 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 [2023-06-05T13:05:36.335Z] Release-Date: 2020-01-08 [2023-06-05T13:05:36.335Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-06-05T13:05:36.335Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-05T13:05:36.335Z] ==> Jenkins CI detected. [2023-06-05T13:05:36.335Z] current dir:  /w/workspace/undry_go-mod-configuration_PR-99 [2023-06-05T13:05:36.335Z] project root: . [2023-06-05T13:05:36.335Z] --> token set from env [2023-06-05T13:05:36.335Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-05T13:05:36.335Z] ==> Running gcov in . (disable via -X gcov) [2023-06-05T13:05:36.335Z] ==> Python coveragepy not found [2023-06-05T13:05:36.335Z] ==> Searching for coverage reports in: [2023-06-05T13:05:36.335Z] + . [2023-06-05T13:05:36.335Z] -> Found 1 reports [2023-06-05T13:05:36.335Z] ==> Detecting git/mercurial file structure [2023-06-05T13:05:36.335Z] ==> Reading reports [2023-06-05T13:05:36.335Z] + ./coverage.out bytes=18751 [2023-06-05T13:05:36.335Z] ==> Appending adjustments [2023-06-05T13:05:36.335Z] https://docs.codecov.io/docs/fixing-reports [2023-06-05T13:05:36.596Z] + Found adjustments [2023-06-05T13:05:36.596Z] ==> Gzipping contents [2023-06-05T13:05:36.596Z] 4.0K /tmp/codecov.fpwwol.gz [2023-06-05T13:05:36.596Z] ==> Uploading reports [2023-06-05T13:05:36.596Z] url: https://codecov.io [2023-06-05T13:05:36.596Z] query: branch=PR-99&commit=e1dd98c124452755b044c3054749e78ad5adec15&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=99&job=&cmd_args= [2023-06-05T13:05:36.596Z] -> Pinging Codecov [2023-06-05T13:05:36.596Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=b03387cf-fbed-45a6-9f6b-56101d2ea1b2&branch=PR-99&commit=e1dd98c124452755b044c3054749e78ad5adec15&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=99&job=&cmd_args= [2023-06-05T13:05:36.596Z] -> Uploading to [2023-06-05T13:05:36.596Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-05/9F92B070CA9CA35F4914AC8684776953/e1dd98c124452755b044c3054749e78ad5adec15/a3edcad1-88aa-40af-90d5-a346d856b896.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230605%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230605T130536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f28abf43789d499b279e12ff86230bfd4388b5e03771615c68d9ef84e43dd8a [2023-06-05T13:05:36.596Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-05T13:05:36.596Z] Dload Upload Total Spent Left Speed [2023-06-05T13:05:36.856Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 15612 --:--:-- --:--:-- --:--:-- 15612 [2023-06-05T13:05:36.856Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-configuration/commit/e1dd98c124452755b044c3054749e78ad5adec15 [Pipeline] } [2023-06-05T13:05:36.896Z] 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 [2023-06-05T13:05:38.651Z] + [ -d /w/workspace/undry_go-mod-configuration_PR-99/archives ] [2023-06-05T13:05:38.651Z] + ls -al /w/workspace/undry_go-mod-configuration_PR-99/archives [2023-06-05T13:05:38.651Z] total 16 [2023-06-05T13:05:38.651Z] drwxr-xr-x 3 root root 4096 Jun 5 13:00 . [2023-06-05T13:05:38.651Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 5 13:00 .. [2023-06-05T13:05:38.651Z] drwxr-xr-x 2 root root 4096 Jun 5 13:00 cost [2023-06-05T13:05:38.651Z] -rw-r--r-- 1 root root 91 Jun 5 13:00 cost.csv [2023-06-05T13:05:38.651Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-configuration_PR-99/archives [2023-06-05T13:05:38.651Z] + ls -al /w/workspace/undry_go-mod-configuration_PR-99/archives [2023-06-05T13:05:38.651Z] total 16 [2023-06-05T13:05:38.651Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 13:00 . [2023-06-05T13:05:38.651Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 5 13:00 .. [2023-06-05T13:05:38.651Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 13:00 cost [2023-06-05T13:05:38.651Z] -rw-r--r-- 1 jenkins jenkins 91 Jun 5 13:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:38.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:39.873Z] ---> package-listing.sh [2023-06-05T13:05:39.874Z] ++ facter osfamily [2023-06-05T13:05:39.874Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-05T13:05:40.133Z] + OS_FAMILY=debian [2023-06-05T13:05:40.133Z] + workspace=/w/workspace/undry_go-mod-configuration_PR-99 [2023-06-05T13:05:40.133Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-05T13:05:40.133Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-05T13:05:40.133Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-05T13:05:40.133Z] + PACKAGES=/tmp/packages_start.txt [2023-06-05T13:05:40.133Z] + '[' /w/workspace/undry_go-mod-configuration_PR-99 ']' [2023-06-05T13:05:40.133Z] + PACKAGES=/tmp/packages_end.txt [2023-06-05T13:05:40.133Z] + case "${OS_FAMILY}" in [2023-06-05T13:05:40.133Z] + dpkg -l [2023-06-05T13:05:40.133Z] + grep '^ii' [2023-06-05T13:05:40.133Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-05T13:05:40.133Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-05T13:05:40.133Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-05T13:05:40.133Z] + '[' /w/workspace/undry_go-mod-configuration_PR-99 ']' [2023-06-05T13:05:40.133Z] + mkdir -p /w/workspace/undry_go-mod-configuration_PR-99/archives/ [2023-06-05T13:05:40.133Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-99/archives/ [Pipeline] echo [2023-06-05T13:05:40.166Z] 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-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-05T13:05:40.458Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T13:05:41.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T13:05:41.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T13:05:41.235Z] prd-ubuntu20.04-docker-8c-8g-17856 does not seem to be running inside a container [2023-06-05T13:05:41.268Z] $ 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-99/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-99 -v /w/workspace/undry_go-mod-configuration_PR-99:/w/workspace/undry_go-mod-configuration_PR-99:rw,z -v /w/workspace/undry_go-mod-configuration_PR-99@tmp:/w/workspace/undry_go-mod-configuration_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-05T13:05:41.467Z] $ docker top 1b2d4d375213d7d069c57f72e12e9a8d676b073ef4422aa2bdf2dfd994cf35f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T13:05:41.859Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-05T13:05:42.169Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-05T13:05:42.479Z] + ls /var/log/sa-host [2023-06-05T13:05:42.479Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-05T13:05:42.622Z] provisioning config files... [2023-06-05T13:05:42.631Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-99@tmp/config6225657363797077050tmp [Pipeline] { [Pipeline] echo [2023-06-05T13:05:42.694Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:43.006Z] ---> create-netrc.sh [Pipeline] } [2023-06-05T13:05:43.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:43.431Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-05T13:05:43.464Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:43.776Z] ---> sudo-logs.sh [2023-06-05T13:05:43.776Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-05T13:05:43.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:44.181Z] ---> job-cost.sh [2023-06-05T13:05:44.181Z] lf-activate-venv: SKIPPING [2023-06-05T13:05:44.181Z] DEBUG: total: 0.2199999988079071 [2023-06-05T13:05:44.181Z] INFO: Retrieving Stack Cost... [2023-06-05T13:05:44.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-05T13:05:45.012Z] INFO: Archiving Costs [Pipeline] echo [2023-06-05T13:05:45.052Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T13:05:45.366Z] ---> logs-deploy.sh [2023-06-05T13:05:45.366Z] lf-activate-venv: SKIPPING [2023-06-05T13:05:45.366Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-99/1 [2023-06-05T13:05:45.366Z] INFO: archiving workspace using pattern(s): [2023-06-05T13:05:46.303Z] Archives upload complete. [2023-06-05T13:05:46.303Z] INFO: archiving logs to Nexus [2023-06-05T13:05:46.871Z] ---> uname -a: [2023-06-05T13:05:46.871Z] Linux prd-ubuntu20-04-docker-8c-8g-17856 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-06-05T13:05:46.871Z] [2023-06-05T13:05:46.871Z] [2023-06-05T13:05:46.871Z] ---> lscpu: [2023-06-05T13:05:46.871Z] Architecture: x86_64 [2023-06-05T13:05:46.871Z] CPU op-mode(s): 32-bit, 64-bit [2023-06-05T13:05:46.871Z] Byte Order: Little Endian [2023-06-05T13:05:46.871Z] Address sizes: 40 bits physical, 48 bits virtual [2023-06-05T13:05:46.871Z] CPU(s): 8 [2023-06-05T13:05:46.871Z] On-line CPU(s) list: 0-7 [2023-06-05T13:05:46.871Z] Thread(s) per core: 1 [2023-06-05T13:05:46.871Z] Core(s) per socket: 1 [2023-06-05T13:05:46.871Z] Socket(s): 8 [2023-06-05T13:05:46.871Z] NUMA node(s): 1 [2023-06-05T13:05:46.871Z] Vendor ID: AuthenticAMD [2023-06-05T13:05:46.871Z] CPU family: 23 [2023-06-05T13:05:46.871Z] Model: 49 [2023-06-05T13:05:46.871Z] Model name: AMD EPYC-Rome Processor [2023-06-05T13:05:46.871Z] Stepping: 0 [2023-06-05T13:05:46.871Z] CPU MHz: 2799.998 [2023-06-05T13:05:46.871Z] BogoMIPS: 5599.99 [2023-06-05T13:05:46.871Z] Virtualization: AMD-V [2023-06-05T13:05:46.871Z] Hypervisor vendor: KVM [2023-06-05T13:05:46.871Z] Virtualization type: full [2023-06-05T13:05:46.871Z] L1d cache: 256 KiB [2023-06-05T13:05:46.871Z] L1i cache: 256 KiB [2023-06-05T13:05:46.871Z] L2 cache: 4 MiB [2023-06-05T13:05:46.871Z] L3 cache: 128 MiB [2023-06-05T13:05:46.871Z] NUMA node0 CPU(s): 0-7 [2023-06-05T13:05:46.871Z] Vulnerability Itlb multihit: Not affected [2023-06-05T13:05:46.871Z] Vulnerability L1tf: Not affected [2023-06-05T13:05:46.871Z] Vulnerability Mds: Not affected [2023-06-05T13:05:46.871Z] Vulnerability Meltdown: Not affected [2023-06-05T13:05:46.871Z] Vulnerability Mmio stale data: Not affected [2023-06-05T13:05:46.871Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-06-05T13:05:46.871Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-06-05T13:05:46.871Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-06-05T13:05:46.871Z] Vulnerability Srbds: Not affected [2023-06-05T13:05:46.871Z] Vulnerability Tsx async abort: Not affected [2023-06-05T13:05:46.871Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-06-05T13:05:46.871Z] [2023-06-05T13:05:46.871Z] [2023-06-05T13:05:46.871Z] ---> nproc: [2023-06-05T13:05:46.871Z] 8 [2023-06-05T13:05:46.871Z] [2023-06-05T13:05:46.871Z]