Pull request #139 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 083bd6cfc7779a8f710755edb7db47c118ffdde5+d92118ee404a2f02c274fe9fe93a66fd30d1d18b (ec3f74baeadb5eb6cbf0d1a587abc125a0d91731) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-bootstrap, 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-bootstrap-settings PROJECT: go-mod-bootstrap 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-bootstrap 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17805 in /w/workspace/xfoundry_go-mod-bootstrap_PR-139 [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-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-139 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d92118ee404a2f02c274fe9fe93a66fd30d1d18b into PR head commit 083bd6cfc7779a8f710755edb7db47c118ffdde5 Merge succeeded, producing 083bd6cfc7779a8f710755edb7db47c118ffdde5 Checking out Revision 083bd6cfc7779a8f710755edb7db47c118ffdde5 (PR-139) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 083bd6cfc7779a8f710755edb7db47c118ffdde5 # 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 d92118ee404a2f02c274fe9fe93a66fd30d1d18b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 083bd6cfc7779a8f710755edb7db47c118ffdde5 # timeout=10 Commit message: "refactor: Remove backward compatibility code" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-30T22:40:35.317Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git rev-list --no-walk b82100aba941f28adf61c0a90d621eeeb4c193e7 # timeout=10 [Pipeline] { [Pipeline] withCredentials [2020-12-30T22:40:35.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-30T22:40:35.753Z] ========================================================= [2020-12-30T22:40:35.753Z] EdgeX Global Pipelines Version Info [2020-12-30T22:40:35.753Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:40:38.151Z] ------------------- [2020-12-30T22:40:38.152Z] stable info: [2020-12-30T22:40:38.152Z] ------------------- [2020-12-30T22:40:38.152Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-30T22:40:38.152Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T22:40:38.152Z] Message: update stable to v1.0.173 [2020-12-30T22:40:38.746Z] ------------------- [2020-12-30T22:40:38.746Z] experimental info: [2020-12-30T22:40:38.746Z] ------------------- [2020-12-30T22:40:38.746Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-30T22:40:38.746Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-30T22:40:38.746Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-30T22:40:39.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2020-12-30T22:40:39.253Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2020-12-30T22:40:39.362Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-30T22:40:39.475Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-30T22:40:39.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-30T22:40:39.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-30T22:40:39.838Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-30T22:40:39.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-30T22:40:40.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-30T22:40:40.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-30T22:40:40.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-30T22:40:40.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo [2020-12-30T22:40:40.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-30T22:40:40.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-30T22:40:40.880Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T22:40:40.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T22:40:41.092Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T22:40:41.198Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-30T22:40:41.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-30T22:40:41.478Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-30T22:40:41.613Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-30T22:40:41.736Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-30T22:40:41.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-30T22:40:41.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-30T22:40:42.064Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-30T22:40:42.167Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-30T22:40:42.268Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-30T22:40:42.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-139 [Pipeline] echo [2020-12-30T22:40:42.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-139 [Pipeline] echo [2020-12-30T22:40:42.583Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-139 [Pipeline] echo [2020-12-30T22:40:42.683Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 083bd6cfc7779a8f710755edb7db47c118ffdde5 [Pipeline] echo [2020-12-30T22:40:42.785Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 083bd6c [Pipeline] echo [2020-12-30T22:40:42.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T22:40:43.654Z] + git log --format=format:%s -1 083bd6cfc7779a8f710755edb7db47c118ffdde5 [Pipeline] echo [2020-12-30T22:40:43.759Z] GIT_COMMIT: 083bd6cfc7779a8f710755edb7db47c118ffdde5, Commit Message: refactor: Remove backward compatibility code [Pipeline] echo [2020-12-30T22:40:43.820Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:40:44.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T22:40:45.143Z] [2020-12-30T22:40:45.143Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:40:45.600Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T22:40:45.877Z] latest: Pulling from edgex-devops/git-semver [2020-12-30T22:40:45.877Z] 31603596830f: Pulling fs layer [2020-12-30T22:40:45.877Z] 2a8b12db71e7: Pulling fs layer [2020-12-30T22:40:45.877Z] 6ca5941a6612: Pulling fs layer [2020-12-30T22:40:45.877Z] ecc8261a40a4: Pulling fs layer [2020-12-30T22:40:45.877Z] ecc8261a40a4: Waiting [2020-12-30T22:40:45.877Z] 2a8b12db71e7: Verifying Checksum [2020-12-30T22:40:45.877Z] 2a8b12db71e7: Download complete [2020-12-30T22:40:46.153Z] 31603596830f: Verifying Checksum [2020-12-30T22:40:46.153Z] 31603596830f: Download complete [2020-12-30T22:40:46.432Z] ecc8261a40a4: Verifying Checksum [2020-12-30T22:40:46.432Z] ecc8261a40a4: Download complete [2020-12-30T22:40:46.432Z] 6ca5941a6612: Download complete [2020-12-30T22:40:46.699Z] 31603596830f: Pull complete [2020-12-30T22:40:46.699Z] 2a8b12db71e7: Pull complete [2020-12-30T22:40:48.749Z] 6ca5941a6612: Pull complete [2020-12-30T22:40:49.164Z] ecc8261a40a4: Pull complete [2020-12-30T22:40:49.164Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-30T22:40:49.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-30T22:40:49.164Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-30T22:40:49.431Z] prd-centos7-docker-4c-2g-17805 does not seem to be running inside a container [2020-12-30T22:40:49.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-139 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-139:/w/workspace/xfoundry_go-mod-bootstrap_PR-139:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-139@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:10004/edgex-devops/git-semver:latest cat [2020-12-30T22:40:52.257Z] $ docker top 5849822c6bf33fdaa8112227f220c59f0bd72e0d963ffa761b1c864cc5f504e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-30T22:40:52.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T22:40:52.883Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T22:40:53.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T22:40:53.355Z] $ docker exec 5849822c6bf33fdaa8112227f220c59f0bd72e0d963ffa761b1c864cc5f504e7 ssh-agent [2020-12-30T22:40:53.681Z] SSH_AUTH_SOCK=/tmp/ssh-BAZ2XkkJO626/agent.11 [2020-12-30T22:40:53.681Z] SSH_AGENT_PID=17 [2020-12-30T22:40:53.704Z] Running ssh-add (command line suppressed) [2020-12-30T22:40:53.951Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp/private_key_8363567838330490278.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp/private_key_8363567838330490278.key) [2020-12-30T22:40:54.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T22:40:54.454Z] + git tag --points-at HEAD [Pipeline] } [2020-12-30T22:40:54.527Z] $ docker exec --env ******** --env ******** 5849822c6bf33fdaa8112227f220c59f0bd72e0d963ffa761b1c864cc5f504e7 ssh-agent -k [2020-12-30T22:40:54.814Z] unset SSH_AUTH_SOCK; [2020-12-30T22:40:54.814Z] unset SSH_AGENT_PID; [2020-12-30T22:40:54.814Z] echo Agent pid 17 killed; [2020-12-30T22:40:54.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-30T22:40:55.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-30T22:40:55.076Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-30T22:40:55.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-30T22:40:55.553Z] $ docker exec 5849822c6bf33fdaa8112227f220c59f0bd72e0d963ffa761b1c864cc5f504e7 ssh-agent [2020-12-30T22:40:55.929Z] SSH_AUTH_SOCK=/tmp/ssh-VXIfP8IGpyOq/agent.46 [2020-12-30T22:40:55.929Z] SSH_AGENT_PID=51 [2020-12-30T22:40:55.950Z] Running ssh-add (command line suppressed) [2020-12-30T22:40:56.213Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp/private_key_4384333186120137403.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp/private_key_4384333186120137403.key) [2020-12-30T22:40:56.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-30T22:40:56.696Z] + git semver init [2020-12-30T22:40:56.696Z] # -> Open(): unable to determine branch for HEAD [2020-12-30T22:40:56.696Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-139/.git [2020-12-30T22:40:56.696Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-139 [2020-12-30T22:40:56.696Z] # $SEMVER_REMOTE_NAME = origin [2020-12-30T22:40:56.696Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-30T22:40:56.696Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-30T22:40:56.696Z] # $SEMVER_BRANCH = PR-139 [2020-12-30T22:40:56.696Z] # $SEMVER_TEMP = /tmp/semver-278190623 [2020-12-30T22:40:56.696Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2020-12-30T22:40:57.291Z] # '/tmp/semver-278190623' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-139/.semver' [2020-12-30T22:40:57.291Z] # -> Force: false [2020-12-30T22:40:57.291Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-139/.semver [Pipeline] } [2020-12-30T22:40:57.322Z] $ docker exec --env ******** --env ******** 5849822c6bf33fdaa8112227f220c59f0bd72e0d963ffa761b1c864cc5f504e7 ssh-agent -k [2020-12-30T22:40:57.536Z] unset SSH_AUTH_SOCK; [2020-12-30T22:40:57.536Z] unset SSH_AGENT_PID; [2020-12-30T22:40:57.536Z] echo Agent pid 51 killed; [2020-12-30T22:40:57.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-30T22:40:58.246Z] + git semver [Pipeline] } [2020-12-30T22:40:58.282Z] $ docker stop --time=1 5849822c6bf33fdaa8112227f220c59f0bd72e0d963ffa761b1c864cc5f504e7 [2020-12-30T22:41:00.053Z] $ docker rm -f 5849822c6bf33fdaa8112227f220c59f0bd72e0d963ffa761b1c864cc5f504e7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T22:41:00.734Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-30T22:41:02.129Z] Stashed 1 file(s) [Pipeline] echo [2020-12-30T22:41:02.132Z] [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 [2020-12-30T22:41:02.863Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17796 in /w/workspace/xfoundry_go-mod-bootstrap_PR-139 [Pipeline] { [Pipeline] ws [2020-12-30T22:41:02.928Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2020-12-30T22:41:07.397Z] using credential edgex-jenkins-ssh [2020-12-30T22:41:07.521Z] Cloning the remote Git repository [2020-12-30T22:41:07.573Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2020-12-30T22:41:07.681Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2020-12-30T22:41:07.755Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2020-12-30T22:41:07.756Z] > git --version # timeout=10 [2020-12-30T22:41:07.771Z] > git --version # 'git version 2.17.1' [2020-12-30T22:41:07.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T22:41:07.854Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T22:41:08.498Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2020-12-30T22:41:08.520Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T22:41:08.546Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2020-12-30T22:41:08.578Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2020-12-30T22:41:08.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T22:41:08.590Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-30T22:41:09.159Z] Merging remotes/origin/master commit d92118ee404a2f02c274fe9fe93a66fd30d1d18b into PR head commit 083bd6cfc7779a8f710755edb7db47c118ffdde5 [2020-12-30T22:41:09.382Z] Merge succeeded, producing 083bd6cfc7779a8f710755edb7db47c118ffdde5 [2020-12-30T22:41:09.382Z] Checking out Revision 083bd6cfc7779a8f710755edb7db47c118ffdde5 (PR-139) [2020-12-30T22:41:09.179Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T22:41:09.191Z] > git checkout -f 083bd6cfc7779a8f710755edb7db47c118ffdde5 # timeout=10 [2020-12-30T22:41:09.269Z] > git remote # timeout=10 [2020-12-30T22:41:09.285Z] > git config --get remote.origin.url # timeout=10 [2020-12-30T22:41:09.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T22:41:09.313Z] > git merge d92118ee404a2f02c274fe9fe93a66fd30d1d18b # timeout=10 [2020-12-30T22:41:09.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-30T22:41:09.388Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T22:41:09.397Z] > git checkout -f 083bd6cfc7779a8f710755edb7db47c118ffdde5 # timeout=10 [2020-12-30T22:41:13.574Z] Commit message: "refactor: Remove backward compatibility code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T22:41:15.117Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-30T22:41:15.559Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T22:41:15.904Z] + true [2020-12-30T22:41:15.904Z] + sudo service docker restart [2020-12-30T22:41:17.697Z] Still waiting to schedule task [2020-12-30T22:41:17.697Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] unstash [Pipeline] echo [2020-12-30T22:41:18.141Z] ========================================================= [2020-12-30T22:41:18.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-30T22:41:18.141Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:41:18.533Z] + 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 . [2020-12-30T22:41:19.526Z] Sending build context to Docker daemon 665.6kB [2020-12-30T22:41:19.526Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-30T22:41:19.526Z] Step 2/8 : FROM ${BASE} [2020-12-30T22:41:19.798Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-30T22:41:19.798Z] 5f621e34cdf4: Pulling fs layer [2020-12-30T22:41:19.798Z] a4357932f1b6: Pulling fs layer [2020-12-30T22:41:19.798Z] 18c013af1878: Pulling fs layer [2020-12-30T22:41:19.798Z] 00ac8860ef70: Pulling fs layer [2020-12-30T22:41:19.798Z] 63d7cb157983: Pulling fs layer [2020-12-30T22:41:19.798Z] b116817d02f9: Pulling fs layer [2020-12-30T22:41:19.798Z] 745a02a5169b: Pulling fs layer [2020-12-30T22:41:19.798Z] 00ac8860ef70: Waiting [2020-12-30T22:41:19.798Z] 63d7cb157983: Waiting [2020-12-30T22:41:19.798Z] b116817d02f9: Waiting [2020-12-30T22:41:19.798Z] 745a02a5169b: Waiting [2020-12-30T22:41:20.074Z] 18c013af1878: Download complete [2020-12-30T22:41:20.074Z] a4357932f1b6: Verifying Checksum [2020-12-30T22:41:20.074Z] a4357932f1b6: Download complete [2020-12-30T22:41:20.074Z] 63d7cb157983: Download complete [2020-12-30T22:41:20.074Z] b116817d02f9: Verifying Checksum [2020-12-30T22:41:20.074Z] b116817d02f9: Download complete [2020-12-30T22:41:20.074Z] 5f621e34cdf4: Verifying Checksum [2020-12-30T22:41:20.074Z] 5f621e34cdf4: Download complete [2020-12-30T22:41:20.675Z] 5f621e34cdf4: Pull complete [2020-12-30T22:41:21.282Z] a4357932f1b6: Pull complete [2020-12-30T22:41:21.556Z] 18c013af1878: Pull complete [2020-12-30T22:41:23.538Z] 745a02a5169b: Download complete [2020-12-30T22:41:24.132Z] 00ac8860ef70: Download complete [2020-12-30T22:41:34.294Z] 00ac8860ef70: Pull complete [2020-12-30T22:41:34.294Z] 63d7cb157983: Pull complete [2020-12-30T22:41:34.573Z] b116817d02f9: Pull complete [2020-12-30T22:41:38.899Z] 745a02a5169b: Pull complete [2020-12-30T22:41:38.899Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-30T22:41:38.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-30T22:41:38.899Z] ---> b7e6874047d6 [2020-12-30T22:41:38.899Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-30T22:41:41.533Z] ---> Running in 37f097f90a2a [2020-12-30T22:41:41.533Z] Removing intermediate container 37f097f90a2a [2020-12-30T22:41:41.533Z] ---> ecda54c2271a [2020-12-30T22:41:41.533Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-30T22:41:41.533Z] ---> Running in 52709b94bf7d [2020-12-30T22:41:44.146Z] Removing intermediate container 52709b94bf7d [2020-12-30T22:41:44.146Z] ---> a410ceccc5e0 [2020-12-30T22:41:44.146Z] Step 5/8 : RUN apk add --update --no-cache git make [2020-12-30T22:41:44.146Z] ---> Running in 496146f3dda9 [2020-12-30T22:41:45.120Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-30T22:41:46.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-30T22:41:47.138Z] OK: 142 MiB in 39 packages [2020-12-30T22:41:48.571Z] Removing intermediate container 496146f3dda9 [2020-12-30T22:41:48.571Z] ---> 515005f9276b [2020-12-30T22:41:48.571Z] Step 6/8 : WORKDIR /build [2020-12-30T22:41:48.571Z] ---> Running in 26c7c43983a5 [2020-12-30T22:41:49.165Z] Removing intermediate container 26c7c43983a5 [2020-12-30T22:41:49.166Z] ---> 3e84ff014d71 [2020-12-30T22:41:49.166Z] Step 7/8 : COPY go.mod . [2020-12-30T22:41:49.760Z] ---> a08b6f464e62 [2020-12-30T22:41:49.760Z] Step 8/8 : RUN go mod download [2020-12-30T22:41:49.760Z] ---> Running in 1c728c936826 [2020-12-30T22:42:11.922Z] Removing intermediate container 1c728c936826 [2020-12-30T22:42:11.922Z] ---> 847b4adb9f21 [2020-12-30T22:42:11.922Z] Successfully built 847b4adb9f21 [2020-12-30T22:42:11.922Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:42:12.273Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T22:42:12.273Z] . [Pipeline] withDockerContainer [2020-12-30T22:42:12.512Z] prd-ubuntu18.04-docker-arm64-4c-16g-17796 does not seem to be running inside a container [2020-12-30T22:42:12.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-30T22:42:14.192Z] $ docker top a6bbb3782fd0a95019f827c6cb828d86c9d74ad7d62041b4feadf49fa83eca29 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T22:42:15.253Z] + go version [2020-12-30T22:42:15.253Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-30T22:42:15.276Z] $ docker stop --time=1 a6bbb3782fd0a95019f827c6cb828d86c9d74ad7d62041b4feadf49fa83eca29 [2020-12-30T22:42:17.135Z] $ docker rm -f a6bbb3782fd0a95019f827c6cb828d86c9d74ad7d62041b4feadf49fa83eca29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:42:18.143Z] + docker inspect -f . ci-base-image-arm64 [2020-12-30T22:42:18.144Z] . [Pipeline] withDockerContainer [2020-12-30T22:42:18.409Z] prd-ubuntu18.04-docker-arm64-4c-16g-17796 does not seem to be running inside a container [2020-12-30T22:42:18.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-30T22:42:20.007Z] $ docker top 761c404e11eebcdb65b4f8da20edb43ad7c13d868eea24af8923bd7695b3e6ba -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T22:42:21.060Z] + make test [2020-12-30T22:42:21.060Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-30T22:42:53.457Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] [2020-12-30T22:42:53.457Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.022s coverage: 9.1% of statements [2020-12-30T22:42:53.457Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] [2020-12-30T22:42:53.457Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.024s coverage: 92.2% of statements [2020-12-30T22:42:53.457Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.018s coverage: 85.3% of statements [2020-12-30T22:42:53.457Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers 0.023s coverage: 34.3% of statements [2020-12-30T22:42:53.457Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] [2020-12-30T22:42:53.457Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces/mocks [no test files] [2020-12-30T22:42:53.457Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.012s coverage: 18.2% of statements [2020-12-30T22:42:56.835Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/secret 3.023s coverage: 95.3% of statements [2020-12-30T22:42:56.835Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] [2020-12-30T22:42:56.835Z] ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] [2020-12-30T22:42:56.835Z] ok github.com/edgexfoundry/go-mod-bootstrap/di 0.017s coverage: 91.3% of statements [2020-12-30T22:42:56.835Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-30T22:43:02.256Z] gofmt -l . [2020-12-30T22:43:02.256Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-30T22:43:02.297Z] $ docker stop --time=1 761c404e11eebcdb65b4f8da20edb43ad7c13d868eea24af8923bd7695b3e6ba [2020-12-30T22:43:04.641Z] $ docker rm -f 761c404e11eebcdb65b4f8da20edb43ad7c13d868eea24af8923bd7695b3e6ba [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T22:43:05.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-30T22:43:06.281Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-30T22:44:09.826Z] Running on prd-centos7-docker-4c-2g-17806 in /w/workspace/xfoundry_go-mod-bootstrap_PR-139 [Pipeline] { [Pipeline] ws [2020-12-30T22:44:09.949Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2020-12-30T22:44:13.846Z] using credential edgex-jenkins-ssh [2020-12-30T22:44:13.908Z] Cloning the remote Git repository [2020-12-30T22:44:13.940Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2020-12-30T22:44:14.025Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2020-12-30T22:44:14.133Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2020-12-30T22:44:14.134Z] > git --version # timeout=10 [2020-12-30T22:44:14.204Z] > git --version # 'git version 2.24.3' [2020-12-30T22:44:14.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T22:44:14.347Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T22:44:15.182Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2020-12-30T22:44:15.191Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-30T22:44:15.207Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2020-12-30T22:44:15.224Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2020-12-30T22:44:15.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T22:44:15.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-30T22:44:15.721Z] Merging remotes/origin/master commit d92118ee404a2f02c274fe9fe93a66fd30d1d18b into PR head commit 083bd6cfc7779a8f710755edb7db47c118ffdde5 [2020-12-30T22:44:15.897Z] Merge succeeded, producing 083bd6cfc7779a8f710755edb7db47c118ffdde5 [2020-12-30T22:44:15.897Z] Checking out Revision 083bd6cfc7779a8f710755edb7db47c118ffdde5 (PR-139) [2020-12-30T22:44:15.731Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T22:44:15.741Z] > git checkout -f 083bd6cfc7779a8f710755edb7db47c118ffdde5 # timeout=10 [2020-12-30T22:44:15.790Z] > git remote # timeout=10 [2020-12-30T22:44:15.814Z] > git config --get remote.origin.url # timeout=10 [2020-12-30T22:44:15.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-30T22:44:15.831Z] > git merge d92118ee404a2f02c274fe9fe93a66fd30d1d18b # timeout=10 [2020-12-30T22:44:15.851Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-30T22:44:15.901Z] > git config core.sparsecheckout # timeout=10 [2020-12-30T22:44:15.920Z] > git checkout -f 083bd6cfc7779a8f710755edb7db47c118ffdde5 # timeout=10 [2020-12-30T22:44:20.126Z] Commit message: "refactor: Remove backward compatibility code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-30T22:44:21.764Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-30T22:44:22.176Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-30T22:44:22.498Z] + true [2020-12-30T22:44:22.498Z] + sudo service docker restart [2020-12-30T22:44:22.498Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-30T22:44:24.166Z] ========================================================= [2020-12-30T22:44:24.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-30T22:44:24.166Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:44:24.597Z] + 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 . [2020-12-30T22:44:25.194Z] Sending build context to Docker daemon 666.6kB [2020-12-30T22:44:25.478Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-30T22:44:25.478Z] Step 2/8 : FROM ${BASE} [2020-12-30T22:44:25.478Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-30T22:44:25.478Z] 188c0c94c7c5: Pulling fs layer [2020-12-30T22:44:25.478Z] 0ef7d3d256c8: Pulling fs layer [2020-12-30T22:44:25.478Z] de9db76c5a1d: Pulling fs layer [2020-12-30T22:44:25.478Z] bca2f99d35d6: Pulling fs layer [2020-12-30T22:44:25.478Z] 93359f2a8cfa: Pulling fs layer [2020-12-30T22:44:25.478Z] 7c6f9722023f: Pulling fs layer [2020-12-30T22:44:25.478Z] a35cf1a2eb13: Pulling fs layer [2020-12-30T22:44:25.478Z] 93359f2a8cfa: Waiting [2020-12-30T22:44:25.478Z] 7c6f9722023f: Waiting [2020-12-30T22:44:25.478Z] a35cf1a2eb13: Waiting [2020-12-30T22:44:25.478Z] bca2f99d35d6: Waiting [2020-12-30T22:44:25.478Z] de9db76c5a1d: Verifying Checksum [2020-12-30T22:44:25.478Z] de9db76c5a1d: Download complete [2020-12-30T22:44:25.478Z] 0ef7d3d256c8: Verifying Checksum [2020-12-30T22:44:25.478Z] 0ef7d3d256c8: Download complete [2020-12-30T22:44:25.478Z] 93359f2a8cfa: Verifying Checksum [2020-12-30T22:44:25.478Z] 93359f2a8cfa: Download complete [2020-12-30T22:44:25.758Z] 7c6f9722023f: Verifying Checksum [2020-12-30T22:44:25.758Z] 7c6f9722023f: Download complete [2020-12-30T22:44:25.758Z] 188c0c94c7c5: Verifying Checksum [2020-12-30T22:44:25.758Z] 188c0c94c7c5: Download complete [2020-12-30T22:44:26.346Z] 188c0c94c7c5: Pull complete [2020-12-30T22:44:26.346Z] 0ef7d3d256c8: Pull complete [2020-12-30T22:44:26.617Z] de9db76c5a1d: Pull complete [2020-12-30T22:44:30.071Z] a35cf1a2eb13: Verifying Checksum [2020-12-30T22:44:30.071Z] a35cf1a2eb13: Download complete [2020-12-30T22:44:32.889Z] bca2f99d35d6: Download complete [2020-12-30T22:44:43.297Z] bca2f99d35d6: Pull complete [2020-12-30T22:44:43.297Z] 93359f2a8cfa: Pull complete [2020-12-30T22:44:43.297Z] 7c6f9722023f: Pull complete [2020-12-30T22:44:48.936Z] a35cf1a2eb13: Pull complete [2020-12-30T22:44:48.936Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-30T22:44:48.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-30T22:44:48.936Z] ---> a62c8e92a672 [2020-12-30T22:44:48.936Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-30T22:44:49.206Z] ---> Running in 7993f7782e86 [2020-12-30T22:44:49.476Z] Removing intermediate container 7993f7782e86 [2020-12-30T22:44:49.476Z] ---> a9ab6535a0ce [2020-12-30T22:44:49.476Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-30T22:44:49.477Z] ---> Running in cec25bdbea1a [2020-12-30T22:44:51.516Z] Removing intermediate container cec25bdbea1a [2020-12-30T22:44:51.516Z] ---> 1e869c6c5889 [2020-12-30T22:44:51.516Z] Step 5/8 : RUN apk add --update --no-cache git make [2020-12-30T22:44:51.516Z] ---> Running in 66506ce522b0 [2020-12-30T22:44:52.484Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-30T22:44:53.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-30T22:44:53.670Z] OK: 166 MiB in 39 packages [2020-12-30T22:44:54.714Z] Removing intermediate container 66506ce522b0 [2020-12-30T22:44:54.714Z] ---> 117d19da3e2a [2020-12-30T22:44:54.714Z] Step 6/8 : WORKDIR /build [2020-12-30T22:44:54.714Z] ---> Running in 764a178907db [2020-12-30T22:44:54.995Z] Removing intermediate container 764a178907db [2020-12-30T22:44:54.995Z] ---> 55458e2a9783 [2020-12-30T22:44:54.995Z] Step 7/8 : COPY go.mod . [2020-12-30T22:44:55.262Z] ---> 318796b4c1ab [2020-12-30T22:44:55.262Z] Step 8/8 : RUN go mod download [2020-12-30T22:44:55.262Z] ---> Running in 76c4ad1a8d64 [2020-12-30T22:45:17.623Z] Removing intermediate container 76c4ad1a8d64 [2020-12-30T22:45:17.623Z] ---> 115b2db4693f [2020-12-30T22:45:17.623Z] Successfully built 115b2db4693f [2020-12-30T22:45:17.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:45:17.983Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T22:45:17.983Z] . [Pipeline] withDockerContainer [2020-12-30T22:45:18.178Z] prd-centos7-docker-4c-2g-17806 does not seem to be running inside a container [2020-12-30T22:45:18.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-30T22:45:19.610Z] $ docker top 962e8923f7d21171996f5c29a11bf67fc8f71cace49dd43cd8d4c1bfc7db2f7a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T22:45:20.681Z] + go version [2020-12-30T22:45:20.681Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-30T22:45:20.759Z] $ docker stop --time=1 962e8923f7d21171996f5c29a11bf67fc8f71cace49dd43cd8d4c1bfc7db2f7a [2020-12-30T22:45:22.312Z] $ docker rm -f 962e8923f7d21171996f5c29a11bf67fc8f71cace49dd43cd8d4c1bfc7db2f7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:45:23.239Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-30T22:45:23.239Z] . [Pipeline] withDockerContainer [2020-12-30T22:45:23.490Z] prd-centos7-docker-4c-2g-17806 does not seem to be running inside a container [2020-12-30T22:45:23.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-30T22:45:24.627Z] $ docker top 0c17d71be923e407c2a7f7413fc61037e93394f54b73fcefdcc0dd80f4b35910 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T22:45:25.333Z] + make test [2020-12-30T22:45:25.333Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-30T22:45:44.536Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] [2020-12-30T22:45:44.536Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.029s coverage: 9.1% of statements [2020-12-30T22:45:44.536Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] [2020-12-30T22:45:44.536Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/environment 0.023s coverage: 92.2% of statements [2020-12-30T22:45:44.536Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.007s coverage: 85.3% of statements [2020-12-30T22:45:45.903Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers 0.039s coverage: 34.3% of statements [2020-12-30T22:45:45.903Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] [2020-12-30T22:45:45.903Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces/mocks [no test files] [2020-12-30T22:45:45.903Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.303s coverage: 18.2% of statements [2020-12-30T22:45:49.496Z] ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/secret 3.034s coverage: 95.3% of statements [2020-12-30T22:45:49.496Z] ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] [2020-12-30T22:45:49.496Z] ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] [2020-12-30T22:45:49.496Z] ok github.com/edgexfoundry/go-mod-bootstrap/di 0.026s coverage: 91.3% of statements [2020-12-30T22:45:49.496Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-30T22:45:53.231Z] gofmt -l . [2020-12-30T22:45:53.231Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-30T22:45:53.581Z] $ docker stop --time=1 0c17d71be923e407c2a7f7413fc61037e93394f54b73fcefdcc0dd80f4b35910 [2020-12-30T22:45:56.632Z] $ docker rm -f 0c17d71be923e407c2a7f7413fc61037e93394f54b73fcefdcc0dd80f4b35910 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-30T22:45:57.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-30T22:45:57.505Z] Warning: overwriting stash ‘coverage-report’ [2020-12-30T22:45:58.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-30T22:46:00.491Z] provisioning config files... [2020-12-30T22:46:00.520Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp/config6674742669564665700tmp [Pipeline] { [Pipeline] sh [2020-12-30T22:46:01.008Z] + set +x [2020-12-30T22:46:01.008Z] + bash -s -- [2020-12-30T22:46:01.008Z] + curl -s https://codecov.io/bash [2020-12-30T22:46:01.295Z] [2020-12-30T22:46:01.295Z] _____ _ [2020-12-30T22:46:01.295Z] / ____| | | [2020-12-30T22:46:01.295Z] | | ___ __| | ___ ___ _____ __ [2020-12-30T22:46:01.295Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-30T22:46:01.295Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-30T22:46:01.295Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-30T22:46:01.295Z] Bash-20201223-5ad85e3 [2020-12-30T22:46:01.295Z] [2020-12-30T22:46:01.295Z] [2020-12-30T22:46:01.295Z] ==> git version 2.24.3 found [2020-12-30T22:46:01.295Z] ==> 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 [2020-12-30T22:46:01.295Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-30T22:46:01.295Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2020-12-30T22:46:01.295Z] ==> Jenkins CI detected. [2020-12-30T22:46:01.295Z] project root: . [2020-12-30T22:46:01.295Z] --> token set from env [2020-12-30T22:46:01.295Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-30T22:46:01.295Z] ==> Running gcov in . (disable via -X gcov) [2020-12-30T22:46:01.587Z] ==> Python coveragepy not found [2020-12-30T22:46:01.587Z] ==> Searching for coverage reports in: [2020-12-30T22:46:01.587Z] + . [2020-12-30T22:46:01.587Z] -> Found 1 reports [2020-12-30T22:46:01.587Z] ==> Detecting git/mercurial file structure [2020-12-30T22:46:01.587Z] ==> Reading reports [2020-12-30T22:46:01.587Z] + ./coverage.out bytes=26001 [2020-12-30T22:46:01.587Z] ==> Appending adjustments [2020-12-30T22:46:01.587Z] https://docs.codecov.io/docs/fixing-reports [2020-12-30T22:46:01.865Z] + Found adjustments [2020-12-30T22:46:02.140Z] ==> Gzipping contents [2020-12-30T22:46:02.140Z] 8.0K /tmp/codecov.gAqZ1R.gz [2020-12-30T22:46:02.140Z] ==> Uploading reports [2020-12-30T22:46:02.140Z] url: https://codecov.io [2020-12-30T22:46:02.140Z] query: branch=PR-139&commit=083bd6cfc7779a8f710755edb7db47c118ffdde5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=139&job=&cmd_args= [2020-12-30T22:46:02.140Z] -> Pinging Codecov [2020-12-30T22:46:02.140Z] https://codecov.io/upload/v4?package=bash-20201223-5ad85e3&token=secret&branch=PR-139&commit=083bd6cfc7779a8f710755edb7db47c118ffdde5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=139&job=&cmd_args= [2020-12-30T22:46:02.813Z] -> Uploading to [2020-12-30T22:46:02.813Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-30/833815588EE85121546D348822E98E2E/083bd6cfc7779a8f710755edb7db47c118ffdde5/4c5a457e-839b-40f9-ad16-f04aeaeec7f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201230%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201230T224602Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f58a127357920d5b3690e0ffd272c1143249b1e45e0d815db6bd1c8a5f615c1e [2020-12-30T22:46:02.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-30T22:46:02.813Z] Dload Upload Total Spent Left Speed [2020-12-30T22:46:03.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 4937 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4937 0 0 100 4937 0 8145 --:--:-- --:--:-- --:--:-- 8146 [2020-12-30T22:46:03.119Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/083bd6cfc7779a8f710755edb7db47c118ffdde5 [Pipeline] } [2020-12-30T22:46:03.167Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:46:06.067Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:46:06.710Z] ---> package-listing.sh [2020-12-30T22:46:06.710Z] ++ facter osfamily [2020-12-30T22:46:06.710Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-30T22:46:06.981Z] + OS_FAMILY=redhat [2020-12-30T22:46:06.981Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-139 [2020-12-30T22:46:06.981Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-30T22:46:06.981Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-30T22:46:06.981Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-30T22:46:06.981Z] + PACKAGES=/tmp/packages_start.txt [2020-12-30T22:46:06.981Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-139 ']' [2020-12-30T22:46:06.981Z] + PACKAGES=/tmp/packages_end.txt [2020-12-30T22:46:06.981Z] + case "${OS_FAMILY}" in [2020-12-30T22:46:06.981Z] + rpm -qa [2020-12-30T22:46:06.981Z] + sort [2020-12-30T22:46:12.424Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-30T22:46:12.424Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-30T22:46:12.424Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-30T22:46:12.424Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-139 ']' [2020-12-30T22:46:12.424Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-139/archives/ [2020-12-30T22:46:12.424Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-139/archives/ [Pipeline] echo [2020-12-30T22:46:12.465Z] 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/xfoundry_go-mod-bootstrap_PR-139/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-30T22:46:12.815Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:46:13.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T22:46:13.770Z] [2020-12-30T22:46:13.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-30T22:46:14.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T22:46:14.480Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-30T22:46:14.480Z] df20fa9351a1: Pulling fs layer [2020-12-30T22:46:14.480Z] 36b3adc4ff6f: Pulling fs layer [2020-12-30T22:46:14.480Z] 8ad3a11d3b57: Pulling fs layer [2020-12-30T22:46:14.480Z] 46f8f816bc3b: Pulling fs layer [2020-12-30T22:46:14.480Z] 93b61091891f: Pulling fs layer [2020-12-30T22:46:14.480Z] 93b9cdb0e59b: Pulling fs layer [2020-12-30T22:46:14.480Z] 5e14af77c1be: Pulling fs layer [2020-12-30T22:46:14.480Z] 01666e4c0597: Pulling fs layer [2020-12-30T22:46:14.480Z] aa168da1d23b: Pulling fs layer [2020-12-30T22:46:14.480Z] 46f8f816bc3b: Waiting [2020-12-30T22:46:14.480Z] 93b61091891f: Waiting [2020-12-30T22:46:14.480Z] 93b9cdb0e59b: Waiting [2020-12-30T22:46:14.480Z] 5e14af77c1be: Waiting [2020-12-30T22:46:14.480Z] 01666e4c0597: Waiting [2020-12-30T22:46:14.480Z] 36b3adc4ff6f: Verifying Checksum [2020-12-30T22:46:14.480Z] 36b3adc4ff6f: Download complete [2020-12-30T22:46:14.480Z] 46f8f816bc3b: Verifying Checksum [2020-12-30T22:46:14.480Z] 46f8f816bc3b: Download complete [2020-12-30T22:46:14.802Z] df20fa9351a1: Verifying Checksum [2020-12-30T22:46:14.802Z] 93b9cdb0e59b: Verifying Checksum [2020-12-30T22:46:14.802Z] 93b9cdb0e59b: Download complete [2020-12-30T22:46:14.802Z] 5e14af77c1be: Verifying Checksum [2020-12-30T22:46:14.802Z] 5e14af77c1be: Download complete [2020-12-30T22:46:14.802Z] 01666e4c0597: Verifying Checksum [2020-12-30T22:46:14.802Z] 01666e4c0597: Download complete [2020-12-30T22:46:14.802Z] 93b61091891f: Verifying Checksum [2020-12-30T22:46:14.802Z] 93b61091891f: Download complete [2020-12-30T22:46:15.419Z] df20fa9351a1: Pull complete [2020-12-30T22:46:16.026Z] 36b3adc4ff6f: Pull complete [2020-12-30T22:46:16.315Z] 8ad3a11d3b57: Verifying Checksum [2020-12-30T22:46:16.315Z] 8ad3a11d3b57: Download complete [2020-12-30T22:46:19.214Z] 8ad3a11d3b57: Pull complete [2020-12-30T22:46:19.214Z] 46f8f816bc3b: Pull complete [2020-12-30T22:46:20.748Z] 93b61091891f: Pull complete [2020-12-30T22:46:21.037Z] 93b9cdb0e59b: Pull complete [2020-12-30T22:46:21.555Z] 5e14af77c1be: Pull complete [2020-12-30T22:46:21.971Z] 01666e4c0597: Pull complete [2020-12-30T22:46:22.275Z] aa168da1d23b: Verifying Checksum [2020-12-30T22:46:22.275Z] aa168da1d23b: Download complete [2020-12-30T22:46:37.894Z] aa168da1d23b: Pull complete [2020-12-30T22:46:37.894Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-30T22:46:37.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-30T22:46:37.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-30T22:46:38.306Z] prd-centos7-docker-4c-2g-17805 does not seem to be running inside a container [2020-12-30T22:46:38.581Z] $ 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/xfoundry_go-mod-bootstrap_PR-139/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-139 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-139:/w/workspace/xfoundry_go-mod-bootstrap_PR-139:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-30T22:46:43.055Z] $ docker top 1b3a0342e0463506e1c47eab01598d484fc48d4c3fec2674c31fbe5e3c83675e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-30T22:46:44.196Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-30T22:46:44.562Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-30T22:46:44.932Z] + ls /var/log/sa-host [2020-12-30T22:46:44.933Z] + sadf -c /var/log/sa-host/sa23 [2020-12-30T22:46:44.933Z] file_magic: OK [2020-12-30T22:46:44.933Z] HZ: Using current value: 100 [2020-12-30T22:46:44.933Z] file_header: OK [2020-12-30T22:46:44.933Z] 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 [2020-12-30T22:46:44.933Z] Statistics: [2020-12-30T22:46:44.933Z] Hnuu...uuuununununu... [2020-12-30T22:46:44.933Z] File successfully converted to sysstat format version 12.2.1 [2020-12-30T22:46:44.933Z] + sadf -c /var/log/sa-host/sa30 [2020-12-30T22:46:44.933Z] file_magic: OK [2020-12-30T22:46:44.933Z] HZ: Using current value: 100 [2020-12-30T22:46:44.933Z] file_header: OK [2020-12-30T22:46:44.933Z] 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 [2020-12-30T22:46:44.933Z] Statistics: [2020-12-30T22:46:44.933Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-30T22:46:44.933Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-30T22:46:45.632Z] provisioning config files... [2020-12-30T22:46:45.658Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-139@tmp/config7249520314436892125tmp [Pipeline] { [Pipeline] echo [2020-12-30T22:46:45.734Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:46:46.085Z] ---> create-netrc.sh [Pipeline] } [2020-12-30T22:46:46.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-30T22:46:46.200Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:46:46.519Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-30T22:46:46.535Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:46:46.846Z] ---> sudo-logs.sh [2020-12-30T22:46:46.846Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-30T22:46:46.857Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:46:47.202Z] ---> job-cost.sh [2020-12-30T22:46:47.478Z] lf-activate-venv: SKIPPING [2020-12-30T22:46:47.478Z] INFO: No Stack... [2020-12-30T22:46:48.457Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-30T22:46:49.051Z] INFO: Archiving Costs [Pipeline] echo [2020-12-30T22:46:49.332Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-30T22:46:49.667Z] ---> logs-deploy.sh [2020-12-30T22:46:49.667Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-139/2 [2020-12-30T22:46:49.667Z] INFO: archiving workspace using pattern(s): [2020-12-30T22:46:53.059Z] Archives upload complete. [2020-12-30T22:46:53.059Z] INFO: archiving logs to Nexus