Pull request #417 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 hahattan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 5dbd0348e12a845f32a07f96ca3394e7956e9069 rather than b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 Obtained Jenkinsfile from 5dbd0348e12a845f32a07f96ca3394e7956e9069 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-core-contracts, 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-core-contracts-settings PROJECT: go-mod-core-contracts 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-core-contracts 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-18678 in /w/workspace/dry_go-mod-core-contracts_PR-417 [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-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-417 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5dbd0348e12a845f32a07f96ca3394e7956e9069 into PR head commit b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 Merge succeeded, producing b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 Checking out Revision b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 (PR-417) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 # 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 5dbd0348e12a845f32a07f96ca3394e7956e9069 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 # timeout=10 Commit message: "feat(meta): add RFC3986 validation on name fields" First time build. Skipping changelog. > git rev-list --no-walk d85ed6255934fdecefe2723b865f0f520a1a99ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-06T16:15:11.809Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-06T16:15:12.346Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-06T16:15:12.457Z] ========================================================= [2021-01-06T16:15:12.457Z] EdgeX Global Pipelines Version Info [2021-01-06T16:15:12.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:15:14.638Z] ------------------- [2021-01-06T16:15:14.639Z] stable info: [2021-01-06T16:15:14.639Z] ------------------- [2021-01-06T16:15:14.639Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-06T16:15:14.639Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-06T16:15:14.639Z] Message: update stable to v1.0.173 [2021-01-06T16:15:15.596Z] ------------------- [2021-01-06T16:15:15.596Z] experimental info: [2021-01-06T16:15:15.596Z] ------------------- [2021-01-06T16:15:15.596Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-06T16:15:15.596Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-06T16:15:15.596Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-06T16:15:15.873Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-06T16:15:15.965Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-06T16:15:16.083Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-06T16:15:16.182Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-06T16:15:16.275Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-06T16:15:16.362Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-06T16:15:16.453Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-06T16:15:16.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-06T16:15:16.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-06T16:15:16.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-06T16:15:16.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-06T16:15:16.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-06T16:15:17.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-06T16:15:17.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-06T16:15:17.213Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T16:15:17.298Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T16:15:17.385Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T16:15:17.475Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T16:15:17.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-06T16:15:17.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-06T16:15:17.780Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-06T16:15:17.871Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-06T16:15:17.975Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-06T16:15:18.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-06T16:15:18.147Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-06T16:15:18.236Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-06T16:15:18.321Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-06T16:15:18.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-417 [Pipeline] echo [2021-01-06T16:15:18.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-417 [Pipeline] echo [2021-01-06T16:15:18.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-417 [Pipeline] echo [2021-01-06T16:15:18.739Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 [Pipeline] echo [2021-01-06T16:15:18.824Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b61c297 [Pipeline] echo [2021-01-06T16:15:18.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-06T16:15:19.627Z] + git log --format=format:%s -1 b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 [Pipeline] echo [2021-01-06T16:15:19.715Z] GIT_COMMIT: b61c297fd4c580a4e3b51801a0da3cdfd9ef1550, Commit Message: feat(meta): add RFC3986 validation on name fields [Pipeline] echo [2021-01-06T16:15:19.760Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:15:20.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-06T16:15:21.079Z] [2021-01-06T16:15:21.079Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:15:21.527Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-06T16:15:21.804Z] latest: Pulling from edgex-devops/git-semver [2021-01-06T16:15:21.804Z] 31603596830f: Pulling fs layer [2021-01-06T16:15:21.804Z] 2a8b12db71e7: Pulling fs layer [2021-01-06T16:15:21.804Z] 6ca5941a6612: Pulling fs layer [2021-01-06T16:15:21.804Z] ecc8261a40a4: Pulling fs layer [2021-01-06T16:15:21.804Z] ecc8261a40a4: Waiting [2021-01-06T16:15:21.804Z] 2a8b12db71e7: Verifying Checksum [2021-01-06T16:15:21.804Z] 2a8b12db71e7: Download complete [2021-01-06T16:15:22.095Z] 31603596830f: Download complete [2021-01-06T16:15:22.366Z] ecc8261a40a4: Verifying Checksum [2021-01-06T16:15:22.366Z] ecc8261a40a4: Download complete [2021-01-06T16:15:22.366Z] 6ca5941a6612: Verifying Checksum [2021-01-06T16:15:22.366Z] 6ca5941a6612: Download complete [2021-01-06T16:15:22.654Z] 31603596830f: Pull complete [2021-01-06T16:15:22.655Z] 2a8b12db71e7: Pull complete [2021-01-06T16:15:24.082Z] 6ca5941a6612: Pull complete [2021-01-06T16:15:24.688Z] ecc8261a40a4: Pull complete [2021-01-06T16:15:24.688Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-06T16:15:24.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-06T16:15:24.688Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-06T16:15:24.897Z] prd-centos7-docker-4c-2g-18678 does not seem to be running inside a container [2021-01-06T16:15:24.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-417 -v /w/workspace/dry_go-mod-core-contracts_PR-417:/w/workspace/dry_go-mod-core-contracts_PR-417:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-417@tmp:/w/workspace/dry_go-mod-core-contracts_PR-417@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-06T16:15:27.929Z] $ docker top 440d1d49a89f3b7f6170ec76a57847e867b956ea229cbc3f21388b7ff4965e6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-06T16:15:28.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-06T16:15:28.390Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-06T16:15:28.885Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-06T16:15:28.888Z] $ docker exec 440d1d49a89f3b7f6170ec76a57847e867b956ea229cbc3f21388b7ff4965e6e ssh-agent [2021-01-06T16:15:29.328Z] SSH_AUTH_SOCK=/tmp/ssh-guiZccs1DSMb/agent.11 [2021-01-06T16:15:29.329Z] SSH_AGENT_PID=16 [2021-01-06T16:15:29.359Z] Running ssh-add (command line suppressed) [2021-01-06T16:15:29.596Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_5861070866428429715.key (/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_5861070866428429715.key) [2021-01-06T16:15:29.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-06T16:15:30.089Z] + git tag --points-at HEAD [Pipeline] } [2021-01-06T16:15:30.139Z] $ docker exec --env ******** --env ******** 440d1d49a89f3b7f6170ec76a57847e867b956ea229cbc3f21388b7ff4965e6e ssh-agent -k [2021-01-06T16:15:30.403Z] unset SSH_AUTH_SOCK; [2021-01-06T16:15:30.404Z] unset SSH_AGENT_PID; [2021-01-06T16:15:30.405Z] echo Agent pid 16 killed; [2021-01-06T16:15:30.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-06T16:15:30.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-06T16:15:30.700Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-06T16:15:31.128Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-06T16:15:31.132Z] $ docker exec 440d1d49a89f3b7f6170ec76a57847e867b956ea229cbc3f21388b7ff4965e6e ssh-agent [2021-01-06T16:15:31.419Z] SSH_AUTH_SOCK=/tmp/ssh-iD4UoW0QUw4M/agent.45 [2021-01-06T16:15:31.419Z] SSH_AGENT_PID=50 [2021-01-06T16:15:31.429Z] Running ssh-add (command line suppressed) [2021-01-06T16:15:31.674Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_328306221622893860.key (/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_328306221622893860.key) [2021-01-06T16:15:31.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-06T16:15:32.181Z] + git semver init [2021-01-06T16:15:32.181Z] # -> Open(): unable to determine branch for HEAD [2021-01-06T16:15:32.181Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-417/.git [2021-01-06T16:15:32.181Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-417 [2021-01-06T16:15:32.181Z] # $SEMVER_REMOTE_NAME = origin [2021-01-06T16:15:32.181Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-06T16:15:32.181Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-06T16:15:32.181Z] # $SEMVER_BRANCH = PR-417 [2021-01-06T16:15:32.181Z] # $SEMVER_TEMP = /tmp/semver-590934454 [2021-01-06T16:15:32.181Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-06T16:15:33.160Z] # '/tmp/semver-590934454' -> '/w/workspace/dry_go-mod-core-contracts_PR-417/.semver' [2021-01-06T16:15:33.160Z] # -> Force: false [2021-01-06T16:15:33.160Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-417/.semver [Pipeline] } [2021-01-06T16:15:33.192Z] $ docker exec --env ******** --env ******** 440d1d49a89f3b7f6170ec76a57847e867b956ea229cbc3f21388b7ff4965e6e ssh-agent -k [2021-01-06T16:15:33.383Z] unset SSH_AUTH_SOCK; [2021-01-06T16:15:33.384Z] unset SSH_AGENT_PID; [2021-01-06T16:15:33.385Z] echo Agent pid 50 killed; [2021-01-06T16:15:33.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-06T16:15:33.959Z] + git semver [Pipeline] } [2021-01-06T16:15:33.982Z] $ docker stop --time=1 440d1d49a89f3b7f6170ec76a57847e867b956ea229cbc3f21388b7ff4965e6e [2021-01-06T16:15:35.894Z] $ docker rm -f 440d1d49a89f3b7f6170ec76a57847e867b956ea229cbc3f21388b7ff4965e6e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-06T16:15:36.581Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-06T16:15:37.582Z] Stashed 1 file(s) [Pipeline] echo [2021-01-06T16:15:37.585Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-06T16:15:53.082Z] Still waiting to schedule task [2021-01-06T16:15:53.082Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-06T16:15:53.084Z] Still waiting to schedule task [2021-01-06T16:15:53.084Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-06T16:17:27.667Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18679 in /w/workspace/dry_go-mod-core-contracts_PR-417 [Pipeline] { [Pipeline] ws [2021-01-06T16:17:27.738Z] Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] checkout [2021-01-06T16:17:32.558Z] using credential edgex-jenkins-ssh [2021-01-06T16:17:32.671Z] Cloning the remote Git repository [2021-01-06T16:17:32.739Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T16:17:32.858Z] > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 [2021-01-06T16:17:32.956Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T16:17:32.957Z] > git --version # timeout=10 [2021-01-06T16:17:32.977Z] > git --version # 'git version 2.17.1' [2021-01-06T16:17:32.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T16:17:33.077Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T16:17:34.870Z] Merging remotes/origin/master commit 5dbd0348e12a845f32a07f96ca3394e7956e9069 into PR head commit b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 [2021-01-06T16:17:35.149Z] Merge succeeded, producing b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 [2021-01-06T16:17:35.150Z] Checking out Revision b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 (PR-417) [2021-01-06T16:17:34.066Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T16:17:34.081Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T16:17:34.109Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T16:17:34.142Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T16:17:34.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T16:17:34.165Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-06T16:17:34.895Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T16:17:34.912Z] > git checkout -f b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 # timeout=10 [2021-01-06T16:17:35.051Z] > git remote # timeout=10 [2021-01-06T16:17:35.072Z] > git config --get remote.origin.url # timeout=10 [2021-01-06T16:17:35.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T16:17:35.098Z] > git merge 5dbd0348e12a845f32a07f96ca3394e7956e9069 # timeout=10 [2021-01-06T16:17:35.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-06T16:17:35.159Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T16:17:35.180Z] > git checkout -f b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 # timeout=10 [2021-01-06T16:17:39.581Z] Commit message: "feat(meta): add RFC3986 validation on name fields" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-06T16:17:41.465Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-06T16:17:41.879Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-06T16:17:42.228Z] + sudo service docker restart [2021-01-06T16:17:42.228Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-06T16:17:45.157Z] ========================================================= [2021-01-06T16:17:45.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-06T16:17:45.157Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:17:45.543Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-06T16:17:46.525Z] Sending build context to Docker daemon 2.144MB [2021-01-06T16:17:46.526Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-06T16:17:46.526Z] Step 2/7 : FROM ${BASE} [2021-01-06T16:17:46.799Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-06T16:17:46.799Z] 5f621e34cdf4: Pulling fs layer [2021-01-06T16:17:46.799Z] a4357932f1b6: Pulling fs layer [2021-01-06T16:17:46.799Z] 18c013af1878: Pulling fs layer [2021-01-06T16:17:46.799Z] 00ac8860ef70: Pulling fs layer [2021-01-06T16:17:46.799Z] 63d7cb157983: Pulling fs layer [2021-01-06T16:17:46.799Z] b116817d02f9: Pulling fs layer [2021-01-06T16:17:46.799Z] 745a02a5169b: Pulling fs layer [2021-01-06T16:17:46.799Z] 00ac8860ef70: Waiting [2021-01-06T16:17:46.799Z] 63d7cb157983: Waiting [2021-01-06T16:17:46.799Z] b116817d02f9: Waiting [2021-01-06T16:17:46.799Z] 745a02a5169b: Waiting [2021-01-06T16:17:46.799Z] 18c013af1878: Verifying Checksum [2021-01-06T16:17:46.799Z] 18c013af1878: Download complete [2021-01-06T16:17:47.073Z] a4357932f1b6: Verifying Checksum [2021-01-06T16:17:47.074Z] a4357932f1b6: Download complete [2021-01-06T16:17:47.074Z] 63d7cb157983: Verifying Checksum [2021-01-06T16:17:47.074Z] 63d7cb157983: Download complete [2021-01-06T16:17:47.074Z] b116817d02f9: Download complete [2021-01-06T16:17:47.074Z] 5f621e34cdf4: Download complete [2021-01-06T16:17:47.670Z] 5f621e34cdf4: Pull complete [2021-01-06T16:17:48.277Z] a4357932f1b6: Pull complete [2021-01-06T16:17:48.558Z] 18c013af1878: Pull complete [2021-01-06T16:17:50.543Z] 745a02a5169b: Download complete [2021-01-06T16:17:51.542Z] 00ac8860ef70: Verifying Checksum [2021-01-06T16:17:51.542Z] 00ac8860ef70: Download complete [2021-01-06T16:18:01.714Z] 00ac8860ef70: Pull complete [2021-01-06T16:18:01.714Z] 63d7cb157983: Pull complete [2021-01-06T16:18:01.989Z] b116817d02f9: Pull complete [2021-01-06T16:18:06.323Z] 745a02a5169b: Pull complete [2021-01-06T16:18:06.323Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-06T16:18:06.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-06T16:18:06.323Z] ---> b7e6874047d6 [2021-01-06T16:18:06.323Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-06T16:18:08.935Z] ---> Running in e249032018c6 [2021-01-06T16:18:09.533Z] Removing intermediate container e249032018c6 [2021-01-06T16:18:09.533Z] ---> 40f83cbc4e28 [2021-01-06T16:18:09.533Z] Step 4/7 : RUN apk add bash [2021-01-06T16:18:09.533Z] ---> Running in 0a35957911c7 [2021-01-06T16:18:10.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-06T16:18:11.951Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-06T16:18:13.377Z] OK: 142 MiB in 39 packages [2021-01-06T16:18:14.358Z] Removing intermediate container 0a35957911c7 [2021-01-06T16:18:14.358Z] ---> 3f6375a86c10 [2021-01-06T16:18:14.358Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-06T16:18:14.630Z] ---> Running in 286d13ce2fc0 [2021-01-06T16:18:14.906Z] Removing intermediate container 286d13ce2fc0 [2021-01-06T16:18:14.906Z] ---> 4fd845f31151 [2021-01-06T16:18:14.906Z] Step 6/7 : COPY go.mod . [2021-01-06T16:18:15.502Z] ---> 0e57a4c85c4f [2021-01-06T16:18:15.502Z] Step 7/7 : RUN go mod download [2021-01-06T16:18:15.777Z] ---> Running in 7836917b095c [2021-01-06T16:18:30.872Z] Removing intermediate container 7836917b095c [2021-01-06T16:18:30.872Z] ---> 04293c417f58 [2021-01-06T16:18:30.872Z] Successfully built 04293c417f58 [2021-01-06T16:18:30.872Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:18:31.213Z] + docker inspect -f . ci-base-image-arm64 [2021-01-06T16:18:31.213Z] . [Pipeline] withDockerContainer [2021-01-06T16:18:31.456Z] prd-ubuntu18.04-docker-arm64-4c-16g-18679 does not seem to be running inside a container [2021-01-06T16:18:31.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-06T16:18:33.068Z] $ docker top e67ae0c9103cb9825428dd7f7e640918043eb44410c9155faf55b58be4b42d00 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-06T16:18:34.197Z] + go version [2021-01-06T16:18:34.197Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-06T16:18:34.227Z] $ docker stop --time=1 e67ae0c9103cb9825428dd7f7e640918043eb44410c9155faf55b58be4b42d00 [2021-01-06T16:18:34.581Z] Running on prd-centos7-docker-4c-2g-18680 in /w/workspace/dry_go-mod-core-contracts_PR-417 [2021-01-06T16:18:36.178Z] $ docker rm -f e67ae0c9103cb9825428dd7f7e640918043eb44410c9155faf55b58be4b42d00 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-01-06T16:18:36.586Z] Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:18:37.284Z] + docker inspect -f . ci-base-image-arm64 [2021-01-06T16:18:37.284Z] . [Pipeline] withDockerContainer [2021-01-06T16:18:37.553Z] prd-ubuntu18.04-docker-arm64-4c-16g-18679 does not seem to be running inside a container [2021-01-06T16:18:37.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-06T16:18:39.171Z] $ docker top 159b49a29297dac0938c50c45b36b566f8d74e0d4fce769e05fdad53f1e524d2 -eo pid,comm [2021-01-06T16:18:39.194Z] using credential edgex-jenkins-ssh [2021-01-06T16:18:39.250Z] Cloning the remote Git repository [Pipeline] { [Pipeline] sh [2021-01-06T16:18:39.275Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T16:18:39.343Z] > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 [2021-01-06T16:18:39.405Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T16:18:39.406Z] > git --version # timeout=10 [2021-01-06T16:18:39.412Z] > git --version # 'git version 2.24.3' [2021-01-06T16:18:39.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T16:18:39.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T16:18:40.117Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T16:18:40.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T16:18:40.135Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T16:18:40.147Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T16:18:40.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T16:18:40.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-06T16:18:40.260Z] + make test [2021-01-06T16:18:40.260Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-06T16:18:40.644Z] Merging remotes/origin/master commit 5dbd0348e12a845f32a07f96ca3394e7956e9069 into PR head commit b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 [2021-01-06T16:18:40.774Z] Merge succeeded, producing b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 [2021-01-06T16:18:40.775Z] Checking out Revision b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 (PR-417) [2021-01-06T16:18:40.652Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T16:18:40.658Z] > git checkout -f b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 # timeout=10 [2021-01-06T16:18:40.739Z] > git remote # timeout=10 [2021-01-06T16:18:40.745Z] > git config --get remote.origin.url # timeout=10 [2021-01-06T16:18:40.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T16:18:40.757Z] > git merge 5dbd0348e12a845f32a07f96ca3394e7956e9069 # timeout=10 [2021-01-06T16:18:40.767Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-06T16:18:40.777Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T16:18:40.780Z] > git checkout -f b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 # timeout=10 [2021-01-06T16:18:44.426Z] Commit message: "feat(meta): add RFC3986 validation on name fields" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-06T16:18:45.667Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-06T16:18:45.990Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-06T16:18:46.294Z] + sudo service docker restart [2021-01-06T16:18:46.295Z] + true [2021-01-06T16:18:46.295Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-06T16:18:47.425Z] ========================================================= [2021-01-06T16:18:47.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-06T16:18:47.425Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:18:47.788Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-06T16:18:48.364Z] Sending build context to Docker daemon 2.145MB [2021-01-06T16:18:48.364Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-06T16:18:48.364Z] Step 2/7 : FROM ${BASE} [2021-01-06T16:18:48.364Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-06T16:18:48.364Z] 188c0c94c7c5: Pulling fs layer [2021-01-06T16:18:48.364Z] 0ef7d3d256c8: Pulling fs layer [2021-01-06T16:18:48.364Z] de9db76c5a1d: Pulling fs layer [2021-01-06T16:18:48.364Z] bca2f99d35d6: Pulling fs layer [2021-01-06T16:18:48.364Z] 93359f2a8cfa: Pulling fs layer [2021-01-06T16:18:48.364Z] 7c6f9722023f: Pulling fs layer [2021-01-06T16:18:48.364Z] a35cf1a2eb13: Pulling fs layer [2021-01-06T16:18:48.364Z] 93359f2a8cfa: Waiting [2021-01-06T16:18:48.364Z] 7c6f9722023f: Waiting [2021-01-06T16:18:48.364Z] a35cf1a2eb13: Waiting [2021-01-06T16:18:48.364Z] bca2f99d35d6: Waiting [2021-01-06T16:18:48.364Z] de9db76c5a1d: Verifying Checksum [2021-01-06T16:18:48.364Z] de9db76c5a1d: Download complete [2021-01-06T16:18:48.364Z] 0ef7d3d256c8: Download complete [2021-01-06T16:18:48.364Z] 93359f2a8cfa: Verifying Checksum [2021-01-06T16:18:48.364Z] 93359f2a8cfa: Download complete [2021-01-06T16:18:48.364Z] 7c6f9722023f: Verifying Checksum [2021-01-06T16:18:48.364Z] 7c6f9722023f: Download complete [2021-01-06T16:18:48.364Z] 188c0c94c7c5: Verifying Checksum [2021-01-06T16:18:48.364Z] 188c0c94c7c5: Download complete [2021-01-06T16:18:48.626Z] 188c0c94c7c5: Pull complete [2021-01-06T16:18:48.887Z] 0ef7d3d256c8: Pull complete [2021-01-06T16:18:49.151Z] de9db76c5a1d: Pull complete [2021-01-06T16:18:50.544Z] a35cf1a2eb13: Verifying Checksum [2021-01-06T16:18:50.544Z] a35cf1a2eb13: Download complete [2021-01-06T16:18:51.493Z] bca2f99d35d6: Download complete [2021-01-06T16:18:56.847Z] bca2f99d35d6: Pull complete [2021-01-06T16:18:56.847Z] 93359f2a8cfa: Pull complete [2021-01-06T16:18:56.847Z] 7c6f9722023f: Pull complete [2021-01-06T16:19:02.481Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-06T16:19:02.481Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.033s coverage: 85.7% of statements [2021-01-06T16:19:02.481Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.076s coverage: 100.0% of statements [2021-01-06T16:19:04.470Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.037s coverage: 45.4% of statements [2021-01-06T16:19:04.470Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.033s coverage: 77.8% of statements [2021-01-06T16:19:04.470Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-06T16:19:05.921Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.015s coverage: 26.3% of statements [2021-01-06T16:19:06.526Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.040s coverage: 14.7% of statements [2021-01-06T16:19:06.526Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.022s coverage: 100.0% of statements [2021-01-06T16:19:06.931Z] a35cf1a2eb13: Pull complete [2021-01-06T16:19:06.931Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-06T16:19:06.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-06T16:19:06.931Z] ---> a62c8e92a672 [2021-01-06T16:19:06.931Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-06T16:19:06.931Z] ---> Running in df2ebf9e8ccd [2021-01-06T16:19:06.931Z] Removing intermediate container df2ebf9e8ccd [2021-01-06T16:19:06.931Z] ---> 6bb14889d242 [2021-01-06T16:19:06.931Z] Step 4/7 : RUN apk add bash [2021-01-06T16:19:06.931Z] ---> Running in 26d60ecf4bb1 [2021-01-06T16:19:06.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-06T16:19:06.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-06T16:19:06.931Z] ERROR: http://nl.alpinelinux.org/alpine/v3.12/main: remote server returned error (try 'apk update') [2021-01-06T16:19:06.931Z] WARNING: Ignoring APKINDEX.ff3ff8db.tar.gz: No such file or directory [2021-01-06T16:19:07.973Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.086s coverage: 91.8% of statements [2021-01-06T16:19:07.973Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-06T16:19:07.973Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-06T16:19:07.973Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.042s coverage: 100.0% of statements [2021-01-06T16:19:07.973Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.017s coverage: 47.8% of statements [2021-01-06T16:19:08.336Z] OK: 166 MiB in 39 packages [2021-01-06T16:19:08.916Z] Removing intermediate container 26d60ecf4bb1 [2021-01-06T16:19:08.916Z] ---> dd9ecd32c3df [2021-01-06T16:19:08.916Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-06T16:19:08.916Z] ---> Running in 28e524eeb762 [2021-01-06T16:19:08.916Z] Removing intermediate container 28e524eeb762 [2021-01-06T16:19:08.916Z] ---> 902e64e6de5e [2021-01-06T16:19:08.916Z] Step 6/7 : COPY go.mod . [2021-01-06T16:19:09.184Z] ---> e907cf31f271 [2021-01-06T16:19:09.184Z] Step 7/7 : RUN go mod download [2021-01-06T16:19:09.184Z] ---> Running in 5a9015f489c4 [2021-01-06T16:19:13.425Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.088s coverage: 63.0% of statements [2021-01-06T16:19:13.425Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.018s coverage: 26.3% of statements [2021-01-06T16:19:13.425Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.025s coverage: 15.4% of statements [2021-01-06T16:19:13.425Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.038s coverage: 15.4% of statements [2021-01-06T16:19:13.425Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.036s coverage: 14.3% of statements [2021-01-06T16:19:13.425Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-06T16:19:14.431Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.144s coverage: 84.4% of statements [2021-01-06T16:19:14.431Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-06T16:19:14.431Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-06T16:19:14.431Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.107s coverage: 44.1% of statements [2021-01-06T16:19:15.043Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.044s coverage: 94.4% of statements [2021-01-06T16:19:16.481Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.126s coverage: 93.2% of statements [2021-01-06T16:19:16.481Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.022s coverage: 100.0% of statements [2021-01-06T16:19:16.481Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-06T16:19:16.753Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-06T16:19:21.481Z] Removing intermediate container 5a9015f489c4 [2021-01-06T16:19:21.481Z] ---> e238143fac1a [2021-01-06T16:19:21.481Z] Successfully built e238143fac1a [2021-01-06T16:19:21.481Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:19:21.799Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-06T16:19:21.799Z] . [Pipeline] withDockerContainer [2021-01-06T16:19:21.924Z] prd-centos7-docker-4c-2g-18680 does not seem to be running inside a container [2021-01-06T16:19:21.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@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 [2021-01-06T16:19:22.166Z] gofmt -l . [2021-01-06T16:19:22.166Z] [ "`gofmt -l .`" = "" ] [2021-01-06T16:19:22.679Z] $ docker top 2d24b252de0029c4d553ca7a89df4d5fe8cbbc8ff179f9aa3a3629fea6c94f36 -eo pid,comm [Pipeline] { [Pipeline] } [2021-01-06T16:19:22.909Z] $ docker stop --time=1 159b49a29297dac0938c50c45b36b566f8d74e0d4fce769e05fdad53f1e524d2 [2021-01-06T16:19:25.189Z] $ docker rm -f 159b49a29297dac0938c50c45b36b566f8d74e0d4fce769e05fdad53f1e524d2 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-01-06T16:19:26.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-06T16:19:26.137Z] + go version [2021-01-06T16:19:26.137Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-06T16:19:26.196Z] $ docker stop --time=1 2d24b252de0029c4d553ca7a89df4d5fe8cbbc8ff179f9aa3a3629fea6c94f36 [2021-01-06T16:19:27.268Z] Stashed 1 file(s) [2021-01-06T16:19:27.539Z] $ docker rm -f 2d24b252de0029c4d553ca7a89df4d5fe8cbbc8ff179f9aa3a3629fea6c94f36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-06T16:19:28.803Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-06T16:19:28.803Z] . [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer [2021-01-06T16:19:28.950Z] prd-centos7-docker-4c-2g-18680 does not seem to be running inside a container [2021-01-06T16:19:28.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@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 [2021-01-06T16:19:29.660Z] $ docker top e0997c39bee0fddaea23b81741e0e2e747f3164f69bcf1fec011711e40ddb5dc -eo pid,comm [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-01-06T16:19:30.238Z] + make test [2021-01-06T16:19:30.238Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] // stage [Pipeline] } [2021-01-06T16:19:36.941Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-06T16:19:37.539Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.048s coverage: 85.7% of statements [2021-01-06T16:19:37.539Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.021s coverage: 100.0% of statements [2021-01-06T16:19:37.810Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.020s coverage: 45.4% of statements [2021-01-06T16:19:38.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.014s coverage: 77.8% of statements [2021-01-06T16:19:38.077Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-06T16:19:38.342Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.037s coverage: 26.3% of statements [2021-01-06T16:19:38.927Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.012s coverage: 14.7% of statements [2021-01-06T16:19:38.927Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.013s coverage: 100.0% of statements [2021-01-06T16:19:38.927Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.045s coverage: 91.8% of statements [2021-01-06T16:19:38.927Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-06T16:19:38.927Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-06T16:19:38.927Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.023s coverage: 100.0% of statements [2021-01-06T16:19:39.199Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.014s coverage: 47.8% of statements [2021-01-06T16:19:41.157Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.035s coverage: 63.0% of statements [2021-01-06T16:19:41.157Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.011s coverage: 26.3% of statements [2021-01-06T16:19:41.157Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.012s coverage: 15.4% of statements [2021-01-06T16:19:41.157Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.005s coverage: 15.4% of statements [2021-01-06T16:19:41.157Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.035s coverage: 14.3% of statements [2021-01-06T16:19:41.157Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-06T16:19:41.750Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.049s coverage: 84.4% of statements [2021-01-06T16:19:41.750Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-06T16:19:41.750Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-06T16:19:42.026Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.008s coverage: 44.1% of statements [2021-01-06T16:19:42.026Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.019s coverage: 94.4% of statements [2021-01-06T16:19:42.289Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.033s coverage: 93.2% of statements [2021-01-06T16:19:42.289Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 100.0% of statements [2021-01-06T16:19:42.289Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-06T16:19:42.552Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-06T16:19:43.964Z] gofmt -l . [2021-01-06T16:19:44.227Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-06T16:19:44.241Z] $ docker stop --time=1 e0997c39bee0fddaea23b81741e0e2e747f3164f69bcf1fec011711e40ddb5dc [2021-01-06T16:19:46.529Z] $ docker rm -f e0997c39bee0fddaea23b81741e0e2e747f3164f69bcf1fec011711e40ddb5dc [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-06T16:19:47.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-06T16:19:47.213Z] Warning: overwriting stash ‘coverage-report’ [2021-01-06T16:19:47.537Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-06T16:19:49.473Z] provisioning config files... [2021-01-06T16:19:49.504Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/config4790811600614164090tmp [Pipeline] { [Pipeline] sh [2021-01-06T16:19:49.937Z] + set +x [2021-01-06T16:19:49.938Z] + bash -s -- [2021-01-06T16:19:49.938Z] + curl -s https://codecov.io/bash [2021-01-06T16:19:50.209Z] [2021-01-06T16:19:50.209Z] _____ _ [2021-01-06T16:19:50.209Z] / ____| | | [2021-01-06T16:19:50.209Z] | | ___ __| | ___ ___ _____ __ [2021-01-06T16:19:50.209Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-06T16:19:50.209Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-06T16:19:50.209Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-06T16:19:50.209Z] Bash-20201231-23d4836 [2021-01-06T16:19:50.209Z] [2021-01-06T16:19:50.209Z] [2021-01-06T16:19:50.209Z] ==> git version 2.24.3 found [2021-01-06T16:19:50.209Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-06T16:19:50.210Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-06T16:19:50.210Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-06T16:19:50.210Z] ==> Jenkins CI detected. [2021-01-06T16:19:50.210Z] project root: . [2021-01-06T16:19:50.210Z] --> token set from env [2021-01-06T16:19:50.210Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-06T16:19:50.210Z] ==> Running gcov in . (disable via -X gcov) [2021-01-06T16:19:50.481Z] ==> Python coveragepy not found [2021-01-06T16:19:50.481Z] ==> Searching for coverage reports in: [2021-01-06T16:19:50.481Z] + . [2021-01-06T16:19:50.481Z] -> Found 1 reports [2021-01-06T16:19:50.481Z] ==> Detecting git/mercurial file structure [2021-01-06T16:19:50.481Z] ==> Reading reports [2021-01-06T16:19:50.481Z] + ./coverage.out bytes=119868 [2021-01-06T16:19:50.481Z] ==> Appending adjustments [2021-01-06T16:19:50.481Z] https://docs.codecov.io/docs/fixing-reports [2021-01-06T16:19:51.981Z] + Found adjustments [2021-01-06T16:19:51.981Z] ==> Gzipping contents [2021-01-06T16:19:51.981Z] 20K /tmp/codecov.yRpsE6.gz [2021-01-06T16:19:52.246Z] ==> Uploading reports [2021-01-06T16:19:52.246Z] url: https://codecov.io [2021-01-06T16:19:52.246Z] query: branch=PR-417&commit=b61c297fd4c580a4e3b51801a0da3cdfd9ef1550&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-417%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=417&job=&cmd_args= [2021-01-06T16:19:52.246Z] -> Pinging Codecov [2021-01-06T16:19:52.246Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-417&commit=b61c297fd4c580a4e3b51801a0da3cdfd9ef1550&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-417%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=417&job=&cmd_args= [2021-01-06T16:19:52.519Z] -> Uploading to [2021-01-06T16:19:52.519Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-06/71470A77251A30514AAF9C0BB2E5B6CE/b61c297fd4c580a4e3b51801a0da3cdfd9ef1550/f6788fb8-6c7d-4e2b-9da0-0c20c3da327e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210106%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210106T161952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27f2eea7d8ac7933a44590b5cc42fec272548a9cd8f6f298dd71dc675c538ca5 [2021-01-06T16:19:52.519Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-06T16:19:52.519Z] Dload Upload Total Spent Left Speed [2021-01-06T16:19:53.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19044 0 0 100 19044 0 39022 --:--:-- --:--:-- --:--:-- 39104 [2021-01-06T16:19:53.098Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/b61c297fd4c580a4e3b51801a0da3cdfd9ef1550 [Pipeline] } [2021-01-06T16:19:53.108Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:19:55.788Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:19:56.377Z] ---> package-listing.sh [2021-01-06T16:19:56.377Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-06T16:19:56.377Z] ++ facter osfamily [2021-01-06T16:19:56.644Z] + OS_FAMILY=redhat [2021-01-06T16:19:56.644Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-417 [2021-01-06T16:19:56.644Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-06T16:19:56.644Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-06T16:19:56.644Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-06T16:19:56.644Z] + PACKAGES=/tmp/packages_start.txt [2021-01-06T16:19:56.644Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-417 ']' [2021-01-06T16:19:56.644Z] + PACKAGES=/tmp/packages_end.txt [2021-01-06T16:19:56.644Z] + case "${OS_FAMILY}" in [2021-01-06T16:19:56.644Z] + sort [2021-01-06T16:19:56.644Z] + rpm -qa [2021-01-06T16:20:02.060Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-06T16:20:02.060Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-06T16:20:02.060Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-06T16:20:02.060Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-417 ']' [2021-01-06T16:20:02.060Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-417/archives/ [2021-01-06T16:20:02.060Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-417/archives/ [Pipeline] echo [2021-01-06T16:20:02.079Z] 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/dry_go-mod-core-contracts_PR-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-06T16:20:02.400Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:20:03.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-06T16:20:03.290Z] [2021-01-06T16:20:03.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-06T16:20:03.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-06T16:20:03.719Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-06T16:20:03.719Z] df20fa9351a1: Pulling fs layer [2021-01-06T16:20:03.719Z] 36b3adc4ff6f: Pulling fs layer [2021-01-06T16:20:03.719Z] 8ad3a11d3b57: Pulling fs layer [2021-01-06T16:20:03.719Z] 46f8f816bc3b: Pulling fs layer [2021-01-06T16:20:03.719Z] 93b61091891f: Pulling fs layer [2021-01-06T16:20:03.719Z] 93b9cdb0e59b: Pulling fs layer [2021-01-06T16:20:03.719Z] 5e14af77c1be: Pulling fs layer [2021-01-06T16:20:03.719Z] 01666e4c0597: Pulling fs layer [2021-01-06T16:20:03.719Z] aa168da1d23b: Pulling fs layer [2021-01-06T16:20:03.719Z] 93b61091891f: Waiting [2021-01-06T16:20:03.719Z] 93b9cdb0e59b: Waiting [2021-01-06T16:20:03.719Z] 46f8f816bc3b: Waiting [2021-01-06T16:20:03.719Z] 5e14af77c1be: Waiting [2021-01-06T16:20:03.719Z] 01666e4c0597: Waiting [2021-01-06T16:20:03.719Z] aa168da1d23b: Waiting [2021-01-06T16:20:03.719Z] 36b3adc4ff6f: Download complete [2021-01-06T16:20:04.042Z] 46f8f816bc3b: Download complete [2021-01-06T16:20:04.042Z] df20fa9351a1: Verifying Checksum [2021-01-06T16:20:04.042Z] df20fa9351a1: Download complete [2021-01-06T16:20:04.042Z] 93b9cdb0e59b: Verifying Checksum [2021-01-06T16:20:04.042Z] 93b9cdb0e59b: Download complete [2021-01-06T16:20:04.042Z] 5e14af77c1be: Verifying Checksum [2021-01-06T16:20:04.042Z] 5e14af77c1be: Download complete [2021-01-06T16:20:04.042Z] 93b61091891f: Verifying Checksum [2021-01-06T16:20:04.042Z] 93b61091891f: Download complete [2021-01-06T16:20:04.330Z] 01666e4c0597: Verifying Checksum [2021-01-06T16:20:04.331Z] 01666e4c0597: Download complete [2021-01-06T16:20:04.613Z] df20fa9351a1: Pull complete [2021-01-06T16:20:04.912Z] 36b3adc4ff6f: Pull complete [2021-01-06T16:20:05.243Z] 8ad3a11d3b57: Verifying Checksum [2021-01-06T16:20:05.243Z] 8ad3a11d3b57: Download complete [2021-01-06T16:20:07.433Z] 8ad3a11d3b57: Pull complete [2021-01-06T16:20:07.433Z] 46f8f816bc3b: Pull complete [2021-01-06T16:20:08.087Z] 93b61091891f: Pull complete [2021-01-06T16:20:08.705Z] 93b9cdb0e59b: Pull complete [2021-01-06T16:20:08.983Z] 5e14af77c1be: Pull complete [2021-01-06T16:20:09.261Z] 01666e4c0597: Pull complete [2021-01-06T16:20:09.541Z] aa168da1d23b: Verifying Checksum [2021-01-06T16:20:09.541Z] aa168da1d23b: Download complete [2021-01-06T16:20:21.982Z] aa168da1d23b: Pull complete [2021-01-06T16:20:21.982Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-06T16:20:21.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-06T16:20:21.982Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-06T16:20:22.338Z] prd-centos7-docker-4c-2g-18678 does not seem to be running inside a container [2021-01-06T16:20:22.423Z] $ 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/dry_go-mod-core-contracts_PR-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-417 -v /w/workspace/dry_go-mod-core-contracts_PR-417:/w/workspace/dry_go-mod-core-contracts_PR-417:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-417@tmp:/w/workspace/dry_go-mod-core-contracts_PR-417@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-06T16:20:25.950Z] $ docker top 890cd38d0e8be284039bd98623f250ee05cfd43ffda003d46cd59e6223880f53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-06T16:20:26.547Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-06T16:20:26.881Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-06T16:20:27.203Z] + ls /var/log/sa-host [2021-01-06T16:20:27.203Z] + sadf -c /var/log/sa-host/sa06 [2021-01-06T16:20:27.203Z] file_magic: OK [2021-01-06T16:20:27.203Z] HZ: Using current value: 100 [2021-01-06T16:20:27.203Z] file_header: OK [2021-01-06T16:20:27.203Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-06T16:20:27.203Z] Statistics: [2021-01-06T16:20:27.203Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-06T16:20:27.203Z] File successfully converted to sysstat format version 12.2.1 [2021-01-06T16:20:27.203Z] + sadf -c /var/log/sa-host/sa23 [2021-01-06T16:20:27.203Z] file_magic: OK [2021-01-06T16:20:27.203Z] HZ: Using current value: 100 [2021-01-06T16:20:27.203Z] file_header: OK [2021-01-06T16:20:27.203Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-06T16:20:27.203Z] Statistics: [2021-01-06T16:20:27.203Z] Hnuu...uuuununununu... [2021-01-06T16:20:27.203Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-06T16:20:27.893Z] provisioning config files... [2021-01-06T16:20:27.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/config4429273912228828221tmp [Pipeline] { [Pipeline] echo [2021-01-06T16:20:27.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:20:28.320Z] ---> create-netrc.sh [Pipeline] } [2021-01-06T16:20:28.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-06T16:20:28.421Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:20:28.744Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-06T16:20:28.758Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:20:29.075Z] ---> sudo-logs.sh [2021-01-06T16:20:29.075Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-06T16:20:29.089Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:20:29.441Z] ---> job-cost.sh [2021-01-06T16:20:29.441Z] lf-activate-venv: SKIPPING [2021-01-06T16:20:29.441Z] INFO: No Stack... [2021-01-06T16:20:30.859Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-06T16:20:31.124Z] INFO: Archiving Costs [Pipeline] echo [2021-01-06T16:20:31.139Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T16:20:31.448Z] ---> logs-deploy.sh [2021-01-06T16:20:31.448Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-417/6 [2021-01-06T16:20:31.448Z] INFO: archiving workspace using pattern(s): [2021-01-06T16:20:34.112Z] Archives upload complete. [2021-01-06T16:20:34.112Z] INFO: archiving logs to Nexus