Pull request #75 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3040da731406479c9f8a832698285b376c467664+16de5b488733f447078f81771069bd4e8e31fe78 (886d34f4972384d8e999d49aed84f04a2e7c90ba) 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-75/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-75/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-18108 in /w/workspace/dgexfoundry_go-mod-secrets_PR-75 [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-75 # timeout=10 Merging remotes/origin/master commit 16de5b488733f447078f81771069bd4e8e31fe78 into PR head commit 3040da731406479c9f8a832698285b376c467664 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/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3040da731406479c9f8a832698285b376c467664 # timeout=10 Merge succeeded, producing 3040da731406479c9f8a832698285b376c467664 Checking out Revision 3040da731406479c9f8a832698285b376c467664 (PR-75) > 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 3040da731406479c9f8a832698285b376c467664 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:23 ========================================================= 06:15:23 EdgeX Global Pipelines Version Info 06:15:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:24 ------------------- 06:15:24 stable info: 06:15:24 ------------------- 06:15:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:24 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:15:24 Message: update stable to v1.0.173 06:15:25 ------------------- 06:15:25 experimental info: 06:15:25 ------------------- 06:15:25 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:25 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:15:25 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 06:15:26 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 06:15:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:15:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:15:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:15:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:15:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo 06:15:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:15:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:15:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 06:15:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:15:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-75 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-75 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-75 [Pipeline] echo 06:15:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3040da731406479c9f8a832698285b376c467664 [Pipeline] echo 06:15:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3040da7 [Pipeline] echo 06:15:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:31 + git log --format=format:%s -1 3040da731406479c9f8a832698285b376c467664 [Pipeline] echo 06:15:31 GIT_COMMIT: 3040da731406479c9f8a832698285b376c467664, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:15:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:15:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:32 06:15:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:15:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:33 latest: Pulling from edgex-devops/git-semver 06:15:33 31603596830f: Pulling fs layer 06:15:33 2a8b12db71e7: Pulling fs layer 06:15:33 6ca5941a6612: Pulling fs layer 06:15:33 ecc8261a40a4: Pulling fs layer 06:15:33 ecc8261a40a4: Waiting 06:15:33 2a8b12db71e7: Verifying Checksum 06:15:33 2a8b12db71e7: Download complete 06:15:33 31603596830f: Verifying Checksum 06:15:33 31603596830f: Download complete 06:15:33 ecc8261a40a4: Verifying Checksum 06:15:33 6ca5941a6612: Verifying Checksum 06:15:33 6ca5941a6612: Download complete 06:15:33 31603596830f: Pull complete 06:15:33 2a8b12db71e7: Pull complete 06:15:34 6ca5941a6612: Pull complete 06:15:34 ecc8261a40a4: Pull complete 06:15:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:15:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:15:34 prd-centos7-docker-4c-2g-18108 does not seem to be running inside a container 06:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-75 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-75:/w/workspace/dgexfoundry_go-mod-secrets_PR-75:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:15:36 $ docker top 9cea87553734fadd9879f37e2480488626961caea4bcc3db238fa153b51cd6c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:37 [ssh-agent] Looking for ssh-agent implementation... 06:15:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:37 $ docker exec 9cea87553734fadd9879f37e2480488626961caea4bcc3db238fa153b51cd6c3 ssh-agent 06:15:37 SSH_AUTH_SOCK=/tmp/ssh-Q2bzhmgWAWh8/agent.12 06:15:37 SSH_AGENT_PID=18 06:15:37 Running ssh-add (command line suppressed) 06:15:37 Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp/private_key_8755983437981422084.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp/private_key_8755983437981422084.key) 06:15:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:38 + git tag --points-at HEAD [Pipeline] } 06:15:38 $ docker exec --env ******** --env ******** 9cea87553734fadd9879f37e2480488626961caea4bcc3db238fa153b51cd6c3 ssh-agent -k 06:15:38 unset SSH_AUTH_SOCK; 06:15:38 unset SSH_AGENT_PID; 06:15:38 echo Agent pid 18 killed; 06:15:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:38 [ssh-agent] Looking for ssh-agent implementation... 06:15:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:39 $ docker exec 9cea87553734fadd9879f37e2480488626961caea4bcc3db238fa153b51cd6c3 ssh-agent 06:15:39 SSH_AUTH_SOCK=/tmp/ssh-m8hBHzTShPCS/agent.46 06:15:39 SSH_AGENT_PID=52 06:15:39 Running ssh-add (command line suppressed) 06:15:39 Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp/private_key_4636802970341658713.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp/private_key_4636802970341658713.key) 06:15:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:39 + git semver init 06:15:39 # -> Open(): unable to determine branch for HEAD 06:15:39 # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-75/.git 06:15:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-75 06:15:39 # $SEMVER_REMOTE_NAME = origin 06:15:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:15:39 # $SEMVER_USER_NAME = edgex-jenkins 06:15:39 # $SEMVER_BRANCH = PR-75 06:15:39 # $SEMVER_TEMP = /tmp/semver-305845657 06:15:39 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 06:15:40 # '/tmp/semver-305845657' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-75/.semver' 06:15:40 # -> Force: false 06:15:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-75/.semver [Pipeline] } 06:15:40 $ docker exec --env ******** --env ******** 9cea87553734fadd9879f37e2480488626961caea4bcc3db238fa153b51cd6c3 ssh-agent -k 06:15:40 unset SSH_AUTH_SOCK; 06:15:40 unset SSH_AGENT_PID; 06:15:40 echo Agent pid 52 killed; 06:15:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:41 + git semver [Pipeline] } 06:15:41 $ docker stop --time=1 9cea87553734fadd9879f37e2480488626961caea4bcc3db238fa153b51cd6c3 06:15:42 $ docker rm -f 9cea87553734fadd9879f37e2480488626961caea4bcc3db238fa153b51cd6c3 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:43 Stashed 1 file(s) [Pipeline] echo 06:15:43 [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 06:15:59 Still waiting to schedule task 06:15:59 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18100’ is offline; ‘prd-centos7-docker-4c-2g-18104’ is offline; ‘prd-centos7-docker-4c-2g-18105’ is offline; ‘prd-centos7-docker-4c-2g-18109’ is offline 06:15:59 Still waiting to schedule task 06:15:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:17:13 Running on prd-centos7-docker-4c-2g-18112 in /w/workspace/dgexfoundry_go-mod-secrets_PR-75 [Pipeline] { [Pipeline] ws 06:17:13 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 06:17:16 using credential edgex-jenkins-ssh 06:17:16 Cloning the remote Git repository 06:17:16 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 06:17:17 Merging remotes/origin/master commit 16de5b488733f447078f81771069bd4e8e31fe78 into PR head commit 3040da731406479c9f8a832698285b376c467664 06:17:16 > git init /w/workspace/go-mod-secrets/1 # timeout=10 06:17:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:17:16 > git --version # timeout=10 06:17:16 > git --version # 'git version 2.24.3' 06:17:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:17:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:17 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:17:17 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:17:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:17:17 Merge succeeded, producing 3040da731406479c9f8a832698285b376c467664 06:17:17 Checking out Revision 3040da731406479c9f8a832698285b376c467664 (PR-75) 06:17:17 > git config core.sparsecheckout # timeout=10 06:17:17 > git checkout -f 3040da731406479c9f8a832698285b376c467664 # timeout=10 06:17:17 > git remote # timeout=10 06:17:17 > git config --get remote.origin.url # timeout=10 06:17:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:17 > git merge 16de5b488733f447078f81771069bd4e8e31fe78 # timeout=10 06:17:17 > git rev-parse HEAD^{commit} # timeout=10 06:17:17 > git config core.sparsecheckout # timeout=10 06:17:17 > git checkout -f 3040da731406479c9f8a832698285b376c467664 # timeout=10 06:17:21 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:17:21 > git --version # timeout=10 06:17:21 > git --version # 'git version 2.24.3' 06:17:21 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:22 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:17:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:17:23 + sudo service docker restart 06:17:23 + true 06:17:23 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 06:17:24 ========================================================= 06:17:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:17:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:17:24 + 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 . 06:17:25 Sending build context to Docker daemon 435.2kB 06:17:25 Step 1/7 : ARG BASE=golang:1.15-alpine 06:17:25 Step 2/7 : FROM ${BASE} 06:17:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:17:25 188c0c94c7c5: Pulling fs layer 06:17:25 0ef7d3d256c8: Pulling fs layer 06:17:25 de9db76c5a1d: Pulling fs layer 06:17:25 bca2f99d35d6: Pulling fs layer 06:17:25 93359f2a8cfa: Pulling fs layer 06:17:25 7c6f9722023f: Pulling fs layer 06:17:25 a35cf1a2eb13: Pulling fs layer 06:17:25 93359f2a8cfa: Waiting 06:17:25 7c6f9722023f: Waiting 06:17:25 a35cf1a2eb13: Waiting 06:17:25 bca2f99d35d6: Waiting 06:17:25 de9db76c5a1d: Verifying Checksum 06:17:25 de9db76c5a1d: Download complete 06:17:25 0ef7d3d256c8: Download complete 06:17:25 93359f2a8cfa: Download complete 06:17:25 7c6f9722023f: Download complete 06:17:25 188c0c94c7c5: Verifying Checksum 06:17:25 188c0c94c7c5: Download complete 06:17:25 188c0c94c7c5: Pull complete 06:17:26 0ef7d3d256c8: Pull complete 06:17:26 de9db76c5a1d: Pull complete 06:17:26 a35cf1a2eb13: Verifying Checksum 06:17:26 a35cf1a2eb13: Download complete 06:17:27 bca2f99d35d6: Verifying Checksum 06:17:27 bca2f99d35d6: Download complete 06:17:33 bca2f99d35d6: Pull complete 06:17:33 93359f2a8cfa: Pull complete 06:17:33 7c6f9722023f: Pull complete 06:17:43 a35cf1a2eb13: Pull complete 06:17:43 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:17:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:17:43 ---> a62c8e92a672 06:17:43 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:17:43 ---> Running in a7142d0daccf 06:17:43 Removing intermediate container a7142d0daccf 06:17:43 ---> 021b1e8088b3 06:17:43 Step 4/7 : RUN apk add --update bash 06:17:43 ---> Running in b036faa507d4 06:17:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:17:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:17:45 OK: 166 MiB in 39 packages 06:17:46 Removing intermediate container b036faa507d4 06:17:46 ---> a6adf2abb1bc 06:17:46 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:17:46 ---> Running in 76bcc1fb0515 06:17:46 Removing intermediate container 76bcc1fb0515 06:17:46 ---> 68526945361d 06:17:46 Step 6/7 : COPY go.mod . 06:17:46 ---> 0cf5b21a68c8 06:17:46 Step 7/7 : RUN go mod download 06:17:46 ---> Running in ce8fe6307f3d 06:17:59 Removing intermediate container ce8fe6307f3d 06:17:59 ---> 0361bf04c03c 06:17:59 Successfully built 0361bf04c03c 06:17:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:17:59 + docker inspect -f . ci-base-image-x86_64 06:17:59 . [Pipeline] withDockerContainer 06:17:59 prd-centos7-docker-4c-2g-18112 does not seem to be running inside a container 06:17:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:18:00 $ docker top 721a7dfa7f8b59f64589645c4fb1819f02c87c214cf49a2072ccae75f0f45181 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:00 + go version 06:18:00 go version go1.15.5 linux/amd64 [Pipeline] } 06:18:00 $ docker stop --time=1 721a7dfa7f8b59f64589645c4fb1819f02c87c214cf49a2072ccae75f0f45181 06:18:02 $ docker rm -f 721a7dfa7f8b59f64589645c4fb1819f02c87c214cf49a2072ccae75f0f45181 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:18:03 + docker inspect -f . ci-base-image-x86_64 06:18:03 . [Pipeline] withDockerContainer 06:18:03 prd-centos7-docker-4c-2g-18112 does not seem to be running inside a container 06:18:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:18:04 $ docker top a2eff8a7c1d6699fa83d7b470163791754b60d24429067cd491b3d8b4c12b9e4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:04 + make test 06:18:04 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:18:11 ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] 06:18:11 ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] 06:18:11 # github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault [github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault.test] 06:18:11 pkg/providers/vault/client_test.go:330:17: undefined: logger.NewClientStdOut 06:18:11 pkg/providers/vault/client_test.go:526:17: undefined: logger.NewClientStdOut 06:18:21 ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.017s coverage: 96.7% of statements 06:18:21 FAIL github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault [build failed] 06:18:21 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.012s coverage: 89.5% of statements 06:18:21 ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] 06:18:21 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.035s coverage: 100.0% of statements 06:18:21 ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] 06:18:21 ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.005s coverage: 87.5% of statements 06:18:28 ok github.com/edgexfoundry/go-mod-secrets/secrets 15.030s coverage: 93.3% of statements 06:18:28 ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] 06:18:28 FAIL 06:18:28 make: *** [Makefile:12: test] Error 2 [Pipeline] } 06:18:28 $ docker stop --time=1 a2eff8a7c1d6699fa83d7b470163791754b60d24429067cd491b3d8b4c12b9e4 06:18:30 $ docker rm -f a2eff8a7c1d6699fa83d7b470163791754b60d24429067cd491b3d8b4c12b9e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:18:33 Failed in branch amd64 06:19:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18116 in /w/workspace/dgexfoundry_go-mod-secrets_PR-75 [Pipeline] { [Pipeline] ws 06:19:06 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 06:19:11 using credential edgex-jenkins-ssh 06:19:11 Cloning the remote Git repository 06:19:12 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 06:19:12 > git init /w/workspace/go-mod-secrets/1 # timeout=10 06:19:12 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:19:12 > git --version # timeout=10 06:19:12 > git --version # 'git version 2.17.1' 06:19:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:13 Merging remotes/origin/master commit 16de5b488733f447078f81771069bd4e8e31fe78 into PR head commit 3040da731406479c9f8a832698285b376c467664 06:19:13 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:19:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:13 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:19:13 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:19:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:19:13 > git config core.sparsecheckout # timeout=10 06:19:13 > git checkout -f 3040da731406479c9f8a832698285b376c467664 # timeout=10 06:19:13 > git remote # timeout=10 06:19:13 > git config --get remote.origin.url # timeout=10 06:19:14 Merge succeeded, producing 3040da731406479c9f8a832698285b376c467664 06:19:14 Checking out Revision 3040da731406479c9f8a832698285b376c467664 (PR-75) 06:19:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:14 > git merge 16de5b488733f447078f81771069bd4e8e31fe78 # timeout=10 06:19:14 > git rev-parse HEAD^{commit} # timeout=10 06:19:14 > git config core.sparsecheckout # timeout=10 06:19:14 > git checkout -f 3040da731406479c9f8a832698285b376c467664 # timeout=10 06:19:18 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:19:18 > git --version # timeout=10 06:19:18 > git --version # 'git version 2.17.1' 06:19:18 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:19:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:19:21 + true 06:19:21 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 06:19:24 ========================================================= 06:19:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:19:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:19:24 + 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 . 06:19:25 Sending build context to Docker daemon 434.2kB 06:19:25 Step 1/7 : ARG BASE=golang:1.15-alpine 06:19:25 Step 2/7 : FROM ${BASE} 06:19:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:19:26 5f621e34cdf4: Pulling fs layer 06:19:26 a4357932f1b6: Pulling fs layer 06:19:26 18c013af1878: Pulling fs layer 06:19:26 00ac8860ef70: Pulling fs layer 06:19:26 63d7cb157983: Pulling fs layer 06:19:26 b116817d02f9: Pulling fs layer 06:19:26 745a02a5169b: Pulling fs layer 06:19:26 63d7cb157983: Waiting 06:19:26 b116817d02f9: Waiting 06:19:26 745a02a5169b: Waiting 06:19:26 00ac8860ef70: Waiting 06:19:26 18c013af1878: Verifying Checksum 06:19:26 18c013af1878: Download complete 06:19:26 a4357932f1b6: Verifying Checksum 06:19:26 a4357932f1b6: Download complete 06:19:26 63d7cb157983: Download complete 06:19:26 b116817d02f9: Download complete 06:19:26 5f621e34cdf4: Download complete 06:19:26 5f621e34cdf4: Pull complete 06:19:27 a4357932f1b6: Pull complete 06:19:27 18c013af1878: Pull complete 06:19:28 745a02a5169b: Verifying Checksum 06:19:28 745a02a5169b: Download complete 06:19:29 00ac8860ef70: Verifying Checksum 06:19:29 00ac8860ef70: Download complete 06:19:39 00ac8860ef70: Pull complete 06:19:39 63d7cb157983: Pull complete 06:19:40 b116817d02f9: Pull complete 06:19:43 745a02a5169b: Pull complete 06:19:43 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:19:43 ---> b7e6874047d6 06:19:43 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:19:46 ---> Running in b38dd74b730f 06:19:47 Removing intermediate container b38dd74b730f 06:19:47 ---> cc1694cf9b96 06:19:47 Step 4/7 : RUN apk add --update bash 06:19:47 ---> Running in b611fde3f047 06:19:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:19:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:19:51 OK: 142 MiB in 39 packages 06:19:52 Removing intermediate container b611fde3f047 06:19:52 ---> 4599f71e0a7a 06:19:52 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:19:52 ---> Running in e547a403d4c1 06:19:52 Removing intermediate container e547a403d4c1 06:19:52 ---> b0157c596e7b 06:19:52 Step 6/7 : COPY go.mod . 06:19:53 ---> 236cd7fa2722 06:19:53 Step 7/7 : RUN go mod download 06:19:53 ---> Running in 80057f819567 06:20:08 Removing intermediate container 80057f819567 06:20:08 ---> 9f2b985fcdec 06:20:08 Successfully built 9f2b985fcdec 06:20:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:20:09 + docker inspect -f . ci-base-image-arm64 06:20:09 . [Pipeline] withDockerContainer 06:20:09 prd-ubuntu18.04-docker-arm64-4c-16g-18116 does not seem to be running inside a container 06:20:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:20:11 $ docker top 20e65d9395b680a3e8849701ecb4ef6c89d7643665b2ff2b2a455bc091370b42 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:12 + go version 06:20:12 go version go1.15.5 linux/arm64 [Pipeline] } 06:20:12 $ docker stop --time=1 20e65d9395b680a3e8849701ecb4ef6c89d7643665b2ff2b2a455bc091370b42 06:20:14 $ docker rm -f 20e65d9395b680a3e8849701ecb4ef6c89d7643665b2ff2b2a455bc091370b42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:15 + docker inspect -f . ci-base-image-arm64 06:20:15 . [Pipeline] withDockerContainer 06:20:15 prd-ubuntu18.04-docker-arm64-4c-16g-18116 does not seem to be running inside a container 06:20:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:20:17 $ docker top 26e8437f3baaf238d4f342a5a4d8978001e1c7d8133f398314be60e2af704b12 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:18 + make test 06:20:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:20:40 ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] 06:20:40 ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] 06:20:40 # github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault [github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault.test] 06:20:40 pkg/providers/vault/client_test.go:330:17: undefined: logger.NewClientStdOut 06:20:40 pkg/providers/vault/client_test.go:526:17: undefined: logger.NewClientStdOut 06:20:51 ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.020s coverage: 96.7% of statements 06:20:51 FAIL github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault [build failed] 06:20:51 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.023s coverage: 89.5% of statements 06:20:51 ? github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks [no test files] 06:20:51 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.024s coverage: 100.0% of statements 06:20:51 ? github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks [no test files] 06:20:51 ok github.com/edgexfoundry/go-mod-secrets/pkg/types 0.034s coverage: 87.5% of statements 06:20:59 ok github.com/edgexfoundry/go-mod-secrets/secrets 15.024s coverage: 93.3% of statements 06:20:59 ? github.com/edgexfoundry/go-mod-secrets/secrets/mocks [no test files] 06:20:59 FAIL 06:20:59 make: *** [Makefile:12: test] Error 2 [Pipeline] } 06:20:59 $ docker stop --time=1 26e8437f3baaf238d4f342a5a4d8978001e1c7d8133f398314be60e2af704b12 06:21:01 $ docker rm -f 26e8437f3baaf238d4f342a5a4d8978001e1c7d8133f398314be60e2af704b12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:21:04 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:21:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:09 ---> package-listing.sh 06:21:09 ++ tr '[:upper:]' '[:lower:]' 06:21:09 ++ facter osfamily 06:21:09 + OS_FAMILY=redhat 06:21:09 + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-75 06:21:09 + START_PACKAGES=/tmp/packages_start.txt 06:21:09 + END_PACKAGES=/tmp/packages_end.txt 06:21:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:09 + PACKAGES=/tmp/packages_start.txt 06:21:09 + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-75 ']' 06:21:09 + PACKAGES=/tmp/packages_end.txt 06:21:09 + case "${OS_FAMILY}" in 06:21:09 + rpm -qa 06:21:09 + sort 06:21:14 + '[' -f /tmp/packages_start.txt ']' 06:21:14 + '[' -f /tmp/packages_end.txt ']' 06:21:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:14 + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-75 ']' 06:21:14 + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-75/archives/ 06:21:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-75/archives/ [Pipeline] echo 06:21:14 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-75/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:15 06:21:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:21:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:15 alpine: Pulling from edgex-lftools-log-publisher 06:21:15 df20fa9351a1: Pulling fs layer 06:21:15 36b3adc4ff6f: Pulling fs layer 06:21:15 8ad3a11d3b57: Pulling fs layer 06:21:15 46f8f816bc3b: Pulling fs layer 06:21:15 93b61091891f: Pulling fs layer 06:21:15 93b9cdb0e59b: Pulling fs layer 06:21:15 5e14af77c1be: Pulling fs layer 06:21:15 01666e4c0597: Pulling fs layer 06:21:15 aa168da1d23b: Pulling fs layer 06:21:15 46f8f816bc3b: Waiting 06:21:15 93b61091891f: Waiting 06:21:15 93b9cdb0e59b: Waiting 06:21:15 5e14af77c1be: Waiting 06:21:15 01666e4c0597: Waiting 06:21:15 aa168da1d23b: Waiting 06:21:15 36b3adc4ff6f: Verifying Checksum 06:21:15 36b3adc4ff6f: Download complete 06:21:15 46f8f816bc3b: Verifying Checksum 06:21:15 46f8f816bc3b: Download complete 06:21:15 df20fa9351a1: Download complete 06:21:15 93b9cdb0e59b: Verifying Checksum 06:21:15 93b9cdb0e59b: Download complete 06:21:15 5e14af77c1be: Download complete 06:21:15 01666e4c0597: Verifying Checksum 06:21:15 01666e4c0597: Download complete 06:21:15 93b61091891f: Verifying Checksum 06:21:15 93b61091891f: Download complete 06:21:15 8ad3a11d3b57: Verifying Checksum 06:21:15 8ad3a11d3b57: Download complete 06:21:16 df20fa9351a1: Pull complete 06:21:16 36b3adc4ff6f: Pull complete 06:21:17 8ad3a11d3b57: Pull complete 06:21:17 46f8f816bc3b: Pull complete 06:21:17 aa168da1d23b: Verifying Checksum 06:21:17 aa168da1d23b: Download complete 06:21:17 93b61091891f: Pull complete 06:21:18 93b9cdb0e59b: Pull complete 06:21:18 5e14af77c1be: Pull complete 06:21:18 01666e4c0597: Pull complete 06:21:25 aa168da1d23b: Pull complete 06:21:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:21:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:21:25 prd-centos7-docker-4c-2g-18108 does not seem to be running inside a container 06:21:25 $ 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-75/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-75 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-75:/w/workspace/dgexfoundry_go-mod-secrets_PR-75:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:21:28 $ docker top 11f942499db61901804d10ea5f8475a9afbcdc00095261477b42dd33e8cb38b3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:29 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:29 + mkdir -p /var/log/sa [Pipeline] sh 06:21:29 + ls /var/log/sa-host 06:21:29 + sadf -c /var/log/sa-host/sa04 06:21:29 file_magic: OK 06:21:29 HZ: Using current value: 100 06:21:29 file_header: OK 06:21:29 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 06:21:29 Statistics: 06:21:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:21:29 File successfully converted to sysstat format version 12.2.1 06:21:29 + sadf -c /var/log/sa-host/sa23 06:21:29 file_magic: OK 06:21:29 HZ: Using current value: 100 06:21:29 file_header: OK 06:21:29 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 06:21:29 Statistics: 06:21:29 Hnuu...uuuununununu... 06:21:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:30 provisioning config files... 06:21:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-75@tmp/config2901937706396838445tmp [Pipeline] { [Pipeline] echo 06:21:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:30 ---> create-netrc.sh [Pipeline] } 06:21:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:21:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:21:31 ---> python-tools-install.sh [Pipeline] echo 06:21:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:31 ---> sudo-logs.sh 06:21:31 Archiving 'sudo' log.. [Pipeline] echo 06:21:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:31 ---> job-cost.sh 06:21:31 lf-activate-venv: SKIPPING 06:21:31 INFO: No Stack... 06:21:32 INFO: Retrieving Pricing Info for: v1-standard-2 06:21:34 INFO: Archiving Costs [Pipeline] echo 06:21:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:35 ---> logs-deploy.sh 06:21:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-75/1 06:21:35 INFO: archiving workspace using pattern(s): 06:21:37 Archives upload complete. 06:21:37 INFO: archiving logs to Nexus