Pull request #91 updated Connecting to https://api.github.com using edgex-jenkins/****** (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 89b3b6774684874b43fdbafae934d5dfa037b167+f21943c21c7ff2270331d5fa01f8bff27d8f4049 (c304daade6f76859c1c7b5a6971a888638042986) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-secrets, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-secrets-settings PROJECT: go-mod-secrets USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-26836 in /w/workspace/dgexfoundry_go-mod-secrets_PR-91 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git > git init /w/workspace/dgexfoundry_go-mod-secrets_PR-91 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/master commit f21943c21c7ff2270331d5fa01f8bff27d8f4049 into PR head commit 89b3b6774684874b43fdbafae934d5dfa037b167 Merge succeeded, producing 89b3b6774684874b43fdbafae934d5dfa037b167 Checking out Revision 89b3b6774684874b43fdbafae934d5dfa037b167 (PR-91) > 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/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89b3b6774684874b43fdbafae934d5dfa037b167 # 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 f21943c21c7ff2270331d5fa01f8bff27d8f4049 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89b3b6774684874b43fdbafae934d5dfa037b167 # timeout=10 Commit message: "refactor: Refactor to be proper abstraction of a SecretStore" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 7a84eec13149d6c121bbc79f2647aaab6bd22f24 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-18T21:59:53.449Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-18T21:59:53.722Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-18T21:59:53.830Z] ========================================================= [2021-02-18T21:59:53.830Z] EdgeX Global Pipelines Version Info [2021-02-18T21:59:53.830Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-18T21:59:55.444Z] ------------------- [2021-02-18T21:59:55.444Z] stable info: [2021-02-18T21:59:55.444Z] ------------------- [2021-02-18T21:59:55.444Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T21:59:55.444Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T21:59:55.444Z] Message: update stable to v1.0.179 [2021-02-18T21:59:56.396Z] ------------------- [2021-02-18T21:59:56.396Z] experimental info: [2021-02-18T21:59:56.396Z] ------------------- [2021-02-18T21:59:56.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-18T21:59:56.396Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-18T21:59:56.396Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-18T21:59:56.647Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2021-02-18T21:59:56.744Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2021-02-18T21:59:56.838Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-18T21:59:56.927Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-18T21:59:57.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-18T21:59:57.096Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-18T21:59:57.180Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-18T21:59:57.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-18T21:59:57.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-18T21:59:57.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-18T21:59:57.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-18T21:59:57.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo [2021-02-18T21:59:57.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-18T21:59:57.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-18T21:59:57.977Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T21:59:58.066Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T21:59:58.149Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T21:59:58.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-18T21:59:58.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-18T21:59:58.419Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-18T21:59:58.511Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-18T21:59:58.611Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-18T21:59:58.697Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-18T21:59:58.780Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-18T21:59:58.867Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-18T21:59:58.957Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-18T21:59:59.042Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-18T21:59:59.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo [2021-02-18T21:59:59.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo [2021-02-18T21:59:59.304Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo [2021-02-18T21:59:59.399Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89b3b6774684874b43fdbafae934d5dfa037b167 [Pipeline] echo [2021-02-18T21:59:59.493Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89b3b67 [Pipeline] echo [2021-02-18T21:59:59.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T22:00:00.292Z] + git log --format=format:%s -1 89b3b6774684874b43fdbafae934d5dfa037b167 [Pipeline] echo [2021-02-18T22:00:00.351Z] GIT_COMMIT: 89b3b6774684874b43fdbafae934d5dfa037b167, Commit Message: refactor: Refactor to be proper abstraction of a SecretStore [Pipeline] echo [2021-02-18T22:00:00.396Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:00:01.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T22:00:01.498Z] [2021-02-18T22:00:01.498Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:00:01.880Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T22:00:01.881Z] latest: Pulling from edgex-devops/git-semver [2021-02-18T22:00:01.881Z] 31603596830f: Pulling fs layer [2021-02-18T22:00:01.881Z] 2a8b12db71e7: Pulling fs layer [2021-02-18T22:00:01.881Z] 6ca5941a6612: Pulling fs layer [2021-02-18T22:00:01.881Z] ecc8261a40a4: Pulling fs layer [2021-02-18T22:00:01.881Z] ecc8261a40a4: Waiting [2021-02-18T22:00:02.147Z] 2a8b12db71e7: Verifying Checksum [2021-02-18T22:00:02.147Z] 2a8b12db71e7: Download complete [2021-02-18T22:00:02.147Z] 31603596830f: Verifying Checksum [2021-02-18T22:00:02.147Z] 31603596830f: Download complete [2021-02-18T22:00:02.420Z] ecc8261a40a4: Verifying Checksum [2021-02-18T22:00:02.420Z] ecc8261a40a4: Download complete [2021-02-18T22:00:02.420Z] 31603596830f: Pull complete [2021-02-18T22:00:02.694Z] 2a8b12db71e7: Pull complete [2021-02-18T22:00:02.694Z] 6ca5941a6612: Verifying Checksum [2021-02-18T22:00:02.694Z] 6ca5941a6612: Download complete [2021-02-18T22:00:03.680Z] 6ca5941a6612: Pull complete [2021-02-18T22:00:03.945Z] ecc8261a40a4: Pull complete [2021-02-18T22:00:03.945Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-18T22:00:03.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-18T22:00:03.945Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-18T22:00:04.062Z] prd-centos7-docker-4c-2g-26836 does not seem to be running inside a container [2021-02-18T22:00:04.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-91 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-91:/w/workspace/dgexfoundry_go-mod-secrets_PR-91:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-91@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-91@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:10004/edgex-devops/git-semver:latest cat [2021-02-18T22:00:05.761Z] $ docker top ad46f8c25cf3adb630a4cbcc7eb63ae1f7a22d5ba79e39f91d695908a3a66642 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-18T22:00:06.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T22:00:06.051Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T22:00:06.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T22:00:06.253Z] $ docker exec ad46f8c25cf3adb630a4cbcc7eb63ae1f7a22d5ba79e39f91d695908a3a66642 ssh-agent [2021-02-18T22:00:06.410Z] SSH_AUTH_SOCK=/tmp/ssh-Y7cIU717Q2xj/agent.11 [2021-02-18T22:00:06.410Z] SSH_AGENT_PID=16 [2021-02-18T22:00:06.419Z] Running ssh-add (command line suppressed) [2021-02-18T22:00:06.530Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-91@tmp/private_key_2367352918350243635.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-91@tmp/private_key_2367352918350243635.key) [2021-02-18T22:00:06.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T22:00:06.965Z] + git tag --points-at HEAD [Pipeline] } [2021-02-18T22:00:07.017Z] $ docker exec --env ******** --env ******** ad46f8c25cf3adb630a4cbcc7eb63ae1f7a22d5ba79e39f91d695908a3a66642 ssh-agent -k [2021-02-18T22:00:07.125Z] unset SSH_AUTH_SOCK; [2021-02-18T22:00:07.126Z] unset SSH_AGENT_PID; [2021-02-18T22:00:07.126Z] echo Agent pid 16 killed; [2021-02-18T22:00:07.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-18T22:00:07.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-18T22:00:07.303Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-18T22:00:07.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-18T22:00:07.485Z] $ docker exec ad46f8c25cf3adb630a4cbcc7eb63ae1f7a22d5ba79e39f91d695908a3a66642 ssh-agent [2021-02-18T22:00:07.651Z] SSH_AUTH_SOCK=/tmp/ssh-Uu2BQBk9gE2G/agent.45 [2021-02-18T22:00:07.651Z] SSH_AGENT_PID=51 [2021-02-18T22:00:07.658Z] Running ssh-add (command line suppressed) [2021-02-18T22:00:07.770Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-91@tmp/private_key_3404460011211696860.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-91@tmp/private_key_3404460011211696860.key) [2021-02-18T22:00:07.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-18T22:00:08.192Z] + git semver init [2021-02-18T22:00:08.192Z] # -> Open(): unable to determine branch for HEAD [2021-02-18T22:00:08.192Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-91/.git [2021-02-18T22:00:08.192Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-91 [2021-02-18T22:00:08.192Z] # $SEMVER_REMOTE_NAME = origin [2021-02-18T22:00:08.192Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-18T22:00:08.192Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-18T22:00:08.192Z] # $SEMVER_BRANCH = PR-91 [2021-02-18T22:00:08.192Z] # $SEMVER_TEMP = /tmp/semver-830639634 [2021-02-18T22:00:08.192Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2021-02-18T22:00:08.809Z] # '/tmp/semver-830639634' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-91/.semver' [2021-02-18T22:00:08.809Z] # -> Force: false [2021-02-18T22:00:08.809Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-91/.semver [Pipeline] } [2021-02-18T22:00:08.821Z] $ docker exec --env ******** --env ******** ad46f8c25cf3adb630a4cbcc7eb63ae1f7a22d5ba79e39f91d695908a3a66642 ssh-agent -k [2021-02-18T22:00:08.935Z] unset SSH_AUTH_SOCK; [2021-02-18T22:00:08.935Z] unset SSH_AGENT_PID; [2021-02-18T22:00:08.935Z] echo Agent pid 51 killed; [2021-02-18T22:00:08.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-18T22:00:09.493Z] + git semver [Pipeline] } [2021-02-18T22:00:09.779Z] $ docker stop --time=1 ad46f8c25cf3adb630a4cbcc7eb63ae1f7a22d5ba79e39f91d695908a3a66642 [2021-02-18T22:00:11.245Z] $ docker rm -f ad46f8c25cf3adb630a4cbcc7eb63ae1f7a22d5ba79e39f91d695908a3a66642 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T22:00:12.033Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-18T22:00:12.824Z] Stashed 1 file(s) [Pipeline] echo [2021-02-18T22:00:12.827Z] [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] node [Pipeline] node [2021-02-18T22:00:28.380Z] Still waiting to schedule task [2021-02-18T22:00:28.380Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-18T22:00:28.382Z] Still waiting to schedule task [2021-02-18T22:00:28.382Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-18T22:03:41.684Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26839 in /w/workspace/dgexfoundry_go-mod-secrets_PR-91 [Pipeline] { [Pipeline] ws [2021-02-18T22:03:41.737Z] Running in /w/workspace/go-mod-secrets/3 [Pipeline] { [Pipeline] checkout [2021-02-18T22:03:47.701Z] using credential edgex-jenkins-ssh [2021-02-18T22:03:47.754Z] Cloning the remote Git repository [2021-02-18T22:03:47.819Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-02-18T22:03:47.946Z] > git init /w/workspace/go-mod-secrets/3 # timeout=10 [2021-02-18T22:03:48.031Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-02-18T22:03:48.032Z] > git --version # timeout=10 [2021-02-18T22:03:48.056Z] > git --version # 'git version 2.17.1' [2021-02-18T22:03:48.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T22:03:48.126Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T22:03:48.987Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-02-18T22:03:49.011Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T22:03:49.047Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-02-18T22:03:49.093Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-02-18T22:03:49.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T22:03:49.117Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T22:03:49.700Z] Merging remotes/origin/master commit f21943c21c7ff2270331d5fa01f8bff27d8f4049 into PR head commit 89b3b6774684874b43fdbafae934d5dfa037b167 [2021-02-18T22:03:50.003Z] Merge succeeded, producing 89b3b6774684874b43fdbafae934d5dfa037b167 [2021-02-18T22:03:50.004Z] Checking out Revision 89b3b6774684874b43fdbafae934d5dfa037b167 (PR-91) [2021-02-18T22:03:49.743Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T22:03:49.768Z] > git checkout -f 89b3b6774684874b43fdbafae934d5dfa037b167 # timeout=10 [2021-02-18T22:03:49.874Z] > git remote # timeout=10 [2021-02-18T22:03:49.906Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T22:03:49.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T22:03:49.954Z] > git merge f21943c21c7ff2270331d5fa01f8bff27d8f4049 # timeout=10 [2021-02-18T22:03:49.982Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T22:03:50.014Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T22:03:50.041Z] > git checkout -f 89b3b6774684874b43fdbafae934d5dfa037b167 # timeout=10 [2021-02-18T22:03:54.814Z] Commit message: "refactor: Refactor to be proper abstraction of a SecretStore" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T22:03:56.254Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-18T22:03:56.725Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T22:03:57.124Z] + + sudotrue service [2021-02-18T22:03:57.124Z] docker restart [2021-02-18T22:03:58.234Z] Running on prd-centos7-docker-4c-2g-26838 in /w/workspace/dgexfoundry_go-mod-secrets_PR-91 [Pipeline] { [Pipeline] ws [2021-02-18T22:03:58.287Z] Running in /w/workspace/go-mod-secrets/3 [Pipeline] { [Pipeline] checkout [Pipeline] unstash [Pipeline] echo [2021-02-18T22:03:59.490Z] ========================================================= [2021-02-18T22:03:59.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-18T22:03:59.490Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:03:59.897Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-18T22:04:00.883Z] Sending build context to Docker daemon 618.5kB [2021-02-18T22:04:00.883Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-18T22:04:00.883Z] Step 2/7 : FROM ${BASE} [2021-02-18T22:04:01.156Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-18T22:04:01.156Z] 5f621e34cdf4: Pulling fs layer [2021-02-18T22:04:01.156Z] a4357932f1b6: Pulling fs layer [2021-02-18T22:04:01.156Z] 18c013af1878: Pulling fs layer [2021-02-18T22:04:01.156Z] 00ac8860ef70: Pulling fs layer [2021-02-18T22:04:01.156Z] 63d7cb157983: Pulling fs layer [2021-02-18T22:04:01.156Z] b116817d02f9: Pulling fs layer [2021-02-18T22:04:01.156Z] 745a02a5169b: Pulling fs layer [2021-02-18T22:04:01.156Z] 00ac8860ef70: Waiting [2021-02-18T22:04:01.156Z] 63d7cb157983: Waiting [2021-02-18T22:04:01.156Z] b116817d02f9: Waiting [2021-02-18T22:04:01.156Z] 745a02a5169b: Waiting [2021-02-18T22:04:01.156Z] 18c013af1878: Verifying Checksum [2021-02-18T22:04:01.156Z] 18c013af1878: Download complete [2021-02-18T22:04:01.156Z] a4357932f1b6: Download complete [2021-02-18T22:04:01.156Z] 63d7cb157983: Verifying Checksum [2021-02-18T22:04:01.156Z] 63d7cb157983: Download complete [2021-02-18T22:04:01.430Z] b116817d02f9: Verifying Checksum [2021-02-18T22:04:01.430Z] b116817d02f9: Download complete [2021-02-18T22:04:01.430Z] 5f621e34cdf4: Verifying Checksum [2021-02-18T22:04:01.430Z] 5f621e34cdf4: Download complete [2021-02-18T22:04:02.041Z] 5f621e34cdf4: Pull complete [2021-02-18T22:04:02.641Z] a4357932f1b6: Pull complete [2021-02-18T22:04:03.246Z] 18c013af1878: Pull complete [2021-02-18T22:04:03.520Z] 745a02a5169b: Verifying Checksum [2021-02-18T22:04:03.520Z] 745a02a5169b: Download complete [2021-02-18T22:04:04.962Z] 00ac8860ef70: Verifying Checksum [2021-02-18T22:04:04.962Z] 00ac8860ef70: Download complete [2021-02-18T22:04:14.912Z] using credential edgex-jenkins-ssh [2021-02-18T22:04:14.978Z] Cloning the remote Git repository [2021-02-18T22:04:15.164Z] 00ac8860ef70: Pull complete [2021-02-18T22:04:15.164Z] 63d7cb157983: Pull complete [2021-02-18T22:04:15.164Z] b116817d02f9: Pull complete [2021-02-18T22:04:15.135Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-02-18T22:04:15.462Z] > git init /w/workspace/go-mod-secrets/3 # timeout=10 [2021-02-18T22:04:15.611Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-02-18T22:04:15.611Z] > git --version # timeout=10 [2021-02-18T22:04:15.712Z] > git --version # 'git version 2.24.3' [2021-02-18T22:04:15.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T22:04:15.831Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T22:04:16.965Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-02-18T22:04:17.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-18T22:04:17.191Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-02-18T22:04:17.302Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-02-18T22:04:17.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T22:04:17.356Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-18T22:04:18.025Z] Merging remotes/origin/master commit f21943c21c7ff2270331d5fa01f8bff27d8f4049 into PR head commit 89b3b6774684874b43fdbafae934d5dfa037b167 [2021-02-18T22:04:18.584Z] 745a02a5169b: Pull complete [2021-02-18T22:04:18.584Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-18T22:04:18.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-18T22:04:18.584Z] ---> b7e6874047d6 [2021-02-18T22:04:18.584Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-18T22:04:18.050Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T22:04:18.373Z] > git checkout -f 89b3b6774684874b43fdbafae934d5dfa037b167 # timeout=10 [2021-02-18T22:04:18.856Z] > git remote # timeout=10 [2021-02-18T22:04:19.037Z] > git config --get remote.origin.url # timeout=10 [2021-02-18T22:04:19.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-18T22:04:19.284Z] > git merge f21943c21c7ff2270331d5fa01f8bff27d8f4049 # timeout=10 [2021-02-18T22:04:19.531Z] Merge succeeded, producing 89b3b6774684874b43fdbafae934d5dfa037b167 [2021-02-18T22:04:19.531Z] Checking out Revision 89b3b6774684874b43fdbafae934d5dfa037b167 (PR-91) [2021-02-18T22:04:19.377Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-18T22:04:19.532Z] > git config core.sparsecheckout # timeout=10 [2021-02-18T22:04:19.596Z] > git checkout -f 89b3b6774684874b43fdbafae934d5dfa037b167 # timeout=10 [2021-02-18T22:04:21.991Z] ---> Running in a9832622ca79 [2021-02-18T22:04:21.991Z] Removing intermediate container a9832622ca79 [2021-02-18T22:04:21.991Z] ---> 044484facd4a [2021-02-18T22:04:21.991Z] Step 4/7 : RUN apk add --update bash [2021-02-18T22:04:21.991Z] ---> Running in 4cdd8ec8f4e3 [2021-02-18T22:04:23.449Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-18T22:04:24.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-18T22:04:24.699Z] Commit message: "refactor: Refactor to be proper abstraction of a SecretStore" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-18T22:04:25.421Z] OK: 142 MiB in 39 packages [2021-02-18T22:04:26.420Z] Removing intermediate container 4cdd8ec8f4e3 [2021-02-18T22:04:26.420Z] ---> 8e38989f703d [2021-02-18T22:04:26.420Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-18T22:04:26.696Z] ---> Running in 8c62feba2326 [2021-02-18T22:04:27.292Z] Removing intermediate container 8c62feba2326 [2021-02-18T22:04:27.292Z] ---> 96baaa714dc8 [2021-02-18T22:04:27.292Z] Step 6/7 : COPY go.mod . [2021-02-18T22:04:27.871Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-02-18T22:04:27.891Z] ---> bed0a2df5ca1 [2021-02-18T22:04:27.891Z] Step 7/7 : RUN go mod download [Pipeline] sh [2021-02-18T22:04:28.169Z] ---> Running in 1aa7537464b9 [2021-02-18T22:04:28.717Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-18T22:04:29.982Z] + true [2021-02-18T22:04:29.982Z] + sudo service docker restart [2021-02-18T22:04:29.982Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-18T22:04:33.154Z] ========================================================= [2021-02-18T22:04:33.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-18T22:04:33.154Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:04:33.649Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-18T22:04:36.009Z] Sending build context to Docker daemon 619.5kB [2021-02-18T22:04:36.009Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-18T22:04:36.009Z] Step 2/7 : FROM ${BASE} [2021-02-18T22:04:36.729Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-18T22:04:36.729Z] 188c0c94c7c5: Pulling fs layer [2021-02-18T22:04:36.729Z] 0ef7d3d256c8: Pulling fs layer [2021-02-18T22:04:36.729Z] de9db76c5a1d: Pulling fs layer [2021-02-18T22:04:36.729Z] bca2f99d35d6: Pulling fs layer [2021-02-18T22:04:36.729Z] 93359f2a8cfa: Pulling fs layer [2021-02-18T22:04:36.729Z] 7c6f9722023f: Pulling fs layer [2021-02-18T22:04:36.729Z] a35cf1a2eb13: Pulling fs layer [2021-02-18T22:04:36.729Z] bca2f99d35d6: Waiting [2021-02-18T22:04:36.729Z] 93359f2a8cfa: Waiting [2021-02-18T22:04:36.729Z] 7c6f9722023f: Waiting [2021-02-18T22:04:36.729Z] a35cf1a2eb13: Waiting [2021-02-18T22:04:36.729Z] de9db76c5a1d: Verifying Checksum [2021-02-18T22:04:36.729Z] de9db76c5a1d: Download complete [2021-02-18T22:04:36.729Z] 0ef7d3d256c8: Verifying Checksum [2021-02-18T22:04:36.729Z] 0ef7d3d256c8: Download complete [2021-02-18T22:04:36.729Z] 93359f2a8cfa: Verifying Checksum [2021-02-18T22:04:36.729Z] 93359f2a8cfa: Download complete [2021-02-18T22:04:37.391Z] 7c6f9722023f: Verifying Checksum [2021-02-18T22:04:37.391Z] 7c6f9722023f: Download complete [2021-02-18T22:04:42.381Z] 188c0c94c7c5: Pull complete [2021-02-18T22:04:43.131Z] 0ef7d3d256c8: Pull complete [2021-02-18T22:04:43.327Z] Removing intermediate container 1aa7537464b9 [2021-02-18T22:04:43.327Z] ---> 8ea53169839f [2021-02-18T22:04:43.327Z] Successfully built 8ea53169839f [2021-02-18T22:04:43.327Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:04:43.576Z] de9db76c5a1d: Pull complete [2021-02-18T22:04:43.718Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T22:04:43.718Z] . [Pipeline] withDockerContainer [2021-02-18T22:04:44.030Z] prd-ubuntu18.04-docker-arm64-4c-16g-26839 does not seem to be running inside a container [2021-02-18T22:04:44.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/3 -v /w/workspace/go-mod-secrets/3:/w/workspace/go-mod-secrets/3:rw,z -v /w/workspace/go-mod-secrets/3@tmp:/w/workspace/go-mod-secrets/3@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 [2021-02-18T22:04:45.632Z] $ docker top 77ee639af66e7347d1f77858f9052fec4f7a00d053cb4101be14a75ff31681eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T22:04:46.682Z] + go version [2021-02-18T22:04:46.682Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-18T22:04:46.718Z] $ docker stop --time=1 77ee639af66e7347d1f77858f9052fec4f7a00d053cb4101be14a75ff31681eb [2021-02-18T22:04:48.632Z] $ docker rm -f 77ee639af66e7347d1f77858f9052fec4f7a00d053cb4101be14a75ff31681eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:04:49.648Z] + docker inspect -f . ci-base-image-arm64 [2021-02-18T22:04:49.648Z] . [Pipeline] withDockerContainer [2021-02-18T22:04:49.950Z] prd-ubuntu18.04-docker-arm64-4c-16g-26839 does not seem to be running inside a container [2021-02-18T22:04:50.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/3 -v /w/workspace/go-mod-secrets/3:/w/workspace/go-mod-secrets/3:rw,z -v /w/workspace/go-mod-secrets/3@tmp:/w/workspace/go-mod-secrets/3@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 [2021-02-18T22:04:51.523Z] $ docker top c3e09e22317201ead8d8d4da0f93193ec04342737b67347c5cdcf924a4c58d1d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T22:04:52.552Z] + make test [2021-02-18T22:04:52.552Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-18T22:04:55.440Z] a35cf1a2eb13: Verifying Checksum [2021-02-18T22:04:55.440Z] a35cf1a2eb13: Download complete [2021-02-18T22:04:56.984Z] bca2f99d35d6: Verifying Checksum [2021-02-18T22:04:56.984Z] bca2f99d35d6: Download complete [2021-02-18T22:05:13.092Z] bca2f99d35d6: Pull complete [2021-02-18T22:05:13.385Z] 93359f2a8cfa: Pull complete [2021-02-18T22:05:14.099Z] 7c6f9722023f: Pull complete [2021-02-18T22:05:25.532Z] a35cf1a2eb13: Pull complete [2021-02-18T22:05:25.532Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-18T22:05:25.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-18T22:05:25.532Z] ---> a62c8e92a672 [2021-02-18T22:05:25.533Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-18T22:05:26.235Z] ---> Running in 52040e44977e [2021-02-18T22:05:26.906Z] Removing intermediate container 52040e44977e [2021-02-18T22:05:26.906Z] ---> 9040ac94208e [2021-02-18T22:05:26.906Z] Step 4/7 : RUN apk add --update bash [2021-02-18T22:05:26.906Z] ---> Running in 5f88eca4f2c1 [2021-02-18T22:05:31.562Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.451s coverage: 81.7% of statements [2021-02-18T22:05:31.562Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.034s coverage: 57.1% of statements [2021-02-18T22:05:31.562Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2021-02-18T22:05:31.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-18T22:05:32.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-18T22:05:34.727Z] OK: 166 MiB in 39 packages [2021-02-18T22:05:37.339Z] Removing intermediate container 5f88eca4f2c1 [2021-02-18T22:05:37.339Z] ---> 15102c618b67 [2021-02-18T22:05:37.339Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-18T22:05:37.829Z] ---> Running in a67a54a75e61 [2021-02-18T22:05:38.358Z] Removing intermediate container a67a54a75e61 [2021-02-18T22:05:38.358Z] ---> 6741c09c6552 [2021-02-18T22:05:38.358Z] Step 6/7 : COPY go.mod . [2021-02-18T22:05:38.941Z] ---> 5c36f60e7f96 [2021-02-18T22:05:38.941Z] Step 7/7 : RUN go mod download [2021-02-18T22:05:39.249Z] ---> Running in c413e245403c [2021-02-18T22:06:14.580Z] Removing intermediate container c413e245403c [2021-02-18T22:06:14.581Z] ---> 9d8663fd39e8 [2021-02-18T22:06:14.581Z] Successfully built 9d8663fd39e8 [2021-02-18T22:06:14.581Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:06:14.997Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T22:06:14.997Z] . [Pipeline] withDockerContainer [2021-02-18T22:06:15.510Z] prd-centos7-docker-4c-2g-26838 does not seem to be running inside a container [2021-02-18T22:06:16.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/3 -v /w/workspace/go-mod-secrets/3:/w/workspace/go-mod-secrets/3:rw,z -v /w/workspace/go-mod-secrets/3@tmp:/w/workspace/go-mod-secrets/3@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-x86_64 cat [2021-02-18T22:06:17.699Z] $ docker top 1074073905ddba91043171d0d5e952c2dfb60a142e122f63663671642ea5426f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T22:06:19.667Z] + go version [2021-02-18T22:06:19.667Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-18T22:06:19.734Z] $ docker stop --time=1 1074073905ddba91043171d0d5e952c2dfb60a142e122f63663671642ea5426f [2021-02-18T22:06:22.254Z] $ docker rm -f 1074073905ddba91043171d0d5e952c2dfb60a142e122f63663671642ea5426f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:06:24.492Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-18T22:06:25.395Z] . [Pipeline] withDockerContainer [2021-02-18T22:06:25.966Z] prd-centos7-docker-4c-2g-26838 does not seem to be running inside a container [2021-02-18T22:06:27.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/3 -v /w/workspace/go-mod-secrets/3:/w/workspace/go-mod-secrets/3:rw,z -v /w/workspace/go-mod-secrets/3@tmp:/w/workspace/go-mod-secrets/3@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-x86_64 cat [2021-02-18T22:06:29.335Z] $ docker top 3988d06b32ad5eda10e699062a55137ef60071fc6382566afb212dbb9c429ff5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T22:06:30.134Z] + make test [2021-02-18T22:06:30.134Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-18T22:07:05.398Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.216s coverage: 81.7% of statements [2021-02-18T22:07:05.398Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.033s coverage: 57.1% of statements [2021-02-18T22:07:05.398Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2021-02-18T22:07:07.496Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.015s coverage: 96.7% of statements [2021-02-18T22:07:07.496Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.024s coverage: 89.5% of statements [2021-02-18T22:07:07.496Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2021-02-18T22:07:07.496Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.031s coverage: 100.0% of statements [2021-02-18T22:07:07.496Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2021-02-18T22:07:07.496Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.013s coverage: 75.0% of statements [2021-02-18T22:07:07.496Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.048s coverage: 100.0% of statements [2021-02-18T22:07:07.496Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2021-02-18T22:07:07.496Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-18T22:07:09.710Z] gofmt -l . [2021-02-18T22:07:09.710Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-18T22:07:09.850Z] $ docker stop --time=1 3988d06b32ad5eda10e699062a55137ef60071fc6382566afb212dbb9c429ff5 [2021-02-18T22:07:12.979Z] $ docker rm -f 3988d06b32ad5eda10e699062a55137ef60071fc6382566afb212dbb9c429ff5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-18T22:07:13.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-18T22:07:18.403Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-18T22:15:24.107Z] coverage: 96.7% of statements [2021-02-18T22:15:24.107Z] panic: test timed out after 10m0s [2021-02-18T22:15:24.107Z] [2021-02-18T22:15:24.107Z] goroutine 25 [running]: [2021-02-18T22:15:24.107Z] testing.(*M).startAlarm.func1() [2021-02-18T22:15:24.107Z] /usr/local/go/src/testing/testing.go:1618 +0xc8 [2021-02-18T22:15:24.107Z] created by time.goFunc [2021-02-18T22:15:24.107Z] /usr/local/go/src/time/sleep.go:167 +0x40 [2021-02-18T22:15:24.107Z] [2021-02-18T22:15:24.107Z] goroutine 1 [chan receive, 9 minutes]: [2021-02-18T22:15:24.107Z] testing.tRunner.func1(0x4000001200) [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1088 +0x1d0 [2021-02-18T22:15:24.108Z] testing.tRunner(0x4000001200, 0x400014dd78) [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1127 +0x10c [2021-02-18T22:15:24.108Z] testing.runTests(0x400000c460, 0x3526c0, 0x9, 0x9, 0xc003d79d42b63fb7, 0x8bb2f5ccef, 0x357d60, 0x1c6c8) [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1437 +0x29c [2021-02-18T22:15:24.108Z] testing.(*M).Run(0x4000144080, 0x0) [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1345 +0x1b4 [2021-02-18T22:15:24.108Z] main.main() [2021-02-18T22:15:24.108Z] _testmain.go:109 +0x1d0 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 16 [chan send, 9 minutes]: [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update.func1(0x4000156000, 0x4000038750) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:162 +0x1d8 [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update(0x4000156000) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:172 +0x5c [2021-02-18T22:15:24.108Z] created by github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).Start [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:121 +0x110 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 19 [chan send, 9 minutes]: [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update.func1(0x4000156090, 0x4000058f50) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:170 +0x140 [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update(0x4000156090) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:172 +0x5c [2021-02-18T22:15:24.108Z] created by github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).Start [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:121 +0x110 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 22 [semacquire, 9 minutes]: [2021-02-18T22:15:24.108Z] sync.runtime_Semacquire(0x40000a2028) [2021-02-18T22:15:24.108Z] /usr/local/go/src/runtime/sema.go:56 +0x38 [2021-02-18T22:15:24.108Z] sync.(*WaitGroup).Wait(0x40000a2020) [2021-02-18T22:15:24.108Z] /usr/local/go/src/sync/waitgroup.go:130 +0x6c [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.TestStateConcurrency(0x4000154f00) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll_test.go:408 +0x2b0 [2021-02-18T22:15:24.108Z] testing.tRunner(0x4000154f00, 0x1fe828) [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1123 +0xdc [2021-02-18T22:15:24.108Z] created by testing.(*T).Run [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1168 +0x244 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 23 [chan receive, 9 minutes]: [2021-02-18T22:15:24.108Z] testing.runTests.func1.1(0x4000001200) [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1444 +0x30 [2021-02-18T22:15:24.108Z] created by testing.runTests.func1 [2021-02-18T22:15:24.108Z] /usr/local/go/src/testing/testing.go:1444 +0xa8 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 24 [select]: [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update(0x4000156120) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:153 +0x138 [2021-02-18T22:15:24.108Z] created by github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).Start [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:121 +0x110 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 33 [chan send, 9 minutes]: [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).Stop(0x400019c090, 0x0, 0x0) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:135 +0xac [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.restart(0x22c9e0, 0x356068, 0x1eb17d, 0x5, 0x40000a4000, 0x1, 0x1, 0x40000a0000, 0x40000a0060, 0x40000a00c0, ...) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll_test.go:423 +0xc4 [2021-02-18T22:15:24.108Z] created by github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.TestStateConcurrency [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll_test.go:405 +0x244 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 34 [semacquire, 9 minutes]: [2021-02-18T22:15:24.108Z] sync.runtime_SemacquireMutex(0x40000a200c, 0x4000094101, 0x1) [2021-02-18T22:15:24.108Z] /usr/local/go/src/runtime/sema.go:71 +0x40 [2021-02-18T22:15:24.108Z] sync.(*Mutex).lockSlow(0x40000a2008) [2021-02-18T22:15:24.108Z] /usr/local/go/src/sync/mutex.go:138 +0xec [2021-02-18T22:15:24.108Z] sync.(*Mutex).Lock(...) [2021-02-18T22:15:24.108Z] /usr/local/go/src/sync/mutex.go:81 [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).Start(0x40000a6000, 0x0, 0x0) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:113 +0x138 [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.restart(0x22c9e0, 0x356068, 0x1eb17d, 0x5, 0x40000a4000, 0x1, 0x1, 0x40000a0000, 0x40000a0060, 0x40000a00c0, ...) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll_test.go:418 +0xb0 [2021-02-18T22:15:24.108Z] created by github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.TestStateConcurrency [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll_test.go:407 +0x2a4 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 52 [chan send, 9 minutes]: [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update.func1(0x400019c090, 0x40001ae750) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:170 +0x140 [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update(0x400019c090) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:172 +0x5c [2021-02-18T22:15:24.108Z] created by github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).Start [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:121 +0x110 [2021-02-18T22:15:24.108Z] [2021-02-18T22:15:24.108Z] goroutine 53 [semacquire, 9 minutes]: [2021-02-18T22:15:24.108Z] sync.runtime_SemacquireMutex(0x40000a200c, 0x8c700, 0x1) [2021-02-18T22:15:24.108Z] /usr/local/go/src/runtime/sema.go:71 +0x40 [2021-02-18T22:15:24.108Z] sync.(*Mutex).lockSlow(0x40000a2008) [2021-02-18T22:15:24.108Z] /usr/local/go/src/sync/mutex.go:138 +0xec [2021-02-18T22:15:24.108Z] sync.(*Mutex).Lock(...) [2021-02-18T22:15:24.108Z] /usr/local/go/src/sync/mutex.go:81 [2021-02-18T22:15:24.108Z] github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).update(0x40000a6000) [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:174 +0x280 [2021-02-18T22:15:24.108Z] created by github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener.(*InMemoryCacheListener).Start [2021-02-18T22:15:24.108Z] /w/workspace/go-mod-secrets/3/pkg/listener/poll.go:121 +0x110 [2021-02-18T22:15:24.108Z] FAIL github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 600.038s [2021-02-18T22:15:24.108Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.031s coverage: 89.5% of statements [2021-02-18T22:15:24.108Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2021-02-18T22:15:24.108Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.019s coverage: 100.0% of statements [2021-02-18T22:15:24.108Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2021-02-18T22:15:24.108Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.010s coverage: 75.0% of statements [2021-02-18T22:15:24.108Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.014s coverage: 100.0% of statements [2021-02-18T22:15:24.108Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2021-02-18T22:15:24.108Z] FAIL [2021-02-18T22:15:24.108Z] make: *** [Makefile:12: test] Error 1 [Pipeline] } [2021-02-18T22:15:24.114Z] $ docker stop --time=1 c3e09e22317201ead8d8d4da0f93193ec04342737b67347c5cdcf924a4c58d1d [2021-02-18T22:15:26.003Z] $ docker rm -f c3e09e22317201ead8d8d4da0f93193ec04342737b67347c5cdcf924a4c58d1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-18T22:15:27.640Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-18T22:15:30.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T22:15:30.509Z] ---> package-listing.sh [2021-02-18T22:15:30.509Z] ++ facter osfamily [2021-02-18T22:15:30.509Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-18T22:15:30.509Z] + OS_FAMILY=redhat [2021-02-18T22:15:30.509Z] + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-91 [2021-02-18T22:15:30.509Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-18T22:15:30.509Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-18T22:15:30.509Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-18T22:15:30.509Z] + PACKAGES=/tmp/packages_start.txt [2021-02-18T22:15:30.509Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-91 ']' [2021-02-18T22:15:30.509Z] + PACKAGES=/tmp/packages_end.txt [2021-02-18T22:15:30.509Z] + case "${OS_FAMILY}" in [2021-02-18T22:15:30.509Z] + rpm -qa [2021-02-18T22:15:30.509Z] + sort [2021-02-18T22:15:35.832Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-18T22:15:35.832Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-18T22:15:35.832Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-18T22:15:35.832Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-91 ']' [2021-02-18T22:15:35.832Z] + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-91/archives/ [2021-02-18T22:15:35.832Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-91/archives/ [Pipeline] echo [2021-02-18T22:15:35.846Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_go-mod-secrets_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-18T22:15:36.150Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:15:36.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T22:15:36.460Z] [2021-02-18T22:15:36.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-18T22:15:36.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T22:15:36.822Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-18T22:15:36.822Z] df20fa9351a1: Pulling fs layer [2021-02-18T22:15:36.822Z] 36b3adc4ff6f: Pulling fs layer [2021-02-18T22:15:36.822Z] 8ad3a11d3b57: Pulling fs layer [2021-02-18T22:15:36.822Z] 46f8f816bc3b: Pulling fs layer [2021-02-18T22:15:36.822Z] 93b61091891f: Pulling fs layer [2021-02-18T22:15:36.822Z] 93b9cdb0e59b: Pulling fs layer [2021-02-18T22:15:36.822Z] 5e14af77c1be: Pulling fs layer [2021-02-18T22:15:36.822Z] 01666e4c0597: Pulling fs layer [2021-02-18T22:15:36.822Z] aa168da1d23b: Pulling fs layer [2021-02-18T22:15:36.822Z] 93b9cdb0e59b: Waiting [2021-02-18T22:15:36.822Z] 5e14af77c1be: Waiting [2021-02-18T22:15:36.822Z] 01666e4c0597: Waiting [2021-02-18T22:15:36.822Z] aa168da1d23b: Waiting [2021-02-18T22:15:36.822Z] 46f8f816bc3b: Waiting [2021-02-18T22:15:36.822Z] 93b61091891f: Waiting [2021-02-18T22:15:36.822Z] 36b3adc4ff6f: Verifying Checksum [2021-02-18T22:15:36.822Z] 36b3adc4ff6f: Download complete [2021-02-18T22:15:36.822Z] 46f8f816bc3b: Verifying Checksum [2021-02-18T22:15:36.822Z] 46f8f816bc3b: Download complete [2021-02-18T22:15:36.822Z] df20fa9351a1: Verifying Checksum [2021-02-18T22:15:36.822Z] df20fa9351a1: Download complete [2021-02-18T22:15:36.822Z] 93b9cdb0e59b: Verifying Checksum [2021-02-18T22:15:36.822Z] 93b9cdb0e59b: Download complete [2021-02-18T22:15:37.084Z] 5e14af77c1be: Verifying Checksum [2021-02-18T22:15:37.084Z] 5e14af77c1be: Download complete [2021-02-18T22:15:37.084Z] 01666e4c0597: Verifying Checksum [2021-02-18T22:15:37.084Z] 01666e4c0597: Download complete [2021-02-18T22:15:37.084Z] 93b61091891f: Verifying Checksum [2021-02-18T22:15:37.084Z] 93b61091891f: Download complete [2021-02-18T22:15:37.084Z] df20fa9351a1: Pull complete [2021-02-18T22:15:37.346Z] 36b3adc4ff6f: Pull complete [2021-02-18T22:15:37.614Z] 8ad3a11d3b57: Verifying Checksum [2021-02-18T22:15:37.614Z] 8ad3a11d3b57: Download complete [2021-02-18T22:15:38.591Z] 8ad3a11d3b57: Pull complete [2021-02-18T22:15:38.874Z] 46f8f816bc3b: Pull complete [2021-02-18T22:15:39.509Z] 93b61091891f: Pull complete [2021-02-18T22:15:39.777Z] 93b9cdb0e59b: Pull complete [2021-02-18T22:15:39.777Z] aa168da1d23b: Verifying Checksum [2021-02-18T22:15:39.777Z] aa168da1d23b: Download complete [2021-02-18T22:15:39.777Z] 5e14af77c1be: Pull complete [2021-02-18T22:15:40.049Z] 01666e4c0597: Pull complete [2021-02-18T22:15:46.707Z] aa168da1d23b: Pull complete [2021-02-18T22:15:46.707Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-18T22:15:46.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-18T22:15:46.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-18T22:15:46.862Z] prd-centos7-docker-4c-2g-26836 does not seem to be running inside a container [2021-02-18T22:15:46.915Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_go-mod-secrets_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_go-mod-secrets_PR-91 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-91:/w/workspace/dgexfoundry_go-mod-secrets_PR-91:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-91@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-91@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:alpine cat [2021-02-18T22:15:49.918Z] $ docker top 44e91362f4a876b2a1008b619784e2108683cd36601139584974e1e71c4cb13e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-18T22:15:50.575Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-18T22:15:50.883Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-18T22:15:51.178Z] + ls /var/log/sa-host [2021-02-18T22:15:51.178Z] + sadf -c /var/log/sa-host/sa18 [2021-02-18T22:15:51.178Z] file_magic: OK [2021-02-18T22:15:51.178Z] HZ: Using current value: 100 [2021-02-18T22:15:51.178Z] file_header: OK [2021-02-18T22:15:51.178Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-18T22:15:51.178Z] Statistics: [2021-02-18T22:15:51.178Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-18T22:15:51.178Z] File successfully converted to sysstat format version 12.2.1 [2021-02-18T22:15:51.178Z] + sadf -c /var/log/sa-host/sa23 [2021-02-18T22:15:51.178Z] file_magic: OK [2021-02-18T22:15:51.178Z] HZ: Using current value: 100 [2021-02-18T22:15:51.178Z] file_header: OK [2021-02-18T22:15:51.178Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-18T22:15:51.178Z] Statistics: [2021-02-18T22:15:51.178Z] Hnuu...uuuununununu... [2021-02-18T22:15:51.178Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-18T22:15:51.387Z] provisioning config files... [2021-02-18T22:15:51.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-91@tmp/config4939621488078264472tmp [Pipeline] { [Pipeline] echo [2021-02-18T22:15:51.476Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T22:15:51.773Z] ---> create-netrc.sh [Pipeline] } [2021-02-18T22:15:51.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-18T22:15:51.886Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T22:15:52.183Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-18T22:15:52.193Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T22:15:52.487Z] ---> sudo-logs.sh [2021-02-18T22:15:52.487Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-18T22:15:52.544Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T22:15:52.918Z] ---> job-cost.sh [2021-02-18T22:15:52.918Z] lf-activate-venv: SKIPPING [2021-02-18T22:15:52.918Z] INFO: No Stack... [2021-02-18T22:15:53.512Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-18T22:15:54.088Z] INFO: Archiving Costs [Pipeline] echo [2021-02-18T22:15:54.102Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-18T22:15:54.402Z] ---> logs-deploy.sh [2021-02-18T22:15:54.403Z] lf-activate-venv: SKIPPING [2021-02-18T22:15:54.403Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-91/3 [2021-02-18T22:15:54.403Z] INFO: archiving workspace using pattern(s): [2021-02-18T22:15:56.321Z] Archives upload complete. [2021-02-18T22:15:56.321Z] INFO: archiving logs to Nexus