Pull request #78 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 488408bbdd87d085662ef5665c8ea9f59676e3b9+27cb942c6f3ef89d32f958651ca6c8b656d8b14d (47c28db38389472d326dbe8b89d32887980fb91b) Running in Durability level: MAX_SURVIVABILITY 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-78/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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-78/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 > 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 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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:patch] ========================================================= [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: patch 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-18909 in /w/workspace/dgexfoundry_go-mod-secrets_PR-78 [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-78 # 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 > 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/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 27cb942c6f3ef89d32f958651ca6c8b656d8b14d into PR head commit 488408bbdd87d085662ef5665c8ea9f59676e3b9 Merge succeeded, producing 488408bbdd87d085662ef5665c8ea9f59676e3b9 Checking out Revision 488408bbdd87d085662ef5665c8ea9f59676e3b9 (PR-78) > git config core.sparsecheckout # timeout=10 > git checkout -f 488408bbdd87d085662ef5665c8ea9f59676e3b9 # 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 27cb942c6f3ef89d32f958651ca6c8b656d8b14d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 488408bbdd87d085662ef5665c8ea9f59676e3b9 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-07T21:23:05.380Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-07T21:23:05.763Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-07T21:23:06.088Z] ========================================================= [2021-01-07T21:23:06.088Z] EdgeX Global Pipelines Version Info [2021-01-07T21:23:06.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:23:07.682Z] ------------------- [2021-01-07T21:23:07.682Z] stable info: [2021-01-07T21:23:07.682Z] ------------------- [2021-01-07T21:23:07.682Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-07T21:23:07.682Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T21:23:07.682Z] Message: update stable to v1.0.173 [2021-01-07T21:23:08.637Z] ------------------- [2021-01-07T21:23:08.637Z] experimental info: [2021-01-07T21:23:08.637Z] ------------------- [2021-01-07T21:23:08.637Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-07T21:23:08.637Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T21:23:08.637Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-07T21:23:09.061Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2021-01-07T21:23:09.193Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2021-01-07T21:23:09.307Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-07T21:23:09.441Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-07T21:23:09.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-07T21:23:09.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-07T21:23:09.788Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-07T21:23:09.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-07T21:23:10.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-07T21:23:10.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-07T21:23:10.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-07T21:23:10.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo [2021-01-07T21:23:10.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-07T21:23:10.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-07T21:23:10.952Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:23:11.083Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:23:11.218Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:23:11.343Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:23:11.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-07T21:23:11.631Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-07T21:23:11.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-07T21:23:11.907Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-07T21:23:12.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-07T21:23:12.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-07T21:23:12.334Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-07T21:23:12.472Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-07T21:23:12.667Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-07T21:23:12.812Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-78 [Pipeline] echo [2021-01-07T21:23:12.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-78 [Pipeline] echo [2021-01-07T21:23:13.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-78 [Pipeline] echo [2021-01-07T21:23:13.206Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 488408bbdd87d085662ef5665c8ea9f59676e3b9 [Pipeline] echo [2021-01-07T21:23:13.382Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 488408b [Pipeline] echo [2021-01-07T21:23:13.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:23:14.476Z] + git log --format=format:%s -1 488408bbdd87d085662ef5665c8ea9f59676e3b9 [Pipeline] echo [2021-01-07T21:23:14.572Z] GIT_COMMIT: 488408bbdd87d085662ef5665c8ea9f59676e3b9, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-07T21:23:14.644Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:23:15.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:23:15.557Z] [2021-01-07T21:23:15.557Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:23:15.949Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:23:15.949Z] latest: Pulling from edgex-devops/git-semver [2021-01-07T21:23:15.949Z] 31603596830f: Pulling fs layer [2021-01-07T21:23:15.949Z] 2a8b12db71e7: Pulling fs layer [2021-01-07T21:23:15.949Z] 6ca5941a6612: Pulling fs layer [2021-01-07T21:23:15.949Z] ecc8261a40a4: Pulling fs layer [2021-01-07T21:23:15.949Z] ecc8261a40a4: Waiting [2021-01-07T21:23:16.222Z] 2a8b12db71e7: Verifying Checksum [2021-01-07T21:23:16.222Z] 2a8b12db71e7: Download complete [2021-01-07T21:23:16.222Z] 31603596830f: Verifying Checksum [2021-01-07T21:23:16.222Z] 31603596830f: Download complete [2021-01-07T21:23:16.222Z] 6ca5941a6612: Verifying Checksum [2021-01-07T21:23:16.222Z] 6ca5941a6612: Download complete [2021-01-07T21:23:16.488Z] ecc8261a40a4: Verifying Checksum [2021-01-07T21:23:16.488Z] ecc8261a40a4: Download complete [2021-01-07T21:23:16.766Z] 31603596830f: Pull complete [2021-01-07T21:23:16.766Z] 2a8b12db71e7: Pull complete [2021-01-07T21:23:17.732Z] 6ca5941a6612: Pull complete [2021-01-07T21:23:18.004Z] ecc8261a40a4: Pull complete [2021-01-07T21:23:18.004Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-07T21:23:18.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:23:18.004Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-07T21:23:18.155Z] prd-centos7-docker-4c-2g-18909 does not seem to be running inside a container [2021-01-07T21:23:18.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-78 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-78:/w/workspace/dgexfoundry_go-mod-secrets_PR-78:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-78@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T21:23:20.411Z] $ docker top 025183a1dc5ed63827e2edbfd8b4073f1f5d3b19852783349dd19b529905ce89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T21:23:20.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T21:23:20.829Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T21:23:21.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T21:23:21.070Z] $ docker exec 025183a1dc5ed63827e2edbfd8b4073f1f5d3b19852783349dd19b529905ce89 ssh-agent [2021-01-07T21:23:21.242Z] SSH_AUTH_SOCK=/tmp/ssh-8JxejztFI1js/agent.12 [2021-01-07T21:23:21.242Z] SSH_AGENT_PID=17 [2021-01-07T21:23:21.253Z] Running ssh-add (command line suppressed) [2021-01-07T21:23:21.370Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp/private_key_3170257749233532517.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp/private_key_3170257749233532517.key) [2021-01-07T21:23:21.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T21:23:21.817Z] + git tag --points-at HEAD [Pipeline] } [2021-01-07T21:23:21.871Z] $ docker exec --env ******** --env ******** 025183a1dc5ed63827e2edbfd8b4073f1f5d3b19852783349dd19b529905ce89 ssh-agent -k [2021-01-07T21:23:21.990Z] unset SSH_AUTH_SOCK; [2021-01-07T21:23:21.991Z] unset SSH_AGENT_PID; [2021-01-07T21:23:21.991Z] echo Agent pid 17 killed; [2021-01-07T21:23:22.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-07T21:23:22.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T21:23:22.237Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T21:23:22.403Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T21:23:22.407Z] $ docker exec 025183a1dc5ed63827e2edbfd8b4073f1f5d3b19852783349dd19b529905ce89 ssh-agent [2021-01-07T21:23:22.568Z] SSH_AUTH_SOCK=/tmp/ssh-hpmMfU6TaISN/agent.47 [2021-01-07T21:23:22.568Z] SSH_AGENT_PID=52 [2021-01-07T21:23:22.577Z] Running ssh-add (command line suppressed) [2021-01-07T21:23:22.712Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp/private_key_2508339344209591794.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp/private_key_2508339344209591794.key) [2021-01-07T21:23:22.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T21:23:23.158Z] + git semver init [2021-01-07T21:23:23.158Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T21:23:23.158Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-78/.git [2021-01-07T21:23:23.158Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-78 [2021-01-07T21:23:23.158Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T21:23:23.158Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T21:23:23.158Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T21:23:23.158Z] # $SEMVER_BRANCH = PR-78 [2021-01-07T21:23:23.158Z] # $SEMVER_TEMP = /tmp/semver-226205647 [2021-01-07T21:23:23.158Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2021-01-07T21:23:23.736Z] # '/tmp/semver-226205647' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-78/.semver' [2021-01-07T21:23:23.736Z] # -> Force: false [2021-01-07T21:23:23.736Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-78/.semver [Pipeline] } [2021-01-07T21:23:23.755Z] $ docker exec --env ******** --env ******** 025183a1dc5ed63827e2edbfd8b4073f1f5d3b19852783349dd19b529905ce89 ssh-agent -k [2021-01-07T21:23:23.883Z] unset SSH_AUTH_SOCK; [2021-01-07T21:23:23.884Z] unset SSH_AGENT_PID; [2021-01-07T21:23:23.884Z] echo Agent pid 52 killed; [2021-01-07T21:23:23.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T21:23:24.498Z] + git semver [Pipeline] } [2021-01-07T21:23:24.526Z] $ docker stop --time=1 025183a1dc5ed63827e2edbfd8b4073f1f5d3b19852783349dd19b529905ce89 [2021-01-07T21:23:25.947Z] $ docker rm -f 025183a1dc5ed63827e2edbfd8b4073f1f5d3b19852783349dd19b529905ce89 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T21:23:26.483Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-07T21:23:26.929Z] Stashed 1 file(s) [Pipeline] echo [2021-01-07T21:23:26.952Z] [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-01-07T21:23:42.818Z] Still waiting to schedule task [2021-01-07T21:23:42.818Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18911’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-07T21:23:42.845Z] Still waiting to schedule task [2021-01-07T21:23:42.845Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-07T21:23:54.246Z] Running on prd-centos7-docker-4c-2g-18911 in /w/workspace/dgexfoundry_go-mod-secrets_PR-78 [Pipeline] { [Pipeline] ws [2021-01-07T21:23:54.343Z] Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout [2021-01-07T21:23:56.876Z] using credential edgex-jenkins-ssh [2021-01-07T21:23:56.932Z] Cloning the remote Git repository [2021-01-07T21:23:56.741Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:23:56.820Z] > git init /w/workspace/go-mod-secrets/1 # timeout=10 [2021-01-07T21:23:56.899Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:23:56.900Z] > git --version # timeout=10 [2021-01-07T21:23:56.906Z] > git --version # 'git version 2.24.3' [2021-01-07T21:23:56.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:23:56.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:23:57.551Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:23:57.560Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:23:57.577Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:23:58.188Z] Merging remotes/origin/master commit 27cb942c6f3ef89d32f958651ca6c8b656d8b14d into PR head commit 488408bbdd87d085662ef5665c8ea9f59676e3b9 [2021-01-07T21:23:58.271Z] Merge succeeded, producing 488408bbdd87d085662ef5665c8ea9f59676e3b9 [2021-01-07T21:23:58.272Z] Checking out Revision 488408bbdd87d085662ef5665c8ea9f59676e3b9 (PR-78) [2021-01-07T21:23:57.592Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:23:57.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:23:57.599Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T21:23:58.083Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:23:58.090Z] > git checkout -f 488408bbdd87d085662ef5665c8ea9f59676e3b9 # timeout=10 [2021-01-07T21:23:58.128Z] > git remote # timeout=10 [2021-01-07T21:23:58.135Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T21:23:58.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:23:58.147Z] > git merge 27cb942c6f3ef89d32f958651ca6c8b656d8b14d # timeout=10 [2021-01-07T21:23:58.158Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T21:23:58.168Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:23:58.173Z] > git checkout -f 488408bbdd87d085662ef5665c8ea9f59676e3b9 # timeout=10 [2021-01-07T21:24:01.771Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-07T21:24:01.800Z] > git --version # timeout=10 [2021-01-07T21:24:01.807Z] > git --version # 'git version 2.24.3' [2021-01-07T21:24:01.813Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:24:03.272Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:24:03.613Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:24:03.934Z] + sudo service docker restart [2021-01-07T21:24:03.934Z] + true [2021-01-07T21:24:03.934Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-07T21:24:05.593Z] ========================================================= [2021-01-07T21:24:05.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-07T21:24:05.593Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:24:05.980Z] + 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-01-07T21:24:06.243Z] Sending build context to Docker daemon 438.8kB [2021-01-07T21:24:06.243Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-07T21:24:06.243Z] Step 2/7 : FROM ${BASE} [2021-01-07T21:24:06.507Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-07T21:24:06.507Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T21:24:06.507Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T21:24:06.507Z] de9db76c5a1d: Pulling fs layer [2021-01-07T21:24:06.507Z] bca2f99d35d6: Pulling fs layer [2021-01-07T21:24:06.507Z] 93359f2a8cfa: Pulling fs layer [2021-01-07T21:24:06.507Z] 7c6f9722023f: Pulling fs layer [2021-01-07T21:24:06.507Z] a35cf1a2eb13: Pulling fs layer [2021-01-07T21:24:06.507Z] 93359f2a8cfa: Waiting [2021-01-07T21:24:06.507Z] a35cf1a2eb13: Waiting [2021-01-07T21:24:06.507Z] 7c6f9722023f: Waiting [2021-01-07T21:24:06.507Z] bca2f99d35d6: Waiting [2021-01-07T21:24:06.507Z] de9db76c5a1d: Verifying Checksum [2021-01-07T21:24:06.507Z] de9db76c5a1d: Download complete [2021-01-07T21:24:06.507Z] 0ef7d3d256c8: Verifying Checksum [2021-01-07T21:24:06.507Z] 0ef7d3d256c8: Download complete [2021-01-07T21:24:06.507Z] 93359f2a8cfa: Download complete [2021-01-07T21:24:06.507Z] 7c6f9722023f: Verifying Checksum [2021-01-07T21:24:06.507Z] 7c6f9722023f: Download complete [2021-01-07T21:24:06.507Z] 188c0c94c7c5: Verifying Checksum [2021-01-07T21:24:06.507Z] 188c0c94c7c5: Download complete [2021-01-07T21:24:06.771Z] 188c0c94c7c5: Pull complete [2021-01-07T21:24:07.034Z] 0ef7d3d256c8: Pull complete [2021-01-07T21:24:07.034Z] de9db76c5a1d: Pull complete [2021-01-07T21:24:08.960Z] a35cf1a2eb13: Verifying Checksum [2021-01-07T21:24:08.960Z] a35cf1a2eb13: Download complete [2021-01-07T21:24:09.228Z] bca2f99d35d6: Verifying Checksum [2021-01-07T21:24:09.228Z] bca2f99d35d6: Download complete [2021-01-07T21:24:14.564Z] bca2f99d35d6: Pull complete [2021-01-07T21:24:14.564Z] 93359f2a8cfa: Pull complete [2021-01-07T21:24:14.832Z] 7c6f9722023f: Pull complete [2021-01-07T21:24:21.470Z] a35cf1a2eb13: Pull complete [2021-01-07T21:24:22.055Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-07T21:24:22.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-07T21:24:22.055Z] ---> a62c8e92a672 [2021-01-07T21:24:22.055Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T21:24:22.318Z] ---> Running in c116b799cf9e [2021-01-07T21:24:22.587Z] Removing intermediate container c116b799cf9e [2021-01-07T21:24:22.587Z] ---> f2e131742912 [2021-01-07T21:24:22.587Z] Step 4/7 : RUN apk add --update bash [2021-01-07T21:24:22.587Z] ---> Running in c4b9c93a4218 [2021-01-07T21:24:23.167Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-07T21:24:24.130Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-07T21:24:24.717Z] OK: 166 MiB in 39 packages [2021-01-07T21:24:25.301Z] Removing intermediate container c4b9c93a4218 [2021-01-07T21:24:25.301Z] ---> ce01ea216f7b [2021-01-07T21:24:25.301Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-07T21:24:25.301Z] ---> Running in c249b932a675 [2021-01-07T21:24:25.301Z] Removing intermediate container c249b932a675 [2021-01-07T21:24:25.301Z] ---> 728f8b1e373f [2021-01-07T21:24:25.301Z] Step 6/7 : COPY go.mod . [2021-01-07T21:24:25.562Z] ---> 6b64c7f43bde [2021-01-07T21:24:25.562Z] Step 7/7 : RUN go mod download [2021-01-07T21:24:25.825Z] ---> Running in 9c45515fc6c2 [2021-01-07T21:24:38.108Z] Removing intermediate container 9c45515fc6c2 [2021-01-07T21:24:38.108Z] ---> 61c69266f4ab [2021-01-07T21:24:38.108Z] Successfully built 61c69266f4ab [2021-01-07T21:24:38.108Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:24:38.470Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T21:24:38.470Z] . [Pipeline] withDockerContainer [2021-01-07T21:24:38.615Z] prd-centos7-docker-4c-2g-18911 does not seem to be running inside a container [2021-01-07T21:24:38.664Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-07T21:24:39.411Z] $ docker top a23f12abeb23b9f3747125fd7a689eaab179a851f6598f5d7f5bb08c359fa217 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:24:40.508Z] + go version [2021-01-07T21:24:40.508Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-07T21:24:40.533Z] $ docker stop --time=1 a23f12abeb23b9f3747125fd7a689eaab179a851f6598f5d7f5bb08c359fa217 [2021-01-07T21:24:41.906Z] $ docker rm -f a23f12abeb23b9f3747125fd7a689eaab179a851f6598f5d7f5bb08c359fa217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:24:43.243Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T21:24:43.243Z] . [Pipeline] withDockerContainer [2021-01-07T21:24:43.362Z] prd-centos7-docker-4c-2g-18911 does not seem to be running inside a container [2021-01-07T21:24:43.406Z] $ 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 ******** ci-base-image-x86_64 cat [2021-01-07T21:24:44.064Z] $ docker top ea443378d98193486a995d16b6a55ef88642b5af44d3c268501e26ff8f876599 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:24:44.681Z] + make test [2021-01-07T21:24:44.681Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-07T21:24:51.364Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2021-01-07T21:24:51.364Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2021-01-07T21:25:01.531Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.009s coverage: 96.7% of statements [2021-01-07T21:25:01.531Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 0.008s coverage: 44.1% of statements [2021-01-07T21:25:01.531Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.020s coverage: 89.5% of statements [2021-01-07T21:25:01.531Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] [2021-01-07T21:25:01.531Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.008s coverage: 100.0% of statements [2021-01-07T21:25:01.531Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] [2021-01-07T21:25:01.531Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.010s coverage: 87.5% of statements [2021-01-07T21:25:09.690Z] ok github.com/edgexfoundry/go-mod-secrets/secrets 15.013s coverage: 93.3% of statements [2021-01-07T21:25:09.691Z] ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] [2021-01-07T21:25:09.691Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-07T21:25:09.955Z] gofmt -l . [2021-01-07T21:25:09.955Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-07T21:25:09.984Z] $ docker stop --time=1 ea443378d98193486a995d16b6a55ef88642b5af44d3c268501e26ff8f876599 [2021-01-07T21:25:11.520Z] $ docker rm -f ea443378d98193486a995d16b6a55ef88642b5af44d3c268501e26ff8f876599 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T21:25:12.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T21:25:12.458Z] 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-01-07T21:26:37.407Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18912 in /w/workspace/dgexfoundry_go-mod-secrets_PR-78 [Pipeline] { [Pipeline] ws [2021-01-07T21:26:37.506Z] Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout [2021-01-07T21:26:42.995Z] using credential edgex-jenkins-ssh [2021-01-07T21:26:43.058Z] Cloning the remote Git repository [2021-01-07T21:26:43.117Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:26:43.230Z] > git init /w/workspace/go-mod-secrets/1 # timeout=10 [2021-01-07T21:26:43.305Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:26:43.306Z] > git --version # timeout=10 [2021-01-07T21:26:43.327Z] > git --version # 'git version 2.17.1' [2021-01-07T21:26:43.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:26:43.421Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:26:44.672Z] Merging remotes/origin/master commit 27cb942c6f3ef89d32f958651ca6c8b656d8b14d into PR head commit 488408bbdd87d085662ef5665c8ea9f59676e3b9 [2021-01-07T21:26:45.025Z] Merge succeeded, producing 488408bbdd87d085662ef5665c8ea9f59676e3b9 [2021-01-07T21:26:45.025Z] Checking out Revision 488408bbdd87d085662ef5665c8ea9f59676e3b9 (PR-78) [2021-01-07T21:26:44.097Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:26:44.124Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:26:44.154Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:26:44.198Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:26:44.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:26:44.210Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T21:26:44.697Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:26:44.728Z] > git checkout -f 488408bbdd87d085662ef5665c8ea9f59676e3b9 # timeout=10 [2021-01-07T21:26:44.850Z] > git remote # timeout=10 [2021-01-07T21:26:44.884Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T21:26:44.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:26:44.956Z] > git merge 27cb942c6f3ef89d32f958651ca6c8b656d8b14d # timeout=10 [2021-01-07T21:26:44.994Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T21:26:45.039Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:26:45.060Z] > git checkout -f 488408bbdd87d085662ef5665c8ea9f59676e3b9 # timeout=10 [2021-01-07T21:26:49.237Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-07T21:26:49.296Z] > git --version # timeout=10 [2021-01-07T21:26:49.305Z] > git --version # 'git version 2.17.1' [2021-01-07T21:26:49.320Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:26:51.385Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:26:51.800Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:26:52.168Z] + sudo service docker restart [2021-01-07T21:26:52.168Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-07T21:26:55.069Z] ========================================================= [2021-01-07T21:26:55.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-07T21:26:55.070Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:26:55.476Z] + 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-01-07T21:26:56.456Z] Sending build context to Docker daemon 439.8kB [2021-01-07T21:26:56.456Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-07T21:26:56.456Z] Step 2/7 : FROM ${BASE} [2021-01-07T21:26:56.738Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-07T21:26:56.738Z] 5f621e34cdf4: Pulling fs layer [2021-01-07T21:26:56.738Z] a4357932f1b6: Pulling fs layer [2021-01-07T21:26:56.738Z] 18c013af1878: Pulling fs layer [2021-01-07T21:26:56.738Z] 00ac8860ef70: Pulling fs layer [2021-01-07T21:26:56.738Z] 63d7cb157983: Pulling fs layer [2021-01-07T21:26:56.738Z] b116817d02f9: Pulling fs layer [2021-01-07T21:26:56.738Z] 745a02a5169b: Pulling fs layer [2021-01-07T21:26:56.738Z] 00ac8860ef70: Waiting [2021-01-07T21:26:56.738Z] 63d7cb157983: Waiting [2021-01-07T21:26:56.738Z] b116817d02f9: Waiting [2021-01-07T21:26:56.738Z] 745a02a5169b: Waiting [2021-01-07T21:26:56.738Z] 18c013af1878: Download complete [2021-01-07T21:26:56.738Z] a4357932f1b6: Verifying Checksum [2021-01-07T21:26:56.738Z] a4357932f1b6: Download complete [2021-01-07T21:26:56.738Z] 63d7cb157983: Verifying Checksum [2021-01-07T21:26:56.738Z] 63d7cb157983: Download complete [2021-01-07T21:26:56.738Z] b116817d02f9: Verifying Checksum [2021-01-07T21:26:56.738Z] b116817d02f9: Download complete [2021-01-07T21:26:56.738Z] 5f621e34cdf4: Verifying Checksum [2021-01-07T21:26:56.738Z] 5f621e34cdf4: Download complete [2021-01-07T21:26:57.336Z] 5f621e34cdf4: Pull complete [2021-01-07T21:26:57.934Z] a4357932f1b6: Pull complete [2021-01-07T21:26:58.212Z] 18c013af1878: Pull complete [2021-01-07T21:26:59.186Z] 745a02a5169b: Verifying Checksum [2021-01-07T21:26:59.186Z] 745a02a5169b: Download complete [2021-01-07T21:27:00.161Z] 00ac8860ef70: Verifying Checksum [2021-01-07T21:27:00.161Z] 00ac8860ef70: Download complete [2021-01-07T21:27:10.316Z] 00ac8860ef70: Pull complete [2021-01-07T21:27:10.316Z] 63d7cb157983: Pull complete [2021-01-07T21:27:10.316Z] b116817d02f9: Pull complete [2021-01-07T21:27:14.658Z] 745a02a5169b: Pull complete [2021-01-07T21:27:14.658Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-07T21:27:14.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-07T21:27:14.658Z] ---> b7e6874047d6 [2021-01-07T21:27:14.658Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T21:27:17.290Z] ---> Running in 7461a18a1c16 [2021-01-07T21:27:17.564Z] Removing intermediate container 7461a18a1c16 [2021-01-07T21:27:17.564Z] ---> 029c990e3716 [2021-01-07T21:27:17.564Z] Step 4/7 : RUN apk add --update bash [2021-01-07T21:27:17.564Z] ---> Running in 3aea072fcb17 [2021-01-07T21:27:19.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-07T21:27:19.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-07T21:27:20.949Z] OK: 142 MiB in 39 packages [2021-01-07T21:27:21.930Z] Removing intermediate container 3aea072fcb17 [2021-01-07T21:27:21.930Z] ---> 94118fbacb44 [2021-01-07T21:27:21.930Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-07T21:27:22.206Z] ---> Running in 02c2bdfd7562 [2021-01-07T21:27:22.800Z] Removing intermediate container 02c2bdfd7562 [2021-01-07T21:27:22.800Z] ---> 08998367e575 [2021-01-07T21:27:22.800Z] Step 6/7 : COPY go.mod . [2021-01-07T21:27:23.394Z] ---> c5440d5fe8b3 [2021-01-07T21:27:23.394Z] Step 7/7 : RUN go mod download [2021-01-07T21:27:23.394Z] ---> Running in 6931e6533035 [2021-01-07T21:27:38.468Z] Removing intermediate container 6931e6533035 [2021-01-07T21:27:38.468Z] ---> 5ce141aaac36 [2021-01-07T21:27:38.468Z] Successfully built 5ce141aaac36 [2021-01-07T21:27:38.468Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:27:38.833Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T21:27:38.833Z] . [Pipeline] withDockerContainer [2021-01-07T21:27:39.118Z] prd-ubuntu18.04-docker-arm64-4c-16g-18912 does not seem to be running inside a container [2021-01-07T21:27:39.199Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-07T21:27:40.765Z] $ docker top 73e3707dab30d9d0b80bc0f7fc066003170f8adfb8f04e487954bad4b73dae01 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:27:41.888Z] + go version [2021-01-07T21:27:41.888Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-07T21:27:41.929Z] $ docker stop --time=1 73e3707dab30d9d0b80bc0f7fc066003170f8adfb8f04e487954bad4b73dae01 [2021-01-07T21:27:43.929Z] $ docker rm -f 73e3707dab30d9d0b80bc0f7fc066003170f8adfb8f04e487954bad4b73dae01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:27:45.165Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T21:27:45.165Z] . [Pipeline] withDockerContainer [2021-01-07T21:27:45.440Z] prd-ubuntu18.04-docker-arm64-4c-16g-18912 does not seem to be running inside a container [2021-01-07T21:27:45.523Z] $ 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 ******** ci-base-image-arm64 cat [2021-01-07T21:27:47.022Z] $ docker top d233f8929bd5b77c985e0f35744726cd86826f148df8e0a88f0709358adf7308 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:27:48.075Z] + make test [2021-01-07T21:27:48.075Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-07T21:28:10.294Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2021-01-07T21:28:10.294Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2021-01-07T21:38:18.021Z] coverage: 96.7% of statements [2021-01-07T21:38:18.021Z] panic: test timed out after 10m0s [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 25 [running]: [2021-01-07T21:38:18.021Z] testing.(*M).startAlarm.func1() [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1618 +0xc8 [2021-01-07T21:38:18.021Z] created by time.goFunc [2021-01-07T21:38:18.021Z] /usr/local/go/src/time/sleep.go:167 +0x40 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 1 [chan receive, 9 minutes]: [2021-01-07T21:38:18.021Z] testing.tRunner.func1(0x4000001200) [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1088 +0x1d0 [2021-01-07T21:38:18.021Z] testing.tRunner(0x4000001200, 0x400014bd78) [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1127 +0x10c [2021-01-07T21:38:18.021Z] testing.runTests(0x400000c460, 0x352520, 0x9, 0x9, 0xbff5fdb04eb74c63, 0x8bb2f609a4, 0x357bc0, 0x1c6c8) [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1437 +0x29c [2021-01-07T21:38:18.021Z] testing.(*M).Run(0x4000142080, 0x0) [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1345 +0x1b4 [2021-01-07T21:38:18.021Z] main.main() [2021-01-07T21:38:18.021Z] _testmain.go:109 +0x1d0 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 16 [chan send, 9 minutes]: [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update.func1(0x4000154000, 0x4000038750) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:162 +0x1d8 [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update(0x4000154000) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:172 +0x5c [2021-01-07T21:38:18.021Z] created by github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).Start [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:121 +0x110 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 19 [chan send, 9 minutes]: [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update.func1(0x4000154090, 0x400020af50) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:170 +0x140 [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update(0x4000154090) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:172 +0x5c [2021-01-07T21:38:18.021Z] created by github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).Start [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:121 +0x110 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 22 [semacquire, 9 minutes]: [2021-01-07T21:38:18.021Z] sync.runtime_Semacquire(0x4000282028) [2021-01-07T21:38:18.021Z] /usr/local/go/src/runtime/sema.go:56 +0x38 [2021-01-07T21:38:18.021Z] sync.(*WaitGroup).Wait(0x4000282020) [2021-01-07T21:38:18.021Z] /usr/local/go/src/sync/waitgroup.go:130 +0x6c [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.TestStateConcurrency(0x4000152f00) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll_test.go:402 +0x2b0 [2021-01-07T21:38:18.021Z] testing.tRunner(0x4000152f00, 0x1fe750) [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1123 +0xdc [2021-01-07T21:38:18.021Z] created by testing.(*T).Run [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1168 +0x244 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 23 [chan receive, 9 minutes]: [2021-01-07T21:38:18.021Z] testing.runTests.func1.1(0x4000001200) [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1444 +0x30 [2021-01-07T21:38:18.021Z] created by testing.runTests.func1 [2021-01-07T21:38:18.021Z] /usr/local/go/src/testing/testing.go:1444 +0xa8 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 24 [select]: [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update(0x4000154120) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:153 +0x138 [2021-01-07T21:38:18.021Z] created by github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).Start [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:121 +0x110 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 33 [chan send, 9 minutes]: [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).Stop(0x4000214000, 0x0, 0x0) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:135 +0xac [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.restart(0x22c8a0, 0x355ec8, 0x1eb11d, 0x5, 0x4000284000, 0x1, 0x1, 0x4000280000, 0x4000280060, 0x40002800c0, ...) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll_test.go:417 +0xc4 [2021-01-07T21:38:18.021Z] created by github.com/edgexfoundry/go-mod-secrets/pkg/listener.TestStateConcurrency [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll_test.go:399 +0x244 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 34 [semacquire, 9 minutes]: [2021-01-07T21:38:18.021Z] sync.runtime_SemacquireMutex(0x400028200c, 0x400028a000, 0x1) [2021-01-07T21:38:18.021Z] /usr/local/go/src/runtime/sema.go:71 +0x40 [2021-01-07T21:38:18.021Z] sync.(*Mutex).lockSlow(0x4000282008) [2021-01-07T21:38:18.021Z] /usr/local/go/src/sync/mutex.go:138 +0xec [2021-01-07T21:38:18.021Z] sync.(*Mutex).Lock(...) [2021-01-07T21:38:18.021Z] /usr/local/go/src/sync/mutex.go:81 [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).Start(0x4000288000, 0x0, 0x0) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:113 +0x138 [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.restart(0x22c8a0, 0x355ec8, 0x1eb11d, 0x5, 0x4000284000, 0x1, 0x1, 0x4000280000, 0x4000280060, 0x40002800c0, ...) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll_test.go:412 +0xb0 [2021-01-07T21:38:18.021Z] created by github.com/edgexfoundry/go-mod-secrets/pkg/listener.TestStateConcurrency [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll_test.go:401 +0x2a4 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 35 [semacquire, 9 minutes]: [2021-01-07T21:38:18.021Z] sync.runtime_SemacquireMutex(0x400028200c, 0x8c701, 0x1) [2021-01-07T21:38:18.021Z] /usr/local/go/src/runtime/sema.go:71 +0x40 [2021-01-07T21:38:18.021Z] sync.(*Mutex).lockSlow(0x4000282008) [2021-01-07T21:38:18.021Z] /usr/local/go/src/sync/mutex.go:138 +0xec [2021-01-07T21:38:18.021Z] sync.(*Mutex).Lock(...) [2021-01-07T21:38:18.021Z] /usr/local/go/src/sync/mutex.go:81 [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update(0x4000288000) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:174 +0x280 [2021-01-07T21:38:18.021Z] created by github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).Start [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:121 +0x110 [2021-01-07T21:38:18.021Z] [2021-01-07T21:38:18.021Z] goroutine 50 [chan send, 9 minutes]: [2021-01-07T21:38:18.021Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update.func1(0x4000214000, 0x4000059f50) [2021-01-07T21:38:18.021Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:170 +0x140 [2021-01-07T21:38:18.022Z] github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).update(0x4000214000) [2021-01-07T21:38:18.022Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:172 +0x5c [2021-01-07T21:38:18.022Z] created by github.com/edgexfoundry/go-mod-secrets/pkg/listener.(*InMemoryCacheListener).Start [2021-01-07T21:38:18.022Z] /w/workspace/go-mod-secrets/1/pkg/listener/poll.go:121 +0x110 [2021-01-07T21:38:18.022Z] FAIL github.com/edgexfoundry/go-mod-secrets/pkg/listener 600.062s [2021-01-07T21:38:18.022Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 0.038s coverage: 44.1% of statements [2021-01-07T21:38:18.022Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.038s coverage: 89.5% of statements [2021-01-07T21:38:18.022Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] [2021-01-07T21:38:18.022Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.019s coverage: 100.0% of statements [2021-01-07T21:38:18.022Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] [2021-01-07T21:38:18.022Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.047s coverage: 87.5% of statements [2021-01-07T21:38:18.022Z] ok github.com/edgexfoundry/go-mod-secrets/secrets 15.024s coverage: 93.3% of statements [2021-01-07T21:38:18.022Z] ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] [2021-01-07T21:38:18.022Z] FAIL [2021-01-07T21:38:18.022Z] make: *** [Makefile:12: test] Error 1 [Pipeline] } [2021-01-07T21:38:18.067Z] $ docker stop --time=1 d233f8929bd5b77c985e0f35744726cd86826f148df8e0a88f0709358adf7308 [2021-01-07T21:38:20.022Z] $ docker rm -f d233f8929bd5b77c985e0f35744726cd86826f148df8e0a88f0709358adf7308 [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-01-07T21:38:22.780Z] 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-01-07T21:38:27.239Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:38:27.865Z] ---> package-listing.sh [2021-01-07T21:38:27.865Z] ++ facter osfamily [2021-01-07T21:38:27.865Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-07T21:38:27.866Z] + OS_FAMILY=redhat [2021-01-07T21:38:27.866Z] + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-78 [2021-01-07T21:38:27.866Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-07T21:38:27.866Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-07T21:38:27.866Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-07T21:38:27.866Z] + PACKAGES=/tmp/packages_start.txt [2021-01-07T21:38:27.866Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-78 ']' [2021-01-07T21:38:27.866Z] + PACKAGES=/tmp/packages_end.txt [2021-01-07T21:38:27.866Z] + case "${OS_FAMILY}" in [2021-01-07T21:38:27.866Z] + rpm -qa [2021-01-07T21:38:27.866Z] + sort [2021-01-07T21:38:33.202Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-07T21:38:33.202Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-07T21:38:33.202Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-07T21:38:33.202Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-78 ']' [2021-01-07T21:38:33.202Z] + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-78/archives/ [2021-01-07T21:38:33.202Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-78/archives/ [Pipeline] echo [2021-01-07T21:38:33.237Z] 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-78/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-07T21:38:33.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:38:33.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:38:33.898Z] [2021-01-07T21:38:33.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:38:34.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:38:34.307Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-07T21:38:34.307Z] df20fa9351a1: Pulling fs layer [2021-01-07T21:38:34.307Z] 36b3adc4ff6f: Pulling fs layer [2021-01-07T21:38:34.307Z] 8ad3a11d3b57: Pulling fs layer [2021-01-07T21:38:34.307Z] 46f8f816bc3b: Pulling fs layer [2021-01-07T21:38:34.307Z] 93b61091891f: Pulling fs layer [2021-01-07T21:38:34.307Z] 93b9cdb0e59b: Pulling fs layer [2021-01-07T21:38:34.307Z] 5e14af77c1be: Pulling fs layer [2021-01-07T21:38:34.307Z] 01666e4c0597: Pulling fs layer [2021-01-07T21:38:34.307Z] aa168da1d23b: Pulling fs layer [2021-01-07T21:38:34.307Z] 46f8f816bc3b: Waiting [2021-01-07T21:38:34.307Z] 5e14af77c1be: Waiting [2021-01-07T21:38:34.307Z] 01666e4c0597: Waiting [2021-01-07T21:38:34.307Z] aa168da1d23b: Waiting [2021-01-07T21:38:34.307Z] 93b9cdb0e59b: Waiting [2021-01-07T21:38:34.307Z] 36b3adc4ff6f: Verifying Checksum [2021-01-07T21:38:34.307Z] 36b3adc4ff6f: Download complete [2021-01-07T21:38:34.307Z] 46f8f816bc3b: Verifying Checksum [2021-01-07T21:38:34.307Z] 46f8f816bc3b: Download complete [2021-01-07T21:38:34.569Z] 93b61091891f: Verifying Checksum [2021-01-07T21:38:34.569Z] 93b61091891f: Download complete [2021-01-07T21:38:34.569Z] 93b9cdb0e59b: Verifying Checksum [2021-01-07T21:38:34.569Z] 93b9cdb0e59b: Download complete [2021-01-07T21:38:34.569Z] 5e14af77c1be: Verifying Checksum [2021-01-07T21:38:34.569Z] 5e14af77c1be: Download complete [2021-01-07T21:38:34.569Z] 01666e4c0597: Verifying Checksum [2021-01-07T21:38:34.569Z] 01666e4c0597: Download complete [2021-01-07T21:38:35.149Z] df20fa9351a1: Verifying Checksum [2021-01-07T21:38:35.149Z] df20fa9351a1: Download complete [2021-01-07T21:38:35.416Z] 8ad3a11d3b57: Verifying Checksum [2021-01-07T21:38:35.416Z] 8ad3a11d3b57: Download complete [2021-01-07T21:38:35.683Z] df20fa9351a1: Pull complete [2021-01-07T21:38:35.950Z] 36b3adc4ff6f: Pull complete [2021-01-07T21:38:36.914Z] 8ad3a11d3b57: Pull complete [2021-01-07T21:38:37.179Z] 46f8f816bc3b: Pull complete [2021-01-07T21:38:37.179Z] aa168da1d23b: Verifying Checksum [2021-01-07T21:38:37.179Z] aa168da1d23b: Download complete [2021-01-07T21:38:37.443Z] 93b61091891f: Pull complete [2021-01-07T21:38:37.444Z] 93b9cdb0e59b: Pull complete [2021-01-07T21:38:37.706Z] 5e14af77c1be: Pull complete [2021-01-07T21:38:37.706Z] 01666e4c0597: Pull complete [2021-01-07T21:38:44.327Z] aa168da1d23b: Pull complete [2021-01-07T21:38:44.327Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-07T21:38:44.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:38:44.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-07T21:38:44.510Z] prd-centos7-docker-4c-2g-18909 does not seem to be running inside a container [2021-01-07T21:38:44.558Z] $ 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-78/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-78 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-78:/w/workspace/dgexfoundry_go-mod-secrets_PR-78:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-07T21:38:49.001Z] $ docker top 22515acfb89affac329d2102d3f5172ab5e39ef26f51fcb9c19cd257f195f94b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:38:49.637Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-07T21:38:49.957Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-07T21:38:50.278Z] + ls /var/log/sa-host [2021-01-07T21:38:50.278Z] + sadf -c /var/log/sa-host/sa07 [2021-01-07T21:38:50.278Z] file_magic: OK [2021-01-07T21:38:50.278Z] HZ: Using current value: 100 [2021-01-07T21:38:50.278Z] file_header: OK [2021-01-07T21:38:50.278Z] 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-01-07T21:38:50.278Z] Statistics: [2021-01-07T21:38:50.278Z] 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-01-07T21:38:50.278Z] File successfully converted to sysstat format version 12.2.1 [2021-01-07T21:38:50.278Z] + sadf -c /var/log/sa-host/sa23 [2021-01-07T21:38:50.278Z] file_magic: OK [2021-01-07T21:38:50.278Z] HZ: Using current value: 100 [2021-01-07T21:38:50.278Z] file_header: OK [2021-01-07T21:38:50.278Z] 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-01-07T21:38:50.278Z] Statistics: [2021-01-07T21:38:50.278Z] Hnuu...uuuununununu... [2021-01-07T21:38:50.278Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-07T21:38:51.154Z] provisioning config files... [2021-01-07T21:38:51.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-78@tmp/config9020720259608324606tmp [Pipeline] { [Pipeline] echo [2021-01-07T21:38:51.299Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:38:51.633Z] ---> create-netrc.sh [Pipeline] } [2021-01-07T21:38:51.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-07T21:38:51.833Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:38:52.173Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-07T21:38:52.204Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:38:52.539Z] ---> sudo-logs.sh [2021-01-07T21:38:52.539Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-07T21:38:52.576Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:38:52.915Z] ---> job-cost.sh [2021-01-07T21:38:52.915Z] lf-activate-venv: SKIPPING [2021-01-07T21:38:52.915Z] INFO: No Stack... [2021-01-07T21:38:54.311Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-07T21:38:54.576Z] INFO: Archiving Costs [Pipeline] echo [2021-01-07T21:38:54.616Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:38:54.947Z] ---> logs-deploy.sh [2021-01-07T21:38:54.947Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-78/1 [2021-01-07T21:38:54.947Z] INFO: archiving workspace using pattern(s): [2021-01-07T21:38:56.871Z] Archives upload complete. [2021-01-07T21:38:56.871Z] INFO: archiving logs to Nexus