Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b 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 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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 Running on prd-centos7-docker-4c-2g-18928 in /w/workspace/gexfoundry_go-mod-secrets_master [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/gexfoundry_go-mod-secrets_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b # timeout=10 Commit message: "Merge pull request #78 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts-0.1.139" > git rev-list --no-walk 27cb942c6f3ef89d32f958651ca6c8b656d8b14d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-07T22:16:12.979Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-07T22:16:13.297Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-07T22:16:13.404Z] ========================================================= [2021-01-07T22:16:13.404Z] EdgeX Global Pipelines Version Info [2021-01-07T22:16:13.404Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:16:14.928Z] ------------------- [2021-01-07T22:16:14.928Z] stable info: [2021-01-07T22:16:14.928Z] ------------------- [2021-01-07T22:16:14.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-07T22:16:14.928Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T22:16:14.928Z] Message: update stable to v1.0.173 [2021-01-07T22:16:15.878Z] ------------------- [2021-01-07T22:16:15.878Z] experimental info: [2021-01-07T22:16:15.878Z] ------------------- [2021-01-07T22:16:15.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-07T22:16:15.878Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T22:16:15.878Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-07T22:16:16.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2021-01-07T22:16:16.300Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2021-01-07T22:16:16.414Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-07T22:16:16.528Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-07T22:16:16.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-07T22:16:16.776Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-07T22:16:16.903Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-07T22:16:17.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-07T22:16:17.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-07T22:16:17.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-07T22:16:17.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-07T22:16:17.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo [2021-01-07T22:16:17.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-07T22:16:17.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-07T22:16:17.738Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:16:17.828Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:16:17.925Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:16:18.018Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:16:18.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-07T22:16:18.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-07T22:16:18.299Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-07T22:16:18.422Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-07T22:16:18.517Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-07T22:16:18.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-07T22:16:18.693Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-07T22:16:18.785Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-07T22:16:18.877Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-07T22:16:18.972Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-07T22:16:19.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-07T22:16:19.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-07T22:16:19.266Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b [Pipeline] echo [2021-01-07T22:16:19.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 753bfb8 [Pipeline] echo [2021-01-07T22:16:19.448Z] [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-07T22:16:20.133Z] + git log --format=format:%s -1 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b [Pipeline] echo [2021-01-07T22:16:20.208Z] GIT_COMMIT: 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b, Commit Message: Merge pull request #78 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts-0.1.139 [Pipeline] echo [2021-01-07T22:16:20.285Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:16:21.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:16:21.599Z] [2021-01-07T22:16:21.599Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:16:21.959Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:16:21.959Z] latest: Pulling from edgex-devops/git-semver [2021-01-07T22:16:21.959Z] 31603596830f: Pulling fs layer [2021-01-07T22:16:21.959Z] 2a8b12db71e7: Pulling fs layer [2021-01-07T22:16:21.959Z] 6ca5941a6612: Pulling fs layer [2021-01-07T22:16:21.959Z] ecc8261a40a4: Pulling fs layer [2021-01-07T22:16:21.959Z] ecc8261a40a4: Waiting [2021-01-07T22:16:21.959Z] 2a8b12db71e7: Verifying Checksum [2021-01-07T22:16:21.959Z] 2a8b12db71e7: Download complete [2021-01-07T22:16:22.221Z] 31603596830f: Verifying Checksum [2021-01-07T22:16:22.221Z] 31603596830f: Download complete [2021-01-07T22:16:22.221Z] 6ca5941a6612: Verifying Checksum [2021-01-07T22:16:22.221Z] 6ca5941a6612: Download complete [2021-01-07T22:16:22.487Z] ecc8261a40a4: Verifying Checksum [2021-01-07T22:16:22.487Z] ecc8261a40a4: Download complete [2021-01-07T22:16:22.487Z] 31603596830f: Pull complete [2021-01-07T22:16:22.750Z] 2a8b12db71e7: Pull complete [2021-01-07T22:16:23.740Z] 6ca5941a6612: Pull complete [2021-01-07T22:16:24.317Z] ecc8261a40a4: Pull complete [2021-01-07T22:16:24.317Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-07T22:16:24.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:16:24.317Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-07T22:16:24.716Z] prd-centos7-docker-4c-2g-18928 does not seem to be running inside a container [2021-01-07T22:16:24.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_master -v /w/workspace/gexfoundry_go-mod-secrets_master:/w/workspace/gexfoundry_go-mod-secrets_master:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_master@tmp:/w/workspace/gexfoundry_go-mod-secrets_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T22:16:26.958Z] $ docker top a618077553c81ae0100abc5a7aa694cda4c115966ec745a68b610f3612c7c550 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T22:16:27.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T22:16:27.283Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T22:16:27.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T22:16:27.539Z] $ docker exec a618077553c81ae0100abc5a7aa694cda4c115966ec745a68b610f3612c7c550 ssh-agent [2021-01-07T22:16:27.776Z] SSH_AUTH_SOCK=/tmp/ssh-SF7WMwSLPY3i/agent.12 [2021-01-07T22:16:27.776Z] SSH_AGENT_PID=18 [2021-01-07T22:16:27.794Z] Running ssh-add (command line suppressed) [2021-01-07T22:16:27.920Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_5522155439541688423.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_5522155439541688423.key) [2021-01-07T22:16:27.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T22:16:28.322Z] + git tag --points-at HEAD [Pipeline] } [2021-01-07T22:16:28.344Z] $ docker exec --env ******** --env ******** a618077553c81ae0100abc5a7aa694cda4c115966ec745a68b610f3612c7c550 ssh-agent -k [2021-01-07T22:16:28.474Z] unset SSH_AUTH_SOCK; [2021-01-07T22:16:28.474Z] unset SSH_AGENT_PID; [2021-01-07T22:16:28.475Z] echo Agent pid 18 killed; [2021-01-07T22:16:28.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-07T22:16:28.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T22:16:28.667Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T22:16:28.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T22:16:28.847Z] $ docker exec a618077553c81ae0100abc5a7aa694cda4c115966ec745a68b610f3612c7c550 ssh-agent [2021-01-07T22:16:29.029Z] SSH_AUTH_SOCK=/tmp/ssh-J4NIRWl715s6/agent.47 [2021-01-07T22:16:29.029Z] SSH_AGENT_PID=52 [2021-01-07T22:16:29.035Z] Running ssh-add (command line suppressed) [2021-01-07T22:16:29.165Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_1384548037757344662.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_1384548037757344662.key) [2021-01-07T22:16:29.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T22:16:29.568Z] + git semver init [2021-01-07T22:16:29.568Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T22:16:29.568Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-07T22:16:29.568Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-07T22:16:29.568Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T22:16:29.568Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T22:16:29.568Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T22:16:29.568Z] # $SEMVER_BRANCH = master [2021-01-07T22:16:29.568Z] # $SEMVER_TEMP = /tmp/semver-464735269 [2021-01-07T22:16:29.568Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2021-01-07T22:16:30.148Z] # '/tmp/semver-464735269' -> '/w/workspace/gexfoundry_go-mod-secrets_master/.semver' [2021-01-07T22:16:30.148Z] # -> Force: false [2021-01-07T22:16:30.148Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [Pipeline] } [2021-01-07T22:16:30.167Z] $ docker exec --env ******** --env ******** a618077553c81ae0100abc5a7aa694cda4c115966ec745a68b610f3612c7c550 ssh-agent -k [2021-01-07T22:16:30.297Z] unset SSH_AUTH_SOCK; [2021-01-07T22:16:30.298Z] unset SSH_AGENT_PID; [2021-01-07T22:16:30.298Z] echo Agent pid 52 killed; [2021-01-07T22:16:30.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T22:16:30.852Z] + git semver [Pipeline] } [2021-01-07T22:16:30.869Z] $ docker stop --time=1 a618077553c81ae0100abc5a7aa694cda4c115966ec745a68b610f3612c7c550 [2021-01-07T22:16:32.388Z] $ docker rm -f a618077553c81ae0100abc5a7aa694cda4c115966ec745a68b610f3612c7c550 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T22:16:32.901Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-07T22:16:33.398Z] Stashed 1 file(s) [Pipeline] echo [2021-01-07T22:16:33.401Z] [edgeXSemver]: initialized semver on version 0.0.31 [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-07T22:16:48.932Z] Still waiting to schedule task [2021-01-07T22:16:48.933Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-07T22:16:48.935Z] Still waiting to schedule task [2021-01-07T22:16:48.935Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-07T22:18:41.313Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18930 in /w/workspace/gexfoundry_go-mod-secrets_master [Pipeline] { [Pipeline] ws [2021-01-07T22:18:41.366Z] Running in /w/workspace/go-mod-secrets/21 [Pipeline] { [Pipeline] checkout [2021-01-07T22:18:46.217Z] using credential edgex-jenkins-ssh [2021-01-07T22:18:46.272Z] Cloning the remote Git repository [2021-01-07T22:18:46.371Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T22:18:46.511Z] > git init /w/workspace/go-mod-secrets/21 # timeout=10 [2021-01-07T22:18:46.595Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T22:18:46.598Z] > git --version # timeout=10 [2021-01-07T22:18:46.620Z] > git --version # 'git version 2.17.1' [2021-01-07T22:18:46.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:18:46.720Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:18:47.429Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T22:18:47.444Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:18:47.470Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T22:18:47.509Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T22:18:47.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:18:47.523Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T22:18:47.950Z] Checking out Revision 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b (master) [2021-01-07T22:18:47.975Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T22:18:47.998Z] > git checkout -f 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b # timeout=10 [2021-01-07T22:18:52.581Z] Commit message: "Merge pull request #78 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts-0.1.139" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T22:18:54.104Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:18:54.509Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:18:54.853Z] + sudo service docker restart [2021-01-07T22:18:54.853Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-07T22:18:57.858Z] ========================================================= [2021-01-07T22:18:57.859Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-07T22:18:57.859Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:18:58.253Z] + 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-07T22:18:59.239Z] Sending build context to Docker daemon 431.1kB [2021-01-07T22:18:59.239Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-07T22:18:59.239Z] Step 2/7 : FROM ${BASE} [2021-01-07T22:18:59.515Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-07T22:18:59.515Z] 5f621e34cdf4: Pulling fs layer [2021-01-07T22:18:59.515Z] a4357932f1b6: Pulling fs layer [2021-01-07T22:18:59.515Z] 18c013af1878: Pulling fs layer [2021-01-07T22:18:59.515Z] 00ac8860ef70: Pulling fs layer [2021-01-07T22:18:59.515Z] 63d7cb157983: Pulling fs layer [2021-01-07T22:18:59.515Z] b116817d02f9: Pulling fs layer [2021-01-07T22:18:59.515Z] 745a02a5169b: Pulling fs layer [2021-01-07T22:18:59.515Z] 63d7cb157983: Waiting [2021-01-07T22:18:59.515Z] b116817d02f9: Waiting [2021-01-07T22:18:59.515Z] 745a02a5169b: Waiting [2021-01-07T22:18:59.515Z] 00ac8860ef70: Waiting [2021-01-07T22:18:59.515Z] 18c013af1878: Verifying Checksum [2021-01-07T22:18:59.515Z] 18c013af1878: Download complete [2021-01-07T22:18:59.515Z] a4357932f1b6: Download complete [2021-01-07T22:19:00.135Z] b116817d02f9: Download complete [2021-01-07T22:19:00.135Z] 5f621e34cdf4: Download complete [2021-01-07T22:19:01.120Z] 5f621e34cdf4: Pull complete [2021-01-07T22:19:01.396Z] a4357932f1b6: Pull complete [2021-01-07T22:19:02.005Z] 18c013af1878: Pull complete [2021-01-07T22:19:02.626Z] 745a02a5169b: Verifying Checksum [2021-01-07T22:19:02.626Z] 745a02a5169b: Download complete [2021-01-07T22:19:04.061Z] 00ac8860ef70: Verifying Checksum [2021-01-07T22:19:04.061Z] 00ac8860ef70: Download complete [2021-01-07T22:19:14.235Z] 00ac8860ef70: Pull complete [2021-01-07T22:19:14.235Z] 63d7cb157983: Pull complete [2021-01-07T22:19:14.508Z] b116817d02f9: Pull complete [2021-01-07T22:19:17.896Z] 745a02a5169b: Pull complete [2021-01-07T22:19:17.896Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-07T22:19:17.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-07T22:19:17.896Z] ---> b7e6874047d6 [2021-01-07T22:19:17.896Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T22:19:20.523Z] ---> Running in e39cbd5a5267 [2021-01-07T22:19:20.797Z] Removing intermediate container e39cbd5a5267 [2021-01-07T22:19:20.797Z] ---> 1dbb34b8bdc9 [2021-01-07T22:19:20.797Z] Step 4/7 : RUN apk add --update bash [2021-01-07T22:19:21.070Z] ---> Running in bfd3c578761f [2021-01-07T22:19:22.051Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-07T22:19:23.028Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-07T22:19:24.003Z] OK: 142 MiB in 39 packages [2021-01-07T22:19:25.443Z] Removing intermediate container bfd3c578761f [2021-01-07T22:19:25.443Z] ---> d96d5cb273f5 [2021-01-07T22:19:25.443Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-07T22:19:25.443Z] ---> Running in d1cff693eccd [2021-01-07T22:19:26.039Z] Removing intermediate container d1cff693eccd [2021-01-07T22:19:26.039Z] ---> a2d984c89abb [2021-01-07T22:19:26.039Z] Step 6/7 : COPY go.mod . [2021-01-07T22:19:26.641Z] ---> e22d8a1d30bf [2021-01-07T22:19:26.641Z] Step 7/7 : RUN go mod download [2021-01-07T22:19:26.641Z] ---> Running in 9f229bf0c48d [2021-01-07T22:19:41.749Z] Removing intermediate container 9f229bf0c48d [2021-01-07T22:19:41.749Z] ---> 0132dd522da8 [2021-01-07T22:19:41.749Z] Successfully built 0132dd522da8 [2021-01-07T22:19:41.749Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:19:42.096Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T22:19:42.096Z] . [Pipeline] withDockerContainer [2021-01-07T22:19:42.381Z] prd-ubuntu18.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container [2021-01-07T22:19:42.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/21 -v /w/workspace/go-mod-secrets/21:/w/workspace/go-mod-secrets/21:rw,z -v /w/workspace/go-mod-secrets/21@tmp:/w/workspace/go-mod-secrets/21@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 ******** ci-base-image-arm64 cat [2021-01-07T22:19:43.961Z] $ docker top b674eae9192ac00086efa9df302c903e631a7286736dd58918abbe4e37c49249 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:19:45.001Z] + go version [2021-01-07T22:19:45.001Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-07T22:19:45.030Z] $ docker stop --time=1 b674eae9192ac00086efa9df302c903e631a7286736dd58918abbe4e37c49249 [2021-01-07T22:19:46.975Z] $ docker rm -f b674eae9192ac00086efa9df302c903e631a7286736dd58918abbe4e37c49249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:19:48.065Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T22:19:48.065Z] . [Pipeline] withDockerContainer [2021-01-07T22:19:48.326Z] prd-ubuntu18.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container [2021-01-07T22:19:48.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/21 -v /w/workspace/go-mod-secrets/21:/w/workspace/go-mod-secrets/21:rw,z -v /w/workspace/go-mod-secrets/21@tmp:/w/workspace/go-mod-secrets/21@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 ******** ci-base-image-arm64 cat [2021-01-07T22:19:49.914Z] $ docker top 1ae39b426f7d6537abe9a3d80ce2c40ef25e658721eb60d551b7f97c965010fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:19:50.930Z] + make test [2021-01-07T22:19:50.930Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-07T22:20:13.176Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2021-01-07T22:20:13.176Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2021-01-07T22:20:23.336Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.022s coverage: 96.7% of statements [2021-01-07T22:20:23.336Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 0.028s coverage: 44.1% of statements [2021-01-07T22:20:23.336Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.035s coverage: 89.5% of statements [2021-01-07T22:20:23.336Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] [2021-01-07T22:20:23.336Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.048s coverage: 100.0% of statements [2021-01-07T22:20:23.336Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] [2021-01-07T22:20:23.336Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.010s coverage: 87.5% of statements [2021-01-07T22:20:33.470Z] ok github.com/edgexfoundry/go-mod-secrets/secrets 15.027s coverage: 93.3% of statements [2021-01-07T22:20:33.470Z] ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] [2021-01-07T22:20:33.470Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-07T22:20:36.110Z] gofmt -l . [2021-01-07T22:20:36.110Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-07T22:20:36.138Z] $ docker stop --time=1 1ae39b426f7d6537abe9a3d80ce2c40ef25e658721eb60d551b7f97c965010fc [2021-01-07T22:20:38.360Z] $ docker rm -f 1ae39b426f7d6537abe9a3d80ce2c40ef25e658721eb60d551b7f97c965010fc [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T22:20:39.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T22:20:40.015Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-07T22:20:44.122Z] Running on prd-centos7-docker-4c-2g-18932 in /w/workspace/gexfoundry_go-mod-secrets_master [Pipeline] { [Pipeline] ws [2021-01-07T22:20:44.176Z] Running in /w/workspace/go-mod-secrets/21 [Pipeline] { [Pipeline] checkout [2021-01-07T22:20:46.420Z] using credential edgex-jenkins-ssh [2021-01-07T22:20:46.504Z] Cloning the remote Git repository [2021-01-07T22:20:46.196Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T22:20:46.271Z] > git init /w/workspace/go-mod-secrets/21 # timeout=10 [2021-01-07T22:20:46.342Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T22:20:46.342Z] > git --version # timeout=10 [2021-01-07T22:20:46.350Z] > git --version # 'git version 2.24.3' [2021-01-07T22:20:46.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:20:46.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:20:46.934Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T22:20:46.942Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:20:46.960Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T22:20:46.975Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T22:20:46.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:20:46.980Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T22:20:47.648Z] Checking out Revision 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b (master) [2021-01-07T22:20:47.416Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T22:20:47.421Z] > git checkout -f 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b # timeout=10 [2021-01-07T22:20:51.111Z] Commit message: "Merge pull request #78 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts-0.1.139" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T22:20:52.467Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:20:52.800Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:20:53.106Z] + sudo service docker restart [2021-01-07T22:20:53.106Z] + true [2021-01-07T22:20:53.106Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-07T22:20:54.200Z] ========================================================= [2021-01-07T22:20:54.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-07T22:20:54.200Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:20:54.564Z] + 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-07T22:20:54.832Z] Sending build context to Docker daemon 432.1kB [2021-01-07T22:20:54.832Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-07T22:20:54.832Z] Step 2/7 : FROM ${BASE} [2021-01-07T22:20:55.095Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-07T22:20:55.095Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T22:20:55.095Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T22:20:55.095Z] de9db76c5a1d: Pulling fs layer [2021-01-07T22:20:55.095Z] bca2f99d35d6: Pulling fs layer [2021-01-07T22:20:55.095Z] 93359f2a8cfa: Pulling fs layer [2021-01-07T22:20:55.095Z] 7c6f9722023f: Pulling fs layer [2021-01-07T22:20:55.095Z] a35cf1a2eb13: Pulling fs layer [2021-01-07T22:20:55.095Z] 93359f2a8cfa: Waiting [2021-01-07T22:20:55.095Z] 7c6f9722023f: Waiting [2021-01-07T22:20:55.095Z] a35cf1a2eb13: Waiting [2021-01-07T22:20:55.095Z] bca2f99d35d6: Waiting [2021-01-07T22:20:55.095Z] de9db76c5a1d: Verifying Checksum [2021-01-07T22:20:55.095Z] de9db76c5a1d: Download complete [2021-01-07T22:20:55.095Z] 0ef7d3d256c8: Verifying Checksum [2021-01-07T22:20:55.095Z] 0ef7d3d256c8: Download complete [2021-01-07T22:20:55.095Z] 93359f2a8cfa: Verifying Checksum [2021-01-07T22:20:55.095Z] 93359f2a8cfa: Download complete [2021-01-07T22:20:55.095Z] 7c6f9722023f: Verifying Checksum [2021-01-07T22:20:55.095Z] 7c6f9722023f: Download complete [2021-01-07T22:20:55.095Z] 188c0c94c7c5: Verifying Checksum [2021-01-07T22:20:55.095Z] 188c0c94c7c5: Download complete [2021-01-07T22:20:55.364Z] 188c0c94c7c5: Pull complete [2021-01-07T22:20:55.627Z] 0ef7d3d256c8: Pull complete [2021-01-07T22:20:55.627Z] de9db76c5a1d: Pull complete [2021-01-07T22:20:57.565Z] a35cf1a2eb13: Verifying Checksum [2021-01-07T22:20:57.566Z] a35cf1a2eb13: Download complete [2021-01-07T22:20:58.147Z] bca2f99d35d6: Verifying Checksum [2021-01-07T22:20:58.147Z] bca2f99d35d6: Download complete [2021-01-07T22:21:03.472Z] bca2f99d35d6: Pull complete [2021-01-07T22:21:03.472Z] 93359f2a8cfa: Pull complete [2021-01-07T22:21:03.472Z] 7c6f9722023f: Pull complete [2021-01-07T22:21:08.814Z] a35cf1a2eb13: Pull complete [2021-01-07T22:21:08.814Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-07T22:21:08.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-07T22:21:08.814Z] ---> a62c8e92a672 [2021-01-07T22:21:08.814Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T22:21:10.219Z] ---> Running in d2a9bf65e841 [2021-01-07T22:21:10.219Z] Removing intermediate container d2a9bf65e841 [2021-01-07T22:21:10.219Z] ---> d323c3a053b4 [2021-01-07T22:21:10.219Z] Step 4/7 : RUN apk add --update bash [2021-01-07T22:21:10.219Z] ---> Running in 9bbed3f74ac4 [2021-01-07T22:21:11.168Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-07T22:21:11.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-07T22:21:12.332Z] OK: 166 MiB in 39 packages [2021-01-07T22:21:12.911Z] Removing intermediate container 9bbed3f74ac4 [2021-01-07T22:21:12.911Z] ---> 25b146ed42e2 [2021-01-07T22:21:12.911Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-07T22:21:12.911Z] ---> Running in d98a37ebdf13 [2021-01-07T22:21:13.174Z] Removing intermediate container d98a37ebdf13 [2021-01-07T22:21:13.174Z] ---> 476a762d9531 [2021-01-07T22:21:13.174Z] Step 6/7 : COPY go.mod . [2021-01-07T22:21:13.439Z] ---> c7f9352b1f99 [2021-01-07T22:21:13.439Z] Step 7/7 : RUN go mod download [2021-01-07T22:21:13.439Z] ---> Running in e4f1720e6151 [2021-01-07T22:21:25.746Z] Removing intermediate container e4f1720e6151 [2021-01-07T22:21:25.746Z] ---> 311358b72b10 [2021-01-07T22:21:25.746Z] Successfully built 311358b72b10 [2021-01-07T22:21:25.746Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:21:26.072Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T22:21:26.072Z] . [Pipeline] withDockerContainer [2021-01-07T22:21:26.193Z] prd-centos7-docker-4c-2g-18932 does not seem to be running inside a container [2021-01-07T22:21:26.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/21 -v /w/workspace/go-mod-secrets/21:/w/workspace/go-mod-secrets/21:rw,z -v /w/workspace/go-mod-secrets/21@tmp:/w/workspace/go-mod-secrets/21@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 ******** ci-base-image-x86_64 cat [2021-01-07T22:21:27.082Z] $ docker top f7ff3f831db6ec6923fc98cade18dfe0fe0ce57c4adb824bf6e2e41ae7061601 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:21:27.707Z] + go version [2021-01-07T22:21:27.707Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-07T22:21:27.727Z] $ docker stop --time=1 f7ff3f831db6ec6923fc98cade18dfe0fe0ce57c4adb824bf6e2e41ae7061601 [2021-01-07T22:21:29.168Z] $ docker rm -f f7ff3f831db6ec6923fc98cade18dfe0fe0ce57c4adb824bf6e2e41ae7061601 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:21:30.010Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T22:21:30.010Z] . [Pipeline] withDockerContainer [2021-01-07T22:21:30.128Z] prd-centos7-docker-4c-2g-18932 does not seem to be running inside a container [2021-01-07T22:21:30.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/21 -v /w/workspace/go-mod-secrets/21:/w/workspace/go-mod-secrets/21:rw,z -v /w/workspace/go-mod-secrets/21@tmp:/w/workspace/go-mod-secrets/21@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 ******** ci-base-image-x86_64 cat [2021-01-07T22:21:31.136Z] $ docker top da6a2d7d6dea6451ee3f0dde2f3b3a63044344b8451f5fafaacb55c1640b766b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:21:31.615Z] + make test [2021-01-07T22:21:31.615Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-07T22:21:38.322Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2021-01-07T22:21:38.322Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2021-01-07T22:21:48.429Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.016s coverage: 96.7% of statements [2021-01-07T22:21:48.429Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 0.008s coverage: 44.1% of statements [2021-01-07T22:21:48.429Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.006s coverage: 89.5% of statements [2021-01-07T22:21:48.429Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] [2021-01-07T22:21:48.429Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.009s coverage: 100.0% of statements [2021-01-07T22:21:48.429Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] [2021-01-07T22:21:48.429Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.004s coverage: 87.5% of statements [2021-01-07T22:21:56.652Z] ok github.com/edgexfoundry/go-mod-secrets/secrets 15.017s coverage: 93.3% of statements [2021-01-07T22:21:56.652Z] ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] [2021-01-07T22:21:56.652Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-07T22:21:56.652Z] gofmt -l . [2021-01-07T22:21:56.652Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-07T22:21:56.672Z] $ docker stop --time=1 da6a2d7d6dea6451ee3f0dde2f3b3a63044344b8451f5fafaacb55c1640b766b [2021-01-07T22:21:58.837Z] $ docker rm -f da6a2d7d6dea6451ee3f0dde2f3b3a63044344b8451f5fafaacb55c1640b766b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T22:21:59.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T22:21:59.420Z] Warning: overwriting stash ‘coverage-report’ [2021-01-07T22:21:59.727Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-07T22:22:01.974Z] provisioning config files... [2021-01-07T22:22:01.990Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config300703708838406099tmp [Pipeline] { [Pipeline] sh [2021-01-07T22:22:02.375Z] + set +x [2021-01-07T22:22:02.375Z] + curl -s https://codecov.io/bash [2021-01-07T22:22:02.375Z] + bash -s -- [2021-01-07T22:22:02.638Z] [2021-01-07T22:22:02.638Z] _____ _ [2021-01-07T22:22:02.638Z] / ____| | | [2021-01-07T22:22:02.638Z] | | ___ __| | ___ ___ _____ __ [2021-01-07T22:22:02.638Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-07T22:22:02.638Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-07T22:22:02.638Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-07T22:22:02.638Z] Bash-20201231-23d4836 [2021-01-07T22:22:02.638Z] [2021-01-07T22:22:02.638Z] [2021-01-07T22:22:02.638Z] ==> git version 2.24.3 found [2021-01-07T22:22:02.638Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-07T22:22:02.638Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-07T22:22:02.638Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-07T22:22:02.638Z] ==> Jenkins CI detected. [2021-01-07T22:22:02.638Z] project root: . [2021-01-07T22:22:02.638Z] --> token set from env [2021-01-07T22:22:02.638Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-07T22:22:02.638Z] ==> Running gcov in . (disable via -X gcov) [2021-01-07T22:22:02.638Z] ==> Python coveragepy not found [2021-01-07T22:22:02.638Z] ==> Searching for coverage reports in: [2021-01-07T22:22:02.638Z] + . [2021-01-07T22:22:02.638Z] -> Found 1 reports [2021-01-07T22:22:02.638Z] ==> Detecting git/mercurial file structure [2021-01-07T22:22:02.638Z] ==> Reading reports [2021-01-07T22:22:02.638Z] + ./coverage.out bytes=16629 [2021-01-07T22:22:02.638Z] ==> Appending adjustments [2021-01-07T22:22:02.638Z] https://docs.codecov.io/docs/fixing-reports [2021-01-07T22:22:02.902Z] + Found adjustments [2021-01-07T22:22:02.903Z] ==> Gzipping contents [2021-01-07T22:22:02.903Z] 4.0K /tmp/codecov.rozxcV.gz [2021-01-07T22:22:02.903Z] ==> Uploading reports [2021-01-07T22:22:02.903Z] url: https://codecov.io [2021-01-07T22:22:02.903Z] query: branch=master&commit=753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-07T22:22:02.903Z] -> Pinging Codecov [2021-01-07T22:22:02.903Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-07T22:22:03.165Z] -> Uploading to [2021-01-07T22:22:03.165Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-07/D63849C06B6B67093493C71CE874ED06/753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b/c490a0a6-5dec-44d7-8387-369e267fd8a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210107T222203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb4896c22fe9b83ec76e2d15979ff1a5b0a9f0ace8febca343bcad94aa695f2f [2021-01-07T22:22:03.165Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-07T22:22:03.165Z] Dload Upload Total Spent Left Speed [2021-01-07T22:22:03.754Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3739 0 0 100 3739 0 7606 --:--:-- --:--:-- --:--:-- 7615 [2021-01-07T22:22:03.754Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b [Pipeline] } [2021-01-07T22:22:03.775Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-07T22:22:04.714Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-07T22:22:04.774Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:22:05.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-07T22:22:05.135Z] [2021-01-07T22:22:05.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:22:05.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-07T22:22:05.497Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-07T22:22:05.497Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T22:22:05.497Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T22:22:05.497Z] de9db76c5a1d: Pulling fs layer [2021-01-07T22:22:05.497Z] 0eba1c9be4d2: Pulling fs layer [2021-01-07T22:22:05.497Z] 0d57e429df01: Pulling fs layer [2021-01-07T22:22:05.497Z] 4e4be7b47b0d: Pulling fs layer [2021-01-07T22:22:05.497Z] e1f770b5df2f: Pulling fs layer [2021-01-07T22:22:05.497Z] 85a0685a4137: Pulling fs layer [2021-01-07T22:22:05.497Z] 0d57e429df01: Waiting [2021-01-07T22:22:05.497Z] 4e4be7b47b0d: Waiting [2021-01-07T22:22:05.497Z] e1f770b5df2f: Waiting [2021-01-07T22:22:05.497Z] 85a0685a4137: Waiting [2021-01-07T22:22:05.497Z] 0eba1c9be4d2: Waiting [2021-01-07T22:22:05.497Z] de9db76c5a1d: Verifying Checksum [2021-01-07T22:22:05.497Z] de9db76c5a1d: Download complete [2021-01-07T22:22:05.497Z] 0ef7d3d256c8: Verifying Checksum [2021-01-07T22:22:05.497Z] 0ef7d3d256c8: Download complete [2021-01-07T22:22:05.497Z] 0d57e429df01: Verifying Checksum [2021-01-07T22:22:05.497Z] 0d57e429df01: Download complete [2021-01-07T22:22:05.497Z] 4e4be7b47b0d: Verifying Checksum [2021-01-07T22:22:05.497Z] 4e4be7b47b0d: Download complete [2021-01-07T22:22:05.497Z] 188c0c94c7c5: Download complete [2021-01-07T22:22:06.082Z] 188c0c94c7c5: Pull complete [2021-01-07T22:22:06.082Z] 0ef7d3d256c8: Pull complete [2021-01-07T22:22:06.349Z] de9db76c5a1d: Pull complete [2021-01-07T22:22:06.956Z] e1f770b5df2f: Verifying Checksum [2021-01-07T22:22:06.956Z] e1f770b5df2f: Download complete [2021-01-07T22:22:08.920Z] 0eba1c9be4d2: Verifying Checksum [2021-01-07T22:22:08.921Z] 0eba1c9be4d2: Download complete [2021-01-07T22:22:09.201Z] 85a0685a4137: Verifying Checksum [2021-01-07T22:22:09.201Z] 85a0685a4137: Download complete [2021-01-07T22:22:14.567Z] 0eba1c9be4d2: Pull complete [2021-01-07T22:22:14.567Z] 0d57e429df01: Pull complete [2021-01-07T22:22:14.567Z] 4e4be7b47b0d: Pull complete [2021-01-07T22:22:17.272Z] e1f770b5df2f: Pull complete [2021-01-07T22:22:23.955Z] 85a0685a4137: Pull complete [2021-01-07T22:22:23.955Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-07T22:22:23.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-07T22:22:23.955Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-07T22:22:24.209Z] prd-centos7-docker-4c-2g-18928 does not seem to be running inside a container [2021-01-07T22:22:24.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_go-mod-secrets_master -v /w/workspace/gexfoundry_go-mod-secrets_master:/w/workspace/gexfoundry_go-mod-secrets_master:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_master@tmp:/w/workspace/gexfoundry_go-mod-secrets_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-07T22:22:25.688Z] $ docker top 24c01966dcbb206c62db2c3ba106a774ec1a0f871c80a257831052f8a44d84d1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-07T22:22:25.995Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-07T22:22:26.307Z] + set -o pipefail [2021-01-07T22:22:26.307Z] + snyk monitor '--org=edgex-jenkins' [2021-01-07T22:22:29.653Z] [2021-01-07T22:22:29.653Z] Monitoring /w/workspace/gexfoundry_go-mod-secrets_master (github.com/edgexfoundry/go-mod-secrets)... [2021-01-07T22:22:29.653Z] [2021-01-07T22:22:29.653Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4cfb1d28-864a-4661-be71-b40abb9d5161/history/7852c772-3649-4b4b-ac5d-4cb906c4e2a2 [2021-01-07T22:22:29.653Z] [2021-01-07T22:22:29.653Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-07T22:22:29.653Z] [2021-01-07T22:22:29.653Z] [Pipeline] } [2021-01-07T22:22:29.933Z] $ docker stop --time=1 24c01966dcbb206c62db2c3ba106a774ec1a0f871c80a257831052f8a44d84d1 [2021-01-07T22:22:31.940Z] $ docker rm -f 24c01966dcbb206c62db2c3ba106a774ec1a0f871c80a257831052f8a44d84d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-07T22:22:33.641Z] + git log --format=format:%s -1 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:22:33.997Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:22:33.997Z] . [Pipeline] withDockerContainer [2021-01-07T22:22:34.133Z] prd-centos7-docker-4c-2g-18928 does not seem to be running inside a container [2021-01-07T22:22:34.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_master -v /w/workspace/gexfoundry_go-mod-secrets_master:/w/workspace/gexfoundry_go-mod-secrets_master:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_master@tmp:/w/workspace/gexfoundry_go-mod-secrets_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T22:22:35.194Z] $ docker top 738d2e450f3874c6227db1e16369e06ba7d382517757a7ecfa8da139b4a3ccd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T22:22:35.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T22:22:35.544Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T22:22:35.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T22:22:35.798Z] $ docker exec 738d2e450f3874c6227db1e16369e06ba7d382517757a7ecfa8da139b4a3ccd4 ssh-agent [2021-01-07T22:22:35.980Z] SSH_AUTH_SOCK=/tmp/ssh-rGJYAasFAv1f/agent.12 [2021-01-07T22:22:35.980Z] SSH_AGENT_PID=17 [2021-01-07T22:22:35.988Z] Running ssh-add (command line suppressed) [2021-01-07T22:22:36.122Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_1914823951687034406.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_1914823951687034406.key) [2021-01-07T22:22:36.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T22:22:36.522Z] + git semver tag [2021-01-07T22:22:36.522Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T22:22:36.522Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-07T22:22:36.522Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-07T22:22:36.522Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T22:22:36.522Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T22:22:36.522Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T22:22:36.522Z] # $SEMVER_BRANCH = master [2021-01-07T22:22:36.522Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [2021-01-07T22:22:36.522Z] # 753bfb8c14c2f31b20ebe1befeb8dd0f4267c76b HEAD [2021-01-07T22:22:36.522Z] # -> Force: false [2021-01-07T22:22:36.522Z] # 30010cbec7d5478002c67ad61aab7f4cdb4e5f4f refs/tags/v0.0.31 [Pipeline] } [2021-01-07T22:22:36.535Z] $ docker exec --env ******** --env ******** 738d2e450f3874c6227db1e16369e06ba7d382517757a7ecfa8da139b4a3ccd4 ssh-agent -k [2021-01-07T22:22:36.696Z] unset SSH_AUTH_SOCK; [2021-01-07T22:22:36.696Z] unset SSH_AGENT_PID; [2021-01-07T22:22:36.696Z] echo Agent pid 17 killed; [2021-01-07T22:22:36.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T22:22:37.239Z] + git semver [Pipeline] } [2021-01-07T22:22:37.256Z] $ docker stop --time=1 738d2e450f3874c6227db1e16369e06ba7d382517757a7ecfa8da139b4a3ccd4 [2021-01-07T22:22:38.635Z] $ docker rm -f 738d2e450f3874c6227db1e16369e06ba7d382517757a7ecfa8da139b4a3ccd4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:22:39.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-07T22:22:39.280Z] [2021-01-07T22:22:39.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:22:39.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-07T22:22:39.631Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-07T22:22:39.631Z] ab5ef0e58194: Pulling fs layer [2021-01-07T22:22:39.631Z] 9712f1f96733: Pulling fs layer [2021-01-07T22:22:39.631Z] 63f879dbbcfc: Pulling fs layer [2021-01-07T22:22:39.631Z] 0d9ebad4ef96: Pulling fs layer [2021-01-07T22:22:39.631Z] e9a5061849ea: Pulling fs layer [2021-01-07T22:22:39.631Z] d747dcd14b5f: Pulling fs layer [2021-01-07T22:22:39.631Z] 2de7ff778b66: Pulling fs layer [2021-01-07T22:22:39.631Z] e9a5061849ea: Waiting [2021-01-07T22:22:39.631Z] d747dcd14b5f: Waiting [2021-01-07T22:22:39.631Z] 0d9ebad4ef96: Waiting [2021-01-07T22:22:39.631Z] 2de7ff778b66: Waiting [2021-01-07T22:22:39.631Z] 9712f1f96733: Verifying Checksum [2021-01-07T22:22:39.631Z] 9712f1f96733: Download complete [2021-01-07T22:22:41.030Z] 63f879dbbcfc: Verifying Checksum [2021-01-07T22:22:41.030Z] 63f879dbbcfc: Download complete [2021-01-07T22:22:41.294Z] e9a5061849ea: Verifying Checksum [2021-01-07T22:22:41.294Z] e9a5061849ea: Download complete [2021-01-07T22:22:41.294Z] d747dcd14b5f: Verifying Checksum [2021-01-07T22:22:41.294Z] d747dcd14b5f: Download complete [2021-01-07T22:22:41.870Z] 2de7ff778b66: Verifying Checksum [2021-01-07T22:22:41.870Z] 2de7ff778b66: Download complete [2021-01-07T22:22:41.870Z] 0d9ebad4ef96: Verifying Checksum [2021-01-07T22:22:41.870Z] 0d9ebad4ef96: Download complete [2021-01-07T22:22:42.136Z] ab5ef0e58194: Download complete [2021-01-07T22:22:46.418Z] ab5ef0e58194: Pull complete [2021-01-07T22:22:46.418Z] 9712f1f96733: Pull complete [2021-01-07T22:22:48.990Z] 63f879dbbcfc: Pull complete [2021-01-07T22:22:57.193Z] 0d9ebad4ef96: Pull complete [2021-01-07T22:22:57.193Z] e9a5061849ea: Pull complete [2021-01-07T22:22:57.471Z] d747dcd14b5f: Pull complete [2021-01-07T22:23:00.802Z] 2de7ff778b66: Pull complete [2021-01-07T22:23:00.802Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-07T22:23:00.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-07T22:23:00.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-07T22:23:01.018Z] prd-centos7-docker-4c-2g-18928 does not seem to be running inside a container [2021-01-07T22:23:01.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_master -v /w/workspace/gexfoundry_go-mod-secrets_master:/w/workspace/gexfoundry_go-mod-secrets_master:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_master@tmp:/w/workspace/gexfoundry_go-mod-secrets_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-07T22:23:04.566Z] $ docker top d5d36f43b52f3ba3cdb33a2c7e50d49eaca7d077790bac3372ef8f97207f37d2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-07T22:23:04.866Z] provisioning config files... [2021-01-07T22:23:04.878Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config5829906510711471907tmp [2021-01-07T22:23:04.894Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config175972084282434429tmp [2021-01-07T22:23:04.911Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config4190119088255757905tmp [Pipeline] { [Pipeline] echo [2021-01-07T22:23:04.973Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:23:05.282Z] ---> sigul-configuration.sh [2021-01-07T22:23:05.282Z] gpg: directory `/root/.gnupg' created [2021-01-07T22:23:05.282Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-07T22:23:05.282Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-07T22:23:05.283Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-07T22:23:05.283Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-07T22:23:05.283Z] gpg: CAST5 encrypted data [2021-01-07T22:23:05.545Z] gpg: encrypted with 1 passphrase [2021-01-07T22:23:05.545Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-07T22:23:05.850Z] + mkdir /home/jenkins [2021-01-07T22:23:05.850Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-07T22:23:06.163Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-07T22:23:06.175Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:23:06.479Z] ---> sigul-install.sh [2021-01-07T22:23:13.092Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-07T22:23:13.398Z] + git tag --list [2021-01-07T22:23:13.399Z] v0.0.0 [2021-01-07T22:23:13.399Z] v0.0.1 [2021-01-07T22:23:13.399Z] v0.0.10 [2021-01-07T22:23:13.399Z] v0.0.11 [2021-01-07T22:23:13.399Z] v0.0.12 [2021-01-07T22:23:13.399Z] v0.0.13 [2021-01-07T22:23:13.399Z] v0.0.14 [2021-01-07T22:23:13.399Z] v0.0.15 [2021-01-07T22:23:13.399Z] v0.0.16 [2021-01-07T22:23:13.399Z] v0.0.17 [2021-01-07T22:23:13.399Z] v0.0.18 [2021-01-07T22:23:13.399Z] v0.0.19 [2021-01-07T22:23:13.399Z] v0.0.2 [2021-01-07T22:23:13.399Z] v0.0.20 [2021-01-07T22:23:13.399Z] v0.0.21 [2021-01-07T22:23:13.399Z] v0.0.22 [2021-01-07T22:23:13.399Z] v0.0.23 [2021-01-07T22:23:13.399Z] v0.0.24 [2021-01-07T22:23:13.399Z] v0.0.25 [2021-01-07T22:23:13.399Z] v0.0.26 [2021-01-07T22:23:13.399Z] v0.0.27 [2021-01-07T22:23:13.399Z] v0.0.28 [2021-01-07T22:23:13.399Z] v0.0.29 [2021-01-07T22:23:13.399Z] v0.0.3 [2021-01-07T22:23:13.399Z] v0.0.30 [2021-01-07T22:23:13.399Z] v0.0.31 [2021-01-07T22:23:13.399Z] v0.0.4 [2021-01-07T22:23:13.399Z] v0.0.5 [2021-01-07T22:23:13.399Z] v0.0.6 [2021-01-07T22:23:13.399Z] v0.0.7 [2021-01-07T22:23:13.399Z] v0.0.8 [2021-01-07T22:23:13.399Z] v0.0.9 [Pipeline] sh [2021-01-07T22:23:13.765Z] + lftools sign git-tag v0.0.31 [2021-01-07T22:23:15.172Z] Signing Git tag with Sigul... [2021-01-07T22:23:15.172Z] Signing v0.0.31 [Pipeline] echo [2021-01-07T22:23:16.130Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:23:16.424Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-07T22:23:16.433Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-07T22:23:16.528Z] $ docker stop --time=1 d5d36f43b52f3ba3cdb33a2c7e50d49eaca7d077790bac3372ef8f97207f37d2 [2021-01-07T22:23:18.593Z] $ docker rm -f d5d36f43b52f3ba3cdb33a2c7e50d49eaca7d077790bac3372ef8f97207f37d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:23:19.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:23:19.536Z] . [Pipeline] withDockerContainer [2021-01-07T22:23:19.647Z] prd-centos7-docker-4c-2g-18928 does not seem to be running inside a container [2021-01-07T22:23:19.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_master -v /w/workspace/gexfoundry_go-mod-secrets_master:/w/workspace/gexfoundry_go-mod-secrets_master:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_master@tmp:/w/workspace/gexfoundry_go-mod-secrets_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T22:23:20.621Z] $ docker top 69aba92fa45d7317c4cfe9915684a86bc2caffd090ecb77c39785f202fddd056 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T22:23:21.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T22:23:21.022Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T22:23:21.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T22:23:21.287Z] $ docker exec 69aba92fa45d7317c4cfe9915684a86bc2caffd090ecb77c39785f202fddd056 ssh-agent [2021-01-07T22:23:21.525Z] SSH_AUTH_SOCK=/tmp/ssh-Q1CsBLJfJVWv/agent.11 [2021-01-07T22:23:21.525Z] SSH_AGENT_PID=16 [2021-01-07T22:23:21.533Z] Running ssh-add (command line suppressed) [2021-01-07T22:23:21.678Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_7309814358353824887.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_7309814358353824887.key) [2021-01-07T22:23:21.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T22:23:22.081Z] + git semver bump patch [2021-01-07T22:23:22.081Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T22:23:22.081Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-07T22:23:22.081Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-07T22:23:22.081Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T22:23:22.081Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T22:23:22.081Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T22:23:22.081Z] # $SEMVER_BRANCH = master [2021-01-07T22:23:22.081Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [2021-01-07T22:23:22.081Z] 0.0.32 [Pipeline] } [2021-01-07T22:23:22.094Z] $ docker exec --env ******** --env ******** 69aba92fa45d7317c4cfe9915684a86bc2caffd090ecb77c39785f202fddd056 ssh-agent -k [2021-01-07T22:23:22.227Z] unset SSH_AUTH_SOCK; [2021-01-07T22:23:22.228Z] unset SSH_AGENT_PID; [2021-01-07T22:23:22.228Z] echo Agent pid 16 killed; [2021-01-07T22:23:22.288Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T22:23:22.759Z] + git semver [Pipeline] } [2021-01-07T22:23:22.777Z] $ docker stop --time=1 69aba92fa45d7317c4cfe9915684a86bc2caffd090ecb77c39785f202fddd056 [2021-01-07T22:23:24.168Z] $ docker rm -f 69aba92fa45d7317c4cfe9915684a86bc2caffd090ecb77c39785f202fddd056 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:23:24.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:23:24.697Z] . [Pipeline] withDockerContainer [2021-01-07T22:23:24.817Z] prd-centos7-docker-4c-2g-18928 does not seem to be running inside a container [2021-01-07T22:23:24.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_master -v /w/workspace/gexfoundry_go-mod-secrets_master:/w/workspace/gexfoundry_go-mod-secrets_master:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_master@tmp:/w/workspace/gexfoundry_go-mod-secrets_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T22:23:25.713Z] $ docker top 48ba2651d7f96175f07dc43a3804356c7dcfb0f6e11962226bdf72ba3e5b6b08 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T22:23:26.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T22:23:26.040Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T22:23:26.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T22:23:26.252Z] $ docker exec 48ba2651d7f96175f07dc43a3804356c7dcfb0f6e11962226bdf72ba3e5b6b08 ssh-agent [2021-01-07T22:23:26.437Z] SSH_AUTH_SOCK=/tmp/ssh-ym2iteJdqVJF/agent.12 [2021-01-07T22:23:26.437Z] SSH_AGENT_PID=17 [2021-01-07T22:23:26.444Z] Running ssh-add (command line suppressed) [2021-01-07T22:23:26.583Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_6228115084007127257.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_6228115084007127257.key) [2021-01-07T22:23:26.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T22:23:26.982Z] + git semver push [2021-01-07T22:23:26.982Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T22:23:26.982Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-07T22:23:26.982Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-07T22:23:26.982Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T22:23:26.982Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T22:23:26.982Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T22:23:26.982Z] # $SEMVER_BRANCH = master [2021-01-07T22:23:26.982Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [Pipeline] } [2021-01-07T22:23:33.592Z] $ docker exec --env ******** --env ******** 48ba2651d7f96175f07dc43a3804356c7dcfb0f6e11962226bdf72ba3e5b6b08 ssh-agent -k [2021-01-07T22:23:33.734Z] unset SSH_AUTH_SOCK; [2021-01-07T22:23:33.735Z] unset SSH_AGENT_PID; [2021-01-07T22:23:33.735Z] echo Agent pid 17 killed; [2021-01-07T22:23:33.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T22:23:34.272Z] + git semver [Pipeline] } [2021-01-07T22:23:34.287Z] $ docker stop --time=1 48ba2651d7f96175f07dc43a3804356c7dcfb0f6e11962226bdf72ba3e5b6b08 [2021-01-07T22:23:35.733Z] $ docker rm -f 48ba2651d7f96175f07dc43a3804356c7dcfb0f6e11962226bdf72ba3e5b6b08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2021-01-07T22:23:37.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:23:37.737Z] ---> package-listing.sh [2021-01-07T22:23:37.737Z] ++ facter osfamily [2021-01-07T22:23:37.737Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-07T22:23:37.737Z] + OS_FAMILY=redhat [2021-01-07T22:23:37.737Z] + workspace=/w/workspace/gexfoundry_go-mod-secrets_master [2021-01-07T22:23:37.737Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-07T22:23:37.737Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-07T22:23:37.737Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-07T22:23:37.737Z] + PACKAGES=/tmp/packages_start.txt [2021-01-07T22:23:37.737Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_master ']' [2021-01-07T22:23:37.737Z] + PACKAGES=/tmp/packages_end.txt [2021-01-07T22:23:37.737Z] + case "${OS_FAMILY}" in [2021-01-07T22:23:37.737Z] + rpm -qa [2021-01-07T22:23:37.737Z] + sort [2021-01-07T22:23:43.065Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-07T22:23:43.065Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-07T22:23:43.065Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-07T22:23:43.065Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_master ']' [2021-01-07T22:23:43.065Z] + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_master/archives/ [2021-01-07T22:23:43.065Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_master/archives/ [Pipeline] echo [2021-01-07T22:23:43.081Z] 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/gexfoundry_go-mod-secrets_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-07T22:23:43.384Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:23:44.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T22:23:44.001Z] [2021-01-07T22:23:44.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:23:44.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T22:23:44.422Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-07T22:23:44.422Z] df20fa9351a1: Pulling fs layer [2021-01-07T22:23:44.422Z] 36b3adc4ff6f: Pulling fs layer [2021-01-07T22:23:44.422Z] 8ad3a11d3b57: Pulling fs layer [2021-01-07T22:23:44.422Z] 46f8f816bc3b: Pulling fs layer [2021-01-07T22:23:44.422Z] 93b61091891f: Pulling fs layer [2021-01-07T22:23:44.422Z] 93b9cdb0e59b: Pulling fs layer [2021-01-07T22:23:44.422Z] 5e14af77c1be: Pulling fs layer [2021-01-07T22:23:44.422Z] 01666e4c0597: Pulling fs layer [2021-01-07T22:23:44.422Z] aa168da1d23b: Pulling fs layer [2021-01-07T22:23:44.422Z] 46f8f816bc3b: Waiting [2021-01-07T22:23:44.422Z] 93b9cdb0e59b: Waiting [2021-01-07T22:23:44.422Z] 5e14af77c1be: Waiting [2021-01-07T22:23:44.422Z] 93b61091891f: Waiting [2021-01-07T22:23:44.422Z] 01666e4c0597: Waiting [2021-01-07T22:23:44.422Z] aa168da1d23b: Waiting [2021-01-07T22:23:44.422Z] 36b3adc4ff6f: Verifying Checksum [2021-01-07T22:23:44.422Z] 36b3adc4ff6f: Download complete [2021-01-07T22:23:44.422Z] 46f8f816bc3b: Download complete [2021-01-07T22:23:44.686Z] df20fa9351a1: Verifying Checksum [2021-01-07T22:23:44.686Z] 93b9cdb0e59b: Download complete [2021-01-07T22:23:44.686Z] 93b61091891f: Verifying Checksum [2021-01-07T22:23:44.686Z] 93b61091891f: Download complete [2021-01-07T22:23:44.686Z] 5e14af77c1be: Verifying Checksum [2021-01-07T22:23:44.686Z] 5e14af77c1be: Download complete [2021-01-07T22:23:44.686Z] 01666e4c0597: Verifying Checksum [2021-01-07T22:23:44.686Z] 01666e4c0597: Download complete [2021-01-07T22:23:44.949Z] 8ad3a11d3b57: Verifying Checksum [2021-01-07T22:23:44.950Z] 8ad3a11d3b57: Download complete [2021-01-07T22:23:45.213Z] df20fa9351a1: Pull complete [2021-01-07T22:23:45.479Z] 36b3adc4ff6f: Pull complete [2021-01-07T22:23:46.910Z] 8ad3a11d3b57: Pull complete [2021-01-07T22:23:46.910Z] 46f8f816bc3b: Pull complete [2021-01-07T22:23:47.184Z] aa168da1d23b: Verifying Checksum [2021-01-07T22:23:47.184Z] aa168da1d23b: Download complete [2021-01-07T22:23:47.449Z] 93b61091891f: Pull complete [2021-01-07T22:23:47.449Z] 93b9cdb0e59b: Pull complete [2021-01-07T22:23:47.714Z] 5e14af77c1be: Pull complete [2021-01-07T22:23:47.714Z] 01666e4c0597: Pull complete [2021-01-07T22:23:55.973Z] aa168da1d23b: Pull complete [2021-01-07T22:23:55.973Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-07T22:23:56.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T22:23:56.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-07T22:23:56.503Z] prd-centos7-docker-4c-2g-18928 does not seem to be running inside a container [2021-01-07T22:23:56.562Z] $ 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/gexfoundry_go-mod-secrets_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_master -v /w/workspace/gexfoundry_go-mod-secrets_master:/w/workspace/gexfoundry_go-mod-secrets_master:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_master@tmp:/w/workspace/gexfoundry_go-mod-secrets_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-07T22:23:59.335Z] $ docker top 187337420e8868cdcef648fb502e5b3b9405bc8f73a2e292226e9b345d1ae823 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:23:59.910Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-07T22:24:00.272Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-07T22:24:00.577Z] + ls /var/log/sa-host [2021-01-07T22:24:00.577Z] + sadf -c /var/log/sa-host/sa07 [2021-01-07T22:24:00.577Z] file_magic: OK [2021-01-07T22:24:00.577Z] HZ: Using current value: 100 [2021-01-07T22:24:00.577Z] file_header: OK [2021-01-07T22:24:00.577Z] 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-07T22:24:00.577Z] Statistics: [2021-01-07T22:24:00.577Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-07T22:24:00.577Z] File successfully converted to sysstat format version 12.2.1 [2021-01-07T22:24:00.577Z] + sadf -c /var/log/sa-host/sa23 [2021-01-07T22:24:00.577Z] file_magic: OK [2021-01-07T22:24:00.577Z] HZ: Using current value: 100 [2021-01-07T22:24:00.577Z] file_header: OK [2021-01-07T22:24:00.577Z] 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-07T22:24:00.577Z] Statistics: [2021-01-07T22:24:00.577Z] Hnuu...uuuununununu... [2021-01-07T22:24:00.577Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-07T22:24:01.207Z] provisioning config files... [2021-01-07T22:24:01.222Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config5213762856305466131tmp [Pipeline] { [Pipeline] echo [2021-01-07T22:24:01.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:24:01.597Z] ---> create-netrc.sh [Pipeline] } [2021-01-07T22:24:01.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-07T22:24:01.702Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:24:02.008Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-07T22:24:02.019Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:24:02.323Z] ---> sudo-logs.sh [2021-01-07T22:24:02.323Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-07T22:24:02.333Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:24:02.629Z] ---> job-cost.sh [2021-01-07T22:24:02.629Z] lf-activate-venv: SKIPPING [2021-01-07T22:24:02.629Z] INFO: No Stack... [2021-01-07T22:24:03.587Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-07T22:24:04.172Z] INFO: Archiving Costs [Pipeline] echo [2021-01-07T22:24:04.189Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:24:04.504Z] ---> logs-deploy.sh [2021-01-07T22:24:04.505Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/master/21 [2021-01-07T22:24:04.505Z] INFO: archiving workspace using pattern(s): [2021-01-07T22:24:05.895Z] Archives upload complete. [2021-01-07T22:24:06.157Z] INFO: archiving logs to Nexus