Pull request #435 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c0ce44a20bad973811b7541b15c49547e389767c+c0e791ce8d89920a1cc47c081dc832321f7746d3 (731f6e238b0059943808ffba2d2e9b90b276f2b7) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-21074 in /w/workspace/dry_go-mod-core-contracts_PR-435 [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-435 # 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 > 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/435/head:refs/remotes/origin/PR-435 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c0e791ce8d89920a1cc47c081dc832321f7746d3 into PR head commit c0ce44a20bad973811b7541b15c49547e389767c Merge succeeded, producing c0ce44a20bad973811b7541b15c49547e389767c Checking out Revision c0ce44a20bad973811b7541b15c49547e389767c (PR-435) > git config core.sparsecheckout # timeout=10 > git checkout -f c0ce44a20bad973811b7541b15c49547e389767c # 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 c0e791ce8d89920a1cc47c081dc832321f7746d3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0ce44a20bad973811b7541b15c49547e389767c # timeout=10 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/google/uuid-1.1.5" > git rev-list --no-walk 76c00e274c454cd42b43e142bcf8a8f5afd702d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T03:12:44.001Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T03:12:44.262Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T03:12:44.362Z] ========================================================= [2021-01-19T03:12:44.362Z] EdgeX Global Pipelines Version Info [2021-01-19T03:12:44.362Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-19T03:12:45.898Z] ------------------- [2021-01-19T03:12:45.899Z] stable info: [2021-01-19T03:12:45.899Z] ------------------- [2021-01-19T03:12:45.899Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T03:12:45.899Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T03:12:45.899Z] Message: update stable to v1.0.177 [2021-01-19T03:12:46.846Z] ------------------- [2021-01-19T03:12:46.846Z] experimental info: [2021-01-19T03:12:46.846Z] ------------------- [2021-01-19T03:12:46.846Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T03:12:46.846Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T03:12:46.846Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T03:12:47.202Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-19T03:12:47.319Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-19T03:12:47.452Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T03:12:47.573Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T03:12:47.728Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T03:12:47.827Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T03:12:47.920Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T03:12:48.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T03:12:48.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-19T03:12:48.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T03:12:48.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T03:12:48.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-19T03:12:48.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T03:12:48.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T03:12:48.772Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T03:12:48.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T03:12:48.956Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T03:12:49.064Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T03:12:49.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-19T03:12:49.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T03:12:49.341Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-19T03:12:49.431Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-19T03:12:49.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T03:12:49.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T03:12:49.727Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-19T03:12:49.819Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T03:12:49.920Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T03:12:50.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-435 [Pipeline] echo [2021-01-19T03:12:50.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-435 [Pipeline] echo [2021-01-19T03:12:50.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-435 [Pipeline] echo [2021-01-19T03:12:50.347Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0ce44a20bad973811b7541b15c49547e389767c [Pipeline] echo [2021-01-19T03:12:50.462Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0ce44a [Pipeline] echo [2021-01-19T03:12:50.563Z] [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-19T03:12:51.275Z] + git log --format=format:%s -1 c0ce44a20bad973811b7541b15c49547e389767c [Pipeline] echo [2021-01-19T03:12:51.336Z] GIT_COMMIT: c0ce44a20bad973811b7541b15c49547e389767c, Commit Message: Merge branch 'master' into dependabot/go_modules/github.com/google/uuid-1.1.5 [Pipeline] echo [2021-01-19T03:12:51.380Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:12:52.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T03:12:52.587Z] [2021-01-19T03:12:52.587Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:12:52.931Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T03:12:52.931Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T03:12:52.931Z] 31603596830f: Pulling fs layer [2021-01-19T03:12:52.931Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T03:12:52.931Z] 6ca5941a6612: Pulling fs layer [2021-01-19T03:12:52.931Z] ecc8261a40a4: Pulling fs layer [2021-01-19T03:12:52.931Z] ecc8261a40a4: Waiting [2021-01-19T03:12:52.931Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T03:12:52.931Z] 2a8b12db71e7: Download complete [2021-01-19T03:12:53.195Z] 31603596830f: Verifying Checksum [2021-01-19T03:12:53.195Z] 31603596830f: Download complete [2021-01-19T03:12:53.195Z] ecc8261a40a4: Verifying Checksum [2021-01-19T03:12:53.195Z] ecc8261a40a4: Download complete [2021-01-19T03:12:53.458Z] 6ca5941a6612: Download complete [2021-01-19T03:12:53.458Z] 31603596830f: Pull complete [2021-01-19T03:12:53.721Z] 2a8b12db71e7: Pull complete [2021-01-19T03:12:54.302Z] 6ca5941a6612: Pull complete [2021-01-19T03:12:54.563Z] ecc8261a40a4: Pull complete [2021-01-19T03:12:54.563Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T03:12:54.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T03:12:54.563Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T03:12:54.665Z] prd-centos7-docker-4c-2g-21074 does not seem to be running inside a container [2021-01-19T03:12:54.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-435 -v /w/workspace/dry_go-mod-core-contracts_PR-435:/w/workspace/dry_go-mod-core-contracts_PR-435:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-435@tmp:/w/workspace/dry_go-mod-core-contracts_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-19T03:12:56.720Z] $ docker top d3714870e68ac5d44f0182e7641036549593d9dfc29cdc9236d6ae5198dda228 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T03:12:57.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T03:12:57.020Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T03:12:57.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T03:12:57.245Z] $ docker exec d3714870e68ac5d44f0182e7641036549593d9dfc29cdc9236d6ae5198dda228 ssh-agent [2021-01-19T03:12:57.412Z] SSH_AUTH_SOCK=/tmp/ssh-nR7OaZOINGGg/agent.11 [2021-01-19T03:12:57.412Z] SSH_AGENT_PID=16 [2021-01-19T03:12:57.425Z] Running ssh-add (command line suppressed) [2021-01-19T03:12:57.547Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-435@tmp/private_key_2415376140497016100.key (/w/workspace/dry_go-mod-core-contracts_PR-435@tmp/private_key_2415376140497016100.key) [2021-01-19T03:12:57.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T03:12:57.938Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T03:12:57.957Z] $ docker exec --env ******** --env ******** d3714870e68ac5d44f0182e7641036549593d9dfc29cdc9236d6ae5198dda228 ssh-agent -k [2021-01-19T03:12:58.138Z] unset SSH_AUTH_SOCK; [2021-01-19T03:12:58.138Z] unset SSH_AGENT_PID; [2021-01-19T03:12:58.138Z] echo Agent pid 16 killed; [2021-01-19T03:12:58.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T03:12:58.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T03:12:58.371Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T03:12:58.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T03:12:58.541Z] $ docker exec d3714870e68ac5d44f0182e7641036549593d9dfc29cdc9236d6ae5198dda228 ssh-agent [2021-01-19T03:12:58.699Z] SSH_AUTH_SOCK=/tmp/ssh-rsRRmoONCUF0/agent.44 [2021-01-19T03:12:58.699Z] SSH_AGENT_PID=50 [2021-01-19T03:12:58.705Z] Running ssh-add (command line suppressed) [2021-01-19T03:12:58.816Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-435@tmp/private_key_797851275011223924.key (/w/workspace/dry_go-mod-core-contracts_PR-435@tmp/private_key_797851275011223924.key) [2021-01-19T03:12:58.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T03:12:59.203Z] + git semver init [2021-01-19T03:12:59.203Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T03:12:59.203Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-435/.git [2021-01-19T03:12:59.203Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-435 [2021-01-19T03:12:59.203Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T03:12:59.203Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T03:12:59.203Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T03:12:59.203Z] # $SEMVER_BRANCH = PR-435 [2021-01-19T03:12:59.203Z] # $SEMVER_TEMP = /tmp/semver-089431875 [2021-01-19T03:12:59.203Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-19T03:12:59.776Z] # '/tmp/semver-089431875' -> '/w/workspace/dry_go-mod-core-contracts_PR-435/.semver' [2021-01-19T03:13:00.038Z] # -> Force: false [2021-01-19T03:13:00.038Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-435/.semver [Pipeline] } [2021-01-19T03:13:00.049Z] $ docker exec --env ******** --env ******** d3714870e68ac5d44f0182e7641036549593d9dfc29cdc9236d6ae5198dda228 ssh-agent -k [2021-01-19T03:13:00.163Z] unset SSH_AUTH_SOCK; [2021-01-19T03:13:00.164Z] unset SSH_AGENT_PID; [2021-01-19T03:13:00.164Z] echo Agent pid 50 killed; [2021-01-19T03:13:00.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T03:13:00.761Z] + git semver [Pipeline] } [2021-01-19T03:13:00.775Z] $ docker stop --time=1 d3714870e68ac5d44f0182e7641036549593d9dfc29cdc9236d6ae5198dda228 [2021-01-19T03:13:02.697Z] $ docker rm -f d3714870e68ac5d44f0182e7641036549593d9dfc29cdc9236d6ae5198dda228 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T03:13:03.172Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T03:13:03.561Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T03:13:03.564Z] [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-19T03:13:04.264Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21060 in /w/workspace/dry_go-mod-core-contracts_PR-435 [Pipeline] { [Pipeline] ws [2021-01-19T03:13:04.322Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-01-19T03:13:08.597Z] using credential edgex-jenkins-ssh [2021-01-19T03:13:08.650Z] Cloning the remote Git repository [2021-01-19T03:13:08.690Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T03:13:08.792Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-01-19T03:13:08.866Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T03:13:08.866Z] > git --version # timeout=10 [2021-01-19T03:13:08.888Z] > git --version # 'git version 2.17.1' [2021-01-19T03:13:08.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T03:13:08.942Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T03:13:09.914Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T03:13:09.935Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T03:13:09.964Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T03:13:10.007Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T03:13:10.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T03:13:10.021Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T03:13:10.670Z] Merging remotes/origin/master commit c0e791ce8d89920a1cc47c081dc832321f7746d3 into PR head commit c0ce44a20bad973811b7541b15c49547e389767c [2021-01-19T03:13:10.910Z] Merge succeeded, producing c0ce44a20bad973811b7541b15c49547e389767c [2021-01-19T03:13:10.910Z] Checking out Revision c0ce44a20bad973811b7541b15c49547e389767c (PR-435) [2021-01-19T03:13:10.682Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T03:13:10.696Z] > git checkout -f c0ce44a20bad973811b7541b15c49547e389767c # timeout=10 [2021-01-19T03:13:10.823Z] > git remote # timeout=10 [2021-01-19T03:13:10.841Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T03:13:10.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T03:13:10.865Z] > git merge c0e791ce8d89920a1cc47c081dc832321f7746d3 # timeout=10 [2021-01-19T03:13:10.887Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T03:13:10.908Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T03:13:10.921Z] > git checkout -f c0ce44a20bad973811b7541b15c49547e389767c # timeout=10 [2021-01-19T03:13:15.361Z] Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/google/uuid-1.1.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T03:13:16.838Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T03:13:17.244Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T03:13:17.588Z] + sudo service docker restart [2021-01-19T03:13:17.588Z] + true [2021-01-19T03:13:19.093Z] Still waiting to schedule task [2021-01-19T03:13:19.093Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] unstash [Pipeline] echo [2021-01-19T03:13:19.826Z] ========================================================= [2021-01-19T03:13:19.826Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T03:13:19.826Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:13:20.202Z] + 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-19T03:13:21.185Z] Sending build context to Docker daemon 2.196MB [2021-01-19T03:13:21.185Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-19T03:13:21.185Z] Step 2/7 : FROM ${BASE} [2021-01-19T03:13:21.458Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T03:13:21.458Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T03:13:21.458Z] a4357932f1b6: Pulling fs layer [2021-01-19T03:13:21.458Z] 18c013af1878: Pulling fs layer [2021-01-19T03:13:21.458Z] 00ac8860ef70: Pulling fs layer [2021-01-19T03:13:21.458Z] 63d7cb157983: Pulling fs layer [2021-01-19T03:13:21.458Z] b116817d02f9: Pulling fs layer [2021-01-19T03:13:21.458Z] 745a02a5169b: Pulling fs layer [2021-01-19T03:13:21.458Z] 63d7cb157983: Waiting [2021-01-19T03:13:21.458Z] b116817d02f9: Waiting [2021-01-19T03:13:21.458Z] 745a02a5169b: Waiting [2021-01-19T03:13:21.458Z] 00ac8860ef70: Waiting [2021-01-19T03:13:21.458Z] 18c013af1878: Verifying Checksum [2021-01-19T03:13:21.458Z] 18c013af1878: Download complete [2021-01-19T03:13:21.734Z] a4357932f1b6: Download complete [2021-01-19T03:13:21.734Z] 63d7cb157983: Verifying Checksum [2021-01-19T03:13:21.734Z] 63d7cb157983: Download complete [2021-01-19T03:13:21.734Z] b116817d02f9: Verifying Checksum [2021-01-19T03:13:21.734Z] b116817d02f9: Download complete [2021-01-19T03:13:21.734Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T03:13:21.734Z] 5f621e34cdf4: Download complete [2021-01-19T03:13:22.335Z] 5f621e34cdf4: Pull complete [2021-01-19T03:13:22.936Z] a4357932f1b6: Pull complete [2021-01-19T03:13:23.212Z] 18c013af1878: Pull complete [2021-01-19T03:13:24.198Z] 745a02a5169b: Download complete [2021-01-19T03:13:26.175Z] 00ac8860ef70: Verifying Checksum [2021-01-19T03:13:26.175Z] 00ac8860ef70: Download complete [2021-01-19T03:13:36.330Z] 00ac8860ef70: Pull complete [2021-01-19T03:13:36.330Z] 63d7cb157983: Pull complete [2021-01-19T03:13:36.330Z] b116817d02f9: Pull complete [2021-01-19T03:13:40.632Z] 745a02a5169b: Pull complete [2021-01-19T03:13:40.632Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T03:13:40.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T03:13:40.632Z] ---> b7e6874047d6 [2021-01-19T03:13:40.632Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T03:13:43.259Z] ---> Running in ffb835b5cca0 [2021-01-19T03:13:43.259Z] Removing intermediate container ffb835b5cca0 [2021-01-19T03:13:43.259Z] ---> ddc6ff06130f [2021-01-19T03:13:43.259Z] Step 4/7 : RUN apk add bash [2021-01-19T03:13:43.530Z] ---> Running in 30f985172e76 [2021-01-19T03:13:44.517Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T03:13:45.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T03:13:46.925Z] OK: 142 MiB in 39 packages [2021-01-19T03:13:47.905Z] Removing intermediate container 30f985172e76 [2021-01-19T03:13:47.905Z] ---> e1769e30a66e [2021-01-19T03:13:47.905Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-19T03:13:48.178Z] ---> Running in 3a56136bb715 [2021-01-19T03:13:48.451Z] Removing intermediate container 3a56136bb715 [2021-01-19T03:13:48.451Z] ---> acdf8d720ee3 [2021-01-19T03:13:48.451Z] Step 6/7 : COPY go.mod . [2021-01-19T03:13:49.051Z] ---> 63a2a6048a1b [2021-01-19T03:13:49.051Z] Step 7/7 : RUN go mod download [2021-01-19T03:13:49.337Z] ---> Running in 8b10f8ec32df [2021-01-19T03:14:04.584Z] Removing intermediate container 8b10f8ec32df [2021-01-19T03:14:04.584Z] ---> c13b07dab3d0 [2021-01-19T03:14:04.584Z] Successfully built c13b07dab3d0 [2021-01-19T03:14:04.584Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:14:04.929Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T03:14:04.930Z] . [Pipeline] withDockerContainer [2021-01-19T03:14:05.198Z] prd-ubuntu18.04-docker-arm64-4c-16g-21060 does not seem to be running inside a container [2021-01-19T03:14:05.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/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 ******** ci-base-image-arm64 cat [2021-01-19T03:14:06.789Z] $ docker top 88bb8ba215fdd7ad54a5aa2fbae3150c60f5de03cff185caa285f9b6d438e1cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T03:14:07.858Z] + go version [2021-01-19T03:14:07.859Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T03:14:07.882Z] $ docker stop --time=1 88bb8ba215fdd7ad54a5aa2fbae3150c60f5de03cff185caa285f9b6d438e1cf [2021-01-19T03:14:09.811Z] $ docker rm -f 88bb8ba215fdd7ad54a5aa2fbae3150c60f5de03cff185caa285f9b6d438e1cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:14:10.925Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T03:14:10.925Z] . [Pipeline] withDockerContainer [2021-01-19T03:14:11.181Z] prd-ubuntu18.04-docker-arm64-4c-16g-21060 does not seem to be running inside a container [2021-01-19T03:14:11.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/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 ******** ci-base-image-arm64 cat [2021-01-19T03:14:12.786Z] $ docker top 8c13c1f74d330bdb88fde0a293fa58a38f818311f1d103d0de1a4188040d856d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T03:14:13.827Z] + make test [2021-01-19T03:14:13.827Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-19T03:14:36.054Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-19T03:14:36.327Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.081s coverage: 85.7% of statements [2021-01-19T03:14:36.327Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.045s coverage: 100.0% of statements [2021-01-19T03:14:38.325Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.034s coverage: 45.4% of statements [2021-01-19T03:14:38.325Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.029s coverage: 77.8% of statements [2021-01-19T03:14:38.325Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-19T03:14:38.601Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.024s coverage: 26.3% of statements [2021-01-19T03:14:40.063Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.032s coverage: 14.7% of statements [2021-01-19T03:14:40.666Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.039s coverage: 100.0% of statements [2021-01-19T03:14:41.274Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.082s coverage: 91.8% of statements [2021-01-19T03:14:41.274Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-19T03:14:41.274Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-19T03:14:41.274Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.042s coverage: 100.0% of statements [2021-01-19T03:14:41.274Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.023s coverage: 47.8% of statements [2021-01-19T03:14:48.011Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.090s coverage: 63.0% of statements [2021-01-19T03:14:48.011Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.023s coverage: 26.3% of statements [2021-01-19T03:14:48.011Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.009s coverage: 15.4% of statements [2021-01-19T03:14:48.011Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.027s coverage: 15.4% of statements [2021-01-19T03:14:48.011Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.014s coverage: 14.3% of statements [2021-01-19T03:14:48.011Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-19T03:14:48.614Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.144s coverage: 85.2% of statements [2021-01-19T03:14:48.614Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-19T03:14:48.614Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-19T03:14:48.893Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.080s coverage: 44.1% of statements [2021-01-19T03:14:49.171Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.069s coverage: 94.4% of statements [2021-01-19T03:14:50.619Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.125s coverage: 92.9% of statements [2021-01-19T03:14:50.619Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.034s coverage: 100.0% of statements [2021-01-19T03:14:50.619Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-19T03:14:50.619Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-19T03:14:56.034Z] gofmt -l . [2021-01-19T03:14:56.034Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-19T03:14:56.323Z] $ docker stop --time=1 8c13c1f74d330bdb88fde0a293fa58a38f818311f1d103d0de1a4188040d856d [2021-01-19T03:14:58.522Z] $ docker rm -f 8c13c1f74d330bdb88fde0a293fa58a38f818311f1d103d0de1a4188040d856d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T03:14:59.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T03:15:00.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-19T03:15:05.926Z] Running on prd-centos7-docker-4c-2g-21076 in /w/workspace/dry_go-mod-core-contracts_PR-435 [Pipeline] { [Pipeline] ws [2021-01-19T03:15:05.974Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-01-19T03:15:09.006Z] using credential edgex-jenkins-ssh [2021-01-19T03:15:09.062Z] Cloning the remote Git repository [2021-01-19T03:15:08.822Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T03:15:08.899Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-01-19T03:15:08.981Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T03:15:08.981Z] > git --version # timeout=10 [2021-01-19T03:15:08.997Z] > git --version # 'git version 2.24.3' [2021-01-19T03:15:08.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T03:15:09.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T03:15:10.422Z] Merging remotes/origin/master commit c0e791ce8d89920a1cc47c081dc832321f7746d3 into PR head commit c0ce44a20bad973811b7541b15c49547e389767c [2021-01-19T03:15:09.764Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T03:15:09.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T03:15:09.800Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T03:15:09.818Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T03:15:09.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T03:15:09.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T03:15:10.273Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T03:15:10.283Z] > git checkout -f c0ce44a20bad973811b7541b15c49547e389767c # timeout=10 [2021-01-19T03:15:10.553Z] Merge succeeded, producing c0ce44a20bad973811b7541b15c49547e389767c [2021-01-19T03:15:10.553Z] Checking out Revision c0ce44a20bad973811b7541b15c49547e389767c (PR-435) [2021-01-19T03:15:10.358Z] > git remote # timeout=10 [2021-01-19T03:15:10.365Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T03:15:10.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T03:15:10.381Z] > git merge c0e791ce8d89920a1cc47c081dc832321f7746d3 # timeout=10 [2021-01-19T03:15:10.393Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T03:15:10.405Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T03:15:10.413Z] > git checkout -f c0ce44a20bad973811b7541b15c49547e389767c # timeout=10 [2021-01-19T03:15:14.196Z] Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/google/uuid-1.1.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T03:15:15.420Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T03:15:15.752Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T03:15:16.055Z] + sudo service docker restart [2021-01-19T03:15:16.055Z] + true [2021-01-19T03:15:16.055Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-19T03:15:17.644Z] ========================================================= [2021-01-19T03:15:17.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T03:15:17.644Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:15:18.002Z] + 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-19T03:15:18.582Z] Sending build context to Docker daemon 2.198MB [2021-01-19T03:15:18.582Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-19T03:15:18.582Z] Step 2/7 : FROM ${BASE} [2021-01-19T03:15:18.851Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T03:15:18.851Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T03:15:18.851Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T03:15:18.851Z] de9db76c5a1d: Pulling fs layer [2021-01-19T03:15:18.851Z] bca2f99d35d6: Pulling fs layer [2021-01-19T03:15:18.851Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T03:15:18.851Z] 7c6f9722023f: Pulling fs layer [2021-01-19T03:15:18.851Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T03:15:18.851Z] bca2f99d35d6: Waiting [2021-01-19T03:15:18.851Z] 93359f2a8cfa: Waiting [2021-01-19T03:15:18.851Z] 7c6f9722023f: Waiting [2021-01-19T03:15:18.851Z] a35cf1a2eb13: Waiting [2021-01-19T03:15:18.851Z] de9db76c5a1d: Verifying Checksum [2021-01-19T03:15:18.851Z] de9db76c5a1d: Download complete [2021-01-19T03:15:18.851Z] 0ef7d3d256c8: Verifying Checksum [2021-01-19T03:15:18.851Z] 0ef7d3d256c8: Download complete [2021-01-19T03:15:18.851Z] 93359f2a8cfa: Verifying Checksum [2021-01-19T03:15:18.851Z] 93359f2a8cfa: Download complete [2021-01-19T03:15:18.851Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T03:15:18.851Z] 188c0c94c7c5: Download complete [2021-01-19T03:15:18.851Z] 7c6f9722023f: Verifying Checksum [2021-01-19T03:15:18.851Z] 7c6f9722023f: Download complete [2021-01-19T03:15:19.117Z] 188c0c94c7c5: Pull complete [2021-01-19T03:15:19.380Z] 0ef7d3d256c8: Pull complete [2021-01-19T03:15:19.646Z] de9db76c5a1d: Pull complete [2021-01-19T03:15:20.600Z] a35cf1a2eb13: Verifying Checksum [2021-01-19T03:15:20.601Z] a35cf1a2eb13: Download complete [2021-01-19T03:15:21.551Z] bca2f99d35d6: Verifying Checksum [2021-01-19T03:15:21.551Z] bca2f99d35d6: Download complete [2021-01-19T03:15:26.917Z] bca2f99d35d6: Pull complete [2021-01-19T03:15:26.917Z] 93359f2a8cfa: Pull complete [2021-01-19T03:15:27.190Z] 7c6f9722023f: Pull complete [2021-01-19T03:15:31.500Z] a35cf1a2eb13: Pull complete [2021-01-19T03:15:31.500Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T03:15:31.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T03:15:31.500Z] ---> a62c8e92a672 [2021-01-19T03:15:31.500Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T03:15:31.769Z] ---> Running in 9528ed2cf192 [2021-01-19T03:15:31.769Z] Removing intermediate container 9528ed2cf192 [2021-01-19T03:15:31.769Z] ---> cca4d5bf2cfe [2021-01-19T03:15:31.769Z] Step 4/7 : RUN apk add bash [2021-01-19T03:15:32.042Z] ---> Running in 6c689e3c9dd0 [2021-01-19T03:15:32.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T03:15:33.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T03:15:34.987Z] OK: 166 MiB in 39 packages [2021-01-19T03:15:35.255Z] Removing intermediate container 6c689e3c9dd0 [2021-01-19T03:15:35.255Z] ---> f744e1c17ba9 [2021-01-19T03:15:35.255Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-19T03:15:35.517Z] ---> Running in add623450536 [2021-01-19T03:15:35.517Z] Removing intermediate container add623450536 [2021-01-19T03:15:35.517Z] ---> 13455856509c [2021-01-19T03:15:35.517Z] Step 6/7 : COPY go.mod . [2021-01-19T03:15:35.786Z] ---> a20ae06388ed [2021-01-19T03:15:35.786Z] Step 7/7 : RUN go mod download [2021-01-19T03:15:36.053Z] ---> Running in c6f76563c925 [2021-01-19T03:15:48.342Z] Removing intermediate container c6f76563c925 [2021-01-19T03:15:48.342Z] ---> 41166b807705 [2021-01-19T03:15:48.342Z] Successfully built 41166b807705 [2021-01-19T03:15:48.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:15:48.654Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T03:15:48.654Z] . [Pipeline] withDockerContainer [2021-01-19T03:15:48.767Z] prd-centos7-docker-4c-2g-21076 does not seem to be running inside a container [2021-01-19T03:15:48.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/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 ******** ci-base-image-x86_64 cat [2021-01-19T03:15:49.608Z] $ docker top cb37a83e11fc8ab9a693c4aaed008e0270519a01d874c9fd6b9ed67ac3afb515 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T03:15:50.210Z] + go version [2021-01-19T03:15:50.210Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T03:15:50.226Z] $ docker stop --time=1 cb37a83e11fc8ab9a693c4aaed008e0270519a01d874c9fd6b9ed67ac3afb515 [2021-01-19T03:15:51.591Z] $ docker rm -f cb37a83e11fc8ab9a693c4aaed008e0270519a01d874c9fd6b9ed67ac3afb515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:15:52.382Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T03:15:52.382Z] . [Pipeline] withDockerContainer [2021-01-19T03:15:52.481Z] prd-centos7-docker-4c-2g-21076 does not seem to be running inside a container [2021-01-19T03:15:52.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/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 ******** ci-base-image-x86_64 cat [2021-01-19T03:15:53.128Z] $ docker top af7c11b4d8f465976d443dfb75f626e1ea10931ca034a432fde4d5fdb94d47d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T03:15:53.617Z] + make test [2021-01-19T03:15:53.617Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-19T03:16:01.882Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-19T03:16:01.882Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.020s coverage: 85.7% of statements [2021-01-19T03:16:01.882Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.016s coverage: 100.0% of statements [2021-01-19T03:16:02.495Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.037s coverage: 45.4% of statements [2021-01-19T03:16:02.495Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.017s coverage: 77.8% of statements [2021-01-19T03:16:02.495Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-19T03:16:02.777Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.034s coverage: 26.3% of statements [2021-01-19T03:16:03.049Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.041s coverage: 14.7% of statements [2021-01-19T03:16:03.049Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.011s coverage: 100.0% of statements [2021-01-19T03:16:03.639Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.042s coverage: 91.8% of statements [2021-01-19T03:16:03.639Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-19T03:16:03.639Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-19T03:16:03.639Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.017s coverage: 100.0% of statements [2021-01-19T03:16:03.639Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.008s coverage: 47.8% of statements [2021-01-19T03:16:05.610Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.022s coverage: 63.0% of statements [2021-01-19T03:16:05.610Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.005s coverage: 26.3% of statements [2021-01-19T03:16:05.610Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.018s coverage: 15.4% of statements [2021-01-19T03:16:05.610Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.012s coverage: 15.4% of statements [2021-01-19T03:16:05.610Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.021s coverage: 14.3% of statements [2021-01-19T03:16:05.610Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-19T03:16:07.028Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.047s coverage: 85.2% of statements [2021-01-19T03:16:07.028Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-19T03:16:07.028Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-19T03:16:07.028Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.019s coverage: 44.1% of statements [2021-01-19T03:16:07.028Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.021s coverage: 94.4% of statements [2021-01-19T03:16:07.028Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.033s coverage: 92.9% of statements [2021-01-19T03:16:07.028Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.010s coverage: 100.0% of statements [2021-01-19T03:16:07.028Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-19T03:16:07.028Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-19T03:16:08.973Z] gofmt -l . [2021-01-19T03:16:08.973Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-19T03:16:09.251Z] $ docker stop --time=1 af7c11b4d8f465976d443dfb75f626e1ea10931ca034a432fde4d5fdb94d47d6 [2021-01-19T03:16:11.633Z] $ docker rm -f af7c11b4d8f465976d443dfb75f626e1ea10931ca034a432fde4d5fdb94d47d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T03:16:12.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T03:16:12.249Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T03:16:12.600Z] 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-19T03:16:14.635Z] provisioning config files... [2021-01-19T03:16:14.651Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-435@tmp/config6446918537149558509tmp [Pipeline] { [Pipeline] sh [2021-01-19T03:16:15.022Z] + set +x [2021-01-19T03:16:15.022Z] + curl -s https://codecov.io/bash [2021-01-19T03:16:15.022Z] + bash -s -- [2021-01-19T03:16:15.286Z] [2021-01-19T03:16:15.286Z] _____ _ [2021-01-19T03:16:15.286Z] / ____| | | [2021-01-19T03:16:15.286Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T03:16:15.286Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T03:16:15.286Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T03:16:15.286Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T03:16:15.286Z] Bash-20210115-cec3c92 [2021-01-19T03:16:15.286Z] [2021-01-19T03:16:15.286Z] [2021-01-19T03:16:15.286Z] ==> git version 2.24.3 found [2021-01-19T03:16:15.286Z] ==> 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-19T03:16:15.286Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T03:16:15.286Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T03:16:15.286Z] ==> Jenkins CI detected. [2021-01-19T03:16:15.286Z] project root: . [2021-01-19T03:16:15.286Z] --> token set from env [2021-01-19T03:16:15.286Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T03:16:15.286Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T03:16:15.286Z] ==> Python coveragepy not found [2021-01-19T03:16:15.286Z] ==> Searching for coverage reports in: [2021-01-19T03:16:15.286Z] + . [2021-01-19T03:16:15.286Z] -> Found 1 reports [2021-01-19T03:16:15.286Z] ==> Detecting git/mercurial file structure [2021-01-19T03:16:15.286Z] ==> Reading reports [2021-01-19T03:16:15.286Z] + ./coverage.out bytes=123199 [2021-01-19T03:16:15.286Z] ==> Appending adjustments [2021-01-19T03:16:15.286Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T03:16:16.236Z] + Found adjustments [2021-01-19T03:16:16.236Z] ==> Gzipping contents [2021-01-19T03:16:16.236Z] 20K /tmp/codecov.0IGxA3.gz [2021-01-19T03:16:16.236Z] ==> Uploading reports [2021-01-19T03:16:16.236Z] url: https://codecov.io [2021-01-19T03:16:16.236Z] query: branch=PR-435&commit=c0ce44a20bad973811b7541b15c49547e389767c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-435%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=435&job=&cmd_args= [2021-01-19T03:16:16.236Z] -> Pinging Codecov [2021-01-19T03:16:16.236Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-435&commit=c0ce44a20bad973811b7541b15c49547e389767c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-435%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=435&job=&cmd_args= [2021-01-19T03:16:16.500Z] -> Uploading to [2021-01-19T03:16:16.500Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/71470A77251A30514AAF9C0BB2E5B6CE/c0ce44a20bad973811b7541b15c49547e389767c/494e2bd8-26bb-4584-8854-2674a59cee1d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T031616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=025aed32503bef08bb6b4526b46c44c8eb702ea8bce331f0cf4649e4a2d69ab6 [2021-01-19T03:16:16.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T03:16:16.500Z] Dload Upload Total Spent Left Speed [2021-01-19T03:16:17.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19534 0 0 100 19534 0 43632 --:--:-- --:--:-- --:--:-- 43700 [2021-01-19T03:16:17.075Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/c0ce44a20bad973811b7541b15c49547e389767c [Pipeline] } [2021-01-19T03:16:17.084Z] 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-19T03:16:19.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T03:16:20.392Z] ---> package-listing.sh [2021-01-19T03:16:20.392Z] ++ facter osfamily [2021-01-19T03:16:20.392Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T03:16:20.392Z] + OS_FAMILY=redhat [2021-01-19T03:16:20.392Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-435 [2021-01-19T03:16:20.392Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T03:16:20.392Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T03:16:20.392Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T03:16:20.392Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T03:16:20.392Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-435 ']' [2021-01-19T03:16:20.392Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T03:16:20.392Z] + case "${OS_FAMILY}" in [2021-01-19T03:16:20.392Z] + rpm -qa [2021-01-19T03:16:20.392Z] + sort [2021-01-19T03:16:25.700Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T03:16:25.700Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T03:16:25.700Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T03:16:25.700Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-435 ']' [2021-01-19T03:16:25.700Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-435/archives/ [2021-01-19T03:16:25.700Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-435/archives/ [Pipeline] echo [2021-01-19T03:16:25.713Z] 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-435/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-19T03:16:26.002Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:16:26.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T03:16:26.307Z] [2021-01-19T03:16:26.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T03:16:26.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T03:16:26.659Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T03:16:26.660Z] df20fa9351a1: Pulling fs layer [2021-01-19T03:16:26.660Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T03:16:26.660Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T03:16:26.660Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T03:16:26.660Z] 93b61091891f: Pulling fs layer [2021-01-19T03:16:26.660Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T03:16:26.660Z] 5e14af77c1be: Pulling fs layer [2021-01-19T03:16:26.660Z] 01666e4c0597: Pulling fs layer [2021-01-19T03:16:26.660Z] aa168da1d23b: Pulling fs layer [2021-01-19T03:16:26.660Z] 93b61091891f: Waiting [2021-01-19T03:16:26.660Z] 93b9cdb0e59b: Waiting [2021-01-19T03:16:26.660Z] 5e14af77c1be: Waiting [2021-01-19T03:16:26.660Z] 01666e4c0597: Waiting [2021-01-19T03:16:26.660Z] aa168da1d23b: Waiting [2021-01-19T03:16:26.660Z] 46f8f816bc3b: Waiting [2021-01-19T03:16:26.660Z] 36b3adc4ff6f: Verifying Checksum [2021-01-19T03:16:26.660Z] 36b3adc4ff6f: Download complete [2021-01-19T03:16:26.660Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T03:16:26.660Z] 46f8f816bc3b: Download complete [2021-01-19T03:16:26.660Z] df20fa9351a1: Verifying Checksum [2021-01-19T03:16:26.660Z] df20fa9351a1: Download complete [2021-01-19T03:16:26.660Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T03:16:26.660Z] 93b9cdb0e59b: Download complete [2021-01-19T03:16:26.660Z] 93b61091891f: Download complete [2021-01-19T03:16:26.660Z] 5e14af77c1be: Verifying Checksum [2021-01-19T03:16:26.660Z] 5e14af77c1be: Download complete [2021-01-19T03:16:26.660Z] 01666e4c0597: Verifying Checksum [2021-01-19T03:16:26.660Z] 01666e4c0597: Download complete [2021-01-19T03:16:26.922Z] df20fa9351a1: Pull complete [2021-01-19T03:16:27.187Z] 36b3adc4ff6f: Pull complete [2021-01-19T03:16:27.763Z] 8ad3a11d3b57: Verifying Checksum [2021-01-19T03:16:27.763Z] 8ad3a11d3b57: Download complete [2021-01-19T03:16:28.352Z] 8ad3a11d3b57: Pull complete [2021-01-19T03:16:28.352Z] 46f8f816bc3b: Pull complete [2021-01-19T03:16:29.305Z] aa168da1d23b: Verifying Checksum [2021-01-19T03:16:29.305Z] aa168da1d23b: Download complete [2021-01-19T03:16:29.305Z] 93b61091891f: Pull complete [2021-01-19T03:16:29.305Z] 93b9cdb0e59b: Pull complete [2021-01-19T03:16:29.567Z] 5e14af77c1be: Pull complete [2021-01-19T03:16:29.567Z] 01666e4c0597: Pull complete [2021-01-19T03:16:36.186Z] aa168da1d23b: Pull complete [2021-01-19T03:16:36.186Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T03:16:36.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T03:16:36.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T03:16:36.332Z] prd-centos7-docker-4c-2g-21074 does not seem to be running inside a container [2021-01-19T03:16:36.375Z] $ 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-435/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-435 -v /w/workspace/dry_go-mod-core-contracts_PR-435:/w/workspace/dry_go-mod-core-contracts_PR-435:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-435@tmp:/w/workspace/dry_go-mod-core-contracts_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-19T03:16:40.752Z] $ docker top 6b06c809937d7432e57fb8e20660f3beeec2991bae98cfc5f9239fecfa073e19 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T03:16:41.257Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T03:16:41.559Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T03:16:41.857Z] + ls /var/log/sa-host [2021-01-19T03:16:41.857Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T03:16:41.857Z] file_magic: OK [2021-01-19T03:16:41.857Z] HZ: Using current value: 100 [2021-01-19T03:16:41.857Z] file_header: OK [2021-01-19T03:16:41.857Z] 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-19T03:16:41.857Z] Statistics: [2021-01-19T03:16:41.857Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T03:16:41.857Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T03:16:41.857Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T03:16:41.857Z] file_magic: OK [2021-01-19T03:16:41.857Z] HZ: Using current value: 100 [2021-01-19T03:16:41.857Z] file_header: OK [2021-01-19T03:16:41.857Z] 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-19T03:16:41.857Z] Statistics: [2021-01-19T03:16:41.857Z] Hnuu...uuuununununu... [2021-01-19T03:16:41.857Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T03:16:42.500Z] provisioning config files... [2021-01-19T03:16:42.515Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-435@tmp/config2772871190093182638tmp [Pipeline] { [Pipeline] echo [2021-01-19T03:16:42.587Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T03:16:42.879Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T03:16:42.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T03:16:42.989Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T03:16:43.284Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T03:16:43.294Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T03:16:43.585Z] ---> sudo-logs.sh [2021-01-19T03:16:43.586Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T03:16:43.595Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T03:16:43.888Z] ---> job-cost.sh [2021-01-19T03:16:43.888Z] lf-activate-venv: SKIPPING [2021-01-19T03:16:43.888Z] INFO: No Stack... [2021-01-19T03:16:45.274Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T03:16:45.537Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T03:16:45.550Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T03:16:45.846Z] ---> logs-deploy.sh [2021-01-19T03:16:45.847Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-435/2 [2021-01-19T03:16:45.847Z] INFO: archiving workspace using pattern(s): [2021-01-19T03:16:47.238Z] Archives upload complete. [2021-01-19T03:16:47.498Z] INFO: archiving logs to Nexus