Pull request #151 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from 51fe4b2346fa564ae54f65998e70c41c76b12d1b+08d690f3454a21b6d58c1d118b1ca23b2ce78e7b (fa01286ecc47545c35c175a038549a5c78743d8d) 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-ssh7421951920119330091.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12977002616001149719.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh 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-secrets/branches/PR-151/workspace@libs/edgex-global-pipelines # 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-secrets/branches/PR-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17262476933925699765.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-secrets/branches/PR-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18339421249847753683.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15669566988293171128.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-secrets/branches/PR-151/workspace@libs/lf-pipelines # 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-secrets/branches/PR-151/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5722465713899992444.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-secrets, 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-secrets-settings PROJECT: go-mod-secrets USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-secrets DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-42239 in /w/workspace/gexfoundry_go-mod-secrets_PR-151 [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-secrets.git > git init /w/workspace/gexfoundry_go-mod-secrets_PR-151 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 08d690f3454a21b6d58c1d118b1ca23b2ce78e7b into PR head commit 51fe4b2346fa564ae54f65998e70c41c76b12d1b Merge succeeded, producing 51fe4b2346fa564ae54f65998e70c41c76b12d1b Checking out Revision 51fe4b2346fa564ae54f65998e70c41c76b12d1b (PR-151) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51fe4b2346fa564ae54f65998e70c41c76b12d1b # 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 08d690f3454a21b6d58c1d118b1ca23b2ce78e7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51fe4b2346fa564ae54f65998e70c41c76b12d1b # timeout=10 Commit message: "build: Update to use v2.2.0 released go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-09T19:59:33.800Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T19:59:33.991Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T19:59:34.088Z] ========================================================= [2022-05-09T19:59:34.088Z] EdgeX Global Pipelines Version Info [2022-05-09T19:59:34.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T19:59:34.876Z] ------------------- [2022-05-09T19:59:34.876Z] stable info: [2022-05-09T19:59:34.876Z] ------------------- [2022-05-09T19:59:34.876Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T19:59:34.876Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T19:59:34.876Z] Message: update stable to v1.0.227 [2022-05-09T19:59:35.448Z] ------------------- [2022-05-09T19:59:35.448Z] experimental info: [2022-05-09T19:59:35.448Z] ------------------- [2022-05-09T19:59:35.448Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T19:59:35.448Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T19:59:35.448Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T19:59:35.788Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2022-05-09T19:59:35.832Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2022-05-09T19:59:35.874Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T19:59:35.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T19:59:36.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T19:59:36.064Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T19:59:36.106Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T19:59:36.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-09T19:59:36.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T19:59:36.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T19:59:36.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T19:59:36.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo [2022-05-09T19:59:36.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T19:59:36.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T19:59:36.427Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T19:59:36.463Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T19:59:36.498Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T19:59:36.532Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T19:59:36.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T19:59:36.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T19:59:36.647Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-09T19:59:36.687Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-09T19:59:36.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T19:59:36.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T19:59:36.800Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-05-09T19:59:36.853Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T19:59:36.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo [2022-05-09T19:59:36.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo [2022-05-09T19:59:36.964Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo [2022-05-09T19:59:37.029Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51fe4b2346fa564ae54f65998e70c41c76b12d1b [Pipeline] echo [2022-05-09T19:59:37.066Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51fe4b2 [Pipeline] echo [2022-05-09T19:59:37.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-09T19:59:37.711Z] + git rev-list -1 --merges 51fe4b2346fa564ae54f65998e70c41c76b12d1b~1..51fe4b2346fa564ae54f65998e70c41c76b12d1b [Pipeline] echo [2022-05-09T19:59:37.760Z] -----------> git rev-list -1 --merges 51fe4b2346fa564ae54f65998e70c41c76b12d1b~1..51fe4b2346fa564ae54f65998e70c41c76b12d1b 51fe4b2346fa564ae54f65998e70c41c76b12d1b [false] [Pipeline] sh [2022-05-09T19:59:38.078Z] + git log --format=format:%s -1 51fe4b2346fa564ae54f65998e70c41c76b12d1b [Pipeline] echo [2022-05-09T19:59:38.115Z] ========================================================= [2022-05-09T19:59:38.115Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T19:59:38.115Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T19:59:38.544Z] + git log --format=format:%s -1 51fe4b2346fa564ae54f65998e70c41c76b12d1b [Pipeline] echo [2022-05-09T19:59:38.577Z] [semverPrep] GIT_COMMIT: 51fe4b2346fa564ae54f65998e70c41c76b12d1b, Commit Message: build: Update to use v2.2.0 released go-mods [Pipeline] echo [2022-05-09T19:59:38.607Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T19:59:39.016Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T19:59:39.016Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T19:59:39.016Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T19:59:39.016Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T19:59:39.016Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T19:59:39.016Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T19:59:39.016Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T19:59:39.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T19:59:39.738Z] [2022-05-09T19:59:39.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T19:59:40.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T19:59:40.090Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T19:59:40.090Z] 1fe172e4850f: Pulling fs layer [2022-05-09T19:59:40.090Z] caf521ccaac6: Pulling fs layer [2022-05-09T19:59:40.090Z] 3ead6fa29328: Pulling fs layer [2022-05-09T19:59:40.090Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T19:59:40.090Z] a8d5f1318db7: Pulling fs layer [2022-05-09T19:59:40.090Z] c427282e49a2: Pulling fs layer [2022-05-09T19:59:40.090Z] 1827001aaf11: Pulling fs layer [2022-05-09T19:59:40.090Z] 0714d37db230: Pulling fs layer [2022-05-09T19:59:40.090Z] ac28cf19c067: Pulling fs layer [2022-05-09T19:59:40.090Z] ca983d60f3e2: Pulling fs layer [2022-05-09T19:59:40.090Z] 9f894cec8388: Pulling fs layer [2022-05-09T19:59:40.090Z] a8d5f1318db7: Waiting [2022-05-09T19:59:40.090Z] 0714d37db230: Waiting [2022-05-09T19:59:40.090Z] ac28cf19c067: Waiting [2022-05-09T19:59:40.090Z] c427282e49a2: Waiting [2022-05-09T19:59:40.090Z] ca983d60f3e2: Waiting [2022-05-09T19:59:40.090Z] 1827001aaf11: Waiting [2022-05-09T19:59:40.090Z] 5c2a1cbceb83: Waiting [2022-05-09T19:59:40.090Z] 9f894cec8388: Waiting [2022-05-09T19:59:40.090Z] caf521ccaac6: Download complete [2022-05-09T19:59:40.090Z] 5c2a1cbceb83: Download complete [2022-05-09T19:59:40.352Z] a8d5f1318db7: Verifying Checksum [2022-05-09T19:59:40.352Z] a8d5f1318db7: Download complete [2022-05-09T19:59:40.352Z] c427282e49a2: Verifying Checksum [2022-05-09T19:59:40.352Z] c427282e49a2: Download complete [2022-05-09T19:59:40.352Z] 3ead6fa29328: Verifying Checksum [2022-05-09T19:59:40.352Z] 3ead6fa29328: Download complete [2022-05-09T19:59:40.352Z] 0714d37db230: Download complete [2022-05-09T19:59:40.352Z] ac28cf19c067: Download complete [2022-05-09T19:59:40.352Z] ca983d60f3e2: Verifying Checksum [2022-05-09T19:59:40.352Z] 9f894cec8388: Verifying Checksum [2022-05-09T19:59:40.352Z] 9f894cec8388: Download complete [2022-05-09T19:59:40.352Z] 1fe172e4850f: Verifying Checksum [2022-05-09T19:59:40.352Z] 1fe172e4850f: Download complete [2022-05-09T19:59:40.613Z] 1827001aaf11: Verifying Checksum [2022-05-09T19:59:40.613Z] 1827001aaf11: Download complete [2022-05-09T19:59:41.994Z] 1fe172e4850f: Pull complete [2022-05-09T19:59:41.994Z] caf521ccaac6: Pull complete [2022-05-09T19:59:42.562Z] 3ead6fa29328: Pull complete [2022-05-09T19:59:42.562Z] 5c2a1cbceb83: Pull complete [2022-05-09T19:59:42.823Z] a8d5f1318db7: Pull complete [2022-05-09T19:59:42.823Z] c427282e49a2: Pull complete [2022-05-09T19:59:44.733Z] 1827001aaf11: Pull complete [2022-05-09T19:59:44.733Z] 0714d37db230: Pull complete [2022-05-09T19:59:44.733Z] ac28cf19c067: Pull complete [2022-05-09T19:59:44.733Z] ca983d60f3e2: Pull complete [2022-05-09T19:59:44.733Z] 9f894cec8388: Pull complete [2022-05-09T19:59:44.733Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T19:59:44.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T19:59:44.993Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T19:59:45.092Z] prd-ubuntu20.04-docker-8c-8g-42239 does not seem to be running inside a container [2022-05-09T19:59:45.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-151 -v /w/workspace/gexfoundry_go-mod-secrets_PR-151:/w/workspace/gexfoundry_go-mod-secrets_PR-151:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-151@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T19:59:46.552Z] $ docker top bce75293d92125505a185cff92fadd213803b44f626565ca857d5a4da4efffa6 -eo pid,comm [2022-05-09T19:59:46.629Z] 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). [2022-05-09T19:59:46.629Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T19:59:46.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T19:59:46.758Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T19:59:46.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T19:59:46.903Z] $ docker exec bce75293d92125505a185cff92fadd213803b44f626565ca857d5a4da4efffa6 ssh-agent [2022-05-09T19:59:47.039Z] SSH_AUTH_SOCK=/tmp/ssh-GR8uLFygNZlX/agent.33 [2022-05-09T19:59:47.039Z] SSH_AGENT_PID=40 [2022-05-09T19:59:47.048Z] Running ssh-add (command line suppressed) [2022-05-09T19:59:47.173Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp/private_key_7923251009776922057.key (/w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp/private_key_7923251009776922057.key) [2022-05-09T19:59:47.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T19:59:47.520Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T19:59:47.551Z] $ docker exec --env ******** --env ******** bce75293d92125505a185cff92fadd213803b44f626565ca857d5a4da4efffa6 ssh-agent -k [2022-05-09T19:59:47.666Z] unset SSH_AUTH_SOCK; [2022-05-09T19:59:47.666Z] unset SSH_AGENT_PID; [2022-05-09T19:59:47.666Z] echo Agent pid 40 killed; [2022-05-09T19:59:47.674Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T19:59:47.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T19:59:47.753Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T19:59:47.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T19:59:47.902Z] $ docker exec bce75293d92125505a185cff92fadd213803b44f626565ca857d5a4da4efffa6 ssh-agent [2022-05-09T19:59:48.016Z] SSH_AUTH_SOCK=/tmp/ssh-AM8d3vLlSyyH/agent.74 [2022-05-09T19:59:48.016Z] SSH_AGENT_PID=80 [2022-05-09T19:59:48.022Z] Running ssh-add (command line suppressed) [2022-05-09T19:59:48.136Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp/private_key_4604930865428293097.key (/w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp/private_key_4604930865428293097.key) [2022-05-09T19:59:48.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T19:59:48.480Z] + git semver init [2022-05-09T19:59:48.741Z] 2022-05-09 19:59:48,701 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T19:59:48.741Z] 2022-05-09 19:59:48,702 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver [2022-05-09T19:59:48.741Z] 2022-05-09 19:59:48,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver [2022-05-09T19:59:48.741Z] 2022-05-09 19:59:48,702 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-151, universal_newlines=False, shell=None, istream=None) [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,404 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-151/.git/info/exclude [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,404 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver/PR-151 with force:False [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,404 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver/PR-151 [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,409 [execute] INFO git cat-file --batch-check [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,416 [execute] INFO git cat-file --batch [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T19:59:49.683Z] 2022-05-09 19:59:49,422 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-151/.semver/PR-151 [2022-05-09T19:59:49.683Z] 0.0.0 [Pipeline] } [2022-05-09T19:59:49.712Z] $ docker exec --env ******** --env ******** bce75293d92125505a185cff92fadd213803b44f626565ca857d5a4da4efffa6 ssh-agent -k [2022-05-09T19:59:49.820Z] unset SSH_AUTH_SOCK; [2022-05-09T19:59:49.821Z] unset SSH_AGENT_PID; [2022-05-09T19:59:49.821Z] echo Agent pid 80 killed; [2022-05-09T19:59:49.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T19:59:50.276Z] + git semver [Pipeline] } [2022-05-09T19:59:50.622Z] $ docker stop --time=1 bce75293d92125505a185cff92fadd213803b44f626565ca857d5a4da4efffa6 [2022-05-09T19:59:51.930Z] $ docker rm -f bce75293d92125505a185cff92fadd213803b44f626565ca857d5a4da4efffa6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T19:59:52.365Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T19:59:52.684Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T19:59:52.702Z] [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 [2022-05-09T19:59:53.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T19:59:53.482Z] ========================================================= [2022-05-09T19:59:53.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T19:59:53.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-05-09T19:59:53.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T19:59:53.886Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T19:59:53.886Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T19:59:53.886Z] 666ba61612fd: Pulling fs layer [2022-05-09T19:59:53.886Z] 8ed8ca486205: Pulling fs layer [2022-05-09T19:59:53.886Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T19:59:53.886Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T19:59:53.886Z] ca2b28591e48: Pulling fs layer [2022-05-09T19:59:53.886Z] a51346096db8: Pulling fs layer [2022-05-09T19:59:53.886Z] daebc70d1ce1: Pulling fs layer [2022-05-09T19:59:53.886Z] 0e18a0eac166: Pulling fs layer [2022-05-09T19:59:53.886Z] 4fe6c5a15a65: Waiting [2022-05-09T19:59:53.886Z] 22a0e8bec74d: Waiting [2022-05-09T19:59:53.886Z] ca2b28591e48: Waiting [2022-05-09T19:59:53.886Z] a51346096db8: Waiting [2022-05-09T19:59:53.886Z] daebc70d1ce1: Waiting [2022-05-09T19:59:53.886Z] 8ed8ca486205: Verifying Checksum [2022-05-09T19:59:53.886Z] 8ed8ca486205: Download complete [2022-05-09T19:59:53.886Z] 666ba61612fd: Download complete [2022-05-09T19:59:53.886Z] 22a0e8bec74d: Verifying Checksum [2022-05-09T19:59:53.886Z] 22a0e8bec74d: Download complete [2022-05-09T19:59:53.886Z] ca2b28591e48: Verifying Checksum [2022-05-09T19:59:53.886Z] ca2b28591e48: Download complete [2022-05-09T19:59:53.886Z] a51346096db8: Verifying Checksum [2022-05-09T19:59:53.886Z] a51346096db8: Download complete [2022-05-09T19:59:53.886Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T19:59:53.886Z] 59bf1c3509f3: Download complete [2022-05-09T19:59:54.146Z] daebc70d1ce1: Verifying Checksum [2022-05-09T19:59:54.146Z] daebc70d1ce1: Download complete [2022-05-09T19:59:54.146Z] 59bf1c3509f3: Pull complete [2022-05-09T19:59:54.146Z] 666ba61612fd: Pull complete [2022-05-09T19:59:54.407Z] 8ed8ca486205: Pull complete [2022-05-09T19:59:54.665Z] 0e18a0eac166: Verifying Checksum [2022-05-09T19:59:54.665Z] 0e18a0eac166: Download complete [2022-05-09T19:59:54.665Z] 4fe6c5a15a65: Verifying Checksum [2022-05-09T19:59:54.665Z] 4fe6c5a15a65: Download complete [2022-05-09T19:59:58.858Z] 4fe6c5a15a65: Pull complete [2022-05-09T19:59:58.858Z] 22a0e8bec74d: Pull complete [2022-05-09T19:59:58.858Z] ca2b28591e48: Pull complete [2022-05-09T19:59:58.858Z] a51346096db8: Pull complete [2022-05-09T19:59:58.858Z] daebc70d1ce1: Pull complete [2022-05-09T20:00:00.765Z] 0e18a0eac166: Pull complete [2022-05-09T20:00:00.765Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T20:00:00.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T20:00:00.765Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-05-09T20:00:01.077Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:00:01.405Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:00:01.405Z] . [Pipeline] withDockerContainer [2022-05-09T20:00:01.509Z] prd-ubuntu20.04-docker-8c-8g-42239 does not seem to be running inside a container [2022-05-09T20:00:01.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-151 -v /w/workspace/gexfoundry_go-mod-secrets_PR-151:/w/workspace/gexfoundry_go-mod-secrets_PR-151:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-151@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 ******** ci-base-image-x86_64 cat [2022-05-09T20:00:03.526Z] $ docker top 9c79f05673c068876ddd49b960daa3b28ea30e478a13cfeea8b813ff6fd5d81a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:00:03.937Z] + go version [2022-05-09T20:00:03.937Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T20:00:04.062Z] $ docker stop --time=1 9c79f05673c068876ddd49b960daa3b28ea30e478a13cfeea8b813ff6fd5d81a [2022-05-09T20:00:05.348Z] $ docker rm -f 9c79f05673c068876ddd49b960daa3b28ea30e478a13cfeea8b813ff6fd5d81a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:00:06.071Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:00:06.071Z] . [Pipeline] withDockerContainer [2022-05-09T20:00:06.172Z] prd-ubuntu20.04-docker-8c-8g-42239 does not seem to be running inside a container [2022-05-09T20:00:06.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-151 -v /w/workspace/gexfoundry_go-mod-secrets_PR-151:/w/workspace/gexfoundry_go-mod-secrets_PR-151:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-151@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 ******** ci-base-image-x86_64 cat [2022-05-09T20:00:06.619Z] $ docker top 08ac2c5f3b22dcbf0358f5fc139a7fe18359e49e0876116ced6d7ad9a78d0550 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:00:07.096Z] + make test [2022-05-09T20:00:07.096Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2022-05-09T20:00:07.096Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-09T20:00:07.096Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-09T20:00:07.096Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-09T20:00:07.096Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-09T20:00:07.096Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-09T20:00:07.096Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-09T20:00:07.358Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-09T20:00:07.358Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-09T20:00:07.358Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-09T20:00:07.358Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-09T20:00:07.358Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-09T20:00:07.358Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-09T20:00:07.832Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-09T20:00:07.832Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-09T20:00:07.832Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-09T20:00:07.832Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-09T20:00:07.832Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-09T20:00:07.832Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-09T20:00:07.832Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-09T20:00:07.832Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-09T20:00:07.832Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-09T20:00:07.832Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-09T20:00:07.832Z] go: downloading golang.org/x/text v0.3.7 [2022-05-09T20:00:07.832Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-09T20:00:08.262Z] Still waiting to schedule task [2022-05-09T20:00:08.262Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.455s coverage: 80.8% of statements [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.059s coverage: 57.1% of statements [2022-05-09T20:00:34.446Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.067s coverage: 96.7% of statements [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.048s coverage: 89.5% of statements [2022-05-09T20:00:34.446Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.028s coverage: 100.0% of statements [2022-05-09T20:00:34.446Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.053s coverage: 55.8% of statements [2022-05-09T20:00:34.446Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.037s coverage: 75.0% of statements [2022-05-09T20:00:34.446Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.048s coverage: 100.0% of statements [2022-05-09T20:00:34.446Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2022-05-09T20:00:41.020Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T20:00:44.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T20:00:44.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-05-09T20:00:44.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T20:00:44.384Z] $ docker stop --time=1 08ac2c5f3b22dcbf0358f5fc139a7fe18359e49e0876116ced6d7ad9a78d0550 [2022-05-09T20:00:46.266Z] $ docker rm -f 08ac2c5f3b22dcbf0358f5fc139a7fe18359e49e0876116ced6d7ad9a78d0550 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:00:46.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T20:00:47.020Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:00:47.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:00:47.934Z] [2022-05-09T20:00:47.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:00:48.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:00:48.275Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T20:00:48.275Z] 5eb5b503b376: Pulling fs layer [2022-05-09T20:00:48.275Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T20:00:48.275Z] ec43610c2a17: Pulling fs layer [2022-05-09T20:00:48.275Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T20:00:48.275Z] 33b1e0a273af: Pulling fs layer [2022-05-09T20:00:48.275Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T20:00:48.275Z] 2f39f015ded8: Pulling fs layer [2022-05-09T20:00:48.275Z] 33b1e0a273af: Waiting [2022-05-09T20:00:48.275Z] 5d3b04190fa2: Waiting [2022-05-09T20:00:48.275Z] 3a2ae6a8a46f: Waiting [2022-05-09T20:00:48.275Z] 5c69ac0246d0: Download complete [2022-05-09T20:00:48.275Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-09T20:00:48.275Z] 3a2ae6a8a46f: Download complete [2022-05-09T20:00:48.275Z] 33b1e0a273af: Verifying Checksum [2022-05-09T20:00:48.275Z] 33b1e0a273af: Download complete [2022-05-09T20:00:48.534Z] ec43610c2a17: Verifying Checksum [2022-05-09T20:00:48.534Z] ec43610c2a17: Download complete [2022-05-09T20:00:48.534Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T20:00:48.534Z] 5d3b04190fa2: Download complete [2022-05-09T20:00:48.534Z] 5eb5b503b376: Verifying Checksum [2022-05-09T20:00:48.534Z] 5eb5b503b376: Download complete [2022-05-09T20:00:49.102Z] 2f39f015ded8: Download complete [2022-05-09T20:00:49.669Z] 5eb5b503b376: Pull complete [2022-05-09T20:00:49.669Z] 5c69ac0246d0: Pull complete [2022-05-09T20:00:50.239Z] ec43610c2a17: Pull complete [2022-05-09T20:00:50.239Z] 3a2ae6a8a46f: Pull complete [2022-05-09T20:00:50.499Z] 33b1e0a273af: Pull complete [2022-05-09T20:00:50.499Z] 5d3b04190fa2: Pull complete [2022-05-09T20:00:54.691Z] 2f39f015ded8: Pull complete [2022-05-09T20:00:54.691Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T20:00:54.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:00:54.691Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T20:00:54.783Z] prd-ubuntu20.04-docker-8c-8g-42239 does not seem to be running inside a container [2022-05-09T20:00:54.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-151 -v /w/workspace/gexfoundry_go-mod-secrets_PR-151:/w/workspace/gexfoundry_go-mod-secrets_PR-151:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-09T20:00:56.301Z] $ docker top 31d86c1e06943e7b972f3cd75d7b83e524cf45cac2211b0b09e1c4c22b686389 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:00:56.752Z] ---> job-cost.sh [2022-05-09T20:00:56.752Z] lf-activate-venv: SKIPPING [2022-05-09T20:00:56.752Z] INFO: No Stack... [2022-05-09T20:00:57.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T20:00:57.274Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T20:00:57.589Z] + cat /w/workspace/gexfoundry_go-mod-secrets_PR-151/archives/cost.csv [2022-05-09T20:00:57.589Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T20:00:57.628Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] [2022-05-09T20:00:57.633Z] Resource [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] did not exist. Created. [2022-05-09T20:00:57.633Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T20:00:58.021Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T20:00:58.069Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T20:00:58.097Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T20:00:58.172Z] $ docker stop --time=1 31d86c1e06943e7b972f3cd75d7b83e524cf45cac2211b0b09e1c4c22b686389 [2022-05-09T20:00:59.349Z] $ docker rm -f 31d86c1e06943e7b972f3cd75d7b83e524cf45cac2211b0b09e1c4c22b686389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T20:14:51.088Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-42637 in /w/workspace/gexfoundry_go-mod-secrets_PR-151 [Pipeline] { [Pipeline] ws [2022-05-09T20:14:51.133Z] Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout [2022-05-09T20:14:51.563Z] Selected Git installation does not exist. Using Default [2022-05-09T20:14:51.563Z] The recommended git tool is: NONE [2022-05-09T20:14:58.307Z] using credential edgex-jenkins-ssh [2022-05-09T20:14:58.326Z] Cloning the remote Git repository [2022-05-09T20:14:58.406Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2022-05-09T20:14:58.500Z] > git init /w/workspace/go-mod-secrets/1 # timeout=10 [2022-05-09T20:14:58.791Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-05-09T20:14:58.795Z] > git --version # timeout=10 [2022-05-09T20:14:58.870Z] > git --version # 'git version 2.25.1' [2022-05-09T20:14:58.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:14:58.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T20:15:00.598Z] Merging remotes/origin/main commit 08d690f3454a21b6d58c1d118b1ca23b2ce78e7b into PR head commit 51fe4b2346fa564ae54f65998e70c41c76b12d1b [2022-05-09T20:14:59.876Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-05-09T20:14:59.896Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T20:14:59.929Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-05-09T20:14:59.970Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-05-09T20:14:59.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:14:59.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-09T20:15:00.628Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T20:15:00.646Z] > git checkout -f 51fe4b2346fa564ae54f65998e70c41c76b12d1b # timeout=10 [2022-05-09T20:15:00.849Z] Merge succeeded, producing 51fe4b2346fa564ae54f65998e70c41c76b12d1b [2022-05-09T20:15:00.849Z] Checking out Revision 51fe4b2346fa564ae54f65998e70c41c76b12d1b (PR-151) [2022-05-09T20:15:00.750Z] > git remote # timeout=10 [2022-05-09T20:15:00.771Z] > git config --get remote.origin.url # timeout=10 [2022-05-09T20:15:00.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:15:00.804Z] > git merge 08d690f3454a21b6d58c1d118b1ca23b2ce78e7b # timeout=10 [2022-05-09T20:15:00.833Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-09T20:15:00.864Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T20:15:00.889Z] > git checkout -f 51fe4b2346fa564ae54f65998e70c41c76b12d1b # timeout=10 [2022-05-09T20:15:05.295Z] Commit message: "build: Update to use v2.2.0 released go-mods" [2022-05-09T20:15:05.368Z] > git --version # timeout=10 [2022-05-09T20:15:05.380Z] > git --version # 'git version 2.25.1' [2022-05-09T20:15:05.393Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T20:15:06.547Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T20:15:06.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T20:15:06.547Z] Dload Upload Total Spent Left Speed [2022-05-09T20:15:06.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 85818 [Pipeline] sh [2022-05-09T20:15:07.137Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T20:15:07.506Z] + sudo tee /etc/docker/daemon.new [2022-05-09T20:15:07.507Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T20:15:07.507Z] { [2022-05-09T20:15:07.507Z] "registry-mirrors": [ [2022-05-09T20:15:07.507Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T20:15:07.507Z] ], [2022-05-09T20:15:07.507Z] "bip": "10.250.0.254/24", [2022-05-09T20:15:07.507Z] "hosts": [ [2022-05-09T20:15:07.507Z] "tcp://0.0.0.0:5555", [2022-05-09T20:15:07.507Z] "unix:///var/run/docker.sock" [2022-05-09T20:15:07.507Z] ], [2022-05-09T20:15:07.507Z] "mtu": 1458, [2022-05-09T20:15:07.507Z] "selinux-enabled": true, [2022-05-09T20:15:07.507Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T20:15:07.507Z] } [Pipeline] sh [2022-05-09T20:15:07.890Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T20:15:08.267Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-05-09T20:15:27.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T20:15:27.306Z] ========================================================= [2022-05-09T20:15:27.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T20:15:27.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:15:27.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T20:15:28.744Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T20:15:28.744Z] 9b3977197b4f: Pulling fs layer [2022-05-09T20:15:28.744Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T20:15:28.744Z] 94645a83ff95: Pulling fs layer [2022-05-09T20:15:28.744Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T20:15:28.744Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T20:15:28.744Z] 3096ccb668a1: Pulling fs layer [2022-05-09T20:15:28.744Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T20:15:28.744Z] a4caa8a26152: Pulling fs layer [2022-05-09T20:15:28.744Z] 0c92f367c5e7: Waiting [2022-05-09T20:15:28.744Z] 3096ccb668a1: Waiting [2022-05-09T20:15:28.744Z] e8cf19c19ddd: Waiting [2022-05-09T20:15:28.744Z] a4caa8a26152: Waiting [2022-05-09T20:15:28.744Z] 3f3a8bcf1eab: Waiting [2022-05-09T20:15:28.744Z] 94645a83ff95: Verifying Checksum [2022-05-09T20:15:28.744Z] 94645a83ff95: Download complete [2022-05-09T20:15:28.744Z] 1a89e8eeedd5: Verifying Checksum [2022-05-09T20:15:28.744Z] 1a89e8eeedd5: Download complete [2022-05-09T20:15:28.744Z] 0c92f367c5e7: Verifying Checksum [2022-05-09T20:15:28.744Z] 0c92f367c5e7: Download complete [2022-05-09T20:15:28.744Z] 3096ccb668a1: Verifying Checksum [2022-05-09T20:15:28.744Z] 3096ccb668a1: Download complete [2022-05-09T20:15:28.744Z] 9b3977197b4f: Verifying Checksum [2022-05-09T20:15:28.744Z] 9b3977197b4f: Download complete [2022-05-09T20:15:28.744Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T20:15:28.744Z] e8cf19c19ddd: Download complete [2022-05-09T20:15:29.750Z] 9b3977197b4f: Pull complete [2022-05-09T20:15:30.033Z] 1a89e8eeedd5: Pull complete [2022-05-09T20:15:30.647Z] 94645a83ff95: Pull complete [2022-05-09T20:15:30.925Z] a4caa8a26152: Verifying Checksum [2022-05-09T20:15:30.925Z] a4caa8a26152: Download complete [2022-05-09T20:15:31.531Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T20:15:31.532Z] 3f3a8bcf1eab: Download complete [2022-05-09T20:15:43.968Z] 3f3a8bcf1eab: Pull complete [2022-05-09T20:15:44.320Z] 0c92f367c5e7: Pull complete [2022-05-09T20:15:44.594Z] 3096ccb668a1: Pull complete [2022-05-09T20:15:44.867Z] e8cf19c19ddd: Pull complete [2022-05-09T20:15:50.269Z] a4caa8a26152: Pull complete [2022-05-09T20:15:50.269Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T20:15:50.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T20:15:50.269Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-05-09T20:15:50.620Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:50.990Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T20:15:50.990Z] . [Pipeline] withDockerContainer [2022-05-09T20:15:51.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-42637 does not seem to be running inside a container [2022-05-09T20:15:51.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-09T20:15:54.612Z] $ docker top 8ec2d388541e5d6f9d8cffbd285c3eadab18a648d1761146b2a37394519e402e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:15:55.581Z] + go version [2022-05-09T20:15:55.582Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T20:15:55.632Z] $ docker stop --time=1 8ec2d388541e5d6f9d8cffbd285c3eadab18a648d1761146b2a37394519e402e [2022-05-09T20:15:57.328Z] $ docker rm -f 8ec2d388541e5d6f9d8cffbd285c3eadab18a648d1761146b2a37394519e402e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:58.229Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T20:15:58.229Z] . [Pipeline] withDockerContainer [2022-05-09T20:15:58.472Z] prd-ubuntu20.04-docker-arm64-4c-16g-42637 does not seem to be running inside a container [2022-05-09T20:15:58.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-09T20:15:59.897Z] $ docker top 56dd32bb5c5369f6e1cf133134a2bd298041a5d2d3c92141e1a1f5218486193f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:16:00.912Z] + make test [2022-05-09T20:16:00.912Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2022-05-09T20:16:00.912Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-09T20:16:00.912Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-09T20:16:01.189Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-09T20:16:01.467Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-09T20:16:01.467Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-09T20:16:01.467Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-09T20:16:01.467Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-09T20:16:01.467Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-09T20:16:01.467Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-09T20:16:01.467Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-09T20:16:01.467Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-09T20:16:01.467Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-09T20:16:02.453Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-09T20:16:02.453Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-09T20:16:02.453Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-09T20:16:02.725Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-09T20:16:02.725Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-09T20:16:02.999Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-09T20:16:03.600Z] go: downloading golang.org/x/text v0.3.7 [2022-05-09T20:16:03.600Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-09T20:16:03.600Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-09T20:16:03.883Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-09T20:16:04.869Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-09T20:16:04.869Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-09T20:17:56.783Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 10.034s coverage: 80.8% of statements [2022-05-09T20:17:56.783Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.228s coverage: 57.1% of statements [2022-05-09T20:17:56.783Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2022-05-09T20:17:56.783Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.298s coverage: 96.7% of statements [2022-05-09T20:17:56.783Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.104s coverage: 89.5% of statements [2022-05-09T20:17:56.783Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2022-05-09T20:17:56.783Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.080s coverage: 100.0% of statements [2022-05-09T20:17:56.783Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2022-05-09T20:18:23.631Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider 0.244s coverage: 55.8% of statements [2022-05-09T20:18:23.631Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/runtimetokenprovider/mocks [no test files] [2022-05-09T20:18:23.631Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.073s coverage: 75.0% of statements [2022-05-09T20:18:23.631Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.245s coverage: 100.0% of statements [2022-05-09T20:18:23.631Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2022-05-09T20:18:23.631Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T20:18:23.631Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T20:19:20.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T20:19:20.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-05-09T20:19:20.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T20:19:20.331Z] $ docker stop --time=1 56dd32bb5c5369f6e1cf133134a2bd298041a5d2d3c92141e1a1f5218486193f [2022-05-09T20:19:22.252Z] $ docker rm -f 56dd32bb5c5369f6e1cf133134a2bd298041a5d2d3c92141e1a1f5218486193f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:19:25.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T20:19:25.108Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T20:19:25.659Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:19:26.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:19:26.468Z] [2022-05-09T20:19:26.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:19:26.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:19:27.135Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T20:19:27.135Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T20:19:27.135Z] 04944245beec: Pulling fs layer [2022-05-09T20:19:27.135Z] 699f458cf7ca: Pulling fs layer [2022-05-09T20:19:27.135Z] 765212b225bb: Pulling fs layer [2022-05-09T20:19:27.135Z] f23df028b6ca: Pulling fs layer [2022-05-09T20:19:27.135Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T20:19:27.135Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T20:19:27.135Z] 765212b225bb: Waiting [2022-05-09T20:19:27.135Z] f23df028b6ca: Waiting [2022-05-09T20:19:27.135Z] d65c8cfc05b1: Waiting [2022-05-09T20:19:27.135Z] 2437ff75d9bd: Waiting [2022-05-09T20:19:27.135Z] 04944245beec: Verifying Checksum [2022-05-09T20:19:27.135Z] 04944245beec: Download complete [2022-05-09T20:19:27.135Z] 765212b225bb: Verifying Checksum [2022-05-09T20:19:27.135Z] 765212b225bb: Download complete [2022-05-09T20:19:27.135Z] f23df028b6ca: Verifying Checksum [2022-05-09T20:19:27.135Z] f23df028b6ca: Download complete [2022-05-09T20:19:27.412Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T20:19:27.412Z] d65c8cfc05b1: Download complete [2022-05-09T20:19:27.412Z] 699f458cf7ca: Verifying Checksum [2022-05-09T20:19:27.412Z] 699f458cf7ca: Download complete [2022-05-09T20:19:27.689Z] 8998bd30e6a1: Verifying Checksum [2022-05-09T20:19:27.689Z] 8998bd30e6a1: Download complete [2022-05-09T20:19:30.337Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T20:19:30.337Z] 2437ff75d9bd: Download complete [2022-05-09T20:19:32.331Z] 8998bd30e6a1: Pull complete [2022-05-09T20:19:32.609Z] 04944245beec: Pull complete [2022-05-09T20:19:34.050Z] 699f458cf7ca: Pull complete [2022-05-09T20:19:34.330Z] 765212b225bb: Pull complete [2022-05-09T20:19:35.308Z] f23df028b6ca: Pull complete [2022-05-09T20:19:35.308Z] d65c8cfc05b1: Pull complete [2022-05-09T20:19:53.659Z] 2437ff75d9bd: Pull complete [2022-05-09T20:19:53.659Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T20:19:53.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:19:53.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T20:19:53.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-42637 does not seem to be running inside a container [2022-05-09T20:19:54.039Z] $ 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-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-09T20:19:56.711Z] $ docker top 4210dd1af95b3e3836ec53aaea9512391d8ddf411cd9bed37dea8f3fb656ca58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:19:57.713Z] ---> job-cost.sh [2022-05-09T20:19:57.713Z] lf-activate-venv: SKIPPING [2022-05-09T20:19:57.713Z] INFO: No Stack... [2022-05-09T20:19:57.988Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T20:19:58.966Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T20:19:59.650Z] + cat /w/workspace/go-mod-secrets/1/archives/cost.csv [2022-05-09T20:19:59.650Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T20:19:59.733Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] [2022-05-09T20:19:59.739Z] Resource [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] did not exist. Created. [2022-05-09T20:19:59.739Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T20:20:00.513Z] /w/workspace/go-mod-secrets/1@tmp/durable-d3cca107/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T20:20:01.220Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T20:20:01.257Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T20:20:01.311Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T20:20:01.332Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T20:20:01.423Z] $ docker stop --time=1 4210dd1af95b3e3836ec53aaea9512391d8ddf411cd9bed37dea8f3fb656ca58 [2022-05-09T20:20:02.976Z] $ docker rm -f 4210dd1af95b3e3836ec53aaea9512391d8ddf411cd9bed37dea8f3fb656ca58 [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 [2022-05-09T20:20:04.092Z] provisioning config files... [2022-05-09T20:20:04.103Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp/config3005681841680952001tmp [Pipeline] { [Pipeline] sh [2022-05-09T20:20:04.434Z] + set +x [2022-05-09T20:20:04.434Z] + curl -s https://codecov.io/bash [2022-05-09T20:20:04.434Z] + bash -s -- [2022-05-09T20:20:04.434Z] [2022-05-09T20:20:04.434Z] _____ _ [2022-05-09T20:20:04.434Z] / ____| | | [2022-05-09T20:20:04.434Z] | | ___ __| | ___ ___ _____ __ [2022-05-09T20:20:04.434Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-09T20:20:04.434Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-09T20:20:04.434Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-09T20:20:04.434Z] Bash-1.0.6 [2022-05-09T20:20:04.434Z] [2022-05-09T20:20:04.434Z] [2022-05-09T20:20:04.434Z] ==> git version 2.25.1 found [2022-05-09T20:20:04.434Z] ==> 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 [2022-05-09T20:20:04.435Z] Release-Date: 2020-01-08 [2022-05-09T20:20:04.435Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-09T20:20:04.435Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-09T20:20:04.435Z] ==> Jenkins CI detected. [2022-05-09T20:20:04.435Z] current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-151 [2022-05-09T20:20:04.435Z] project root: . [2022-05-09T20:20:04.435Z] --> token set from env [2022-05-09T20:20:04.435Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-09T20:20:04.435Z] ==> Running gcov in . (disable via -X gcov) [2022-05-09T20:20:04.435Z] ==> Python coveragepy not found [2022-05-09T20:20:04.435Z] ==> Searching for coverage reports in: [2022-05-09T20:20:04.435Z] + . [2022-05-09T20:20:04.435Z] -> Found 1 reports [2022-05-09T20:20:04.435Z] ==> Detecting git/mercurial file structure [2022-05-09T20:20:04.435Z] ==> Reading reports [2022-05-09T20:20:04.435Z] + ./coverage.out bytes=30451 [2022-05-09T20:20:04.435Z] ==> Appending adjustments [2022-05-09T20:20:04.435Z] https://docs.codecov.io/docs/fixing-reports [2022-05-09T20:20:04.694Z] + Found adjustments [2022-05-09T20:20:04.694Z] ==> Gzipping contents [2022-05-09T20:20:04.694Z] 8.0K /tmp/codecov.qNpAQD.gz [2022-05-09T20:20:04.694Z] ==> Uploading reports [2022-05-09T20:20:04.694Z] url: https://codecov.io [2022-05-09T20:20:04.694Z] query: branch=PR-151&commit=51fe4b2346fa564ae54f65998e70c41c76b12d1b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-05-09T20:20:04.694Z] -> Pinging Codecov [2022-05-09T20:20:04.694Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-151&commit=51fe4b2346fa564ae54f65998e70c41c76b12d1b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=151&job=&cmd_args= [2022-05-09T20:20:05.265Z] -> Uploading to [2022-05-09T20:20:05.265Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-09/D63849C06B6B67093493C71CE874ED06/51fe4b2346fa564ae54f65998e70c41c76b12d1b/ab2c4214-17fb-474b-9ae8-4284e9944c09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T202004Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=99b656be1e6e8c61480acea33ada23a87c3ec4d3381438d9b982c38d42b5fc62 [2022-05-09T20:20:05.265Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T20:20:05.265Z] Dload Upload Total Spent Left Speed [2022-05-09T20:20:05.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6139 0 0 100 6139 0 25686 --:--:-- --:--:-- --:--:-- 25686 [2022-05-09T20:20:05.265Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/51fe4b2346fa564ae54f65998e70c41c76b12d1b [Pipeline] } [2022-05-09T20:20:05.292Z] 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 [2022-05-09T20:20:07.041Z] + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-151/archives ] [2022-05-09T20:20:07.042Z] + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-151/archives [2022-05-09T20:20:07.042Z] total 16 [2022-05-09T20:20:07.042Z] drwxr-xr-x 3 root root 4096 May 9 20:00 . [2022-05-09T20:20:07.042Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 20:00 .. [2022-05-09T20:20:07.042Z] drwxr-xr-x 2 root root 4096 May 9 20:00 cost [2022-05-09T20:20:07.042Z] -rw-r--r-- 1 root root 85 May 9 20:00 cost.csv [2022-05-09T20:20:07.042Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-151/archives [2022-05-09T20:20:07.042Z] + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-151/archives [2022-05-09T20:20:07.042Z] total 16 [2022-05-09T20:20:07.042Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:00 . [2022-05-09T20:20:07.042Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 20:00 .. [2022-05-09T20:20:07.042Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 20:00 cost [2022-05-09T20:20:07.042Z] -rw-r--r-- 1 jenkins jenkins 85 May 9 20:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:20:07.375Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:20:08.273Z] ---> package-listing.sh [2022-05-09T20:20:08.273Z] ++ facter osfamily [2022-05-09T20:20:08.273Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T20:20:08.533Z] + OS_FAMILY=debian [2022-05-09T20:20:08.533Z] + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-151 [2022-05-09T20:20:08.533Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T20:20:08.533Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T20:20:08.533Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T20:20:08.533Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T20:20:08.533Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-151 ']' [2022-05-09T20:20:08.533Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T20:20:08.533Z] + case "${OS_FAMILY}" in [2022-05-09T20:20:08.533Z] + dpkg -l [2022-05-09T20:20:08.533Z] + grep '^ii' [2022-05-09T20:20:08.533Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T20:20:08.533Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T20:20:08.533Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T20:20:08.533Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-151 ']' [2022-05-09T20:20:08.533Z] + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-151/archives/ [2022-05-09T20:20:08.533Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-151/archives/ [Pipeline] echo [2022-05-09T20:20:08.567Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-secrets_PR-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-09T20:20:08.867Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:20:09.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:20:09.455Z] . [Pipeline] withDockerContainer [2022-05-09T20:20:09.549Z] prd-ubuntu20.04-docker-8c-8g-42239 does not seem to be running inside a container [2022-05-09T20:20:09.585Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-secrets_PR-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-151 -v /w/workspace/gexfoundry_go-mod-secrets_PR-151:/w/workspace/gexfoundry_go-mod-secrets_PR-151:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-151@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 [2022-05-09T20:20:09.836Z] $ docker top a32a5ad53b66b6496d4c611173c7e35dd09a6447d0d92c0152c2cca41c6fcb36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:20:10.243Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T20:20:10.554Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T20:20:10.867Z] + ls /var/log/sa-host [2022-05-09T20:20:10.868Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:20:11.151Z] provisioning config files... [2022-05-09T20:20:11.164Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-151@tmp/config7325025074234469204tmp [Pipeline] { [Pipeline] echo [2022-05-09T20:20:11.217Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:20:11.537Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T20:20:11.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:20:11.974Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T20:20:12.005Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:20:12.353Z] ---> sudo-logs.sh [2022-05-09T20:20:12.353Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T20:20:12.429Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:20:12.740Z] ---> job-cost.sh [2022-05-09T20:20:12.740Z] lf-activate-venv: SKIPPING [2022-05-09T20:20:12.740Z] DEBUG: total: 0.2199999988079071 [2022-05-09T20:20:12.740Z] INFO: Retrieving Stack Cost... [2022-05-09T20:20:13.312Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T20:20:13.882Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T20:20:13.920Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:20:14.227Z] ---> logs-deploy.sh [2022-05-09T20:20:14.228Z] lf-activate-venv: SKIPPING [2022-05-09T20:20:14.228Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-151/1 [2022-05-09T20:20:14.228Z] INFO: archiving workspace using pattern(s): [2022-05-09T20:20:15.175Z] Archives upload complete. [2022-05-09T20:20:15.175Z] INFO: archiving logs to Nexus