Pull request #77 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from 727179056f0968fb98720389c44f9a76f3d50704+16de5b488733f447078f81771069bd4e8e31fe78 (b9f3063b7aa9f16fe8a0d93c686dea026853329c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-77/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-77/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-secrets, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-secrets-settings PROJECT: go-mod-secrets USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-secrets DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18904 in /w/workspace/dgexfoundry_go-mod-secrets_PR-77 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git > git init /w/workspace/dgexfoundry_go-mod-secrets_PR-77 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 16de5b488733f447078f81771069bd4e8e31fe78 into PR head commit 727179056f0968fb98720389c44f9a76f3d50704 Merge succeeded, producing 727179056f0968fb98720389c44f9a76f3d50704 Checking out Revision 727179056f0968fb98720389c44f9a76f3d50704 (PR-77) > git config core.sparsecheckout # timeout=10 > git checkout -f 727179056f0968fb98720389c44f9a76f3d50704 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 16de5b488733f447078f81771069bd4e8e31fe78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 727179056f0968fb98720389c44f9a76f3d50704 # timeout=10 Commit message: "refactor: Resolve compiler errors in unit test when using latest go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-07T21:13:23.192Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-07T21:13:23.601Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-07T21:13:23.821Z] ========================================================= [2021-01-07T21:13:23.821Z] EdgeX Global Pipelines Version Info [2021-01-07T21:13:23.821Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:13:25.398Z] ------------------- [2021-01-07T21:13:25.398Z] stable info: [2021-01-07T21:13:25.398Z] ------------------- [2021-01-07T21:13:25.398Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-07T21:13:25.398Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T21:13:25.398Z] Message: update stable to v1.0.173 [2021-01-07T21:13:26.343Z] ------------------- [2021-01-07T21:13:26.343Z] experimental info: [2021-01-07T21:13:26.343Z] ------------------- [2021-01-07T21:13:26.343Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-07T21:13:26.343Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T21:13:26.343Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-07T21:13:26.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2021-01-07T21:13:26.968Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2021-01-07T21:13:27.100Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-07T21:13:27.230Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-07T21:13:27.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-07T21:13:27.491Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-07T21:13:27.622Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-07T21:13:27.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-07T21:13:27.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-07T21:13:28.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-07T21:13:28.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-07T21:13:28.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo [2021-01-07T21:13:28.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-07T21:13:28.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-07T21:13:28.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:13:28.853Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:13:28.979Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:13:29.099Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T21:13:29.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-07T21:13:29.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-07T21:13:29.490Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-07T21:13:29.618Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-07T21:13:29.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-07T21:13:29.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-07T21:13:30.015Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-07T21:13:30.168Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-07T21:13:30.336Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-07T21:13:30.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2021-01-07T21:13:30.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2021-01-07T21:13:30.795Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2021-01-07T21:13:30.946Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 727179056f0968fb98720389c44f9a76f3d50704 [Pipeline] echo [2021-01-07T21:13:31.080Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7271790 [Pipeline] echo [2021-01-07T21:13:31.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:13:32.153Z] + git log --format=format:%s -1 727179056f0968fb98720389c44f9a76f3d50704 [Pipeline] echo [2021-01-07T21:13:32.240Z] GIT_COMMIT: 727179056f0968fb98720389c44f9a76f3d50704, Commit Message: refactor: Resolve compiler errors in unit test when using latest go-mod-core-contracts [Pipeline] echo [2021-01-07T21:13:32.316Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:13:33.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:13:33.398Z] [2021-01-07T21:13:33.398Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:13:33.794Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:13:33.794Z] latest: Pulling from edgex-devops/git-semver [2021-01-07T21:13:33.794Z] 31603596830f: Pulling fs layer [2021-01-07T21:13:33.794Z] 2a8b12db71e7: Pulling fs layer [2021-01-07T21:13:33.794Z] 6ca5941a6612: Pulling fs layer [2021-01-07T21:13:33.794Z] ecc8261a40a4: Pulling fs layer [2021-01-07T21:13:33.794Z] ecc8261a40a4: Waiting [2021-01-07T21:13:33.794Z] 2a8b12db71e7: Verifying Checksum [2021-01-07T21:13:33.794Z] 2a8b12db71e7: Download complete [2021-01-07T21:13:34.058Z] 31603596830f: Verifying Checksum [2021-01-07T21:13:34.058Z] 31603596830f: Download complete [2021-01-07T21:13:34.058Z] ecc8261a40a4: Verifying Checksum [2021-01-07T21:13:34.058Z] ecc8261a40a4: Download complete [2021-01-07T21:13:34.058Z] 6ca5941a6612: Verifying Checksum [2021-01-07T21:13:34.058Z] 6ca5941a6612: Download complete [2021-01-07T21:13:34.323Z] 31603596830f: Pull complete [2021-01-07T21:13:34.588Z] 2a8b12db71e7: Pull complete [2021-01-07T21:13:35.545Z] 6ca5941a6612: Pull complete [2021-01-07T21:13:35.545Z] ecc8261a40a4: Pull complete [2021-01-07T21:13:35.545Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-07T21:13:35.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:13:35.833Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-07T21:13:36.049Z] prd-centos7-docker-4c-2g-18904 does not seem to be running inside a container [2021-01-07T21:13:36.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-77 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-77:/w/workspace/dgexfoundry_go-mod-secrets_PR-77:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T21:13:38.197Z] $ docker top 667424be172aaf19aaa6e3908d416a6fc33e8f8dea08db150436f55615d6047b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T21:13:38.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T21:13:38.634Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T21:13:38.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T21:13:38.875Z] $ docker exec 667424be172aaf19aaa6e3908d416a6fc33e8f8dea08db150436f55615d6047b ssh-agent [2021-01-07T21:13:39.042Z] SSH_AUTH_SOCK=/tmp/ssh-SKQxtfgEHczA/agent.11 [2021-01-07T21:13:39.042Z] SSH_AGENT_PID=16 [2021-01-07T21:13:39.056Z] Running ssh-add (command line suppressed) [2021-01-07T21:13:39.181Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp/private_key_7866693763422409009.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp/private_key_7866693763422409009.key) [2021-01-07T21:13:39.235Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T21:13:39.624Z] + git tag --points-at HEAD [Pipeline] } [2021-01-07T21:13:39.656Z] $ docker exec --env ******** --env ******** 667424be172aaf19aaa6e3908d416a6fc33e8f8dea08db150436f55615d6047b ssh-agent -k [2021-01-07T21:13:39.771Z] unset SSH_AUTH_SOCK; [2021-01-07T21:13:39.771Z] unset SSH_AGENT_PID; [2021-01-07T21:13:39.771Z] echo Agent pid 16 killed; [2021-01-07T21:13:39.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-07T21:13:40.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T21:13:40.050Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T21:13:40.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T21:13:40.236Z] $ docker exec 667424be172aaf19aaa6e3908d416a6fc33e8f8dea08db150436f55615d6047b ssh-agent [2021-01-07T21:13:40.398Z] SSH_AUTH_SOCK=/tmp/ssh-qeAsU90KLpiO/agent.46 [2021-01-07T21:13:40.399Z] SSH_AGENT_PID=51 [2021-01-07T21:13:40.406Z] Running ssh-add (command line suppressed) [2021-01-07T21:13:40.526Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp/private_key_6274974375401028968.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp/private_key_6274974375401028968.key) [2021-01-07T21:13:40.587Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T21:13:41.014Z] + git semver init [2021-01-07T21:13:41.014Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T21:13:41.014Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-77/.git [2021-01-07T21:13:41.014Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-77 [2021-01-07T21:13:41.014Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T21:13:41.014Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T21:13:41.014Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T21:13:41.014Z] # $SEMVER_BRANCH = PR-77 [2021-01-07T21:13:41.014Z] # $SEMVER_TEMP = /tmp/semver-920819508 [2021-01-07T21:13:41.014Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2021-01-07T21:13:41.588Z] # '/tmp/semver-920819508' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-77/.semver' [2021-01-07T21:13:41.588Z] # -> Force: false [2021-01-07T21:13:41.588Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-77/.semver [Pipeline] } [2021-01-07T21:13:41.607Z] $ docker exec --env ******** --env ******** 667424be172aaf19aaa6e3908d416a6fc33e8f8dea08db150436f55615d6047b ssh-agent -k [2021-01-07T21:13:41.726Z] unset SSH_AUTH_SOCK; [2021-01-07T21:13:41.726Z] unset SSH_AGENT_PID; [2021-01-07T21:13:41.726Z] echo Agent pid 51 killed; [2021-01-07T21:13:41.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T21:13:42.643Z] + git semver [Pipeline] } [2021-01-07T21:13:42.683Z] $ docker stop --time=1 667424be172aaf19aaa6e3908d416a6fc33e8f8dea08db150436f55615d6047b [2021-01-07T21:13:44.194Z] $ docker rm -f 667424be172aaf19aaa6e3908d416a6fc33e8f8dea08db150436f55615d6047b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T21:13:44.764Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-07T21:13:45.433Z] Stashed 1 file(s) [Pipeline] echo [2021-01-07T21:13:45.456Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-07T21:13:46.571Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18901 in /w/workspace/dgexfoundry_go-mod-secrets_PR-77 [Pipeline] { [Pipeline] ws [2021-01-07T21:13:46.670Z] Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout [2021-01-07T21:13:51.276Z] using credential edgex-jenkins-ssh [2021-01-07T21:13:51.345Z] Cloning the remote Git repository [2021-01-07T21:13:51.398Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:13:51.511Z] > git init /w/workspace/go-mod-secrets/1 # timeout=10 [2021-01-07T21:13:51.615Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:13:51.616Z] > git --version # timeout=10 [2021-01-07T21:13:51.633Z] > git --version # 'git version 2.17.1' [2021-01-07T21:13:51.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:13:51.704Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:13:52.382Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:13:52.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:13:52.424Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:13:52.453Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:13:52.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:13:52.466Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T21:13:53.095Z] Merging remotes/origin/master commit 16de5b488733f447078f81771069bd4e8e31fe78 into PR head commit 727179056f0968fb98720389c44f9a76f3d50704 [2021-01-07T21:13:53.275Z] Merge succeeded, producing 727179056f0968fb98720389c44f9a76f3d50704 [2021-01-07T21:13:53.275Z] Checking out Revision 727179056f0968fb98720389c44f9a76f3d50704 (PR-77) [2021-01-07T21:13:53.116Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:13:53.131Z] > git checkout -f 727179056f0968fb98720389c44f9a76f3d50704 # timeout=10 [2021-01-07T21:13:53.205Z] > git remote # timeout=10 [2021-01-07T21:13:53.221Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T21:13:53.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:13:53.244Z] > git merge 16de5b488733f447078f81771069bd4e8e31fe78 # timeout=10 [2021-01-07T21:13:53.264Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T21:13:53.284Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:13:53.294Z] > git checkout -f 727179056f0968fb98720389c44f9a76f3d50704 # timeout=10 [2021-01-07T21:13:57.568Z] Commit message: "refactor: Resolve compiler errors in unit test when using latest go-mod-core-contracts" [2021-01-07T21:13:57.631Z] > git --version # timeout=10 [2021-01-07T21:13:57.640Z] > git --version # 'git version 2.17.1' [2021-01-07T21:13:57.654Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:13:59.381Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:13:59.802Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:14:00.173Z] + true [2021-01-07T21:14:00.173Z] + sudo service docker restart [2021-01-07T21:14:01.341Z] Still waiting to schedule task [2021-01-07T21:14:01.341Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] unstash [Pipeline] echo [2021-01-07T21:14:02.450Z] ========================================================= [2021-01-07T21:14:02.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-07T21:14:02.450Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:14:02.872Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-07T21:14:03.859Z] Sending build context to Docker daemon 446kB [2021-01-07T21:14:03.859Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-07T21:14:03.859Z] Step 2/7 : FROM ${BASE} [2021-01-07T21:14:04.134Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-07T21:14:04.134Z] 5f621e34cdf4: Pulling fs layer [2021-01-07T21:14:04.134Z] a4357932f1b6: Pulling fs layer [2021-01-07T21:14:04.134Z] 18c013af1878: Pulling fs layer [2021-01-07T21:14:04.134Z] 00ac8860ef70: Pulling fs layer [2021-01-07T21:14:04.134Z] 63d7cb157983: Pulling fs layer [2021-01-07T21:14:04.134Z] b116817d02f9: Pulling fs layer [2021-01-07T21:14:04.134Z] 745a02a5169b: Pulling fs layer [2021-01-07T21:14:04.134Z] 00ac8860ef70: Waiting [2021-01-07T21:14:04.134Z] 63d7cb157983: Waiting [2021-01-07T21:14:04.134Z] b116817d02f9: Waiting [2021-01-07T21:14:04.134Z] 745a02a5169b: Waiting [2021-01-07T21:14:04.134Z] 18c013af1878: Verifying Checksum [2021-01-07T21:14:04.134Z] 18c013af1878: Download complete [2021-01-07T21:14:04.134Z] a4357932f1b6: Verifying Checksum [2021-01-07T21:14:04.134Z] a4357932f1b6: Download complete [2021-01-07T21:14:04.134Z] 63d7cb157983: Download complete [2021-01-07T21:14:04.134Z] b116817d02f9: Verifying Checksum [2021-01-07T21:14:04.134Z] b116817d02f9: Download complete [2021-01-07T21:14:04.412Z] 5f621e34cdf4: Verifying Checksum [2021-01-07T21:14:04.412Z] 5f621e34cdf4: Download complete [2021-01-07T21:14:05.013Z] 5f621e34cdf4: Pull complete [2021-01-07T21:14:05.617Z] a4357932f1b6: Pull complete [2021-01-07T21:14:05.893Z] 18c013af1878: Pull complete [2021-01-07T21:14:06.494Z] 745a02a5169b: Verifying Checksum [2021-01-07T21:14:06.494Z] 745a02a5169b: Download complete [2021-01-07T21:14:07.942Z] 00ac8860ef70: Verifying Checksum [2021-01-07T21:14:07.942Z] 00ac8860ef70: Download complete [2021-01-07T21:14:18.122Z] 00ac8860ef70: Pull complete [2021-01-07T21:14:18.400Z] 63d7cb157983: Pull complete [2021-01-07T21:14:18.674Z] b116817d02f9: Pull complete [2021-01-07T21:14:22.997Z] 745a02a5169b: Pull complete [2021-01-07T21:14:22.997Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-07T21:14:22.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-07T21:14:22.997Z] ---> b7e6874047d6 [2021-01-07T21:14:22.997Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T21:14:25.627Z] ---> Running in 7ee44d8fb505 [2021-01-07T21:14:25.901Z] Removing intermediate container 7ee44d8fb505 [2021-01-07T21:14:25.901Z] ---> 1360340940d1 [2021-01-07T21:14:25.901Z] Step 4/7 : RUN apk add --update bash [2021-01-07T21:14:25.901Z] ---> Running in 8e0839aa9ffb [2021-01-07T21:14:27.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-07T21:14:28.304Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-07T21:14:29.279Z] OK: 142 MiB in 39 packages [2021-01-07T21:14:30.717Z] Removing intermediate container 8e0839aa9ffb [2021-01-07T21:14:30.717Z] ---> 2ce458a068bc [2021-01-07T21:14:30.717Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-07T21:14:30.717Z] ---> Running in a9da3452413d [2021-01-07T21:14:31.314Z] Removing intermediate container a9da3452413d [2021-01-07T21:14:31.314Z] ---> bfa3fdecb696 [2021-01-07T21:14:31.314Z] Step 6/7 : COPY go.mod . [2021-01-07T21:14:31.916Z] ---> 5ca2372bd53e [2021-01-07T21:14:31.916Z] Step 7/7 : RUN go mod download [2021-01-07T21:14:31.916Z] ---> Running in cad668919c6c [2021-01-07T21:14:47.008Z] Removing intermediate container cad668919c6c [2021-01-07T21:14:47.008Z] ---> c8c5dd5e6716 [2021-01-07T21:14:47.008Z] Successfully built c8c5dd5e6716 [2021-01-07T21:14:47.008Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:14:47.375Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T21:14:47.375Z] . [Pipeline] withDockerContainer [2021-01-07T21:14:47.633Z] prd-ubuntu18.04-docker-arm64-4c-16g-18901 does not seem to be running inside a container [2021-01-07T21:14:47.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-07T21:14:49.178Z] $ docker top 4597698ad246bee73e4122e53f1862533a39863e1d5d4aab0e003fb999b726fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:14:50.242Z] + go version [2021-01-07T21:14:50.242Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-07T21:14:50.280Z] $ docker stop --time=1 4597698ad246bee73e4122e53f1862533a39863e1d5d4aab0e003fb999b726fe [2021-01-07T21:14:52.229Z] $ docker rm -f 4597698ad246bee73e4122e53f1862533a39863e1d5d4aab0e003fb999b726fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:14:53.505Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T21:14:53.505Z] . [Pipeline] withDockerContainer [2021-01-07T21:14:53.799Z] prd-ubuntu18.04-docker-arm64-4c-16g-18901 does not seem to be running inside a container [2021-01-07T21:14:53.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-07T21:14:55.401Z] $ docker top d339ed7527bebad74ac85a8593ec6798e68e9bde6ba4764894d6bf5bb8824b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:14:56.462Z] + make test [2021-01-07T21:14:56.462Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-07T21:15:18.671Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2021-01-07T21:15:18.672Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2021-01-07T21:15:26.975Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.019s coverage: 96.7% of statements [2021-01-07T21:15:26.975Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 0.043s coverage: 44.1% of statements [2021-01-07T21:15:26.975Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.052s coverage: 89.5% of statements [2021-01-07T21:15:26.975Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] [2021-01-07T21:15:26.975Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.015s coverage: 100.0% of statements [2021-01-07T21:15:26.975Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] [2021-01-07T21:15:26.975Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.013s coverage: 87.5% of statements [2021-01-07T21:15:39.337Z] ok github.com/edgexfoundry/go-mod-secrets/secrets 15.027s coverage: 93.3% of statements [2021-01-07T21:15:39.337Z] ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] [2021-01-07T21:15:39.337Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-07T21:15:41.332Z] gofmt -l . [2021-01-07T21:15:41.605Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-07T21:15:41.643Z] $ docker stop --time=1 d339ed7527bebad74ac85a8593ec6798e68e9bde6ba4764894d6bf5bb8824b04 [2021-01-07T21:15:43.738Z] $ docker rm -f d339ed7527bebad74ac85a8593ec6798e68e9bde6ba4764894d6bf5bb8824b04 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T21:15:44.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T21:15:45.410Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-07T21:16:42.983Z] Running on prd-centos7-docker-4c-2g-18905 in /w/workspace/dgexfoundry_go-mod-secrets_PR-77 [Pipeline] { [Pipeline] ws [2021-01-07T21:16:43.088Z] Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout [2021-01-07T21:16:45.472Z] using credential edgex-jenkins-ssh [2021-01-07T21:16:45.549Z] Cloning the remote Git repository [2021-01-07T21:16:45.580Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:16:45.647Z] > git init /w/workspace/go-mod-secrets/1 # timeout=10 [2021-01-07T21:16:45.712Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:16:45.712Z] > git --version # timeout=10 [2021-01-07T21:16:45.719Z] > git --version # 'git version 2.24.3' [2021-01-07T21:16:45.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:16:45.758Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:16:46.364Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:16:46.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:16:46.381Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2021-01-07T21:16:46.393Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2021-01-07T21:16:46.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:16:46.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T21:16:46.832Z] Merging remotes/origin/master commit 16de5b488733f447078f81771069bd4e8e31fe78 into PR head commit 727179056f0968fb98720389c44f9a76f3d50704 [2021-01-07T21:16:46.922Z] Merge succeeded, producing 727179056f0968fb98720389c44f9a76f3d50704 [2021-01-07T21:16:46.923Z] Checking out Revision 727179056f0968fb98720389c44f9a76f3d50704 (PR-77) [2021-01-07T21:16:46.840Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:16:46.846Z] > git checkout -f 727179056f0968fb98720389c44f9a76f3d50704 # timeout=10 [2021-01-07T21:16:46.883Z] > git remote # timeout=10 [2021-01-07T21:16:46.892Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T21:16:46.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:16:46.905Z] > git merge 16de5b488733f447078f81771069bd4e8e31fe78 # timeout=10 [2021-01-07T21:16:46.916Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T21:16:46.925Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:16:46.930Z] > git checkout -f 727179056f0968fb98720389c44f9a76f3d50704 # timeout=10 [2021-01-07T21:16:50.587Z] Commit message: "refactor: Resolve compiler errors in unit test when using latest go-mod-core-contracts" [2021-01-07T21:16:50.613Z] > git --version # timeout=10 [2021-01-07T21:16:50.620Z] > git --version # 'git version 2.24.3' [2021-01-07T21:16:50.627Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:16:51.925Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:16:52.270Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:16:52.582Z] + sudo service docker restart [2021-01-07T21:16:52.582Z] + true [2021-01-07T21:16:52.582Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-07T21:16:54.254Z] ========================================================= [2021-01-07T21:16:54.254Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-07T21:16:54.254Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:16:54.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-07T21:16:55.013Z] Sending build context to Docker daemon 447kB [2021-01-07T21:16:55.013Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-07T21:16:55.013Z] Step 2/7 : FROM ${BASE} [2021-01-07T21:16:55.276Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-07T21:16:55.276Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T21:16:55.276Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T21:16:55.276Z] de9db76c5a1d: Pulling fs layer [2021-01-07T21:16:55.276Z] bca2f99d35d6: Pulling fs layer [2021-01-07T21:16:55.276Z] 93359f2a8cfa: Pulling fs layer [2021-01-07T21:16:55.276Z] 7c6f9722023f: Pulling fs layer [2021-01-07T21:16:55.276Z] a35cf1a2eb13: Pulling fs layer [2021-01-07T21:16:55.276Z] bca2f99d35d6: Waiting [2021-01-07T21:16:55.276Z] 93359f2a8cfa: Waiting [2021-01-07T21:16:55.276Z] 7c6f9722023f: Waiting [2021-01-07T21:16:55.276Z] a35cf1a2eb13: Waiting [2021-01-07T21:16:55.276Z] de9db76c5a1d: Verifying Checksum [2021-01-07T21:16:55.276Z] de9db76c5a1d: Download complete [2021-01-07T21:16:55.276Z] 0ef7d3d256c8: Verifying Checksum [2021-01-07T21:16:55.276Z] 0ef7d3d256c8: Download complete [2021-01-07T21:16:55.276Z] 93359f2a8cfa: Verifying Checksum [2021-01-07T21:16:55.276Z] 93359f2a8cfa: Download complete [2021-01-07T21:16:55.276Z] 7c6f9722023f: Verifying Checksum [2021-01-07T21:16:55.276Z] 7c6f9722023f: Download complete [2021-01-07T21:16:55.276Z] 188c0c94c7c5: Verifying Checksum [2021-01-07T21:16:55.276Z] 188c0c94c7c5: Download complete [2021-01-07T21:16:55.542Z] 188c0c94c7c5: Pull complete [2021-01-07T21:16:55.810Z] 0ef7d3d256c8: Pull complete [2021-01-07T21:16:55.810Z] de9db76c5a1d: Pull complete [2021-01-07T21:16:57.737Z] a35cf1a2eb13: Verifying Checksum [2021-01-07T21:16:57.737Z] a35cf1a2eb13: Download complete [2021-01-07T21:16:57.737Z] bca2f99d35d6: Verifying Checksum [2021-01-07T21:16:57.737Z] bca2f99d35d6: Download complete [2021-01-07T21:17:03.059Z] bca2f99d35d6: Pull complete [2021-01-07T21:17:03.059Z] 93359f2a8cfa: Pull complete [2021-01-07T21:17:03.059Z] 7c6f9722023f: Pull complete [2021-01-07T21:17:11.393Z] a35cf1a2eb13: Pull complete [2021-01-07T21:17:11.393Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-07T21:17:11.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-07T21:17:11.393Z] ---> a62c8e92a672 [2021-01-07T21:17:11.393Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T21:17:11.393Z] ---> Running in 70b6c8963e5c [2021-01-07T21:17:11.393Z] Removing intermediate container 70b6c8963e5c [2021-01-07T21:17:11.393Z] ---> 9c57f9967fe5 [2021-01-07T21:17:11.393Z] Step 4/7 : RUN apk add --update bash [2021-01-07T21:17:11.393Z] ---> Running in 4a6186f8bcd0 [2021-01-07T21:17:11.978Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-07T21:17:12.933Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-07T21:17:13.511Z] OK: 166 MiB in 39 packages [2021-01-07T21:17:14.089Z] Removing intermediate container 4a6186f8bcd0 [2021-01-07T21:17:14.089Z] ---> 03bb52d820cb [2021-01-07T21:17:14.089Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-07T21:17:14.089Z] ---> Running in cc448a612dcd [2021-01-07T21:17:14.353Z] Removing intermediate container cc448a612dcd [2021-01-07T21:17:14.353Z] ---> 2b78b3f59154 [2021-01-07T21:17:14.353Z] Step 6/7 : COPY go.mod . [2021-01-07T21:17:14.616Z] ---> f4cceb213282 [2021-01-07T21:17:14.616Z] Step 7/7 : RUN go mod download [2021-01-07T21:17:14.616Z] ---> Running in 7ae1cc535807 [2021-01-07T21:17:29.567Z] Removing intermediate container 7ae1cc535807 [2021-01-07T21:17:29.567Z] ---> 21fe9d90d29b [2021-01-07T21:17:29.567Z] Successfully built 21fe9d90d29b [2021-01-07T21:17:29.567Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:17:29.923Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T21:17:29.923Z] . [Pipeline] withDockerContainer [2021-01-07T21:17:30.047Z] prd-centos7-docker-4c-2g-18905 does not seem to be running inside a container [2021-01-07T21:17:30.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-07T21:17:30.719Z] $ docker top 8581f3b9af74bcbefeb4cce27b4bf8da55d6af05909ad20314f409bc57b138da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:17:31.272Z] + go version [2021-01-07T21:17:31.273Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-07T21:17:31.303Z] $ docker stop --time=1 8581f3b9af74bcbefeb4cce27b4bf8da55d6af05909ad20314f409bc57b138da [2021-01-07T21:17:32.650Z] $ docker rm -f 8581f3b9af74bcbefeb4cce27b4bf8da55d6af05909ad20314f409bc57b138da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:17:33.790Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T21:17:33.790Z] . [Pipeline] withDockerContainer [2021-01-07T21:17:33.913Z] prd-centos7-docker-4c-2g-18905 does not seem to be running inside a container [2021-01-07T21:17:33.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-07T21:17:34.482Z] $ docker top cff94649d5d390a31c1d3c124681c15940a84ec2fa6ff5d9bb7a40c34099b21d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:17:35.009Z] + make test [2021-01-07T21:17:35.009Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-07T21:17:41.703Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2021-01-07T21:17:41.703Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2021-01-07T21:17:51.765Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.023s coverage: 96.7% of statements [2021-01-07T21:17:51.765Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 0.034s coverage: 44.1% of statements [2021-01-07T21:17:51.765Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.014s coverage: 89.5% of statements [2021-01-07T21:17:51.765Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] [2021-01-07T21:17:51.765Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.020s coverage: 100.0% of statements [2021-01-07T21:17:51.765Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] [2021-01-07T21:17:51.765Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.005s coverage: 87.5% of statements [2021-01-07T21:17:58.372Z] ok github.com/edgexfoundry/go-mod-secrets/secrets 15.012s coverage: 93.3% of statements [2021-01-07T21:17:58.372Z] ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] [2021-01-07T21:17:58.372Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-07T21:17:59.338Z] gofmt -l . [2021-01-07T21:17:59.601Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-07T21:17:59.639Z] $ docker stop --time=1 cff94649d5d390a31c1d3c124681c15940a84ec2fa6ff5d9bb7a40c34099b21d [2021-01-07T21:18:01.910Z] $ docker rm -f cff94649d5d390a31c1d3c124681c15940a84ec2fa6ff5d9bb7a40c34099b21d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T21:18:02.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T21:18:02.634Z] Warning: overwriting stash ‘coverage-report’ [2021-01-07T21:18:02.906Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-07T21:18:05.760Z] provisioning config files... [2021-01-07T21:18:05.774Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp/config3420982253979912640tmp [Pipeline] { [Pipeline] sh [2021-01-07T21:18:06.202Z] + set +x [2021-01-07T21:18:06.202Z] + bash -s -- [2021-01-07T21:18:06.202Z] + curl -s https://codecov.io/bash [2021-01-07T21:18:06.465Z] [2021-01-07T21:18:06.465Z] _____ _ [2021-01-07T21:18:06.465Z] / ____| | | [2021-01-07T21:18:06.465Z] | | ___ __| | ___ ___ _____ __ [2021-01-07T21:18:06.465Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-07T21:18:06.465Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-07T21:18:06.465Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-07T21:18:06.465Z] Bash-20201231-23d4836 [2021-01-07T21:18:06.465Z] [2021-01-07T21:18:06.465Z] [2021-01-07T21:18:06.465Z] ==> git version 2.24.3 found [2021-01-07T21:18:06.465Z] ==> 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-07T21:18:06.465Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-07T21:18:06.465Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-07T21:18:06.465Z] ==> Jenkins CI detected. [2021-01-07T21:18:06.465Z] project root: . [2021-01-07T21:18:06.465Z] --> token set from env [2021-01-07T21:18:06.465Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-07T21:18:06.465Z] ==> Running gcov in . (disable via -X gcov) [2021-01-07T21:18:06.465Z] ==> Python coveragepy not found [2021-01-07T21:18:06.465Z] ==> Searching for coverage reports in: [2021-01-07T21:18:06.465Z] + . [2021-01-07T21:18:06.465Z] -> Found 1 reports [2021-01-07T21:18:06.465Z] ==> Detecting git/mercurial file structure [2021-01-07T21:18:06.466Z] ==> Reading reports [2021-01-07T21:18:06.466Z] + ./coverage.out bytes=16629 [2021-01-07T21:18:06.466Z] ==> Appending adjustments [2021-01-07T21:18:06.466Z] https://docs.codecov.io/docs/fixing-reports [2021-01-07T21:18:06.729Z] + Found adjustments [2021-01-07T21:18:06.729Z] ==> Gzipping contents [2021-01-07T21:18:06.729Z] 4.0K /tmp/codecov.13SRv8.gz [2021-01-07T21:18:06.729Z] ==> Uploading reports [2021-01-07T21:18:06.729Z] url: https://codecov.io [2021-01-07T21:18:06.729Z] query: branch=PR-77&commit=727179056f0968fb98720389c44f9a76f3d50704&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-77%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=77&job=&cmd_args= [2021-01-07T21:18:06.729Z] -> Pinging Codecov [2021-01-07T21:18:06.729Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-77&commit=727179056f0968fb98720389c44f9a76f3d50704&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-77%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=77&job=&cmd_args= [2021-01-07T21:18:06.992Z] -> Uploading to [2021-01-07T21:18:06.992Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-07/D63849C06B6B67093493C71CE874ED06/727179056f0968fb98720389c44f9a76f3d50704/a95de5cf-ba96-496f-b5b4-0e597eb75cca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210107T211806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77af047319fd1c17173abeb3c6afe031a1bde0dbd63afb6ea495ddd63b01465c [2021-01-07T21:18:06.992Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-07T21:18:06.992Z] Dload Upload Total Spent Left Speed [2021-01-07T21:18:07.571Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3733 0 0 100 3733 0 8463 --:--:-- --:--:-- --:--:-- 8484 [2021-01-07T21:18:07.571Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/727179056f0968fb98720389c44f9a76f3d50704 [Pipeline] } [2021-01-07T21:18:07.593Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:18:11.304Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:18:11.652Z] ---> package-listing.sh [2021-01-07T21:18:11.652Z] ++ facter osfamily [2021-01-07T21:18:11.652Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-07T21:18:11.652Z] + OS_FAMILY=redhat [2021-01-07T21:18:11.652Z] + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-77 [2021-01-07T21:18:11.652Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-07T21:18:11.652Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-07T21:18:11.652Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-07T21:18:11.652Z] + PACKAGES=/tmp/packages_start.txt [2021-01-07T21:18:11.652Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-77 ']' [2021-01-07T21:18:11.652Z] + PACKAGES=/tmp/packages_end.txt [2021-01-07T21:18:11.652Z] + case "${OS_FAMILY}" in [2021-01-07T21:18:11.652Z] + rpm -qa [2021-01-07T21:18:11.652Z] + sort [2021-01-07T21:18:16.970Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-07T21:18:16.970Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-07T21:18:16.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-07T21:18:16.970Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-77 ']' [2021-01-07T21:18:16.970Z] + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-77/archives/ [2021-01-07T21:18:16.970Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-77/archives/ [Pipeline] echo [2021-01-07T21:18:17.003Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_go-mod-secrets_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-07T21:18:17.310Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:18:17.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:18:17.645Z] [2021-01-07T21:18:17.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:18:18.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:18:18.040Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-07T21:18:18.040Z] df20fa9351a1: Pulling fs layer [2021-01-07T21:18:18.040Z] 36b3adc4ff6f: Pulling fs layer [2021-01-07T21:18:18.040Z] 8ad3a11d3b57: Pulling fs layer [2021-01-07T21:18:18.040Z] 46f8f816bc3b: Pulling fs layer [2021-01-07T21:18:18.040Z] 93b61091891f: Pulling fs layer [2021-01-07T21:18:18.040Z] 93b9cdb0e59b: Pulling fs layer [2021-01-07T21:18:18.040Z] 5e14af77c1be: Pulling fs layer [2021-01-07T21:18:18.040Z] 01666e4c0597: Pulling fs layer [2021-01-07T21:18:18.040Z] aa168da1d23b: Pulling fs layer [2021-01-07T21:18:18.040Z] 46f8f816bc3b: Waiting [2021-01-07T21:18:18.040Z] 93b61091891f: Waiting [2021-01-07T21:18:18.040Z] 93b9cdb0e59b: Waiting [2021-01-07T21:18:18.040Z] 5e14af77c1be: Waiting [2021-01-07T21:18:18.040Z] 01666e4c0597: Waiting [2021-01-07T21:18:18.040Z] 36b3adc4ff6f: Verifying Checksum [2021-01-07T21:18:18.040Z] 36b3adc4ff6f: Download complete [2021-01-07T21:18:18.303Z] 46f8f816bc3b: Verifying Checksum [2021-01-07T21:18:18.303Z] 46f8f816bc3b: Download complete [2021-01-07T21:18:18.303Z] df20fa9351a1: Verifying Checksum [2021-01-07T21:18:18.303Z] 93b9cdb0e59b: Verifying Checksum [2021-01-07T21:18:18.303Z] 93b9cdb0e59b: Download complete [2021-01-07T21:18:18.303Z] 5e14af77c1be: Verifying Checksum [2021-01-07T21:18:18.303Z] 5e14af77c1be: Download complete [2021-01-07T21:18:18.303Z] 93b61091891f: Verifying Checksum [2021-01-07T21:18:18.303Z] 93b61091891f: Download complete [2021-01-07T21:18:18.303Z] 01666e4c0597: Verifying Checksum [2021-01-07T21:18:18.303Z] 01666e4c0597: Download complete [2021-01-07T21:18:18.568Z] df20fa9351a1: Pull complete [2021-01-07T21:18:18.840Z] 8ad3a11d3b57: Verifying Checksum [2021-01-07T21:18:18.840Z] 8ad3a11d3b57: Download complete [2021-01-07T21:18:18.840Z] 36b3adc4ff6f: Pull complete [2021-01-07T21:18:19.818Z] 8ad3a11d3b57: Pull complete [2021-01-07T21:18:20.093Z] 46f8f816bc3b: Pull complete [2021-01-07T21:18:20.361Z] aa168da1d23b: Verifying Checksum [2021-01-07T21:18:20.361Z] aa168da1d23b: Download complete [2021-01-07T21:18:20.624Z] 93b61091891f: Pull complete [2021-01-07T21:18:20.886Z] 93b9cdb0e59b: Pull complete [2021-01-07T21:18:20.886Z] 5e14af77c1be: Pull complete [2021-01-07T21:18:21.153Z] 01666e4c0597: Pull complete [2021-01-07T21:18:29.337Z] aa168da1d23b: Pull complete [2021-01-07T21:18:29.337Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-07T21:18:29.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:18:29.337Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-07T21:18:29.591Z] prd-centos7-docker-4c-2g-18904 does not seem to be running inside a container [2021-01-07T21:18:29.642Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_go-mod-secrets_PR-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_go-mod-secrets_PR-77 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-77:/w/workspace/dgexfoundry_go-mod-secrets_PR-77:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-07T21:18:33.089Z] $ docker top ba694e7828b9c63b8648b5154be12325fdcfbcfa6552e54630427774576b8ace -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:18:33.679Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-07T21:18:34.009Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-07T21:18:34.333Z] + ls /var/log/sa-host [2021-01-07T21:18:34.333Z] + sadf -c /var/log/sa-host/sa07 [2021-01-07T21:18:34.333Z] file_magic: OK [2021-01-07T21:18:34.333Z] HZ: Using current value: 100 [2021-01-07T21:18:34.333Z] file_header: OK [2021-01-07T21:18:34.333Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-07T21:18:34.333Z] Statistics: [2021-01-07T21:18:34.333Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-07T21:18:34.333Z] File successfully converted to sysstat format version 12.2.1 [2021-01-07T21:18:34.333Z] + sadf -c /var/log/sa-host/sa23 [2021-01-07T21:18:34.333Z] file_magic: OK [2021-01-07T21:18:34.333Z] HZ: Using current value: 100 [2021-01-07T21:18:34.333Z] file_header: OK [2021-01-07T21:18:34.333Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-07T21:18:34.333Z] Statistics: [2021-01-07T21:18:34.333Z] Hnuu...uuuununununu... [2021-01-07T21:18:34.333Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-07T21:18:34.603Z] provisioning config files... [2021-01-07T21:18:34.620Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-77@tmp/config2127600652928237854tmp [Pipeline] { [Pipeline] echo [2021-01-07T21:18:34.741Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:18:35.078Z] ---> create-netrc.sh [Pipeline] } [2021-01-07T21:18:35.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-07T21:18:35.277Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:18:35.622Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-07T21:18:35.656Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:18:35.992Z] ---> sudo-logs.sh [2021-01-07T21:18:35.992Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-07T21:18:36.023Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:18:36.376Z] ---> job-cost.sh [2021-01-07T21:18:36.377Z] lf-activate-venv: SKIPPING [2021-01-07T21:18:36.377Z] INFO: No Stack... [2021-01-07T21:18:37.329Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-07T21:18:37.906Z] INFO: Archiving Costs [Pipeline] echo [2021-01-07T21:18:37.941Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:18:38.280Z] ---> logs-deploy.sh [2021-01-07T21:18:38.280Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-77/1 [2021-01-07T21:18:38.280Z] INFO: archiving workspace using pattern(s): [2021-01-07T21:18:40.835Z] Archives upload complete. [2021-01-07T21:18:40.835Z] INFO: archiving logs to Nexus