Pull request #55 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 jpwhitemn for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from e59ca73f49f729752ccf29ab28389c9a80c40d12+c2fdd86c0892cca906f87e05e0c11785480ef45c (a23e9b5fe21336b8f2fa8e129b36d2cfcacbef81) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2355 in /w/workspace/dgexfoundry_go-mod-secrets_PR-55 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git > git init /w/workspace/dgexfoundry_go-mod-secrets_PR-55 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/55/head:refs/remotes/origin/PR-55 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c2fdd86c0892cca906f87e05e0c11785480ef45c into PR head commit e59ca73f49f729752ccf29ab28389c9a80c40d12 Merge succeeded, producing e59ca73f49f729752ccf29ab28389c9a80c40d12 Checking out Revision e59ca73f49f729752ccf29ab28389c9a80c40d12 (PR-55) > git config core.sparsecheckout # timeout=10 > git checkout -f e59ca73f49f729752ccf29ab28389c9a80c40d12 # 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 c2fdd86c0892cca906f87e05e0c11785480ef45c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e59ca73f49f729752ccf29ab28389c9a80c40d12 # timeout=10 Commit message: "build: update to go 1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-11T22:07:32.462Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-11T22:07:32.748Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-11T22:07:32.853Z] ========================================================= [2020-09-11T22:07:32.854Z] EdgeX Global Pipelines Version Info [2020-09-11T22:07:32.854Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8a89656fb5e168afe551627daaa0a15c70072a32 # timeout=10 [2020-09-11T22:07:34.747Z] ------------------- [2020-09-11T22:07:34.747Z] stable info: [2020-09-11T22:07:34.747Z] ------------------- [2020-09-11T22:07:34.747Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-11T22:07:34.747Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-11T22:07:34.747Z] Message: update stable to v1.0.119 [2020-09-11T22:07:35.322Z] ------------------- [2020-09-11T22:07:35.322Z] experimental info: [2020-09-11T22:07:35.322Z] ------------------- [2020-09-11T22:07:35.322Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-11T22:07:35.322Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-11T22:07:35.322Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-11T22:07:35.677Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2020-09-11T22:07:35.768Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2020-09-11T22:07:35.867Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-11T22:07:35.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-11T22:07:36.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-11T22:07:36.135Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-11T22:07:36.226Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-11T22:07:36.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-11T22:07:36.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-11T22:07:36.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-11T22:07:36.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-11T22:07:36.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo [2020-09-11T22:07:36.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-11T22:07:36.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-11T22:07:37.056Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:07:37.143Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:07:37.233Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:07:37.321Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:07:37.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-09-11T22:07:37.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-11T22:07:37.588Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-11T22:07:37.676Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-11T22:07:37.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo [2020-09-11T22:07:37.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo [2020-09-11T22:07:37.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo [2020-09-11T22:07:38.054Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e59ca73f49f729752ccf29ab28389c9a80c40d12 [Pipeline] echo [2020-09-11T22:07:38.146Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e59ca73 [Pipeline] echo [2020-09-11T22:07:38.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-11T22:07:38.828Z] + git log --format=format:%s -1 e59ca73f49f729752ccf29ab28389c9a80c40d12 [Pipeline] echo [2020-09-11T22:07:38.893Z] GIT_COMMIT: e59ca73f49f729752ccf29ab28389c9a80c40d12, Commit Message: build: update to go 1.15 [Pipeline] echo [2020-09-11T22:07:38.945Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:07:39.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T22:07:40.082Z] [2020-09-11T22:07:40.082Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:07:40.511Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T22:07:40.511Z] latest: Pulling from edgex-devops/git-semver [2020-09-11T22:07:40.511Z] 31603596830f: Pulling fs layer [2020-09-11T22:07:40.511Z] 2a8b12db71e7: Pulling fs layer [2020-09-11T22:07:40.511Z] 6ca5941a6612: Pulling fs layer [2020-09-11T22:07:40.511Z] ecc8261a40a4: Pulling fs layer [2020-09-11T22:07:40.511Z] ecc8261a40a4: Waiting [2020-09-11T22:07:40.511Z] 2a8b12db71e7: Verifying Checksum [2020-09-11T22:07:40.511Z] 2a8b12db71e7: Download complete [2020-09-11T22:07:40.785Z] 31603596830f: Verifying Checksum [2020-09-11T22:07:40.785Z] 31603596830f: Download complete [2020-09-11T22:07:40.785Z] ecc8261a40a4: Verifying Checksum [2020-09-11T22:07:40.785Z] ecc8261a40a4: Download complete [2020-09-11T22:07:40.785Z] 6ca5941a6612: Verifying Checksum [2020-09-11T22:07:40.785Z] 6ca5941a6612: Download complete [2020-09-11T22:07:41.050Z] 31603596830f: Pull complete [2020-09-11T22:07:41.313Z] 2a8b12db71e7: Pull complete [2020-09-11T22:07:42.262Z] 6ca5941a6612: Pull complete [2020-09-11T22:07:42.262Z] ecc8261a40a4: Pull complete [2020-09-11T22:07:42.262Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-11T22:07:42.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T22:07:42.262Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-11T22:07:42.365Z] prd-centos7-docker-4c-2g-2355 does not seem to be running inside a container [2020-09-11T22:07:42.413Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-55 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-55:/w/workspace/dgexfoundry_go-mod-secrets_PR-55:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-55@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-11T22:07:44.564Z] $ docker top 601c8c59d33191e34fdae73585940e6fc88984903a4dde0af565fa55a69d3bc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-11T22:07:44.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T22:07:44.849Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T22:07:45.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T22:07:45.105Z] $ docker exec 601c8c59d33191e34fdae73585940e6fc88984903a4dde0af565fa55a69d3bc9 ssh-agent [2020-09-11T22:07:45.271Z] SSH_AUTH_SOCK=/tmp/ssh-fuseCOPZvyIi/agent.11 [2020-09-11T22:07:45.271Z] SSH_AGENT_PID=16 [2020-09-11T22:07:45.285Z] Running ssh-add (command line suppressed) [2020-09-11T22:07:45.409Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp/private_key_8605266273240429143.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp/private_key_8605266273240429143.key) [2020-09-11T22:07:45.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T22:07:45.806Z] + git describe --exact-match --tags HEAD [2020-09-11T22:07:45.806Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-11T22:07:45.833Z] $ docker exec --env ******** --env ******** 601c8c59d33191e34fdae73585940e6fc88984903a4dde0af565fa55a69d3bc9 ssh-agent -k [2020-09-11T22:07:45.946Z] unset SSH_AUTH_SOCK; [2020-09-11T22:07:45.946Z] unset SSH_AGENT_PID; [2020-09-11T22:07:45.946Z] echo Agent pid 16 killed; [2020-09-11T22:07:45.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-11T22:07:46.092Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-11T22:07:46.092Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-11T22:07:46.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T22:07:46.192Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T22:07:46.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T22:07:46.363Z] $ docker exec 601c8c59d33191e34fdae73585940e6fc88984903a4dde0af565fa55a69d3bc9 ssh-agent [2020-09-11T22:07:46.519Z] SSH_AUTH_SOCK=/tmp/ssh-9pt5KyHQWP3y/agent.45 [2020-09-11T22:07:46.519Z] SSH_AGENT_PID=50 [2020-09-11T22:07:46.526Z] Running ssh-add (command line suppressed) [2020-09-11T22:07:46.646Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp/private_key_6581274616492284540.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp/private_key_6581274616492284540.key) [2020-09-11T22:07:46.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T22:07:47.025Z] + git semver init [2020-09-11T22:07:47.025Z] # -> Open(): unable to determine branch for HEAD [2020-09-11T22:07:47.025Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-55/.git [2020-09-11T22:07:47.025Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-55 [2020-09-11T22:07:47.025Z] # $SEMVER_REMOTE_NAME = origin [2020-09-11T22:07:47.025Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-11T22:07:47.025Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-11T22:07:47.025Z] # $SEMVER_BRANCH = PR-55 [2020-09-11T22:07:47.025Z] # $SEMVER_TEMP = /tmp/semver-362860152 [2020-09-11T22:07:47.025Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2020-09-11T22:07:47.286Z] # '/tmp/semver-362860152' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-55/.semver' [2020-09-11T22:07:47.548Z] # -> Force: false [2020-09-11T22:07:47.549Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-55/.semver [Pipeline] } [2020-09-11T22:07:47.563Z] $ docker exec --env ******** --env ******** 601c8c59d33191e34fdae73585940e6fc88984903a4dde0af565fa55a69d3bc9 ssh-agent -k [2020-09-11T22:07:47.685Z] unset SSH_AUTH_SOCK; [2020-09-11T22:07:47.685Z] unset SSH_AGENT_PID; [2020-09-11T22:07:47.686Z] echo Agent pid 50 killed; [2020-09-11T22:07:47.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-11T22:07:48.199Z] + git semver [Pipeline] } [2020-09-11T22:07:48.218Z] $ docker stop --time=1 601c8c59d33191e34fdae73585940e6fc88984903a4dde0af565fa55a69d3bc9 [2020-09-11T22:07:49.619Z] $ docker rm -f 601c8c59d33191e34fdae73585940e6fc88984903a4dde0af565fa55a69d3bc9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-11T22:07:50.528Z] Stashed 33 file(s) [Pipeline] echo [2020-09-11T22:07:50.531Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-11T22:07:50.647Z] Archived original 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 [2020-09-11T22:08:06.167Z] Still waiting to schedule task [2020-09-11T22:08:06.167Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-11T22:08:06.170Z] Still waiting to schedule task [2020-09-11T22:08:06.170Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-11T22:09:23.804Z] Running on prd-centos7-docker-4c-2g-2359 in /w/workspace/dgexfoundry_go-mod-secrets_PR-55 [Pipeline] { [Pipeline] ws [2020-09-11T22:09:23.862Z] Running in /w/workspace/go-mod-secrets/2 [Pipeline] { [Pipeline] checkout [2020-09-11T22:09:26.310Z] using credential edgex-jenkins-ssh [2020-09-11T22:09:26.375Z] Cloning the remote Git repository [2020-09-11T22:09:26.375Z] Cloning with configured refspecs honoured and without tags [2020-09-11T22:09:26.402Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2020-09-11T22:09:27.295Z] Fetching without tags [2020-09-11T22:09:26.467Z] > git init /w/workspace/go-mod-secrets/2 # timeout=10 [2020-09-11T22:09:26.540Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-09-11T22:09:26.541Z] > git --version # timeout=10 [2020-09-11T22:09:26.547Z] > git --version # 'git version 2.16.5' [2020-09-11T22:09:26.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:09:26.638Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:09:27.272Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-09-11T22:09:27.279Z] > git config --add remote.origin.fetch +refs/pull/55/head:refs/remotes/origin/PR-55 # timeout=10 [2020-09-11T22:09:27.284Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:09:27.292Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-09-11T22:09:27.303Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-09-11T22:09:27.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:09:27.308Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:09:27.686Z] Merging remotes/origin/master commit c2fdd86c0892cca906f87e05e0c11785480ef45c into PR head commit e59ca73f49f729752ccf29ab28389c9a80c40d12 [2020-09-11T22:09:27.762Z] Merge succeeded, producing e59ca73f49f729752ccf29ab28389c9a80c40d12 [2020-09-11T22:09:27.763Z] Checking out Revision e59ca73f49f729752ccf29ab28389c9a80c40d12 (PR-55) [2020-09-11T22:09:27.697Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:09:27.701Z] > git checkout -f e59ca73f49f729752ccf29ab28389c9a80c40d12 # timeout=10 [2020-09-11T22:09:27.734Z] > git remote # timeout=10 [2020-09-11T22:09:27.739Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T22:09:27.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:09:27.748Z] > git merge c2fdd86c0892cca906f87e05e0c11785480ef45c # timeout=10 [2020-09-11T22:09:27.757Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T22:09:27.768Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:09:27.773Z] > git checkout -f e59ca73f49f729752ccf29ab28389c9a80c40d12 # timeout=10 [2020-09-11T22:09:31.411Z] Commit message: "build: update to go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T22:09:32.137Z] ========================================================= [2020-09-11T22:09:32.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-11T22:09:32.137Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:09:32.722Z] + 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 . [2020-09-11T22:09:32.985Z] Sending build context to Docker daemon 518.1kB [2020-09-11T22:09:32.985Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-09-11T22:09:32.985Z] Step 2/7 : FROM ${BASE} [2020-09-11T22:09:32.985Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-11T22:09:32.985Z] df20fa9351a1: Pulling fs layer [2020-09-11T22:09:32.985Z] ed8968b2872e: Pulling fs layer [2020-09-11T22:09:32.985Z] a92cc7c5fd73: Pulling fs layer [2020-09-11T22:09:32.985Z] e871e8e8d7a9: Pulling fs layer [2020-09-11T22:09:32.985Z] e73272ec9a57: Pulling fs layer [2020-09-11T22:09:32.985Z] 1e910a182e73: Pulling fs layer [2020-09-11T22:09:32.985Z] 4e634b169226: Pulling fs layer [2020-09-11T22:09:32.985Z] e871e8e8d7a9: Waiting [2020-09-11T22:09:32.985Z] e73272ec9a57: Waiting [2020-09-11T22:09:32.985Z] 4e634b169226: Waiting [2020-09-11T22:09:32.985Z] 1e910a182e73: Waiting [2020-09-11T22:09:33.246Z] a92cc7c5fd73: Verifying Checksum [2020-09-11T22:09:33.246Z] a92cc7c5fd73: Download complete [2020-09-11T22:09:33.246Z] ed8968b2872e: Download complete [2020-09-11T22:09:33.246Z] e73272ec9a57: Verifying Checksum [2020-09-11T22:09:33.246Z] e73272ec9a57: Download complete [2020-09-11T22:09:33.508Z] 1e910a182e73: Verifying Checksum [2020-09-11T22:09:33.508Z] 1e910a182e73: Download complete [2020-09-11T22:09:33.508Z] df20fa9351a1: Verifying Checksum [2020-09-11T22:09:33.508Z] df20fa9351a1: Download complete [2020-09-11T22:09:34.087Z] df20fa9351a1: Pull complete [2020-09-11T22:09:34.087Z] ed8968b2872e: Pull complete [2020-09-11T22:09:34.350Z] a92cc7c5fd73: Pull complete [2020-09-11T22:09:35.752Z] 4e634b169226: Verifying Checksum [2020-09-11T22:09:35.752Z] 4e634b169226: Download complete [2020-09-11T22:09:35.752Z] e871e8e8d7a9: Verifying Checksum [2020-09-11T22:09:35.752Z] e871e8e8d7a9: Download complete [2020-09-11T22:09:41.084Z] e871e8e8d7a9: Pull complete [2020-09-11T22:09:41.084Z] e73272ec9a57: Pull complete [2020-09-11T22:09:41.084Z] 1e910a182e73: Pull complete [2020-09-11T22:09:47.696Z] 4e634b169226: Pull complete [2020-09-11T22:09:47.696Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-11T22:09:47.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-11T22:09:47.696Z] ---> f7629b54cfaa [2020-09-11T22:09:47.696Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-11T22:09:47.696Z] ---> Running in 37835cdd46af [2020-09-11T22:09:47.958Z] Removing intermediate container 37835cdd46af [2020-09-11T22:09:47.958Z] ---> d129df8c7437 [2020-09-11T22:09:47.958Z] Step 4/7 : RUN apk add --update bash [2020-09-11T22:09:48.223Z] ---> Running in 5b0bb9f772a3 [2020-09-11T22:09:49.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-11T22:09:49.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-11T22:09:50.694Z] OK: 166 MiB in 39 packages [2020-09-11T22:09:51.272Z] Removing intermediate container 5b0bb9f772a3 [2020-09-11T22:09:51.272Z] ---> 9528648f6f16 [2020-09-11T22:09:51.272Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-11T22:09:51.272Z] ---> Running in 9cf3d1eb5961 [2020-09-11T22:09:51.272Z] Removing intermediate container 9cf3d1eb5961 [2020-09-11T22:09:51.272Z] ---> ec73df303044 [2020-09-11T22:09:51.272Z] Step 6/7 : COPY go.mod . [2020-09-11T22:09:51.535Z] ---> bdc2e02ec3f0 [2020-09-11T22:09:51.535Z] Step 7/7 : RUN go mod download [2020-09-11T22:09:51.535Z] ---> Running in 824990e43870 [2020-09-11T22:09:54.090Z] Removing intermediate container 824990e43870 [2020-09-11T22:09:54.090Z] ---> c28aedf95323 [2020-09-11T22:09:54.090Z] Successfully built c28aedf95323 [2020-09-11T22:09:54.090Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:09:54.786Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-11T22:09:54.787Z] . [Pipeline] withDockerContainer [2020-09-11T22:09:54.888Z] prd-centos7-docker-4c-2g-2359 does not seem to be running inside a container [2020-09-11T22:09:54.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@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 [2020-09-11T22:09:55.870Z] $ docker top af358bbc41840e9c8226782b29a75f317d7a4c70a3219eb4198201ae86e22f9c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T22:09:56.366Z] + go version [2020-09-11T22:09:56.366Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-11T22:09:56.676Z] + make test [2020-09-11T22:09:56.676Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-11T22:09:59.279Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2020-09-11T22:09:59.279Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2020-09-11T22:10:09.819Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.015s coverage: 96.7% of statements [2020-09-11T22:10:19.880Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.037s coverage: 86.1% of statements [2020-09-11T22:10:19.881Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.020s coverage: 89.5% of statements [2020-09-11T22:10:19.881Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.006s coverage: 100.0% of statements [2020-09-11T22:10:19.881Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.012s coverage: 100.0% of statements [2020-09-11T22:10:19.881Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.010s coverage: 100.0% of statements [2020-09-11T22:10:19.881Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-11T22:10:19.881Z] gofmt -l . [2020-09-11T22:10:19.881Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-09-11T22:10:20.231Z] Stashed 1 file(s) [Pipeline] } [2020-09-11T22:10:20.240Z] $ docker stop --time=1 af358bbc41840e9c8226782b29a75f317d7a4c70a3219eb4198201ae86e22f9c [2020-09-11T22:10:22.367Z] $ docker rm -f af358bbc41840e9c8226782b29a75f317d7a4c70a3219eb4198201ae86e22f9c [Pipeline] // withDockerContainer [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] } [2020-09-11T22:11:38.999Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2364 in /w/workspace/dgexfoundry_go-mod-secrets_PR-55 [Pipeline] { [Pipeline] ws [2020-09-11T22:11:39.052Z] Running in /w/workspace/go-mod-secrets/2 [Pipeline] { [Pipeline] checkout [2020-09-11T22:11:44.368Z] using credential edgex-jenkins-ssh [2020-09-11T22:11:44.438Z] Cloning the remote Git repository [2020-09-11T22:11:44.438Z] Cloning with configured refspecs honoured and without tags [2020-09-11T22:11:44.519Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2020-09-11T22:11:44.641Z] > git init /w/workspace/go-mod-secrets/2 # timeout=10 [2020-09-11T22:11:44.743Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-09-11T22:11:44.744Z] > git --version # timeout=10 [2020-09-11T22:11:44.764Z] > git --version # 'git version 2.17.1' [2020-09-11T22:11:44.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:11:44.835Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:11:45.442Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-09-11T22:11:45.462Z] > git config --add remote.origin.fetch +refs/pull/55/head:refs/remotes/origin/PR-55 # timeout=10 [2020-09-11T22:11:45.480Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:11:45.522Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-09-11T22:11:45.541Z] Fetching without tags [2020-09-11T22:11:46.131Z] Merging remotes/origin/master commit c2fdd86c0892cca906f87e05e0c11785480ef45c into PR head commit e59ca73f49f729752ccf29ab28389c9a80c40d12 [2020-09-11T22:11:46.341Z] Merge succeeded, producing e59ca73f49f729752ccf29ab28389c9a80c40d12 [2020-09-11T22:11:46.341Z] Checking out Revision e59ca73f49f729752ccf29ab28389c9a80c40d12 (PR-55) [2020-09-11T22:11:45.560Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-09-11T22:11:45.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:11:45.573Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:11:46.161Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:11:46.185Z] > git checkout -f e59ca73f49f729752ccf29ab28389c9a80c40d12 # timeout=10 [2020-09-11T22:11:46.263Z] > git remote # timeout=10 [2020-09-11T22:11:46.279Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T22:11:46.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:11:46.305Z] > git merge c2fdd86c0892cca906f87e05e0c11785480ef45c # timeout=10 [2020-09-11T22:11:46.325Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T22:11:46.353Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:11:46.370Z] > git checkout -f e59ca73f49f729752ccf29ab28389c9a80c40d12 # timeout=10 [2020-09-11T22:11:50.622Z] Commit message: "build: update to go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T22:11:51.596Z] ========================================================= [2020-09-11T22:11:51.596Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-11T22:11:51.596Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:11:52.806Z] + 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 . [2020-09-11T22:11:53.792Z] Sending build context to Docker daemon 518.1kB [2020-09-11T22:11:53.792Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-09-11T22:11:53.792Z] Step 2/7 : FROM ${BASE} [2020-09-11T22:11:54.065Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-11T22:11:54.065Z] b538f80385f9: Pulling fs layer [2020-09-11T22:11:54.065Z] 74f711af9a0d: Pulling fs layer [2020-09-11T22:11:54.065Z] 99f96fe45779: Pulling fs layer [2020-09-11T22:11:54.065Z] 8529a6b9a6be: Pulling fs layer [2020-09-11T22:11:54.065Z] 45590311c82a: Pulling fs layer [2020-09-11T22:11:54.065Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-11T22:11:54.065Z] 209524e5b208: Pulling fs layer [2020-09-11T22:11:54.065Z] 45590311c82a: Waiting [2020-09-11T22:11:54.065Z] 8529a6b9a6be: Waiting [2020-09-11T22:11:54.065Z] 69ca0ff8b7b3: Waiting [2020-09-11T22:11:54.065Z] 209524e5b208: Waiting [2020-09-11T22:11:54.065Z] 99f96fe45779: Verifying Checksum [2020-09-11T22:11:54.065Z] 99f96fe45779: Download complete [2020-09-11T22:11:54.065Z] 74f711af9a0d: Verifying Checksum [2020-09-11T22:11:54.065Z] 74f711af9a0d: Download complete [2020-09-11T22:11:54.065Z] 45590311c82a: Verifying Checksum [2020-09-11T22:11:54.065Z] 45590311c82a: Download complete [2020-09-11T22:11:54.339Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-11T22:11:54.339Z] 69ca0ff8b7b3: Download complete [2020-09-11T22:11:54.613Z] b538f80385f9: Verifying Checksum [2020-09-11T22:11:54.613Z] b538f80385f9: Download complete [2020-09-11T22:11:55.595Z] b538f80385f9: Pull complete [2020-09-11T22:11:56.220Z] 74f711af9a0d: Pull complete [2020-09-11T22:11:56.496Z] 99f96fe45779: Pull complete [2020-09-11T22:11:56.496Z] 209524e5b208: Verifying Checksum [2020-09-11T22:11:56.496Z] 209524e5b208: Download complete [2020-09-11T22:11:58.476Z] 8529a6b9a6be: Verifying Checksum [2020-09-11T22:11:58.476Z] 8529a6b9a6be: Download complete [2020-09-11T22:12:08.641Z] 8529a6b9a6be: Pull complete [2020-09-11T22:12:08.641Z] 45590311c82a: Pull complete [2020-09-11T22:12:09.239Z] 69ca0ff8b7b3: Pull complete [2020-09-11T22:12:13.580Z] 209524e5b208: Pull complete [2020-09-11T22:12:13.580Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-11T22:12:13.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-11T22:12:13.580Z] ---> 5bddaf1c2fca [2020-09-11T22:12:13.580Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-11T22:12:15.552Z] ---> Running in d327898d1055 [2020-09-11T22:12:15.825Z] Removing intermediate container d327898d1055 [2020-09-11T22:12:15.825Z] ---> c27964e8ed4b [2020-09-11T22:12:15.825Z] Step 4/7 : RUN apk add --update bash [2020-09-11T22:12:16.097Z] ---> Running in c5a52caa026b [2020-09-11T22:12:17.524Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-11T22:12:18.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-11T22:12:19.485Z] OK: 142 MiB in 39 packages [2020-09-11T22:12:20.525Z] Removing intermediate container c5a52caa026b [2020-09-11T22:12:20.525Z] ---> d3e0acc5cc1c [2020-09-11T22:12:20.525Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-11T22:12:20.525Z] ---> Running in 5756cd8554c2 [2020-09-11T22:12:21.126Z] Removing intermediate container 5756cd8554c2 [2020-09-11T22:12:21.126Z] ---> 5cd4029671c1 [2020-09-11T22:12:21.126Z] Step 6/7 : COPY go.mod . [2020-09-11T22:12:21.724Z] ---> 1e4b51b240e4 [2020-09-11T22:12:21.724Z] Step 7/7 : RUN go mod download [2020-09-11T22:12:22.009Z] ---> Running in 06c0ff24cd41 [2020-09-11T22:12:25.401Z] Removing intermediate container 06c0ff24cd41 [2020-09-11T22:12:25.401Z] ---> 9303d7f7e9c4 [2020-09-11T22:12:25.401Z] Successfully built 9303d7f7e9c4 [2020-09-11T22:12:25.401Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:12:27.027Z] + docker inspect -f . ci-base-image-arm64 [2020-09-11T22:12:27.027Z] . [Pipeline] withDockerContainer [2020-09-11T22:12:27.281Z] prd-ubuntu18.04-docker-arm64-4c-16g-2364 does not seem to be running inside a container [2020-09-11T22:12:27.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@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-arm64 cat [2020-09-11T22:12:29.273Z] $ docker top cf64c0e9e438461173b8101f7a7a1fdff46e22f35d215a23d358c87e973bba07 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T22:12:30.643Z] + go version [2020-09-11T22:12:30.643Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-11T22:12:31.696Z] + make test [2020-09-11T22:12:31.696Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-11T22:12:41.887Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2020-09-11T22:12:41.887Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2020-09-11T22:12:52.083Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.031s coverage: 96.7% of statements [2020-09-11T22:13:10.397Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.034s coverage: 86.1% of statements [2020-09-11T22:13:10.397Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.024s coverage: 89.5% of statements [2020-09-11T22:13:10.397Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.026s coverage: 100.0% of statements [2020-09-11T22:13:10.397Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.009s coverage: 100.0% of statements [2020-09-11T22:13:10.397Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.010s coverage: 100.0% of statements [2020-09-11T22:13:10.397Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-11T22:13:10.397Z] gofmt -l . [2020-09-11T22:13:10.397Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-09-11T22:13:10.416Z] Warning: overwriting stash ‘coverage-report’ [2020-09-11T22:13:11.117Z] Stashed 1 file(s) [Pipeline] } [2020-09-11T22:13:11.128Z] $ docker stop --time=1 cf64c0e9e438461173b8101f7a7a1fdff46e22f35d215a23d358c87e973bba07 [2020-09-11T22:13:13.165Z] $ docker rm -f cf64c0e9e438461173b8101f7a7a1fdff46e22f35d215a23d358c87e973bba07 [Pipeline] // withDockerContainer [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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-11T22:13:15.793Z] provisioning config files... [2020-09-11T22:13:15.806Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp/config5090449326794779167tmp [Pipeline] { [Pipeline] sh [2020-09-11T22:13:16.244Z] + curl -s https://codecov.io/bash [2020-09-11T22:13:16.244Z] + bash -s - -t @/w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp/config5090449326794779167tmp [Pipeline] } [2020-09-11T22:13:16.514Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:13:18.832Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:13:19.416Z] ---> package-listing.sh [2020-09-11T22:13:19.416Z] ++ facter osfamily [2020-09-11T22:13:19.416Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-11T22:13:19.416Z] + OS_FAMILY=redhat [2020-09-11T22:13:19.416Z] + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-55 [2020-09-11T22:13:19.416Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-11T22:13:19.416Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-11T22:13:19.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-11T22:13:19.417Z] + PACKAGES=/tmp/packages_start.txt [2020-09-11T22:13:19.417Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-55 ']' [2020-09-11T22:13:19.417Z] + PACKAGES=/tmp/packages_end.txt [2020-09-11T22:13:19.417Z] + case "${OS_FAMILY}" in [2020-09-11T22:13:19.417Z] + rpm -qa [2020-09-11T22:13:19.417Z] + sort [2020-09-11T22:13:23.652Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-11T22:13:23.652Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-11T22:13:23.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-11T22:13:23.652Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-55 ']' [2020-09-11T22:13:23.652Z] + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-55/archives/ [2020-09-11T22:13:23.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-55/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:13:24.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T22:13:24.135Z] [2020-09-11T22:13:24.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:13:24.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T22:13:24.486Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-11T22:13:24.486Z] df20fa9351a1: Pulling fs layer [2020-09-11T22:13:24.486Z] 36b3adc4ff6f: Pulling fs layer [2020-09-11T22:13:24.486Z] 8ad3a11d3b57: Pulling fs layer [2020-09-11T22:13:24.486Z] 46f8f816bc3b: Pulling fs layer [2020-09-11T22:13:24.486Z] 0dadc02b9964: Pulling fs layer [2020-09-11T22:13:24.486Z] ce6a7cf60c04: Pulling fs layer [2020-09-11T22:13:24.486Z] 7a184a31f384: Pulling fs layer [2020-09-11T22:13:24.486Z] 0879bd2ef858: Pulling fs layer [2020-09-11T22:13:24.486Z] 46f8f816bc3b: Waiting [2020-09-11T22:13:24.486Z] 0dadc02b9964: Waiting [2020-09-11T22:13:24.486Z] ce6a7cf60c04: Waiting [2020-09-11T22:13:24.486Z] 7a184a31f384: Waiting [2020-09-11T22:13:24.486Z] 0879bd2ef858: Waiting [2020-09-11T22:13:24.486Z] 36b3adc4ff6f: Verifying Checksum [2020-09-11T22:13:24.486Z] 36b3adc4ff6f: Download complete [2020-09-11T22:13:24.486Z] 46f8f816bc3b: Download complete [2020-09-11T22:13:24.486Z] df20fa9351a1: Download complete [2020-09-11T22:13:24.751Z] ce6a7cf60c04: Verifying Checksum [2020-09-11T22:13:24.751Z] ce6a7cf60c04: Download complete [2020-09-11T22:13:24.751Z] 7a184a31f384: Verifying Checksum [2020-09-11T22:13:24.751Z] 7a184a31f384: Download complete [2020-09-11T22:13:24.751Z] 0dadc02b9964: Verifying Checksum [2020-09-11T22:13:24.751Z] 0dadc02b9964: Download complete [2020-09-11T22:13:24.751Z] 8ad3a11d3b57: Verifying Checksum [2020-09-11T22:13:24.751Z] 8ad3a11d3b57: Download complete [2020-09-11T22:13:25.016Z] df20fa9351a1: Pull complete [2020-09-11T22:13:25.016Z] 36b3adc4ff6f: Pull complete [2020-09-11T22:13:25.277Z] 0879bd2ef858: Verifying Checksum [2020-09-11T22:13:25.277Z] 0879bd2ef858: Download complete [2020-09-11T22:13:25.854Z] 8ad3a11d3b57: Pull complete [2020-09-11T22:13:25.854Z] 46f8f816bc3b: Pull complete [2020-09-11T22:13:26.116Z] 0dadc02b9964: Pull complete [2020-09-11T22:13:26.116Z] ce6a7cf60c04: Pull complete [2020-09-11T22:13:26.382Z] 7a184a31f384: Pull complete [2020-09-11T22:13:29.724Z] 0879bd2ef858: Pull complete [2020-09-11T22:13:29.724Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-11T22:13:29.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T22:13:29.724Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-11T22:13:29.863Z] prd-centos7-docker-4c-2g-2355 does not seem to be running inside a container [2020-09-11T22:13:29.910Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_go-mod-secrets_PR-55 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-55:/w/workspace/dgexfoundry_go-mod-secrets_PR-55:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-55@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-11T22:13:33.529Z] $ docker top 313ec1041dcd454c632e134262c217162c000de199477b0257b164afbed867d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T22:13:34.124Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-11T22:13:34.426Z] + ls /var/log/sa-host [2020-09-11T22:13:34.426Z] + sadf -c /var/log/sa-host/sa05 [2020-09-11T22:13:34.426Z] file_magic: OK [2020-09-11T22:13:34.426Z] HZ: Using current value: 100 [2020-09-11T22:13:34.426Z] file_header: OK [2020-09-11T22:13:34.426Z] 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 [2020-09-11T22:13:34.426Z] Statistics: [2020-09-11T22:13:34.426Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T22:13:34.426Z] File successfully converted to sysstat format version 12.2.1 [2020-09-11T22:13:34.426Z] + sadf -c /var/log/sa-host/sa11 [2020-09-11T22:13:34.426Z] file_magic: OK [2020-09-11T22:13:34.426Z] HZ: Using current value: 100 [2020-09-11T22:13:34.426Z] file_header: OK [2020-09-11T22:13:34.426Z] 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 [2020-09-11T22:13:34.426Z] Statistics: [2020-09-11T22:13:34.426Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T22:13:34.426Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-11T22:13:34.491Z] provisioning config files... [2020-09-11T22:13:34.505Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-55@tmp/config1800191954522868526tmp [Pipeline] { [Pipeline] echo [2020-09-11T22:13:34.593Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:13:34.889Z] ---> create-netrc.sh [Pipeline] echo [2020-09-11T22:13:34.900Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:13:35.195Z] ---> logs-deploy.sh [2020-09-11T22:13:35.195Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-55/2 [2020-09-11T22:13:35.195Z] INFO: archiving workspace using pattern(s): [2020-09-11T22:13:36.587Z] Archives upload complete. [2020-09-11T22:13:36.587Z] INFO: archiving logs to Nexus