Pull request #72 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 jpwhitemn for edgexfoundry/go-mod-registry Obtained Jenkinsfile from 1415696950836d719a6f2a1603a66a04889cb03a+a51ca483c546cdc96e7bb715e831074902700d21 (ed1514e91a5ff6c32435b762deefbc5fbda8af86) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-registry/branches/PR-72/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-registry/branches/PR-72/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-registry, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-registry-settings PROJECT: go-mod-registry USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-registry DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3268 in /w/workspace/gexfoundry_go-mod-registry_PR-72 [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-registry.git > git init /w/workspace/gexfoundry_go-mod-registry_PR-72 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.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-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.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-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/72/head:refs/remotes/origin/PR-72 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a51ca483c546cdc96e7bb715e831074902700d21 into PR head commit 1415696950836d719a6f2a1603a66a04889cb03a Merge succeeded, producing 1415696950836d719a6f2a1603a66a04889cb03a Checking out Revision 1415696950836d719a6f2a1603a66a04889cb03a (PR-72) > git config core.sparsecheckout # timeout=10 > git checkout -f 1415696950836d719a6f2a1603a66a04889cb03a # 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 a51ca483c546cdc96e7bb715e831074902700d21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1415696950836d719a6f2a1603a66a04889cb03a # timeout=10 Commit message: "build: upgrade Go lang to 1.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T19:19:09.752Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T19:19:09.966Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T19:19:10.077Z] ========================================================= [2021-05-06T19:19:10.077Z] EdgeX Global Pipelines Version Info [2021-05-06T19:19:10.077Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:19:11.703Z] ------------------- [2021-05-06T19:19:11.703Z] stable info: [2021-05-06T19:19:11.703Z] ------------------- [2021-05-06T19:19:11.703Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T19:19:11.703Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T19:19:11.703Z] Message: update stable to v1.0.191 [2021-05-06T19:19:12.645Z] ------------------- [2021-05-06T19:19:12.645Z] experimental info: [2021-05-06T19:19:12.645Z] ------------------- [2021-05-06T19:19:12.645Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T19:19:12.645Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T19:19:12.645Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T19:19:12.879Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-05-06T19:19:12.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-05-06T19:19:13.016Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T19:19:13.082Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T19:19:13.158Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T19:19:13.217Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T19:19:13.279Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T19:19:13.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T19:19:13.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-06T19:19:13.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T19:19:13.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T19:19:13.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo [2021-05-06T19:19:13.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T19:19:13.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T19:19:13.735Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T19:19:13.793Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T19:19:13.855Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T19:19:13.910Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T19:19:13.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T19:19:14.050Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T19:19:14.106Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-06T19:19:14.162Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-06T19:19:14.220Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T19:19:14.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T19:19:14.333Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-06T19:19:14.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T19:19:14.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-72 [Pipeline] echo [2021-05-06T19:19:14.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-72 [Pipeline] echo [2021-05-06T19:19:14.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-72 [Pipeline] echo [2021-05-06T19:19:14.635Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1415696950836d719a6f2a1603a66a04889cb03a [Pipeline] echo [2021-05-06T19:19:14.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1415696 [Pipeline] echo [2021-05-06T19:19:14.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T19:19:15.390Z] + git log --format=format:%s -1 1415696950836d719a6f2a1603a66a04889cb03a [Pipeline] echo [2021-05-06T19:19:15.482Z] GIT_COMMIT: 1415696950836d719a6f2a1603a66a04889cb03a, Commit Message: build: upgrade Go lang to 1.16 [Pipeline] echo [2021-05-06T19:19:15.522Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:19:16.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T19:19:17.136Z] [2021-05-06T19:19:17.136Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:19:17.494Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T19:19:17.494Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T19:19:17.494Z] 31603596830f: Pulling fs layer [2021-05-06T19:19:17.494Z] 54011a49482f: Pulling fs layer [2021-05-06T19:19:17.494Z] a6820b24f6d8: Pulling fs layer [2021-05-06T19:19:17.494Z] f581987b2513: Pulling fs layer [2021-05-06T19:19:17.494Z] f581987b2513: Waiting [2021-05-06T19:19:17.494Z] 54011a49482f: Verifying Checksum [2021-05-06T19:19:17.494Z] 54011a49482f: Download complete [2021-05-06T19:19:17.756Z] 31603596830f: Verifying Checksum [2021-05-06T19:19:17.756Z] 31603596830f: Download complete [2021-05-06T19:19:17.756Z] f581987b2513: Verifying Checksum [2021-05-06T19:19:17.756Z] f581987b2513: Download complete [2021-05-06T19:19:17.756Z] a6820b24f6d8: Verifying Checksum [2021-05-06T19:19:17.756Z] a6820b24f6d8: Download complete [2021-05-06T19:19:18.018Z] 31603596830f: Pull complete [2021-05-06T19:19:18.018Z] 54011a49482f: Pull complete [2021-05-06T19:19:18.973Z] a6820b24f6d8: Pull complete [2021-05-06T19:19:18.973Z] f581987b2513: Pull complete [2021-05-06T19:19:18.973Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T19:19:18.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T19:19:18.973Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T19:19:19.090Z] prd-centos7-docker-4c-2g-3268 does not seem to be running inside a container [2021-05-06T19:19:19.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-72 -v /w/workspace/gexfoundry_go-mod-registry_PR-72:/w/workspace/gexfoundry_go-mod-registry_PR-72:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-72@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-72@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T19:19:21.037Z] $ docker top 83d91ad8bb70a74bbb18e5604924aeb71dfc03feb712a5580fd8de43d2695073 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T19:19:21.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T19:19:21.297Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T19:19:21.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T19:19:21.510Z] $ docker exec 83d91ad8bb70a74bbb18e5604924aeb71dfc03feb712a5580fd8de43d2695073 ssh-agent [2021-05-06T19:19:21.672Z] SSH_AUTH_SOCK=/tmp/ssh-qqNH0bHx0ujS/agent.12 [2021-05-06T19:19:21.672Z] SSH_AGENT_PID=17 [2021-05-06T19:19:21.680Z] Running ssh-add (command line suppressed) [2021-05-06T19:19:21.798Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-72@tmp/private_key_6908268681975365576.key (/w/workspace/gexfoundry_go-mod-registry_PR-72@tmp/private_key_6908268681975365576.key) [2021-05-06T19:19:21.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T19:19:22.212Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T19:19:22.245Z] $ docker exec --env ******** --env ******** 83d91ad8bb70a74bbb18e5604924aeb71dfc03feb712a5580fd8de43d2695073 ssh-agent -k [2021-05-06T19:19:22.365Z] unset SSH_AUTH_SOCK; [2021-05-06T19:19:22.365Z] unset SSH_AGENT_PID; [2021-05-06T19:19:22.365Z] echo Agent pid 17 killed; [2021-05-06T19:19:22.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T19:19:22.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T19:19:22.498Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T19:19:22.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T19:19:22.670Z] $ docker exec 83d91ad8bb70a74bbb18e5604924aeb71dfc03feb712a5580fd8de43d2695073 ssh-agent [2021-05-06T19:19:22.828Z] SSH_AUTH_SOCK=/tmp/ssh-0OQTXxhR3KJg/agent.46 [2021-05-06T19:19:22.828Z] SSH_AGENT_PID=51 [2021-05-06T19:19:22.834Z] Running ssh-add (command line suppressed) [2021-05-06T19:19:22.956Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-72@tmp/private_key_5610706547099167973.key (/w/workspace/gexfoundry_go-mod-registry_PR-72@tmp/private_key_5610706547099167973.key) [2021-05-06T19:19:23.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T19:19:23.348Z] + git semver init [2021-05-06T19:19:23.348Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T19:19:23.348Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-72/.git [2021-05-06T19:19:23.348Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-72 [2021-05-06T19:19:23.348Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T19:19:23.348Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T19:19:23.348Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T19:19:23.348Z] # $SEMVER_BRANCH = PR-72 [2021-05-06T19:19:23.348Z] # $SEMVER_TEMP = /tmp/semver-928933391 [2021-05-06T19:19:23.348Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-05-06T19:19:23.609Z] # '/tmp/semver-928933391' -> '/w/workspace/gexfoundry_go-mod-registry_PR-72/.semver' [2021-05-06T19:19:23.609Z] # -> Force: false [2021-05-06T19:19:23.609Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-72/.semver [Pipeline] } [2021-05-06T19:19:23.629Z] $ docker exec --env ******** --env ******** 83d91ad8bb70a74bbb18e5604924aeb71dfc03feb712a5580fd8de43d2695073 ssh-agent -k [2021-05-06T19:19:23.743Z] unset SSH_AUTH_SOCK; [2021-05-06T19:19:23.743Z] unset SSH_AGENT_PID; [2021-05-06T19:19:23.743Z] echo Agent pid 51 killed; [2021-05-06T19:19:23.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T19:19:24.239Z] + git semver [Pipeline] } [2021-05-06T19:19:24.275Z] $ docker stop --time=1 83d91ad8bb70a74bbb18e5604924aeb71dfc03feb712a5580fd8de43d2695073 [2021-05-06T19:19:25.832Z] $ docker rm -f 83d91ad8bb70a74bbb18e5604924aeb71dfc03feb712a5580fd8de43d2695073 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T19:19:26.369Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T19:19:26.734Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T19:19:26.758Z] [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-05-06T19:19:42.300Z] Still waiting to schedule task [2021-05-06T19:19:42.300Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-06T19:19:42.329Z] Still waiting to schedule task [2021-05-06T19:19:42.329Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-06T19:22:33.691Z] Running on prd-centos7-docker-4c-2g-3269 in /w/workspace/gexfoundry_go-mod-registry_PR-72 [Pipeline] { [Pipeline] ws [2021-05-06T19:22:33.757Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-05-06T19:22:36.717Z] using credential edgex-jenkins-ssh [2021-05-06T19:22:36.730Z] Cloning the remote Git repository [2021-05-06T19:22:36.755Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-05-06T19:22:36.828Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-05-06T19:22:36.887Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-06T19:22:36.888Z] > git --version # timeout=10 [2021-05-06T19:22:36.893Z] > git --version # 'git version 2.24.3' [2021-05-06T19:22:36.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:22:36.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T19:22:37.962Z] Merging remotes/origin/master commit a51ca483c546cdc96e7bb715e831074902700d21 into PR head commit 1415696950836d719a6f2a1603a66a04889cb03a [2021-05-06T19:22:38.041Z] Merge succeeded, producing 1415696950836d719a6f2a1603a66a04889cb03a [2021-05-06T19:22:38.042Z] Checking out Revision 1415696950836d719a6f2a1603a66a04889cb03a (PR-72) [2021-05-06T19:22:37.475Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-06T19:22:37.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T19:22:37.500Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-06T19:22:37.514Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-06T19:22:37.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:22:37.521Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/72/head:refs/remotes/origin/PR-72 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T19:22:37.971Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T19:22:37.979Z] > git checkout -f 1415696950836d719a6f2a1603a66a04889cb03a # timeout=10 [2021-05-06T19:22:38.012Z] > git remote # timeout=10 [2021-05-06T19:22:38.017Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T19:22:38.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:22:38.025Z] > git merge a51ca483c546cdc96e7bb715e831074902700d21 # timeout=10 [2021-05-06T19:22:38.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T19:22:38.046Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T19:22:38.053Z] > git checkout -f 1415696950836d719a6f2a1603a66a04889cb03a # timeout=10 [2021-05-06T19:22:41.640Z] Commit message: "build: upgrade Go lang to 1.16" [2021-05-06T19:22:41.670Z] > git --version # timeout=10 [2021-05-06T19:22:41.674Z] > git --version # 'git version 2.24.3' [2021-05-06T19:22:41.680Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T19:22:43.291Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T19:22:43.654Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T19:22:43.979Z] + true [2021-05-06T19:22:43.979Z] + sudo service docker restart [2021-05-06T19:22:43.979Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-06T19:22:45.565Z] ========================================================= [2021-05-06T19:22:45.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T19:22:45.565Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:22:45.918Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T19:22:46.495Z] Sending build context to Docker daemon 311.3kB [2021-05-06T19:22:46.495Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-05-06T19:22:46.495Z] Step 2/7 : FROM ${BASE} [2021-05-06T19:22:46.495Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T19:22:46.495Z] 540db60ca938: Pulling fs layer [2021-05-06T19:22:46.495Z] adcc1eea9eea: Pulling fs layer [2021-05-06T19:22:46.495Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T19:22:46.495Z] 0510c868ecb4: Pulling fs layer [2021-05-06T19:22:46.495Z] afea3b2eda06: Pulling fs layer [2021-05-06T19:22:46.495Z] 7809a108b3ef: Pulling fs layer [2021-05-06T19:22:46.495Z] f706445af74f: Pulling fs layer [2021-05-06T19:22:46.495Z] afea3b2eda06: Waiting [2021-05-06T19:22:46.495Z] 7809a108b3ef: Waiting [2021-05-06T19:22:46.495Z] 0510c868ecb4: Waiting [2021-05-06T19:22:46.495Z] f706445af74f: Waiting [2021-05-06T19:22:46.495Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T19:22:46.495Z] 4c4ab2625f07: Download complete [2021-05-06T19:22:46.495Z] adcc1eea9eea: Verifying Checksum [2021-05-06T19:22:46.495Z] adcc1eea9eea: Download complete [2021-05-06T19:22:46.495Z] afea3b2eda06: Verifying Checksum [2021-05-06T19:22:46.495Z] afea3b2eda06: Download complete [2021-05-06T19:22:46.495Z] 7809a108b3ef: Verifying Checksum [2021-05-06T19:22:46.495Z] 7809a108b3ef: Download complete [2021-05-06T19:22:46.495Z] 540db60ca938: Verifying Checksum [2021-05-06T19:22:46.495Z] 540db60ca938: Download complete [2021-05-06T19:22:46.759Z] 540db60ca938: Pull complete [2021-05-06T19:22:47.023Z] adcc1eea9eea: Pull complete [2021-05-06T19:22:47.285Z] 4c4ab2625f07: Pull complete [2021-05-06T19:22:48.682Z] f706445af74f: Verifying Checksum [2021-05-06T19:22:48.682Z] f706445af74f: Download complete [2021-05-06T19:22:49.648Z] 0510c868ecb4: Verifying Checksum [2021-05-06T19:22:49.648Z] 0510c868ecb4: Download complete [2021-05-06T19:22:56.268Z] 0510c868ecb4: Pull complete [2021-05-06T19:22:56.268Z] afea3b2eda06: Pull complete [2021-05-06T19:22:56.268Z] 7809a108b3ef: Pull complete [2021-05-06T19:22:58.843Z] f706445af74f: Pull complete [2021-05-06T19:22:58.843Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T19:22:58.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T19:22:58.843Z] ---> b068be0155e3 [2021-05-06T19:22:58.843Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T19:23:00.775Z] ---> Running in 8bf05424893d [2021-05-06T19:23:01.043Z] Removing intermediate container 8bf05424893d [2021-05-06T19:23:01.043Z] ---> eec7e677d85f [2021-05-06T19:23:01.043Z] Step 4/7 : RUN apk add --update bash [2021-05-06T19:23:01.043Z] ---> Running in 366f01159d8c [2021-05-06T19:23:02.447Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T19:23:03.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T19:23:03.664Z] OK: 149 MiB in 40 packages [2021-05-06T19:23:04.239Z] Removing intermediate container 366f01159d8c [2021-05-06T19:23:04.240Z] ---> 8983d30086fa [2021-05-06T19:23:04.240Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-05-06T19:23:04.504Z] ---> Running in dc6dfe2e53ab [2021-05-06T19:23:04.504Z] Removing intermediate container dc6dfe2e53ab [2021-05-06T19:23:04.504Z] ---> 2f0c13078665 [2021-05-06T19:23:04.504Z] Step 6/7 : COPY go.mod . [2021-05-06T19:23:04.768Z] ---> 1492392a5677 [2021-05-06T19:23:04.768Z] Step 7/7 : RUN go mod download [2021-05-06T19:23:04.768Z] ---> Running in 280e685bc670 [2021-05-06T19:23:17.048Z] Removing intermediate container 280e685bc670 [2021-05-06T19:23:17.048Z] ---> 73aa0d4f28be [2021-05-06T19:23:17.048Z] Successfully built 73aa0d4f28be [2021-05-06T19:23:17.048Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:23:17.409Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T19:23:17.410Z] . [Pipeline] withDockerContainer [2021-05-06T19:23:17.549Z] prd-centos7-docker-4c-2g-3269 does not seem to be running inside a container [2021-05-06T19:23:17.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-x86_64 cat [2021-05-06T19:23:18.281Z] $ docker top d74a0f943f0c4c223f686daf254ba31f3a89e742011cdb3c322e64532c00f4c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:23:18.739Z] + go version [2021-05-06T19:23:18.739Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T19:23:18.771Z] $ docker stop --time=1 d74a0f943f0c4c223f686daf254ba31f3a89e742011cdb3c322e64532c00f4c0 [2021-05-06T19:23:20.198Z] $ docker rm -f d74a0f943f0c4c223f686daf254ba31f3a89e742011cdb3c322e64532c00f4c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:23:20.964Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T19:23:20.964Z] . [Pipeline] withDockerContainer [2021-05-06T19:23:21.075Z] prd-centos7-docker-4c-2g-3269 does not seem to be running inside a container [2021-05-06T19:23:21.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-x86_64 cat [2021-05-06T19:23:21.936Z] $ docker top ceacffc6f5295b7d875d2ed9a85c28073dda5e9e1522d81e7c09e5524c103e10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:23:22.393Z] + go mod tidy [Pipeline] sh [2021-05-06T19:23:23.018Z] + make test [2021-05-06T19:23:23.018Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T19:23:26.233Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3270 in /w/workspace/gexfoundry_go-mod-registry_PR-72 [Pipeline] { [Pipeline] ws [2021-05-06T19:23:26.296Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-05-06T19:23:32.193Z] using credential edgex-jenkins-ssh [2021-05-06T19:23:32.211Z] Cloning the remote Git repository [2021-05-06T19:23:32.261Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-05-06T19:23:32.367Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-05-06T19:23:32.451Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-06T19:23:32.452Z] > git --version # timeout=10 [2021-05-06T19:23:32.473Z] > git --version # 'git version 2.17.1' [2021-05-06T19:23:32.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:23:32.540Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T19:23:33.847Z] Merging remotes/origin/master commit a51ca483c546cdc96e7bb715e831074902700d21 into PR head commit 1415696950836d719a6f2a1603a66a04889cb03a [2021-05-06T19:23:34.033Z] Merge succeeded, producing 1415696950836d719a6f2a1603a66a04889cb03a [2021-05-06T19:23:34.033Z] Checking out Revision 1415696950836d719a6f2a1603a66a04889cb03a (PR-72) [2021-05-06T19:23:33.236Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-06T19:23:33.253Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T19:23:33.274Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-06T19:23:33.308Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-06T19:23:33.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:23:33.320Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/72/head:refs/remotes/origin/PR-72 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T19:23:33.863Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T19:23:33.879Z] > git checkout -f 1415696950836d719a6f2a1603a66a04889cb03a # timeout=10 [2021-05-06T19:23:33.956Z] > git remote # timeout=10 [2021-05-06T19:23:33.972Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T19:23:33.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T19:23:33.994Z] > git merge a51ca483c546cdc96e7bb715e831074902700d21 # timeout=10 [2021-05-06T19:23:34.016Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T19:23:34.037Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T19:23:34.055Z] > git checkout -f 1415696950836d719a6f2a1603a66a04889cb03a # timeout=10 [2021-05-06T19:23:35.598Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.032s coverage: 88.8% of statements [2021-05-06T19:23:35.598Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-05-06T19:23:35.598Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.008s coverage: 85.7% of statements [2021-05-06T19:23:35.598Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-06T19:23:38.210Z] Commit message: "build: upgrade Go lang to 1.16" [2021-05-06T19:23:38.268Z] > git --version # timeout=10 [2021-05-06T19:23:38.282Z] > git --version # 'git version 2.17.1' [2021-05-06T19:23:38.311Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T19:23:40.022Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T19:23:40.451Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T19:23:40.814Z] + + truesudo [2021-05-06T19:23:40.814Z] service docker restart [2021-05-06T19:23:40.967Z] gofmt -l . [2021-05-06T19:23:41.234Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-06T19:23:41.267Z] $ docker stop --time=1 ceacffc6f5295b7d875d2ed9a85c28073dda5e9e1522d81e7c09e5524c103e10 [2021-05-06T19:23:43.460Z] $ docker rm -f ceacffc6f5295b7d875d2ed9a85c28073dda5e9e1522d81e7c09e5524c103e10 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] unstash [2021-05-06T19:23:44.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-05-06T19:23:44.129Z] ========================================================= [2021-05-06T19:23:44.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T19:23:44.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:23:44.355Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-05-06T19:23:44.554Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:23:45.550Z] Sending build context to Docker daemon 310.3kB [2021-05-06T19:23:45.550Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-05-06T19:23:45.550Z] Step 2/7 : FROM ${BASE} [2021-05-06T19:23:45.555Z] ---> job-cost.sh [2021-05-06T19:23:45.555Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0hZt [2021-05-06T19:23:45.825Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T19:23:45.825Z] 595b0fe564bb: Pulling fs layer [2021-05-06T19:23:45.825Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T19:23:45.825Z] 316046926c0a: Pulling fs layer [2021-05-06T19:23:45.825Z] 4ebd0625c992: Pulling fs layer [2021-05-06T19:23:45.825Z] 207e8628e3a3: Pulling fs layer [2021-05-06T19:23:45.825Z] c791037a9be2: Pulling fs layer [2021-05-06T19:23:45.825Z] ffd874e62e21: Pulling fs layer [2021-05-06T19:23:45.825Z] 4ebd0625c992: Waiting [2021-05-06T19:23:45.825Z] 207e8628e3a3: Waiting [2021-05-06T19:23:45.825Z] c791037a9be2: Waiting [2021-05-06T19:23:45.825Z] ffd874e62e21: Waiting [2021-05-06T19:23:45.825Z] 316046926c0a: Verifying Checksum [2021-05-06T19:23:45.825Z] 316046926c0a: Download complete [2021-05-06T19:23:45.825Z] 7186ed65a4f7: Download complete [2021-05-06T19:23:45.825Z] 207e8628e3a3: Verifying Checksum [2021-05-06T19:23:45.825Z] 207e8628e3a3: Download complete [2021-05-06T19:23:45.825Z] c791037a9be2: Verifying Checksum [2021-05-06T19:23:45.825Z] c791037a9be2: Download complete [2021-05-06T19:23:45.825Z] 595b0fe564bb: Verifying Checksum [2021-05-06T19:23:45.825Z] 595b0fe564bb: Download complete [2021-05-06T19:23:46.812Z] 595b0fe564bb: Pull complete [2021-05-06T19:23:47.090Z] 7186ed65a4f7: Pull complete [2021-05-06T19:23:47.369Z] 316046926c0a: Pull complete [2021-05-06T19:23:47.985Z] ffd874e62e21: Verifying Checksum [2021-05-06T19:23:47.985Z] ffd874e62e21: Download complete [2021-05-06T19:23:49.429Z] 4ebd0625c992: Verifying Checksum [2021-05-06T19:23:49.429Z] 4ebd0625c992: Download complete [2021-05-06T19:23:59.616Z] 4ebd0625c992: Pull complete [2021-05-06T19:23:59.616Z] 207e8628e3a3: Pull complete [2021-05-06T19:23:59.891Z] c791037a9be2: Pull complete [2021-05-06T19:24:00.499Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T19:24:04.206Z] ffd874e62e21: Pull complete [2021-05-06T19:24:04.206Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T19:24:04.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T19:24:04.206Z] ---> cfc18b08335c [2021-05-06T19:24:04.206Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T19:24:06.836Z] ---> Running in 4103baeb025c [2021-05-06T19:24:06.836Z] Removing intermediate container 4103baeb025c [2021-05-06T19:24:06.836Z] ---> a0557c81dba7 [2021-05-06T19:24:06.836Z] Step 4/7 : RUN apk add --update bash [2021-05-06T19:24:07.108Z] ---> Running in 175aff7b580a [2021-05-06T19:24:08.102Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T19:24:09.531Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T19:24:11.503Z] OK: 138 MiB in 40 packages [2021-05-06T19:24:12.485Z] Removing intermediate container 175aff7b580a [2021-05-06T19:24:12.485Z] ---> b61b255661e8 [2021-05-06T19:24:12.485Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-05-06T19:24:12.485Z] ---> Running in 9b2c6fbe509f [2021-05-06T19:24:13.082Z] Removing intermediate container 9b2c6fbe509f [2021-05-06T19:24:13.082Z] ---> 9128641e2636 [2021-05-06T19:24:13.082Z] Step 6/7 : COPY go.mod . [2021-05-06T19:24:13.678Z] ---> 78787255c25a [2021-05-06T19:24:13.678Z] Step 7/7 : RUN go mod download [2021-05-06T19:24:13.978Z] ---> Running in 31327c267dab [2021-05-06T19:24:27.224Z] lf-activate-venv(): INFO: Adding /tmp/venv-0hZt/bin to PATH [2021-05-06T19:24:27.224Z] INFO: No Stack... [2021-05-06T19:24:27.496Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T19:24:28.073Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T19:24:28.413Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2021-05-06T19:24:28.413Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T19:24:28.525Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] [2021-05-06T19:24:28.532Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] did not exist. Created. [2021-05-06T19:24:28.532Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T19:24:29.055Z] + echo total: 0.029999999329447746 [2021-05-06T19:24:29.061Z] Removing intermediate container 31327c267dab [2021-05-06T19:24:29.061Z] ---> fe809b8d64f8 [2021-05-06T19:24:29.061Z] Successfully built fe809b8d64f8 [2021-05-06T19:24:29.061Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] stash [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:24:29.212Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T19:24:29.260Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-05-06T19:24:29.478Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T19:24:29.478Z] . [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] withDockerContainer [2021-05-06T19:24:29.846Z] prd-ubuntu18.04-docker-arm64-4c-16g-3270 does not seem to be running inside a container [2021-05-06T19:24:29.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-05-06T19:24:31.415Z] $ docker top e416faef110842a87333dca9655935e9e8488b5c66d9b452317c7ab893276dd5 -eo pid,comm [Pipeline] { [Pipeline] // node [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [2021-05-06T19:24:32.497Z] + go version [2021-05-06T19:24:32.498Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T19:24:32.534Z] $ docker stop --time=1 e416faef110842a87333dca9655935e9e8488b5c66d9b452317c7ab893276dd5 [2021-05-06T19:24:34.454Z] $ docker rm -f e416faef110842a87333dca9655935e9e8488b5c66d9b452317c7ab893276dd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:24:35.322Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T19:24:35.322Z] . [Pipeline] withDockerContainer [2021-05-06T19:24:35.556Z] prd-ubuntu18.04-docker-arm64-4c-16g-3270 does not seem to be running inside a container [2021-05-06T19:24:35.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-05-06T19:24:37.093Z] $ docker top 5ed7d039f30a0370b4dad16eb242dd12496eea96e97d75b37e6ba004a9fabf4c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:24:38.086Z] + go mod tidy [Pipeline] sh [2021-05-06T19:24:39.053Z] + make test [2021-05-06T19:24:39.053Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-06T19:25:11.450Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.079s coverage: 88.8% of statements [2021-05-06T19:25:11.450Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-05-06T19:25:11.450Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.015s coverage: 85.7% of statements [2021-05-06T19:25:11.450Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-06T19:25:26.592Z] gofmt -l . [2021-05-06T19:25:26.592Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-06T19:25:26.630Z] $ docker stop --time=1 5ed7d039f30a0370b4dad16eb242dd12496eea96e97d75b37e6ba004a9fabf4c [2021-05-06T19:25:29.771Z] $ docker rm -f 5ed7d039f30a0370b4dad16eb242dd12496eea96e97d75b37e6ba004a9fabf4c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T19:25:30.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T19:25:30.641Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T19:25:31.569Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:25:32.418Z] ---> job-cost.sh [2021-05-06T19:25:32.418Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TVvm [2021-05-06T19:26:11.398Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T19:27:33.177Z] lf-activate-venv(): INFO: Adding /tmp/venv-TVvm/bin to PATH [2021-05-06T19:27:33.177Z] INFO: No Stack... [2021-05-06T19:27:33.177Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T19:27:33.177Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T19:27:33.543Z] + cut -d, -f6 [2021-05-06T19:27:33.543Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [Pipeline] lock [2021-05-06T19:27:33.694Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] [2021-05-06T19:27:33.702Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] did not exist. Created. [2021-05-06T19:27:33.702Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T19:27:34.169Z] /w/workspace/go-mod-registry/1@tmp/durable-e3d8823f/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-e3d8823f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T19:27:34.538Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T19:27:34.575Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T19:27:34.721Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T19:27:34.742Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-72-1-stack-cost] [Pipeline] // lock [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-05-06T19:27:35.752Z] provisioning config files... [2021-05-06T19:27:35.765Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-72@tmp/config6473116563665813031tmp [Pipeline] { [Pipeline] sh [2021-05-06T19:27:36.124Z] + set +x [2021-05-06T19:27:36.124Z] + curl -s https://codecov.io/bash [2021-05-06T19:27:36.124Z] + bash -s -- [2021-05-06T19:27:36.386Z] [2021-05-06T19:27:36.386Z] _____ _ [2021-05-06T19:27:36.386Z] / ____| | | [2021-05-06T19:27:36.386Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T19:27:36.386Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T19:27:36.386Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T19:27:36.386Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T19:27:36.386Z] Bash-1.0.2 [2021-05-06T19:27:36.386Z] [2021-05-06T19:27:36.386Z] [2021-05-06T19:27:36.386Z] ==> git version 2.24.3 found [2021-05-06T19:27:36.386Z] ==> 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-05-06T19:27:36.386Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T19:27:36.386Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T19:27:36.386Z] ==> Jenkins CI detected. [2021-05-06T19:27:36.386Z] project root: . [2021-05-06T19:27:36.386Z] --> token set from env [2021-05-06T19:27:36.386Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T19:27:36.386Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T19:27:36.386Z] ==> Python coveragepy not found [2021-05-06T19:27:36.386Z] ==> Searching for coverage reports in: [2021-05-06T19:27:36.386Z] + . [2021-05-06T19:27:36.386Z] -> Found 1 reports [2021-05-06T19:27:36.386Z] ==> Detecting git/mercurial file structure [2021-05-06T19:27:36.386Z] ==> Reading reports [2021-05-06T19:27:36.386Z] + ./coverage.out bytes=9746 [2021-05-06T19:27:36.386Z] ==> Appending adjustments [2021-05-06T19:27:36.386Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T19:27:36.386Z] + Found adjustments [2021-05-06T19:27:36.386Z] ==> Gzipping contents [2021-05-06T19:27:36.386Z] 4.0K /tmp/codecov.p6pYKX.gz [2021-05-06T19:27:36.386Z] ==> Uploading reports [2021-05-06T19:27:36.386Z] url: https://codecov.io [2021-05-06T19:27:36.386Z] query: branch=PR-72&commit=1415696950836d719a6f2a1603a66a04889cb03a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-72%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=72&job=&cmd_args= [2021-05-06T19:27:36.386Z] -> Pinging Codecov [2021-05-06T19:27:36.386Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-72&commit=1415696950836d719a6f2a1603a66a04889cb03a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-72%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=72&job=&cmd_args= [2021-05-06T19:27:36.962Z] -> Uploading to [2021-05-06T19:27:36.962Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/05B643FFA8DEACB6C25F95B2D4D12284/1415696950836d719a6f2a1603a66a04889cb03a/a1ef19da-d379-45d5-8331-12da3f921a9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T192736Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3541e3d9e11fa6f67b93996944f6ee795aa7ea0735f998fa1be0a3c477cdff6 [2021-05-06T19:27:36.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T19:27:36.962Z] Dload Upload Total Spent Left Speed [2021-05-06T19:27:37.489Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1910 0 0 100 1910 0 3970 --:--:-- --:--:-- --:--:-- 3970 [2021-05-06T19:27:37.489Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/1415696950836d719a6f2a1603a66a04889cb03a [Pipeline] } [2021-05-06T19:27:37.513Z] 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] { (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-05-06T19:27:39.330Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:27:39.682Z] ---> package-listing.sh [2021-05-06T19:27:39.682Z] ++ facter osfamily [2021-05-06T19:27:39.682Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T19:27:39.682Z] + OS_FAMILY=redhat [2021-05-06T19:27:39.682Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-72 [2021-05-06T19:27:39.682Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T19:27:39.682Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T19:27:39.682Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T19:27:39.682Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T19:27:39.682Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-72 ']' [2021-05-06T19:27:39.682Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T19:27:39.682Z] + case "${OS_FAMILY}" in [2021-05-06T19:27:39.682Z] + rpm -qa [2021-05-06T19:27:39.682Z] + sort [2021-05-06T19:27:44.989Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T19:27:44.989Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T19:27:44.989Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T19:27:44.989Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-72 ']' [2021-05-06T19:27:44.989Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-72/archives/ [2021-05-06T19:27:44.989Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-72/archives/ [Pipeline] echo [2021-05-06T19:27:45.024Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-registry_PR-72/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T19:27:45.326Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:27:45.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T19:27:45.699Z] [2021-05-06T19:27:45.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T19:27:46.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T19:27:46.139Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T19:27:46.139Z] df20fa9351a1: Pulling fs layer [2021-05-06T19:27:46.139Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T19:27:46.139Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T19:27:46.139Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T19:27:46.139Z] 93b61091891f: Pulling fs layer [2021-05-06T19:27:46.139Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T19:27:46.139Z] 5e14af77c1be: Pulling fs layer [2021-05-06T19:27:46.139Z] 01666e4c0597: Pulling fs layer [2021-05-06T19:27:46.139Z] aa168da1d23b: Pulling fs layer [2021-05-06T19:27:46.139Z] 93b61091891f: Waiting [2021-05-06T19:27:46.139Z] 93b9cdb0e59b: Waiting [2021-05-06T19:27:46.139Z] 5e14af77c1be: Waiting [2021-05-06T19:27:46.139Z] 01666e4c0597: Waiting [2021-05-06T19:27:46.139Z] aa168da1d23b: Waiting [2021-05-06T19:27:46.139Z] 46f8f816bc3b: Waiting [2021-05-06T19:27:46.139Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T19:27:46.139Z] 36b3adc4ff6f: Download complete [2021-05-06T19:27:46.139Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T19:27:46.139Z] 46f8f816bc3b: Download complete [2021-05-06T19:27:46.404Z] df20fa9351a1: Download complete [2021-05-06T19:27:46.404Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T19:27:46.404Z] 93b9cdb0e59b: Download complete [2021-05-06T19:27:46.404Z] 5e14af77c1be: Verifying Checksum [2021-05-06T19:27:46.404Z] 5e14af77c1be: Download complete [2021-05-06T19:27:46.404Z] 01666e4c0597: Download complete [2021-05-06T19:27:46.404Z] 93b61091891f: Verifying Checksum [2021-05-06T19:27:46.404Z] 93b61091891f: Download complete [2021-05-06T19:27:46.666Z] df20fa9351a1: Pull complete [2021-05-06T19:27:46.666Z] 36b3adc4ff6f: Pull complete [2021-05-06T19:27:46.666Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T19:27:46.666Z] 8ad3a11d3b57: Download complete [2021-05-06T19:27:47.245Z] 8ad3a11d3b57: Pull complete [2021-05-06T19:27:47.516Z] 46f8f816bc3b: Pull complete [2021-05-06T19:27:47.778Z] 93b61091891f: Pull complete [2021-05-06T19:27:47.778Z] 93b9cdb0e59b: Pull complete [2021-05-06T19:27:48.040Z] 5e14af77c1be: Pull complete [2021-05-06T19:27:48.040Z] 01666e4c0597: Pull complete [2021-05-06T19:27:49.426Z] aa168da1d23b: Verifying Checksum [2021-05-06T19:27:49.426Z] aa168da1d23b: Download complete [2021-05-06T19:27:56.039Z] aa168da1d23b: Pull complete [2021-05-06T19:27:56.039Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T19:27:56.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T19:27:56.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T19:27:56.412Z] prd-centos7-docker-4c-2g-3268 does not seem to be running inside a container [2021-05-06T19:27:56.460Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-registry_PR-72/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-registry_PR-72 -v /w/workspace/gexfoundry_go-mod-registry_PR-72:/w/workspace/gexfoundry_go-mod-registry_PR-72:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-72@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-72@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T19:27:58.791Z] $ docker top 041569486de3625526b12f50e15a5d58a399740f475bad1b3802728641f77420 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T19:27:59.236Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T19:27:59.552Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T19:27:59.870Z] + ls /var/log/sa-host [2021-05-06T19:27:59.871Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T19:27:59.871Z] file_magic: OK [2021-05-06T19:27:59.871Z] HZ: Using current value: 100 [2021-05-06T19:27:59.871Z] file_header: OK [2021-05-06T19:27:59.871Z] 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-05-06T19:27:59.871Z] Statistics: [2021-05-06T19:27:59.871Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T19:27:59.871Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T19:27:59.871Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T19:27:59.871Z] file_magic: OK [2021-05-06T19:27:59.871Z] HZ: Using current value: 100 [2021-05-06T19:27:59.871Z] file_header: OK [2021-05-06T19:27:59.871Z] 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-05-06T19:27:59.871Z] Statistics: [2021-05-06T19:27:59.871Z] Hnuu...uuuununununu... [2021-05-06T19:27:59.871Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T19:28:00.101Z] provisioning config files... [2021-05-06T19:28:00.116Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-72@tmp/config6412493053489936709tmp [Pipeline] { [Pipeline] echo [2021-05-06T19:28:00.174Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:28:00.505Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T19:28:00.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T19:28:00.640Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:28:00.969Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T19:28:01.001Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:28:01.330Z] ---> sudo-logs.sh [2021-05-06T19:28:01.330Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T19:28:01.409Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:28:01.737Z] ---> job-cost.sh [2021-05-06T19:28:01.737Z] lf-activate-venv: SKIPPING [2021-05-06T19:28:01.737Z] DEBUG: total: 0.20999999344348907 [2021-05-06T19:28:01.737Z] INFO: Retrieving Stack Cost... [2021-05-06T19:28:03.125Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T19:28:03.385Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T19:28:03.427Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T19:28:03.764Z] ---> logs-deploy.sh [2021-05-06T19:28:03.764Z] lf-activate-venv: SKIPPING [2021-05-06T19:28:03.764Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-72/1 [2021-05-06T19:28:03.764Z] INFO: archiving workspace using pattern(s): [2021-05-06T19:28:05.682Z] Archives upload complete. [2021-05-06T19:28:05.682Z] INFO: archiving logs to Nexus