Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ad364f0045a1960e2713a9dd7876fce0e4e288a4 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 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:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-secrets-settings PROJECT: go-mod-secrets USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-secrets DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21381 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 Checking out Revision ad364f0045a1960e2713a9dd7876fce0e4e288a4 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f ad364f0045a1960e2713a9dd7876fce0e4e288a4 # timeout=10 Commit message: "Merge pull request #85 from lenny-intel/consume-v2-module" > git rev-list --no-walk fc665292454601d0366d29366e74bce40b0e53ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T23:01:00.273Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T23:01:00.568Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T23:01:00.671Z] ========================================================= [2021-01-19T23:01:00.671Z] EdgeX Global Pipelines Version Info [2021-01-19T23:01:00.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:01:02.580Z] ------------------- [2021-01-19T23:01:02.580Z] stable info: [2021-01-19T23:01:02.580Z] ------------------- [2021-01-19T23:01:02.580Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T23:01:02.580Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-19T23:01:02.580Z] Message: update stable to v1.0.179 [2021-01-19T23:01:03.527Z] ------------------- [2021-01-19T23:01:03.527Z] experimental info: [2021-01-19T23:01:03.527Z] ------------------- [2021-01-19T23:01:03.527Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T23:01:03.527Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-19T23:01:03.527Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T23:01:03.814Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2021-01-19T23:01:03.928Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2021-01-19T23:01:04.041Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T23:01:04.136Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T23:01:04.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T23:01:04.359Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T23:01:04.460Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T23:01:04.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T23:01:04.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-19T23:01:04.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T23:01:04.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T23:01:04.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo [2021-01-19T23:01:05.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T23:01:05.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T23:01:05.246Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T23:01:05.361Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T23:01:05.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T23:01:05.564Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T23:01:05.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-19T23:01:05.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T23:01:05.851Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-19T23:01:05.961Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-19T23:01:06.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T23:01:06.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T23:01:06.243Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-19T23:01:06.336Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T23:01:06.440Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T23:01:06.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-19T23:01:06.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-19T23:01:06.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-19T23:01:06.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad364f0045a1960e2713a9dd7876fce0e4e288a4 [Pipeline] echo [2021-01-19T23:01:06.939Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad364f0 [Pipeline] echo [2021-01-19T23:01:07.026Z] [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-19T23:01:07.752Z] + git log --format=format:%s -1 ad364f0045a1960e2713a9dd7876fce0e4e288a4 [Pipeline] echo [2021-01-19T23:01:07.813Z] GIT_COMMIT: ad364f0045a1960e2713a9dd7876fce0e4e288a4, Commit Message: Merge pull request #85 from lenny-intel/consume-v2-module [Pipeline] echo [2021-01-19T23:01:07.861Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:01:08.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T23:01:08.846Z] [2021-01-19T23:01:08.846Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:01:09.212Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T23:01:09.212Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T23:01:09.212Z] 31603596830f: Pulling fs layer [2021-01-19T23:01:09.212Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T23:01:09.212Z] 6ca5941a6612: Pulling fs layer [2021-01-19T23:01:09.212Z] ecc8261a40a4: Pulling fs layer [2021-01-19T23:01:09.212Z] ecc8261a40a4: Waiting [2021-01-19T23:01:09.212Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T23:01:09.212Z] 2a8b12db71e7: Download complete [2021-01-19T23:01:09.480Z] 31603596830f: Verifying Checksum [2021-01-19T23:01:09.480Z] 31603596830f: Download complete [2021-01-19T23:01:09.480Z] ecc8261a40a4: Verifying Checksum [2021-01-19T23:01:09.480Z] ecc8261a40a4: Download complete [2021-01-19T23:01:09.480Z] 6ca5941a6612: Verifying Checksum [2021-01-19T23:01:09.747Z] 31603596830f: Pull complete [2021-01-19T23:01:10.009Z] 2a8b12db71e7: Pull complete [2021-01-19T23:01:10.955Z] 6ca5941a6612: Pull complete [2021-01-19T23:01:10.955Z] ecc8261a40a4: Pull complete [2021-01-19T23:01:10.955Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T23:01:10.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T23:01:10.955Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T23:01:11.101Z] prd-centos7-docker-4c-2g-21381 does not seem to be running inside a container [2021-01-19T23:01:11.169Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T23:01:13.146Z] $ docker top 94968c6019132cf30ca4dc6aaf903073b72bd2a2435bddd9ff345790dad5388f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T23:01:13.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T23:01:13.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T23:01:13.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T23:01:13.735Z] $ docker exec 94968c6019132cf30ca4dc6aaf903073b72bd2a2435bddd9ff345790dad5388f ssh-agent [2021-01-19T23:01:13.931Z] SSH_AUTH_SOCK=/tmp/ssh-EEIfRwy1siM0/agent.11 [2021-01-19T23:01:13.931Z] SSH_AGENT_PID=16 [2021-01-19T23:01:14.022Z] Running ssh-add (command line suppressed) [2021-01-19T23:01:14.170Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_7160074754933089973.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_7160074754933089973.key) [2021-01-19T23:01:14.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T23:01:14.584Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T23:01:14.609Z] $ docker exec --env ******** --env ******** 94968c6019132cf30ca4dc6aaf903073b72bd2a2435bddd9ff345790dad5388f ssh-agent -k [2021-01-19T23:01:14.730Z] unset SSH_AUTH_SOCK; [2021-01-19T23:01:14.730Z] unset SSH_AGENT_PID; [2021-01-19T23:01:14.730Z] echo Agent pid 16 killed; [2021-01-19T23:01:14.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T23:01:14.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T23:01:14.930Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T23:01:15.098Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T23:01:15.101Z] $ docker exec 94968c6019132cf30ca4dc6aaf903073b72bd2a2435bddd9ff345790dad5388f ssh-agent [2021-01-19T23:01:15.264Z] SSH_AUTH_SOCK=/tmp/ssh-tZKPiGdQPjba/agent.45 [2021-01-19T23:01:15.265Z] SSH_AGENT_PID=50 [2021-01-19T23:01:15.273Z] Running ssh-add (command line suppressed) [2021-01-19T23:01:15.407Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_956617353380801520.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_956617353380801520.key) [2021-01-19T23:01:15.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T23:01:15.804Z] + git semver init [2021-01-19T23:01:15.804Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T23:01:15.804Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-19T23:01:15.804Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-19T23:01:15.804Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T23:01:15.804Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T23:01:15.804Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T23:01:15.804Z] # $SEMVER_BRANCH = master [2021-01-19T23:01:15.804Z] # $SEMVER_TEMP = /tmp/semver-643135676 [2021-01-19T23:01:15.804Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2021-01-19T23:01:16.382Z] # '/tmp/semver-643135676' -> '/w/workspace/gexfoundry_go-mod-secrets_master/.semver' [2021-01-19T23:01:16.382Z] # -> Force: false [2021-01-19T23:01:16.382Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [Pipeline] } [2021-01-19T23:01:16.395Z] $ docker exec --env ******** --env ******** 94968c6019132cf30ca4dc6aaf903073b72bd2a2435bddd9ff345790dad5388f ssh-agent -k [2021-01-19T23:01:16.512Z] unset SSH_AUTH_SOCK; [2021-01-19T23:01:16.513Z] unset SSH_AGENT_PID; [2021-01-19T23:01:16.513Z] echo Agent pid 50 killed; [2021-01-19T23:01:16.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T23:01:17.038Z] + git semver [Pipeline] } [2021-01-19T23:01:17.056Z] $ docker stop --time=1 94968c6019132cf30ca4dc6aaf903073b72bd2a2435bddd9ff345790dad5388f [2021-01-19T23:01:18.451Z] $ docker rm -f 94968c6019132cf30ca4dc6aaf903073b72bd2a2435bddd9ff345790dad5388f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T23:01:18.924Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T23:01:19.315Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T23:01:19.318Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.2 [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-19T23:01:34.852Z] Still waiting to schedule task [2021-01-19T23:01:34.852Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21376’ is offline; ‘prd-centos7-docker-4c-2g-21378’ is offline; ‘prd-centos7-docker-4c-2g-21382’ is offline; ‘prd-centos7-docker-4c-2g-21383’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21379’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-19T23:01:34.854Z] Still waiting to schedule task [2021-01-19T23:01:34.854Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-19T23:02:35.446Z] Running on prd-centos7-docker-4c-2g-21385 in /w/workspace/gexfoundry_go-mod-secrets_master [Pipeline] { [Pipeline] ws [2021-01-19T23:02:35.519Z] Running in /w/workspace/go-mod-secrets/25 [Pipeline] { [Pipeline] checkout [2021-01-19T23:02:37.770Z] using credential edgex-jenkins-ssh [2021-01-19T23:02:37.819Z] Cloning the remote Git repository [2021-01-19T23:02:37.550Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-19T23:02:37.624Z] > git init /w/workspace/go-mod-secrets/25 # timeout=10 [2021-01-19T23:02:37.691Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-19T23:02:37.692Z] > git --version # timeout=10 [2021-01-19T23:02:37.699Z] > git --version # 'git version 2.24.3' [2021-01-19T23:02:37.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T23:02:37.742Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T23:02:38.276Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-19T23:02:38.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T23:02:38.300Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-19T23:02:38.315Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-19T23:02:38.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T23:02:38.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T23:02:38.936Z] Checking out Revision ad364f0045a1960e2713a9dd7876fce0e4e288a4 (master) [2021-01-19T23:02:38.739Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T23:02:38.746Z] > git checkout -f ad364f0045a1960e2713a9dd7876fce0e4e288a4 # timeout=10 [2021-01-19T23:02:42.387Z] Commit message: "Merge pull request #85 from lenny-intel/consume-v2-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T23:02:43.708Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T23:02:44.035Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T23:02:44.333Z] + true [2021-01-19T23:02:44.333Z] + sudo service docker restart [2021-01-19T23:02:44.333Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-19T23:02:45.409Z] ========================================================= [2021-01-19T23:02:45.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T23:02:45.409Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:02:45.749Z] + 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-19T23:02:46.013Z] Sending build context to Docker daemon 451.1kB [2021-01-19T23:02:46.013Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-19T23:02:46.013Z] Step 2/7 : FROM ${BASE} [2021-01-19T23:02:46.276Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T23:02:46.276Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T23:02:46.276Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T23:02:46.276Z] de9db76c5a1d: Pulling fs layer [2021-01-19T23:02:46.276Z] bca2f99d35d6: Pulling fs layer [2021-01-19T23:02:46.276Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T23:02:46.276Z] 7c6f9722023f: Pulling fs layer [2021-01-19T23:02:46.276Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T23:02:46.276Z] 7c6f9722023f: Waiting [2021-01-19T23:02:46.276Z] bca2f99d35d6: Waiting [2021-01-19T23:02:46.276Z] 93359f2a8cfa: Waiting [2021-01-19T23:02:46.276Z] a35cf1a2eb13: Waiting [2021-01-19T23:02:46.276Z] de9db76c5a1d: Verifying Checksum [2021-01-19T23:02:46.276Z] de9db76c5a1d: Download complete [2021-01-19T23:02:46.276Z] 0ef7d3d256c8: Download complete [2021-01-19T23:02:46.276Z] 93359f2a8cfa: Verifying Checksum [2021-01-19T23:02:46.276Z] 93359f2a8cfa: Download complete [2021-01-19T23:02:46.276Z] 7c6f9722023f: Verifying Checksum [2021-01-19T23:02:46.276Z] 7c6f9722023f: Download complete [2021-01-19T23:02:46.276Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T23:02:46.276Z] 188c0c94c7c5: Download complete [2021-01-19T23:02:46.540Z] 188c0c94c7c5: Pull complete [2021-01-19T23:02:46.804Z] 0ef7d3d256c8: Pull complete [2021-01-19T23:02:46.804Z] de9db76c5a1d: Pull complete [2021-01-19T23:02:49.368Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T23:02:49.368Z] a35cf1a2eb13: Download complete [2021-01-19T23:02:49.368Z] bca2f99d35d6: Verifying Checksum [2021-01-19T23:02:49.368Z] bca2f99d35d6: Download complete [2021-01-19T23:02:54.702Z] bca2f99d35d6: Pull complete [2021-01-19T23:02:54.702Z] 93359f2a8cfa: Pull complete [2021-01-19T23:02:54.702Z] 7c6f9722023f: Pull complete [2021-01-19T23:03:01.323Z] a35cf1a2eb13: Pull complete [2021-01-19T23:03:01.324Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T23:03:01.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T23:03:01.324Z] ---> a62c8e92a672 [2021-01-19T23:03:01.324Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T23:03:01.588Z] ---> Running in 3deee3bf86a6 [2021-01-19T23:03:01.857Z] Removing intermediate container 3deee3bf86a6 [2021-01-19T23:03:01.857Z] ---> edb73fc86b4a [2021-01-19T23:03:01.857Z] Step 4/7 : RUN apk add --update bash [2021-01-19T23:03:01.857Z] ---> Running in ac2910b67682 [2021-01-19T23:03:02.821Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T23:03:03.397Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T23:03:04.347Z] OK: 166 MiB in 39 packages [2021-01-19T23:03:04.926Z] Removing intermediate container ac2910b67682 [2021-01-19T23:03:04.926Z] ---> 99adc2cff688 [2021-01-19T23:03:04.926Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-19T23:03:04.926Z] ---> Running in d9d7392f1008 [2021-01-19T23:03:04.926Z] Removing intermediate container d9d7392f1008 [2021-01-19T23:03:04.928Z] ---> 818f4e745b42 [2021-01-19T23:03:04.928Z] Step 6/7 : COPY go.mod . [2021-01-19T23:03:05.192Z] ---> 63688eb2e343 [2021-01-19T23:03:05.192Z] Step 7/7 : RUN go mod download [2021-01-19T23:03:05.458Z] ---> Running in d12413feb70c [2021-01-19T23:03:17.772Z] Removing intermediate container d12413feb70c [2021-01-19T23:03:17.772Z] ---> 44afe29b05a1 [2021-01-19T23:03:17.772Z] Successfully built 44afe29b05a1 [2021-01-19T23:03:17.772Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:03:18.086Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T23:03:18.086Z] . [Pipeline] withDockerContainer [2021-01-19T23:03:18.202Z] prd-centos7-docker-4c-2g-21385 does not seem to be running inside a container [2021-01-19T23:03:18.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/25 -v /w/workspace/go-mod-secrets/25:/w/workspace/go-mod-secrets/25:rw,z -v /w/workspace/go-mod-secrets/25@tmp:/w/workspace/go-mod-secrets/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T23:03:19.080Z] $ docker top 8552ae812767faf3f7b78740c460f484423e68efcf6bc3531ed45b37a5c27fe3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T23:03:19.654Z] + go version [2021-01-19T23:03:19.654Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T23:03:19.728Z] $ docker stop --time=1 8552ae812767faf3f7b78740c460f484423e68efcf6bc3531ed45b37a5c27fe3 [2021-01-19T23:03:21.141Z] $ docker rm -f 8552ae812767faf3f7b78740c460f484423e68efcf6bc3531ed45b37a5c27fe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:03:21.952Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T23:03:21.952Z] . [Pipeline] withDockerContainer [2021-01-19T23:03:22.056Z] prd-centos7-docker-4c-2g-21385 does not seem to be running inside a container [2021-01-19T23:03:22.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/25 -v /w/workspace/go-mod-secrets/25:/w/workspace/go-mod-secrets/25:rw,z -v /w/workspace/go-mod-secrets/25@tmp:/w/workspace/go-mod-secrets/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-19T23:03:22.895Z] $ docker top eae916eb13fe285a000aabd549960acdb6bd5f74e190d8c3c4332bd3bc7bb417 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T23:03:23.374Z] + make test [2021-01-19T23:03:23.374Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-19T23:03:30.337Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg [no test files] [2021-01-19T23:03:30.337Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2021-01-19T23:03:40.401Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.029s coverage: 96.7% of statements [2021-01-19T23:03:40.401Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/providers/vault 0.007s coverage: 44.1% of statements [2021-01-19T23:03:40.401Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.019s coverage: 89.5% of statements [2021-01-19T23:03:40.401Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2021-01-19T23:03:40.401Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.041s coverage: 100.0% of statements [2021-01-19T23:03:40.401Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2021-01-19T23:03:40.401Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.004s coverage: 87.5% of statements [2021-01-19T23:03:47.008Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 15.012s coverage: 93.3% of statements [2021-01-19T23:03:47.008Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2021-01-19T23:03:47.008Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-19T23:03:48.403Z] gofmt -l . [2021-01-19T23:03:48.403Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-19T23:03:48.419Z] $ docker stop --time=1 eae916eb13fe285a000aabd549960acdb6bd5f74e190d8c3c4332bd3bc7bb417 [2021-01-19T23:03:50.739Z] $ docker rm -f eae916eb13fe285a000aabd549960acdb6bd5f74e190d8c3c4332bd3bc7bb417 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T23:03:51.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T23:03:51.710Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-19T23:04:32.095Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21386 in /w/workspace/gexfoundry_go-mod-secrets_master [Pipeline] { [Pipeline] ws [2021-01-19T23:04:32.151Z] Running in /w/workspace/go-mod-secrets/25 [Pipeline] { [Pipeline] checkout [2021-01-19T23:04:37.627Z] using credential edgex-jenkins-ssh [2021-01-19T23:04:37.683Z] Cloning the remote Git repository [2021-01-19T23:04:37.741Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-19T23:04:37.850Z] > git init /w/workspace/go-mod-secrets/25 # timeout=10 [2021-01-19T23:04:37.960Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-19T23:04:37.960Z] > git --version # timeout=10 [2021-01-19T23:04:37.986Z] > git --version # 'git version 2.17.1' [2021-01-19T23:04:37.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T23:04:38.047Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T23:04:39.436Z] Checking out Revision ad364f0045a1960e2713a9dd7876fce0e4e288a4 (master) [2021-01-19T23:04:38.841Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-19T23:04:38.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T23:04:38.907Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-19T23:04:38.955Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-19T23:04:38.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T23:04:38.971Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T23:04:39.458Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T23:04:39.486Z] > git checkout -f ad364f0045a1960e2713a9dd7876fce0e4e288a4 # timeout=10 [2021-01-19T23:04:44.072Z] Commit message: "Merge pull request #85 from lenny-intel/consume-v2-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T23:04:45.621Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T23:04:46.037Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T23:04:46.380Z] + + true [2021-01-19T23:04:46.380Z] sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-01-19T23:04:48.753Z] ========================================================= [2021-01-19T23:04:48.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T23:04:48.753Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:04:49.144Z] + 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-19T23:04:50.124Z] Sending build context to Docker daemon 450kB [2021-01-19T23:04:50.124Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-19T23:04:50.124Z] Step 2/7 : FROM ${BASE} [2021-01-19T23:04:50.400Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T23:04:50.400Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T23:04:50.400Z] a4357932f1b6: Pulling fs layer [2021-01-19T23:04:50.400Z] 18c013af1878: Pulling fs layer [2021-01-19T23:04:50.400Z] 00ac8860ef70: Pulling fs layer [2021-01-19T23:04:50.400Z] 63d7cb157983: Pulling fs layer [2021-01-19T23:04:50.400Z] b116817d02f9: Pulling fs layer [2021-01-19T23:04:50.400Z] 745a02a5169b: Pulling fs layer [2021-01-19T23:04:50.400Z] 00ac8860ef70: Waiting [2021-01-19T23:04:50.400Z] 63d7cb157983: Waiting [2021-01-19T23:04:50.400Z] b116817d02f9: Waiting [2021-01-19T23:04:50.400Z] 745a02a5169b: Waiting [2021-01-19T23:04:50.400Z] 18c013af1878: Verifying Checksum [2021-01-19T23:04:50.400Z] 18c013af1878: Download complete [2021-01-19T23:04:50.400Z] a4357932f1b6: Download complete [2021-01-19T23:04:50.400Z] b116817d02f9: Verifying Checksum [2021-01-19T23:04:50.400Z] b116817d02f9: Download complete [2021-01-19T23:04:50.400Z] 5f621e34cdf4: Download complete [2021-01-19T23:04:51.384Z] 5f621e34cdf4: Pull complete [2021-01-19T23:04:51.660Z] a4357932f1b6: Pull complete [2021-01-19T23:04:52.275Z] 18c013af1878: Pull complete [2021-01-19T23:04:52.882Z] 745a02a5169b: Verifying Checksum [2021-01-19T23:04:52.882Z] 745a02a5169b: Download complete [2021-01-19T23:04:53.862Z] 00ac8860ef70: Verifying Checksum [2021-01-19T23:04:53.862Z] 00ac8860ef70: Download complete [2021-01-19T23:05:04.074Z] 00ac8860ef70: Pull complete [2021-01-19T23:05:04.074Z] 63d7cb157983: Pull complete [2021-01-19T23:05:04.347Z] b116817d02f9: Pull complete [2021-01-19T23:05:08.671Z] 745a02a5169b: Pull complete [2021-01-19T23:05:08.671Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T23:05:08.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T23:05:08.671Z] ---> b7e6874047d6 [2021-01-19T23:05:08.671Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T23:05:11.326Z] ---> Running in 55e07d86ba76 [2021-01-19T23:05:11.922Z] Removing intermediate container 55e07d86ba76 [2021-01-19T23:05:11.922Z] ---> dc95b4a33606 [2021-01-19T23:05:11.922Z] Step 4/7 : RUN apk add --update bash [2021-01-19T23:05:12.192Z] ---> Running in 7f2390a65a70 [2021-01-19T23:05:13.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T23:05:14.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T23:05:15.609Z] OK: 142 MiB in 39 packages [2021-01-19T23:05:16.588Z] Removing intermediate container 7f2390a65a70 [2021-01-19T23:05:16.588Z] ---> 6e1a1a62a30a [2021-01-19T23:05:16.588Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-19T23:05:16.861Z] ---> Running in 6ae1a1e40804 [2021-01-19T23:05:17.460Z] Removing intermediate container 6ae1a1e40804 [2021-01-19T23:05:17.460Z] ---> 767e396349c9 [2021-01-19T23:05:17.460Z] Step 6/7 : COPY go.mod . [2021-01-19T23:05:18.051Z] ---> b6c0eecaf9e9 [2021-01-19T23:05:18.051Z] Step 7/7 : RUN go mod download [2021-01-19T23:05:18.330Z] ---> Running in 27dbf1a16e5b [2021-01-19T23:05:33.473Z] Removing intermediate container 27dbf1a16e5b [2021-01-19T23:05:33.473Z] ---> dda525587bd4 [2021-01-19T23:05:33.473Z] Successfully built dda525587bd4 [2021-01-19T23:05:33.473Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:05:34.113Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T23:05:34.113Z] . [Pipeline] withDockerContainer [2021-01-19T23:05:34.396Z] prd-ubuntu18.04-docker-arm64-4c-16g-21386 does not seem to be running inside a container [2021-01-19T23:05:34.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/25 -v /w/workspace/go-mod-secrets/25:/w/workspace/go-mod-secrets/25:rw,z -v /w/workspace/go-mod-secrets/25@tmp:/w/workspace/go-mod-secrets/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T23:05:36.069Z] $ docker top 9557447e89894b3043a213415c8ddf3c11f46db63c1d55090c579499dcbd1718 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T23:05:37.125Z] + go version [2021-01-19T23:05:37.125Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T23:05:37.149Z] $ docker stop --time=1 9557447e89894b3043a213415c8ddf3c11f46db63c1d55090c579499dcbd1718 [2021-01-19T23:05:39.161Z] $ docker rm -f 9557447e89894b3043a213415c8ddf3c11f46db63c1d55090c579499dcbd1718 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:05:40.247Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T23:05:40.247Z] . [Pipeline] withDockerContainer [2021-01-19T23:05:40.532Z] prd-ubuntu18.04-docker-arm64-4c-16g-21386 does not seem to be running inside a container [2021-01-19T23:05:40.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/25 -v /w/workspace/go-mod-secrets/25:/w/workspace/go-mod-secrets/25:rw,z -v /w/workspace/go-mod-secrets/25@tmp:/w/workspace/go-mod-secrets/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-19T23:05:42.293Z] $ docker top e19fe9608695007f2252ef5e409e4ad1f5d90a31dee7065a781b7a5008bbe0f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T23:05:43.301Z] + make test [2021-01-19T23:05:43.301Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-19T23:06:02.387Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg [no test files] [2021-01-19T23:06:02.387Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2021-01-19T23:06:14.821Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.026s coverage: 96.7% of statements [2021-01-19T23:06:14.821Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/providers/vault 0.031s coverage: 44.1% of statements [2021-01-19T23:06:14.821Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.024s coverage: 89.5% of statements [2021-01-19T23:06:14.821Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2021-01-19T23:06:14.821Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.034s coverage: 100.0% of statements [2021-01-19T23:06:14.821Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2021-01-19T23:06:14.821Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.009s coverage: 87.5% of statements [2021-01-19T23:06:23.095Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 15.022s coverage: 93.3% of statements [2021-01-19T23:06:23.095Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2021-01-19T23:06:23.371Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-19T23:06:26.779Z] gofmt -l . [2021-01-19T23:06:27.053Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-19T23:06:27.079Z] $ docker stop --time=1 e19fe9608695007f2252ef5e409e4ad1f5d90a31dee7065a781b7a5008bbe0f3 [2021-01-19T23:06:29.433Z] $ docker rm -f e19fe9608695007f2252ef5e409e4ad1f5d90a31dee7065a781b7a5008bbe0f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T23:06:30.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T23:06:30.395Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T23:06:31.208Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-19T23:06:32.838Z] provisioning config files... [2021-01-19T23:06:32.853Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config3728434408809029609tmp [Pipeline] { [Pipeline] sh [2021-01-19T23:06:33.220Z] + set +x [2021-01-19T23:06:33.221Z] + curl -s https://codecov.io/bash [2021-01-19T23:06:33.221Z] + bash -s -- [2021-01-19T23:06:33.483Z] [2021-01-19T23:06:33.483Z] _____ _ [2021-01-19T23:06:33.483Z] / ____| | | [2021-01-19T23:06:33.483Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T23:06:33.483Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T23:06:33.483Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T23:06:33.483Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T23:06:33.483Z] Bash-20210115-cec3c92 [2021-01-19T23:06:33.483Z] [2021-01-19T23:06:33.483Z] [2021-01-19T23:06:33.483Z] ==> git version 2.24.3 found [2021-01-19T23:06:33.483Z] ==> 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-19T23:06:33.483Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T23:06:33.483Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T23:06:33.483Z] ==> Jenkins CI detected. [2021-01-19T23:06:33.483Z] project root: . [2021-01-19T23:06:33.483Z] --> token set from env [2021-01-19T23:06:33.483Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T23:06:33.483Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T23:06:33.483Z] ==> Python coveragepy not found [2021-01-19T23:06:33.483Z] ==> Searching for coverage reports in: [2021-01-19T23:06:33.483Z] + . [2021-01-19T23:06:33.483Z] -> Found 1 reports [2021-01-19T23:06:33.483Z] ==> Detecting git/mercurial file structure [2021-01-19T23:06:33.483Z] ==> Reading reports [2021-01-19T23:06:33.483Z] + ./coverage.out bytes=17226 [2021-01-19T23:06:33.483Z] ==> Appending adjustments [2021-01-19T23:06:33.483Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T23:06:33.744Z] + Found adjustments [2021-01-19T23:06:33.744Z] ==> Gzipping contents [2021-01-19T23:06:33.744Z] 4.0K /tmp/codecov.9hKZrh.gz [2021-01-19T23:06:33.744Z] ==> Uploading reports [2021-01-19T23:06:33.744Z] url: https://codecov.io [2021-01-19T23:06:33.744Z] query: branch=master&commit=ad364f0045a1960e2713a9dd7876fce0e4e288a4&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-19T23:06:33.744Z] -> Pinging Codecov [2021-01-19T23:06:33.744Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=ad364f0045a1960e2713a9dd7876fce0e4e288a4&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-19T23:06:34.005Z] -> Uploading to [2021-01-19T23:06:34.005Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/D63849C06B6B67093493C71CE874ED06/ad364f0045a1960e2713a9dd7876fce0e4e288a4/b8d1e43b-5fe4-4a39-a30e-08f1521e31c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T230633Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4b74885e1d914ca29522736a772f7ab6eace7d4f281c4594a1492ceab346dca [2021-01-19T23:06:34.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T23:06:34.005Z] Dload Upload Total Spent Left Speed [2021-01-19T23:06:34.579Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3706 0 0 100 3706 0 8168 --:--:-- --:--:-- --:--:-- 8181 [2021-01-19T23:06:34.579Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/ad364f0045a1960e2713a9dd7876fce0e4e288a4 [Pipeline] } [2021-01-19T23:06:34.589Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-19T23:06:35.447Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-19T23:06:35.504Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:06:35.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-19T23:06:35.836Z] [2021-01-19T23:06:35.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:06:36.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-19T23:06:36.208Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-19T23:06:36.208Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T23:06:36.208Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T23:06:36.208Z] de9db76c5a1d: Pulling fs layer [2021-01-19T23:06:36.208Z] 0eba1c9be4d2: Pulling fs layer [2021-01-19T23:06:36.208Z] 0d57e429df01: Pulling fs layer [2021-01-19T23:06:36.208Z] 4e4be7b47b0d: Pulling fs layer [2021-01-19T23:06:36.208Z] e1f770b5df2f: Pulling fs layer [2021-01-19T23:06:36.208Z] 85a0685a4137: Pulling fs layer [2021-01-19T23:06:36.208Z] 0d57e429df01: Waiting [2021-01-19T23:06:36.208Z] 4e4be7b47b0d: Waiting [2021-01-19T23:06:36.208Z] e1f770b5df2f: Waiting [2021-01-19T23:06:36.208Z] 85a0685a4137: Waiting [2021-01-19T23:06:36.208Z] 0eba1c9be4d2: Waiting [2021-01-19T23:06:36.208Z] de9db76c5a1d: Verifying Checksum [2021-01-19T23:06:36.208Z] de9db76c5a1d: Download complete [2021-01-19T23:06:36.208Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T23:06:36.208Z] 0ef7d3d256c8: Download complete [2021-01-19T23:06:36.208Z] 0d57e429df01: Verifying Checksum [2021-01-19T23:06:36.208Z] 0d57e429df01: Download complete [2021-01-19T23:06:36.208Z] 4e4be7b47b0d: Verifying Checksum [2021-01-19T23:06:36.208Z] 4e4be7b47b0d: Download complete [2021-01-19T23:06:36.208Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T23:06:36.208Z] 188c0c94c7c5: Download complete [2021-01-19T23:06:36.783Z] 188c0c94c7c5: Pull complete [2021-01-19T23:06:36.784Z] 0ef7d3d256c8: Pull complete [2021-01-19T23:06:37.044Z] de9db76c5a1d: Pull complete [2021-01-19T23:06:37.619Z] e1f770b5df2f: Verifying Checksum [2021-01-19T23:06:37.619Z] e1f770b5df2f: Download complete [2021-01-19T23:06:39.569Z] 0eba1c9be4d2: Verifying Checksum [2021-01-19T23:06:39.569Z] 0eba1c9be4d2: Download complete [2021-01-19T23:06:39.569Z] 85a0685a4137: Verifying Checksum [2021-01-19T23:06:39.569Z] 85a0685a4137: Download complete [2021-01-19T23:06:44.910Z] 0eba1c9be4d2: Pull complete [2021-01-19T23:06:44.910Z] 0d57e429df01: Pull complete [2021-01-19T23:06:44.910Z] 4e4be7b47b0d: Pull complete [2021-01-19T23:06:48.223Z] e1f770b5df2f: Pull complete [2021-01-19T23:06:54.840Z] 85a0685a4137: Pull complete [2021-01-19T23:06:54.840Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-19T23:06:54.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-19T23:06:54.840Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-19T23:06:55.017Z] prd-centos7-docker-4c-2g-21381 does not seem to be running inside a container [2021-01-19T23:06:55.088Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-19T23:06:56.035Z] $ docker top cd4d90734919ca4980b93fe5e5ae33e972cb4b015f59555cf7a5b1d8148a9043 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-19T23:06:56.214Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-19T23:06:56.508Z] + set -o pipefail [2021-01-19T23:06:56.508Z] + snyk monitor '--org=edgex-jenkins' [2021-01-19T23:07:04.671Z] [2021-01-19T23:07:04.671Z] Monitoring /w/workspace/gexfoundry_go-mod-secrets_master (github.com/edgexfoundry/go-mod-secrets/v2)... [2021-01-19T23:07:04.671Z] [2021-01-19T23:07:04.672Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/09f0d814-f697-40d2-af90-946e9eb2af5e/history/39666c89-d20c-4358-82d6-a96f1ab37f14 [2021-01-19T23:07:04.672Z] [2021-01-19T23:07:04.672Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-19T23:07:04.672Z] [2021-01-19T23:07:04.672Z] [Pipeline] } [2021-01-19T23:07:04.686Z] $ docker stop --time=1 cd4d90734919ca4980b93fe5e5ae33e972cb4b015f59555cf7a5b1d8148a9043 [2021-01-19T23:07:06.672Z] $ docker rm -f cd4d90734919ca4980b93fe5e5ae33e972cb4b015f59555cf7a5b1d8148a9043 [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-19T23:07:08.513Z] + git log --format=format:%s -1 ad364f0045a1960e2713a9dd7876fce0e4e288a4 [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:07:08.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T23:07:08.847Z] . [Pipeline] withDockerContainer [2021-01-19T23:07:08.953Z] prd-centos7-docker-4c-2g-21381 does not seem to be running inside a container [2021-01-19T23:07:08.996Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T23:07:10.135Z] $ docker top 4a5d67d040169c76c644958a3784e0cca1f1889c7b5bed7470736de943420052 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T23:07:10.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T23:07:10.580Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T23:07:10.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T23:07:10.811Z] $ docker exec 4a5d67d040169c76c644958a3784e0cca1f1889c7b5bed7470736de943420052 ssh-agent [2021-01-19T23:07:11.006Z] SSH_AUTH_SOCK=/tmp/ssh-SRezq1MHmgAa/agent.12 [2021-01-19T23:07:11.006Z] SSH_AGENT_PID=17 [2021-01-19T23:07:11.016Z] Running ssh-add (command line suppressed) [2021-01-19T23:07:11.149Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_6779085876837356562.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_6779085876837356562.key) [2021-01-19T23:07:11.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T23:07:11.536Z] + git semver tag [2021-01-19T23:07:11.536Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T23:07:11.536Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-19T23:07:11.536Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-19T23:07:11.536Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T23:07:11.536Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T23:07:11.536Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T23:07:11.536Z] # $SEMVER_BRANCH = master [2021-01-19T23:07:11.536Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [2021-01-19T23:07:11.536Z] # ad364f0045a1960e2713a9dd7876fce0e4e288a4 HEAD [2021-01-19T23:07:11.536Z] # -> Force: false [2021-01-19T23:07:11.536Z] # c34fb0df39e6c183755bc871b442d656b8fc8507 refs/tags/v2.0.0-dev.2 [Pipeline] } [2021-01-19T23:07:11.550Z] $ docker exec --env ******** --env ******** 4a5d67d040169c76c644958a3784e0cca1f1889c7b5bed7470736de943420052 ssh-agent -k [2021-01-19T23:07:11.685Z] unset SSH_AUTH_SOCK; [2021-01-19T23:07:11.685Z] unset SSH_AGENT_PID; [2021-01-19T23:07:11.685Z] echo Agent pid 17 killed; [2021-01-19T23:07:11.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T23:07:12.241Z] + git semver [Pipeline] } [2021-01-19T23:07:12.258Z] $ docker stop --time=1 4a5d67d040169c76c644958a3784e0cca1f1889c7b5bed7470736de943420052 [2021-01-19T23:07:13.645Z] $ docker rm -f 4a5d67d040169c76c644958a3784e0cca1f1889c7b5bed7470736de943420052 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:07:14.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-19T23:07:14.290Z] [2021-01-19T23:07:14.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:07:14.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-19T23:07:14.631Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-19T23:07:14.631Z] ab5ef0e58194: Pulling fs layer [2021-01-19T23:07:14.631Z] 9712f1f96733: Pulling fs layer [2021-01-19T23:07:14.631Z] 63f879dbbcfc: Pulling fs layer [2021-01-19T23:07:14.631Z] 0d9ebad4ef96: Pulling fs layer [2021-01-19T23:07:14.631Z] e9a5061849ea: Pulling fs layer [2021-01-19T23:07:14.631Z] d747dcd14b5f: Pulling fs layer [2021-01-19T23:07:14.631Z] 2de7ff778b66: Pulling fs layer [2021-01-19T23:07:14.631Z] e9a5061849ea: Waiting [2021-01-19T23:07:14.631Z] d747dcd14b5f: Waiting [2021-01-19T23:07:14.631Z] 2de7ff778b66: Waiting [2021-01-19T23:07:14.631Z] 0d9ebad4ef96: Waiting [2021-01-19T23:07:14.631Z] 9712f1f96733: Verifying Checksum [2021-01-19T23:07:14.631Z] 9712f1f96733: Download complete [2021-01-19T23:07:16.038Z] 63f879dbbcfc: Verifying Checksum [2021-01-19T23:07:16.038Z] 63f879dbbcfc: Download complete [2021-01-19T23:07:16.038Z] e9a5061849ea: Verifying Checksum [2021-01-19T23:07:16.038Z] e9a5061849ea: Download complete [2021-01-19T23:07:16.038Z] d747dcd14b5f: Verifying Checksum [2021-01-19T23:07:16.038Z] d747dcd14b5f: Download complete [2021-01-19T23:07:16.645Z] 2de7ff778b66: Verifying Checksum [2021-01-19T23:07:16.645Z] 2de7ff778b66: Download complete [2021-01-19T23:07:16.906Z] 0d9ebad4ef96: Verifying Checksum [2021-01-19T23:07:16.906Z] 0d9ebad4ef96: Download complete [2021-01-19T23:07:16.906Z] ab5ef0e58194: Verifying Checksum [2021-01-19T23:07:16.906Z] ab5ef0e58194: Download complete [2021-01-19T23:07:21.144Z] ab5ef0e58194: Pull complete [2021-01-19T23:07:21.144Z] 9712f1f96733: Pull complete [2021-01-19T23:07:23.710Z] 63f879dbbcfc: Pull complete [2021-01-19T23:07:30.339Z] 0d9ebad4ef96: Pull complete [2021-01-19T23:07:31.734Z] e9a5061849ea: Pull complete [2021-01-19T23:07:31.734Z] d747dcd14b5f: Pull complete [2021-01-19T23:07:34.293Z] 2de7ff778b66: Pull complete [2021-01-19T23:07:34.293Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-19T23:07:34.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-19T23:07:34.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-19T23:07:34.452Z] prd-centos7-docker-4c-2g-21381 does not seem to be running inside a container [2021-01-19T23:07:34.499Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-19T23:07:38.713Z] $ docker top 78fe14ed3fcaa873325bfbe671068e391a1f59a2b60da5719bb64806740863ad -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-19T23:07:39.032Z] provisioning config files... [2021-01-19T23:07:39.045Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config568422307495803933tmp [2021-01-19T23:07:39.073Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config8506549776027260077tmp [2021-01-19T23:07:39.106Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config5530440442132399169tmp [Pipeline] { [Pipeline] echo [2021-01-19T23:07:39.210Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:07:39.542Z] ---> sigul-configuration.sh [2021-01-19T23:07:39.542Z] gpg: directory `/root/.gnupg' created [2021-01-19T23:07:39.542Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-19T23:07:39.542Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-19T23:07:39.542Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-19T23:07:39.542Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-19T23:07:39.542Z] gpg: CAST5 encrypted data [2021-01-19T23:07:39.821Z] gpg: encrypted with 1 passphrase [2021-01-19T23:07:39.821Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-19T23:07:40.188Z] + mkdir /home/jenkins [2021-01-19T23:07:40.188Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-19T23:07:40.489Z] + 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-19T23:07:40.502Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:07:40.801Z] ---> sigul-install.sh [2021-01-19T23:07:47.403Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-19T23:07:47.701Z] + git tag --list [2021-01-19T23:07:47.701Z] v0.0.0 [2021-01-19T23:07:47.701Z] v0.0.1 [2021-01-19T23:07:47.701Z] v0.0.10 [2021-01-19T23:07:47.701Z] v0.0.11 [2021-01-19T23:07:47.701Z] v0.0.12 [2021-01-19T23:07:47.701Z] v0.0.13 [2021-01-19T23:07:47.701Z] v0.0.14 [2021-01-19T23:07:47.701Z] v0.0.15 [2021-01-19T23:07:47.701Z] v0.0.16 [2021-01-19T23:07:47.701Z] v0.0.17 [2021-01-19T23:07:47.701Z] v0.0.18 [2021-01-19T23:07:47.701Z] v0.0.19 [2021-01-19T23:07:47.701Z] v0.0.2 [2021-01-19T23:07:47.701Z] v0.0.20 [2021-01-19T23:07:47.701Z] v0.0.21 [2021-01-19T23:07:47.701Z] v0.0.22 [2021-01-19T23:07:47.701Z] v0.0.23 [2021-01-19T23:07:47.701Z] v0.0.24 [2021-01-19T23:07:47.701Z] v0.0.25 [2021-01-19T23:07:47.701Z] v0.0.26 [2021-01-19T23:07:47.701Z] v0.0.27 [2021-01-19T23:07:47.701Z] v0.0.28 [2021-01-19T23:07:47.701Z] v0.0.29 [2021-01-19T23:07:47.701Z] v0.0.3 [2021-01-19T23:07:47.701Z] v0.0.30 [2021-01-19T23:07:47.701Z] v0.0.31 [2021-01-19T23:07:47.701Z] v0.0.32 [2021-01-19T23:07:47.701Z] v0.0.33 [2021-01-19T23:07:47.701Z] v0.0.4 [2021-01-19T23:07:47.701Z] v0.0.5 [2021-01-19T23:07:47.701Z] v0.0.6 [2021-01-19T23:07:47.701Z] v0.0.7 [2021-01-19T23:07:47.701Z] v0.0.8 [2021-01-19T23:07:47.701Z] v0.0.9 [2021-01-19T23:07:47.701Z] v2.0.0-dev.1 [2021-01-19T23:07:47.701Z] v2.0.0-dev.2 [Pipeline] sh [2021-01-19T23:07:48.000Z] + lftools sign git-tag v2.0.0-dev.2 [2021-01-19T23:07:49.388Z] Signing Git tag with Sigul... [2021-01-19T23:07:49.389Z] Signing v2.0.0-dev.2 [Pipeline] echo [2021-01-19T23:07:50.350Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:07:50.646Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-19T23:07:50.655Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-19T23:07:50.752Z] $ docker stop --time=1 78fe14ed3fcaa873325bfbe671068e391a1f59a2b60da5719bb64806740863ad [2021-01-19T23:07:52.857Z] $ docker rm -f 78fe14ed3fcaa873325bfbe671068e391a1f59a2b60da5719bb64806740863ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:07:53.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T23:07:53.772Z] . [Pipeline] withDockerContainer [2021-01-19T23:07:53.868Z] prd-centos7-docker-4c-2g-21381 does not seem to be running inside a container [2021-01-19T23:07:53.911Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T23:07:54.554Z] $ docker top 7329afe60acbda7f9b802176b721f9c4a99f68ac21da08d678d92ad14761aaf8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T23:07:54.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T23:07:54.900Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T23:07:55.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T23:07:55.100Z] $ docker exec 7329afe60acbda7f9b802176b721f9c4a99f68ac21da08d678d92ad14761aaf8 ssh-agent [2021-01-19T23:07:55.272Z] SSH_AUTH_SOCK=/tmp/ssh-WY0SHP8ELe6O/agent.11 [2021-01-19T23:07:55.272Z] SSH_AGENT_PID=16 [2021-01-19T23:07:55.278Z] Running ssh-add (command line suppressed) [2021-01-19T23:07:55.403Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_8066720292094542424.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_8066720292094542424.key) [2021-01-19T23:07:55.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T23:07:55.792Z] + git semver bump pre [2021-01-19T23:07:55.792Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T23:07:55.792Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-19T23:07:55.792Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-19T23:07:55.792Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T23:07:55.792Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T23:07:55.792Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T23:07:55.792Z] # $SEMVER_BRANCH = master [2021-01-19T23:07:55.792Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [2021-01-19T23:07:55.792Z] 2.0.0-dev.3 [Pipeline] } [2021-01-19T23:07:55.803Z] $ docker exec --env ******** --env ******** 7329afe60acbda7f9b802176b721f9c4a99f68ac21da08d678d92ad14761aaf8 ssh-agent -k [2021-01-19T23:07:55.928Z] unset SSH_AUTH_SOCK; [2021-01-19T23:07:55.928Z] unset SSH_AGENT_PID; [2021-01-19T23:07:55.928Z] echo Agent pid 16 killed; [2021-01-19T23:07:55.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T23:07:56.447Z] + git semver [Pipeline] } [2021-01-19T23:07:56.464Z] $ docker stop --time=1 7329afe60acbda7f9b802176b721f9c4a99f68ac21da08d678d92ad14761aaf8 [2021-01-19T23:07:57.838Z] $ docker rm -f 7329afe60acbda7f9b802176b721f9c4a99f68ac21da08d678d92ad14761aaf8 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:07:58.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T23:07:58.388Z] . [Pipeline] withDockerContainer [2021-01-19T23:07:58.496Z] prd-centos7-docker-4c-2g-21381 does not seem to be running inside a container [2021-01-19T23:07:58.545Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T23:07:59.241Z] $ docker top db8434865c75cefc7086807120d4ce071315f6fd40455469711f4eaa4d0c8145 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T23:07:59.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T23:07:59.582Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T23:07:59.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T23:07:59.776Z] $ docker exec db8434865c75cefc7086807120d4ce071315f6fd40455469711f4eaa4d0c8145 ssh-agent [2021-01-19T23:07:59.952Z] SSH_AUTH_SOCK=/tmp/ssh-XIpwq4MghJEH/agent.11 [2021-01-19T23:07:59.952Z] SSH_AGENT_PID=17 [2021-01-19T23:07:59.959Z] Running ssh-add (command line suppressed) [2021-01-19T23:08:00.079Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_3256041917398498225.key (/w/workspace/gexfoundry_go-mod-secrets_master@tmp/private_key_3256041917398498225.key) [2021-01-19T23:08:00.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T23:08:00.473Z] + git semver push [2021-01-19T23:08:00.473Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T23:08:00.473Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.git [2021-01-19T23:08:00.474Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_master [2021-01-19T23:08:00.474Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T23:08:00.474Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T23:08:00.474Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T23:08:00.474Z] # $SEMVER_BRANCH = master [2021-01-19T23:08:00.474Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_master/.semver [Pipeline] } [2021-01-19T23:08:08.644Z] $ docker exec --env ******** --env ******** db8434865c75cefc7086807120d4ce071315f6fd40455469711f4eaa4d0c8145 ssh-agent -k [2021-01-19T23:08:08.799Z] unset SSH_AUTH_SOCK; [2021-01-19T23:08:08.800Z] unset SSH_AGENT_PID; [2021-01-19T23:08:08.800Z] echo Agent pid 17 killed; [2021-01-19T23:08:08.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T23:08:09.329Z] + git semver [Pipeline] } [2021-01-19T23:08:09.346Z] $ docker stop --time=1 db8434865c75cefc7086807120d4ce071315f6fd40455469711f4eaa4d0c8145 [2021-01-19T23:08:10.731Z] $ docker rm -f db8434865c75cefc7086807120d4ce071315f6fd40455469711f4eaa4d0c8145 [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-19T23:08:12.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:08:12.935Z] ---> package-listing.sh [2021-01-19T23:08:12.935Z] ++ facter osfamily [2021-01-19T23:08:12.935Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T23:08:12.935Z] + OS_FAMILY=redhat [2021-01-19T23:08:12.935Z] + workspace=/w/workspace/gexfoundry_go-mod-secrets_master [2021-01-19T23:08:12.935Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T23:08:12.935Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T23:08:12.935Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T23:08:12.935Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T23:08:12.935Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_master ']' [2021-01-19T23:08:12.935Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T23:08:12.935Z] + case "${OS_FAMILY}" in [2021-01-19T23:08:12.935Z] + rpm -qa [2021-01-19T23:08:12.935Z] + sort [2021-01-19T23:08:18.249Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T23:08:18.249Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T23:08:18.249Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T23:08:18.249Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_master ']' [2021-01-19T23:08:18.249Z] + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_master/archives/ [2021-01-19T23:08:18.249Z] + 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-19T23:08:18.263Z] 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-19T23:08:18.555Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:08:18.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T23:08:18.861Z] [2021-01-19T23:08:18.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T23:08:19.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T23:08:19.209Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T23:08:19.209Z] df20fa9351a1: Pulling fs layer [2021-01-19T23:08:19.210Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T23:08:19.210Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T23:08:19.210Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T23:08:19.210Z] 93b61091891f: Pulling fs layer [2021-01-19T23:08:19.210Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T23:08:19.210Z] 5e14af77c1be: Pulling fs layer [2021-01-19T23:08:19.210Z] 01666e4c0597: Pulling fs layer [2021-01-19T23:08:19.210Z] aa168da1d23b: Pulling fs layer [2021-01-19T23:08:19.210Z] 93b9cdb0e59b: Waiting [2021-01-19T23:08:19.210Z] 01666e4c0597: Waiting [2021-01-19T23:08:19.210Z] aa168da1d23b: Waiting [2021-01-19T23:08:19.210Z] 5e14af77c1be: Waiting [2021-01-19T23:08:19.210Z] 93b61091891f: Waiting [2021-01-19T23:08:19.210Z] 46f8f816bc3b: Waiting [2021-01-19T23:08:19.210Z] 36b3adc4ff6f: Download complete [2021-01-19T23:08:19.210Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T23:08:19.210Z] 46f8f816bc3b: Download complete [2021-01-19T23:08:19.210Z] df20fa9351a1: Verifying Checksum [2021-01-19T23:08:19.210Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T23:08:19.210Z] 93b9cdb0e59b: Download complete [2021-01-19T23:08:19.476Z] 93b61091891f: Download complete [2021-01-19T23:08:19.476Z] 5e14af77c1be: Verifying Checksum [2021-01-19T23:08:19.476Z] 5e14af77c1be: Download complete [2021-01-19T23:08:19.476Z] 01666e4c0597: Verifying Checksum [2021-01-19T23:08:19.476Z] 01666e4c0597: Download complete [2021-01-19T23:08:19.743Z] df20fa9351a1: Pull complete [2021-01-19T23:08:19.743Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T23:08:19.743Z] 8ad3a11d3b57: Download complete [2021-01-19T23:08:20.010Z] 36b3adc4ff6f: Pull complete [2021-01-19T23:08:21.536Z] aa168da1d23b: Verifying Checksum [2021-01-19T23:08:21.536Z] aa168da1d23b: Download complete [2021-01-19T23:08:21.798Z] 8ad3a11d3b57: Pull complete [2021-01-19T23:08:22.371Z] 46f8f816bc3b: Pull complete [2021-01-19T23:08:22.633Z] 93b61091891f: Pull complete [2021-01-19T23:08:22.896Z] 93b9cdb0e59b: Pull complete [2021-01-19T23:08:22.896Z] 5e14af77c1be: Pull complete [2021-01-19T23:08:23.158Z] 01666e4c0597: Pull complete [2021-01-19T23:08:29.790Z] aa168da1d23b: Pull complete [2021-01-19T23:08:29.790Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T23:08:29.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T23:08:29.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T23:08:29.956Z] prd-centos7-docker-4c-2g-21381 does not seem to be running inside a container [2021-01-19T23:08:30.005Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T23:08:33.026Z] $ docker top 5bb134362f7daf4b8b896127dc19fe1d37f3c95c6692d10eb01b04e4cd364cb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T23:08:33.517Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T23:08:33.816Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T23:08:34.112Z] + ls /var/log/sa-host [2021-01-19T23:08:34.112Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T23:08:34.112Z] file_magic: OK [2021-01-19T23:08:34.112Z] HZ: Using current value: 100 [2021-01-19T23:08:34.112Z] file_header: OK [2021-01-19T23:08:34.112Z] 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-19T23:08:34.112Z] Statistics: [2021-01-19T23:08:34.112Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T23:08:34.112Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T23:08:34.112Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T23:08:34.112Z] file_magic: OK [2021-01-19T23:08:34.112Z] HZ: Using current value: 100 [2021-01-19T23:08:34.112Z] file_header: OK [2021-01-19T23:08:34.112Z] 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-19T23:08:34.112Z] Statistics: [2021-01-19T23:08:34.112Z] Hnuu...uuuununununu... [2021-01-19T23:08:34.113Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T23:08:34.304Z] provisioning config files... [2021-01-19T23:08:34.318Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_master@tmp/config6095084406463068404tmp [Pipeline] { [Pipeline] echo [2021-01-19T23:08:34.385Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:08:34.676Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T23:08:34.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T23:08:34.792Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:08:35.086Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T23:08:35.097Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:08:35.388Z] ---> sudo-logs.sh [2021-01-19T23:08:35.388Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T23:08:35.401Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:08:35.696Z] ---> job-cost.sh [2021-01-19T23:08:35.696Z] lf-activate-venv: SKIPPING [2021-01-19T23:08:35.696Z] INFO: No Stack... [2021-01-19T23:08:36.269Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T23:08:36.842Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T23:08:36.855Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T23:08:37.149Z] ---> logs-deploy.sh [2021-01-19T23:08:37.149Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/master/25 [2021-01-19T23:08:37.149Z] INFO: archiving workspace using pattern(s): [2021-01-19T23:08:39.066Z] Archives upload complete. [2021-01-19T23:08:39.066Z] INFO: archiving logs to Nexus