Pull request #394 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 weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 1c5af3e112fbbff99310b3d6c91347419198b66a rather than 580458f243967c9e859ea06d171e280464325392 Obtained Jenkinsfile from 1c5af3e112fbbff99310b3d6c91347419198b66a 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-15710 in /w/workspace/dry_go-mod-core-contracts_PR-394 [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-394 # 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 Merging remotes/origin/master commit 1c5af3e112fbbff99310b3d6c91347419198b66a into PR head commit 580458f243967c9e859ea06d171e280464325392 Merge succeeded, producing 580458f243967c9e859ea06d171e280464325392 Checking out Revision 580458f243967c9e859ea06d171e280464325392 (PR-394) > 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/394/head:refs/remotes/origin/PR-394 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 580458f243967c9e859ea06d171e280464325392 # 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 1c5af3e112fbbff99310b3d6c91347419198b66a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 580458f243967c9e859ea06d171e280464325392 # timeout=10 Commit message: "feat: Add formatted alternatives to log functions" First time build. Skipping changelog. > git rev-list --no-walk 5c591059e0dc084e1e7d7586065491333d88fa0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-12T03:18:10.739Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-12T03:18:11.084Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-12T03:18:11.224Z] ========================================================= [2020-12-12T03:18:11.224Z] EdgeX Global Pipelines Version Info [2020-12-12T03:18:11.224Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:18:13.697Z] ------------------- [2020-12-12T03:18:13.698Z] stable info: [2020-12-12T03:18:13.698Z] ------------------- [2020-12-12T03:18:13.698Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-12T03:18:13.698Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-12T03:18:13.698Z] Message: update stable to v1.0.172 [2020-12-12T03:18:14.703Z] ------------------- [2020-12-12T03:18:14.703Z] experimental info: [2020-12-12T03:18:14.703Z] ------------------- [2020-12-12T03:18:14.703Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-12T03:18:14.703Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-12T03:18:14.703Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-12T03:18:15.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-12T03:18:15.194Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-12T03:18:15.388Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-12T03:18:15.544Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-12T03:18:15.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-12T03:18:15.823Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-12T03:18:15.953Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-12T03:18:16.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-12T03:18:16.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-12T03:18:16.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-12T03:18:16.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-12T03:18:16.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-12T03:18:16.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-12T03:18:16.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-12T03:18:16.915Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T03:18:17.019Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T03:18:17.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T03:18:17.260Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-12T03:18:17.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-12T03:18:17.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-12T03:18:17.612Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-12T03:18:17.730Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-12T03:18:17.833Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-12T03:18:17.954Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-12T03:18:18.060Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-12T03:18:18.180Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-12T03:18:18.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-394 [Pipeline] echo [2020-12-12T03:18:18.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-394 [Pipeline] echo [2020-12-12T03:18:18.550Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-394 [Pipeline] echo [2020-12-12T03:18:18.669Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 580458f243967c9e859ea06d171e280464325392 [Pipeline] echo [2020-12-12T03:18:18.767Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 580458f [Pipeline] echo [2020-12-12T03:18:18.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-12T03:18:19.722Z] + git log --format=format:%s -1 580458f243967c9e859ea06d171e280464325392 [Pipeline] echo [2020-12-12T03:18:19.858Z] GIT_COMMIT: 580458f243967c9e859ea06d171e280464325392, Commit Message: feat: Add formatted alternatives to log functions [Pipeline] echo [2020-12-12T03:18:19.918Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:18:21.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-12T03:18:22.134Z] [2020-12-12T03:18:22.134Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:18:22.593Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-12T03:18:22.921Z] latest: Pulling from edgex-devops/git-semver [2020-12-12T03:18:22.921Z] 31603596830f: Pulling fs layer [2020-12-12T03:18:22.921Z] 2a8b12db71e7: Pulling fs layer [2020-12-12T03:18:22.921Z] 6ca5941a6612: Pulling fs layer [2020-12-12T03:18:22.921Z] ecc8261a40a4: Pulling fs layer [2020-12-12T03:18:22.921Z] ecc8261a40a4: Waiting [2020-12-12T03:18:22.921Z] 2a8b12db71e7: Verifying Checksum [2020-12-12T03:18:22.921Z] 2a8b12db71e7: Download complete [2020-12-12T03:18:23.641Z] 31603596830f: Verifying Checksum [2020-12-12T03:18:23.641Z] 31603596830f: Download complete [2020-12-12T03:18:24.429Z] 31603596830f: Pull complete [2020-12-12T03:18:24.729Z] 6ca5941a6612: Verifying Checksum [2020-12-12T03:18:24.729Z] 6ca5941a6612: Download complete [2020-12-12T03:18:24.729Z] ecc8261a40a4: Verifying Checksum [2020-12-12T03:18:24.729Z] ecc8261a40a4: Download complete [2020-12-12T03:18:25.009Z] 2a8b12db71e7: Pull complete [2020-12-12T03:18:26.499Z] 6ca5941a6612: Pull complete [2020-12-12T03:18:27.159Z] ecc8261a40a4: Pull complete [2020-12-12T03:18:27.159Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-12T03:18:27.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-12T03:18:27.159Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-12T03:18:27.443Z] prd-centos7-docker-4c-2g-15710 does not seem to be running inside a container [2020-12-12T03:18:27.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-394 -v /w/workspace/dry_go-mod-core-contracts_PR-394:/w/workspace/dry_go-mod-core-contracts_PR-394:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-394@tmp:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-12T03:18:31.146Z] $ docker top 380d86a21d8041e3ba8a6d6ea500b5f903a3d2fdfe6ee74783185f18f7247efb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-12T03:18:31.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-12T03:18:31.850Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-12T03:18:32.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-12T03:18:32.364Z] $ docker exec 380d86a21d8041e3ba8a6d6ea500b5f903a3d2fdfe6ee74783185f18f7247efb ssh-agent [2020-12-12T03:18:32.934Z] SSH_AUTH_SOCK=/tmp/ssh-IlSnzF7KgFRB/agent.11 [2020-12-12T03:18:32.934Z] SSH_AGENT_PID=16 [2020-12-12T03:18:32.959Z] Running ssh-add (command line suppressed) [2020-12-12T03:18:33.614Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_911505062835185404.key (/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_911505062835185404.key) [2020-12-12T03:18:33.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-12T03:18:34.544Z] + git tag --points-at HEAD [Pipeline] } [2020-12-12T03:18:34.584Z] $ docker exec --env ******** --env ******** 380d86a21d8041e3ba8a6d6ea500b5f903a3d2fdfe6ee74783185f18f7247efb ssh-agent -k [2020-12-12T03:18:34.840Z] unset SSH_AUTH_SOCK; [2020-12-12T03:18:34.841Z] unset SSH_AGENT_PID; [2020-12-12T03:18:34.841Z] echo Agent pid 16 killed; [2020-12-12T03:18:34.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-12T03:18:35.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-12T03:18:35.150Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-12T03:18:35.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-12T03:18:35.463Z] $ docker exec 380d86a21d8041e3ba8a6d6ea500b5f903a3d2fdfe6ee74783185f18f7247efb ssh-agent [2020-12-12T03:18:35.760Z] SSH_AUTH_SOCK=/tmp/ssh-t5oFNUWfq6XD/agent.45 [2020-12-12T03:18:35.760Z] SSH_AGENT_PID=51 [2020-12-12T03:18:35.782Z] Running ssh-add (command line suppressed) [2020-12-12T03:18:35.996Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_4287876175245846571.key (/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/private_key_4287876175245846571.key) [2020-12-12T03:18:36.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-12T03:18:36.496Z] + git semver init [2020-12-12T03:18:36.496Z] # -> Open(): unable to determine branch for HEAD [2020-12-12T03:18:36.496Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-394/.git [2020-12-12T03:18:36.497Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-394 [2020-12-12T03:18:36.497Z] # $SEMVER_REMOTE_NAME = origin [2020-12-12T03:18:36.497Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-12T03:18:36.497Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-12T03:18:36.497Z] # $SEMVER_BRANCH = PR-394 [2020-12-12T03:18:36.497Z] # $SEMVER_TEMP = /tmp/semver-109689220 [2020-12-12T03:18:36.497Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-12T03:18:37.952Z] # '/tmp/semver-109689220' -> '/w/workspace/dry_go-mod-core-contracts_PR-394/.semver' [2020-12-12T03:18:37.952Z] # -> Force: false [2020-12-12T03:18:37.952Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-394/.semver [Pipeline] } [2020-12-12T03:18:38.031Z] $ docker exec --env ******** --env ******** 380d86a21d8041e3ba8a6d6ea500b5f903a3d2fdfe6ee74783185f18f7247efb ssh-agent -k [2020-12-12T03:18:38.575Z] unset SSH_AUTH_SOCK; [2020-12-12T03:18:38.579Z] unset SSH_AGENT_PID; [2020-12-12T03:18:38.579Z] echo Agent pid 51 killed; [2020-12-12T03:18:38.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-12T03:18:39.931Z] + git semver [Pipeline] } [2020-12-12T03:18:40.250Z] $ docker stop --time=1 380d86a21d8041e3ba8a6d6ea500b5f903a3d2fdfe6ee74783185f18f7247efb [2020-12-12T03:18:42.115Z] $ docker rm -f 380d86a21d8041e3ba8a6d6ea500b5f903a3d2fdfe6ee74783185f18f7247efb [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-12T03:18:42.842Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-12T03:18:43.994Z] Stashed 1 file(s) [Pipeline] echo [2020-12-12T03:18:43.997Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-12T03:18:59.664Z] Still waiting to schedule task [2020-12-12T03:18:59.664Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-12T03:18:59.666Z] Still waiting to schedule task [2020-12-12T03:18:59.666Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-12T03:20:44.482Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15711 in /w/workspace/dry_go-mod-core-contracts_PR-394 [Pipeline] { [Pipeline] ws [2020-12-12T03:20:44.565Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-12T03:20:49.660Z] using credential edgex-jenkins-ssh [2020-12-12T03:20:49.727Z] Cloning the remote Git repository [2020-12-12T03:20:49.794Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T03:20:49.904Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-12T03:20:49.990Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T03:20:49.991Z] > git --version # timeout=10 [2020-12-12T03:20:50.007Z] > git --version # 'git version 2.17.1' [2020-12-12T03:20:50.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T03:20:50.075Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T03:20:51.823Z] Merging remotes/origin/master commit 1c5af3e112fbbff99310b3d6c91347419198b66a into PR head commit 580458f243967c9e859ea06d171e280464325392 [2020-12-12T03:20:52.093Z] Merge succeeded, producing 580458f243967c9e859ea06d171e280464325392 [2020-12-12T03:20:52.093Z] Checking out Revision 580458f243967c9e859ea06d171e280464325392 (PR-394) [2020-12-12T03:20:51.032Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T03:20:51.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T03:20:51.076Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T03:20:51.115Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T03:20:51.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T03:20:51.128Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-12T03:20:51.842Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T03:20:51.864Z] > git checkout -f 580458f243967c9e859ea06d171e280464325392 # timeout=10 [2020-12-12T03:20:51.996Z] > git remote # timeout=10 [2020-12-12T03:20:52.016Z] > git config --get remote.origin.url # timeout=10 [2020-12-12T03:20:52.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T03:20:52.046Z] > git merge 1c5af3e112fbbff99310b3d6c91347419198b66a # timeout=10 [2020-12-12T03:20:52.071Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-12T03:20:52.096Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T03:20:52.110Z] > git checkout -f 580458f243967c9e859ea06d171e280464325392 # timeout=10 [2020-12-12T03:20:56.607Z] Commit message: "feat: Add formatted alternatives to log functions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-12T03:20:58.203Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-12T03:20:58.604Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-12T03:20:58.997Z] + sudo service+ docker restart [2020-12-12T03:20:58.997Z] true [Pipeline] unstash [Pipeline] echo [2020-12-12T03:21:01.874Z] ========================================================= [2020-12-12T03:21:01.874Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-12T03:21:01.874Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:21:02.294Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-12T03:21:03.279Z] Sending build context to Docker daemon 1.943MB [2020-12-12T03:21:03.279Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-12T03:21:03.279Z] Step 2/7 : FROM ${BASE} [2020-12-12T03:21:03.554Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-12T03:21:03.554Z] 5f621e34cdf4: Pulling fs layer [2020-12-12T03:21:03.554Z] a4357932f1b6: Pulling fs layer [2020-12-12T03:21:03.554Z] 18c013af1878: Pulling fs layer [2020-12-12T03:21:03.554Z] 00ac8860ef70: Pulling fs layer [2020-12-12T03:21:03.554Z] 63d7cb157983: Pulling fs layer [2020-12-12T03:21:03.554Z] b116817d02f9: Pulling fs layer [2020-12-12T03:21:03.554Z] 745a02a5169b: Pulling fs layer [2020-12-12T03:21:03.554Z] 00ac8860ef70: Waiting [2020-12-12T03:21:03.554Z] 63d7cb157983: Waiting [2020-12-12T03:21:03.554Z] b116817d02f9: Waiting [2020-12-12T03:21:03.554Z] 745a02a5169b: Waiting [2020-12-12T03:21:03.554Z] 18c013af1878: Verifying Checksum [2020-12-12T03:21:03.554Z] a4357932f1b6: Download complete [2020-12-12T03:21:03.554Z] 63d7cb157983: Verifying Checksum [2020-12-12T03:21:03.554Z] 63d7cb157983: Download complete [2020-12-12T03:21:03.829Z] b116817d02f9: Verifying Checksum [2020-12-12T03:21:03.829Z] b116817d02f9: Download complete [2020-12-12T03:21:03.829Z] 5f621e34cdf4: Verifying Checksum [2020-12-12T03:21:03.829Z] 5f621e34cdf4: Download complete [2020-12-12T03:21:04.438Z] 5f621e34cdf4: Pull complete [2020-12-12T03:21:05.042Z] a4357932f1b6: Pull complete [2020-12-12T03:21:05.325Z] 18c013af1878: Pull complete [2020-12-12T03:21:06.771Z] 745a02a5169b: Verifying Checksum [2020-12-12T03:21:06.771Z] 745a02a5169b: Download complete [2020-12-12T03:21:07.752Z] 00ac8860ef70: Verifying Checksum [2020-12-12T03:21:07.752Z] 00ac8860ef70: Download complete [2020-12-12T03:21:17.944Z] 00ac8860ef70: Pull complete [2020-12-12T03:21:17.945Z] 63d7cb157983: Pull complete [2020-12-12T03:21:17.945Z] b116817d02f9: Pull complete [2020-12-12T03:21:22.278Z] 745a02a5169b: Pull complete [2020-12-12T03:21:22.278Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-12T03:21:22.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-12T03:21:22.278Z] ---> b7e6874047d6 [2020-12-12T03:21:22.278Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-12T03:21:24.252Z] ---> Running in dd3bdebb2a89 [2020-12-12T03:21:24.525Z] Removing intermediate container dd3bdebb2a89 [2020-12-12T03:21:24.525Z] ---> 098a1c0e7c4d [2020-12-12T03:21:24.525Z] Step 4/7 : RUN apk add bash [2020-12-12T03:21:24.800Z] ---> Running in 58ae1872d911 [2020-12-12T03:21:25.781Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-12T03:21:27.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-12T03:21:27.804Z] OK: 142 MiB in 39 packages [2020-12-12T03:21:28.785Z] Removing intermediate container 58ae1872d911 [2020-12-12T03:21:28.785Z] ---> 375c3d550578 [2020-12-12T03:21:28.785Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-12T03:21:28.785Z] ---> Running in 16c20e07726d [2020-12-12T03:21:29.381Z] Removing intermediate container 16c20e07726d [2020-12-12T03:21:29.381Z] ---> 8d61be192f3a [2020-12-12T03:21:29.381Z] Step 6/7 : COPY go.mod . [2020-12-12T03:21:29.973Z] ---> 191b2e2eb129 [2020-12-12T03:21:29.973Z] Step 7/7 : RUN go mod download [2020-12-12T03:21:30.245Z] ---> Running in 75f31140ca1f [2020-12-12T03:21:45.349Z] Removing intermediate container 75f31140ca1f [2020-12-12T03:21:45.349Z] ---> 650efe82470e [2020-12-12T03:21:45.349Z] Successfully built 650efe82470e [2020-12-12T03:21:45.349Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:21:45.691Z] + docker inspect -f . ci-base-image-arm64 [2020-12-12T03:21:45.691Z] . [Pipeline] withDockerContainer [2020-12-12T03:21:45.960Z] prd-ubuntu18.04-docker-arm64-4c-16g-15711 does not seem to be running inside a container [2020-12-12T03:21:46.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-12T03:21:47.543Z] $ docker top 78f4e5f8fb5fcdb81d8585a1440ae96a9e3e8a582c6f8560eb83a38e591e6166 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T03:21:48.578Z] + go version [2020-12-12T03:21:48.578Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-12T03:21:48.605Z] $ docker stop --time=1 78f4e5f8fb5fcdb81d8585a1440ae96a9e3e8a582c6f8560eb83a38e591e6166 [2020-12-12T03:21:50.525Z] $ docker rm -f 78f4e5f8fb5fcdb81d8585a1440ae96a9e3e8a582c6f8560eb83a38e591e6166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:21:51.559Z] + docker inspect -f . ci-base-image-arm64 [2020-12-12T03:21:51.559Z] . [Pipeline] withDockerContainer [2020-12-12T03:21:51.818Z] prd-ubuntu18.04-docker-arm64-4c-16g-15711 does not seem to be running inside a container [2020-12-12T03:21:51.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-12T03:21:53.420Z] $ docker top 2b9484bfe0cd0504277a300ae26579d3b8d3d685705683aa3eb5c7e60dc9cf89 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T03:21:54.450Z] + make test [2020-12-12T03:21:54.450Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-12T03:22:09.742Z] Running on prd-centos7-docker-4c-2g-15712 in /w/workspace/dry_go-mod-core-contracts_PR-394 [Pipeline] { [Pipeline] ws [2020-12-12T03:22:09.802Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-12T03:22:16.663Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-12T03:22:17.261Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.041s coverage: 85.7% of statements [2020-12-12T03:22:17.261Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.037s coverage: 100.0% of statements [2020-12-12T03:22:17.446Z] using credential edgex-jenkins-ssh [2020-12-12T03:22:17.513Z] Cloning the remote Git repository [2020-12-12T03:22:17.870Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.065s coverage: 45.4% of statements [2020-12-12T03:22:17.572Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T03:22:17.663Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-12T03:22:17.841Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T03:22:17.842Z] > git --version # timeout=10 [2020-12-12T03:22:17.884Z] > git --version # 'git version 2.24.3' [2020-12-12T03:22:17.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T03:22:17.993Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T03:22:18.883Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T03:22:18.927Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-12T03:22:18.981Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-12T03:22:19.027Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-12T03:22:19.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T03:22:19.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/394/head:refs/remotes/origin/PR-394 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-12T03:22:19.648Z] Merging remotes/origin/master commit 1c5af3e112fbbff99310b3d6c91347419198b66a into PR head commit 580458f243967c9e859ea06d171e280464325392 [2020-12-12T03:22:19.858Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.062s coverage: 77.8% of statements [2020-12-12T03:22:19.858Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-12T03:22:20.140Z] Merge succeeded, producing 580458f243967c9e859ea06d171e280464325392 [2020-12-12T03:22:20.140Z] Checking out Revision 580458f243967c9e859ea06d171e280464325392 (PR-394) [2020-12-12T03:22:19.658Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T03:22:19.717Z] > git checkout -f 580458f243967c9e859ea06d171e280464325392 # timeout=10 [2020-12-12T03:22:19.923Z] > git remote # timeout=10 [2020-12-12T03:22:20.004Z] > git config --get remote.origin.url # timeout=10 [2020-12-12T03:22:20.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-12T03:22:20.096Z] > git merge 1c5af3e112fbbff99310b3d6c91347419198b66a # timeout=10 [2020-12-12T03:22:20.122Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-12T03:22:20.143Z] > git config core.sparsecheckout # timeout=10 [2020-12-12T03:22:20.159Z] > git checkout -f 580458f243967c9e859ea06d171e280464325392 # timeout=10 [2020-12-12T03:22:20.849Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.037s coverage: 18.6% of statements [2020-12-12T03:22:22.317Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.077s coverage: 14.7% of statements [2020-12-12T03:22:22.317Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.019s coverage: 100.0% of statements [2020-12-12T03:22:23.313Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.071s coverage: 91.8% of statements [2020-12-12T03:22:23.313Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-12T03:22:23.313Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-12T03:22:23.313Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.034s coverage: 100.0% of statements [2020-12-12T03:22:23.313Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.027s coverage: 47.8% of statements [2020-12-12T03:22:24.391Z] Commit message: "feat: Add formatted alternatives to log functions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-12T03:22:26.422Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-12T03:22:26.863Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-12T03:22:27.196Z] + true [2020-12-12T03:22:27.196Z] + sudo service docker restart [2020-12-12T03:22:27.196Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [2020-12-12T03:22:28.744Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.115s coverage: 63.0% of statements [2020-12-12T03:22:28.744Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.018s coverage: 26.3% of statements [2020-12-12T03:22:28.744Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.046s coverage: 15.4% of statements [2020-12-12T03:22:28.744Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.033s coverage: 15.4% of statements [2020-12-12T03:22:28.744Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.036s coverage: 14.3% of statements [2020-12-12T03:22:28.744Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [Pipeline] echo [2020-12-12T03:22:29.212Z] ========================================================= [2020-12-12T03:22:29.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-12T03:22:29.212Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:22:29.795Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-12T03:22:30.200Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.115s coverage: 85.4% of statements [2020-12-12T03:22:30.200Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-12T03:22:30.200Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-12T03:22:30.474Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.062s coverage: 29.9% of statements [2020-12-12T03:22:30.899Z] Sending build context to Docker daemon 1.944MB [2020-12-12T03:22:30.899Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-12T03:22:30.899Z] Step 2/7 : FROM ${BASE} [2020-12-12T03:22:31.079Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.049s coverage: 100.0% of statements [2020-12-12T03:22:31.178Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-12T03:22:31.178Z] 188c0c94c7c5: Pulling fs layer [2020-12-12T03:22:31.178Z] 0ef7d3d256c8: Pulling fs layer [2020-12-12T03:22:31.178Z] de9db76c5a1d: Pulling fs layer [2020-12-12T03:22:31.178Z] bca2f99d35d6: Pulling fs layer [2020-12-12T03:22:31.178Z] 93359f2a8cfa: Pulling fs layer [2020-12-12T03:22:31.178Z] 7c6f9722023f: Pulling fs layer [2020-12-12T03:22:31.178Z] a35cf1a2eb13: Pulling fs layer [2020-12-12T03:22:31.178Z] 93359f2a8cfa: Waiting [2020-12-12T03:22:31.178Z] 7c6f9722023f: Waiting [2020-12-12T03:22:31.178Z] bca2f99d35d6: Waiting [2020-12-12T03:22:31.178Z] a35cf1a2eb13: Waiting [2020-12-12T03:22:31.178Z] de9db76c5a1d: Verifying Checksum [2020-12-12T03:22:31.178Z] de9db76c5a1d: Download complete [2020-12-12T03:22:31.178Z] 0ef7d3d256c8: Verifying Checksum [2020-12-12T03:22:31.178Z] 0ef7d3d256c8: Download complete [2020-12-12T03:22:31.178Z] 93359f2a8cfa: Download complete [2020-12-12T03:22:31.178Z] 7c6f9722023f: Verifying Checksum [2020-12-12T03:22:31.178Z] 7c6f9722023f: Download complete [2020-12-12T03:22:31.682Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.057s coverage: 94.4% of statements [2020-12-12T03:22:31.682Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.022s coverage: 100.0% of statements [2020-12-12T03:22:31.682Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-12T03:22:31.806Z] 188c0c94c7c5: Verifying Checksum [2020-12-12T03:22:31.806Z] 188c0c94c7c5: Download complete [2020-12-12T03:22:31.955Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-12T03:22:33.224Z] 188c0c94c7c5: Pull complete [2020-12-12T03:22:33.884Z] 0ef7d3d256c8: Pull complete [2020-12-12T03:22:34.177Z] de9db76c5a1d: Pull complete [2020-12-12T03:22:36.824Z] a35cf1a2eb13: Verifying Checksum [2020-12-12T03:22:36.824Z] a35cf1a2eb13: Download complete [2020-12-12T03:22:37.376Z] gofmt -l . [2020-12-12T03:22:37.376Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-12T03:22:37.678Z] $ docker stop --time=1 2b9484bfe0cd0504277a300ae26579d3b8d3d685705683aa3eb5c7e60dc9cf89 [2020-12-12T03:22:38.363Z] bca2f99d35d6: Verifying Checksum [2020-12-12T03:22:38.364Z] bca2f99d35d6: Download complete [2020-12-12T03:22:39.836Z] $ docker rm -f 2b9484bfe0cd0504277a300ae26579d3b8d3d685705683aa3eb5c7e60dc9cf89 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-12T03:22:40.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-12T03:22:41.834Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-12T03:22:53.717Z] bca2f99d35d6: Pull complete [2020-12-12T03:22:53.717Z] 93359f2a8cfa: Pull complete [2020-12-12T03:22:53.717Z] 7c6f9722023f: Pull complete [2020-12-12T03:23:02.556Z] a35cf1a2eb13: Pull complete [2020-12-12T03:23:02.556Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-12T03:23:02.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-12T03:23:02.556Z] ---> a62c8e92a672 [2020-12-12T03:23:02.556Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-12T03:23:02.556Z] ---> Running in 1b417c2a1972 [2020-12-12T03:23:03.162Z] Removing intermediate container 1b417c2a1972 [2020-12-12T03:23:03.162Z] ---> b5a419af2abb [2020-12-12T03:23:03.162Z] Step 4/7 : RUN apk add bash [2020-12-12T03:23:03.162Z] ---> Running in c45f740e0b42 [2020-12-12T03:23:04.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-12T03:23:05.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-12T03:23:05.849Z] OK: 166 MiB in 39 packages [2020-12-12T03:23:07.285Z] Removing intermediate container c45f740e0b42 [2020-12-12T03:23:07.285Z] ---> 4ef78eb759a7 [2020-12-12T03:23:07.285Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-12T03:23:07.285Z] ---> Running in 37ff3199e0dc [2020-12-12T03:23:07.562Z] Removing intermediate container 37ff3199e0dc [2020-12-12T03:23:07.562Z] ---> 06374ba19e6b [2020-12-12T03:23:07.562Z] Step 6/7 : COPY go.mod . [2020-12-12T03:23:07.918Z] ---> 059529e2a0ca [2020-12-12T03:23:07.918Z] Step 7/7 : RUN go mod download [2020-12-12T03:23:07.918Z] ---> Running in b73f85e07ade [2020-12-12T03:23:26.601Z] Removing intermediate container b73f85e07ade [2020-12-12T03:23:26.601Z] ---> 176b88f116c1 [2020-12-12T03:23:26.601Z] Successfully built 176b88f116c1 [2020-12-12T03:23:26.601Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:23:27.046Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-12T03:23:27.331Z] . [Pipeline] withDockerContainer [2020-12-12T03:23:27.594Z] prd-centos7-docker-4c-2g-15712 does not seem to be running inside a container [2020-12-12T03:23:27.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-12T03:23:29.824Z] $ docker top fbd10482a4354801162febc1d4254de8b9ea8fdf63836619e43159df0a02ffa5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T03:23:30.525Z] + go version [2020-12-12T03:23:30.525Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-12T03:23:30.554Z] $ docker stop --time=1 fbd10482a4354801162febc1d4254de8b9ea8fdf63836619e43159df0a02ffa5 [2020-12-12T03:23:32.522Z] $ docker rm -f fbd10482a4354801162febc1d4254de8b9ea8fdf63836619e43159df0a02ffa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:23:33.523Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-12T03:23:33.523Z] . [Pipeline] withDockerContainer [2020-12-12T03:23:33.750Z] prd-centos7-docker-4c-2g-15712 does not seem to be running inside a container [2020-12-12T03:23:33.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-12T03:23:35.051Z] $ docker top 7a320f333621db174d7f5d8973c84c8b81c902b814332f7f7302835640df49af -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T03:23:35.988Z] + make test [2020-12-12T03:23:35.989Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-12T03:23:52.059Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-12T03:23:52.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.059s coverage: 85.7% of statements [2020-12-12T03:23:52.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.048s coverage: 100.0% of statements [2020-12-12T03:23:52.366Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.100s coverage: 45.4% of statements [2020-12-12T03:23:52.366Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.035s coverage: 77.8% of statements [2020-12-12T03:23:52.366Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-12T03:23:54.464Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.010s coverage: 18.6% of statements [2020-12-12T03:23:55.163Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.060s coverage: 14.7% of statements [2020-12-12T03:23:55.163Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.044s coverage: 100.0% of statements [2020-12-12T03:23:55.479Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.063s coverage: 91.8% of statements [2020-12-12T03:23:55.479Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-12T03:23:55.479Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-12T03:23:55.479Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.017s coverage: 100.0% of statements [2020-12-12T03:23:56.119Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.038s coverage: 47.8% of statements [2020-12-12T03:24:00.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.039s coverage: 63.0% of statements [2020-12-12T03:24:00.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.031s coverage: 26.3% of statements [2020-12-12T03:24:00.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.033s coverage: 15.4% of statements [2020-12-12T03:24:00.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.064s coverage: 15.4% of statements [2020-12-12T03:24:00.613Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.062s coverage: 14.3% of statements [2020-12-12T03:24:00.613Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-12T03:24:01.252Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.044s coverage: 85.4% of statements [2020-12-12T03:24:01.252Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-12T03:24:01.252Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-12T03:24:01.252Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.065s coverage: 29.9% of statements [2020-12-12T03:24:01.252Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.025s coverage: 100.0% of statements [2020-12-12T03:24:02.400Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.048s coverage: 94.4% of statements [2020-12-12T03:24:02.400Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.035s coverage: 100.0% of statements [2020-12-12T03:24:02.400Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-12T03:24:02.692Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-12T03:24:07.232Z] gofmt -l . [2020-12-12T03:24:07.232Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-12T03:24:07.288Z] $ docker stop --time=1 7a320f333621db174d7f5d8973c84c8b81c902b814332f7f7302835640df49af [2020-12-12T03:24:09.890Z] $ docker rm -f 7a320f333621db174d7f5d8973c84c8b81c902b814332f7f7302835640df49af [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-12T03:24:10.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-12T03:24:10.690Z] Warning: overwriting stash ‘coverage-report’ [2020-12-12T03:24:11.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-12T03:24:13.776Z] provisioning config files... [2020-12-12T03:24:13.798Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/config1172933092498461154tmp [Pipeline] { [Pipeline] sh [2020-12-12T03:24:14.248Z] + set +x [2020-12-12T03:24:14.248Z] + curl -s https://codecov.io/bash [2020-12-12T03:24:14.248Z] + bash -s -- [2020-12-12T03:24:14.551Z] [2020-12-12T03:24:14.551Z] _____ _ [2020-12-12T03:24:14.551Z] / ____| | | [2020-12-12T03:24:14.551Z] | | ___ __| | ___ ___ _____ __ [2020-12-12T03:24:14.551Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-12T03:24:14.551Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-12T03:24:14.551Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-12T03:24:14.551Z] Bash-20201130-cc6d3fe [2020-12-12T03:24:14.551Z] [2020-12-12T03:24:14.551Z] [2020-12-12T03:24:14.551Z] ==> Jenkins CI detected. [2020-12-12T03:24:14.551Z] project root: . [2020-12-12T03:24:14.551Z] --> token set from env [2020-12-12T03:24:14.551Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-12T03:24:14.827Z] ==> Running gcov in . (disable via -X gcov) [2020-12-12T03:24:14.827Z] ==> Python coveragepy not found [2020-12-12T03:24:14.827Z] ==> Searching for coverage reports in: [2020-12-12T03:24:14.827Z] + . [2020-12-12T03:24:14.827Z] -> Found 1 reports [2020-12-12T03:24:14.827Z] ==> Detecting git/mercurial file structure [2020-12-12T03:24:14.827Z] ==> Reading reports [2020-12-12T03:24:14.827Z] + ./coverage.out bytes=108788 [2020-12-12T03:24:14.827Z] ==> Appending adjustments [2020-12-12T03:24:14.827Z] https://docs.codecov.io/docs/fixing-reports [2020-12-12T03:24:16.287Z] + Found adjustments [2020-12-12T03:24:16.287Z] ==> Gzipping contents [2020-12-12T03:24:16.287Z] 20K /tmp/codecov.qO7Med.gz [2020-12-12T03:24:16.287Z] ==> Uploading reports [2020-12-12T03:24:16.287Z] url: https://codecov.io [2020-12-12T03:24:16.287Z] query: branch=PR-394&commit=580458f243967c9e859ea06d171e280464325392&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-394%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=394&job=&cmd_args= [2020-12-12T03:24:16.287Z] -> Pinging Codecov [2020-12-12T03:24:16.287Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-394&commit=580458f243967c9e859ea06d171e280464325392&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-394%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=394&job=&cmd_args= [2020-12-12T03:24:16.873Z] -> Uploading to [2020-12-12T03:24:16.873Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-12/71470A77251A30514AAF9C0BB2E5B6CE/580458f243967c9e859ea06d171e280464325392/d6a9eb9e-aeb1-48ee-ac0a-d900166e6aa0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201212%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201212T032416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b10d6c2de53c3e0178648573fb11bde7e90aaed70bf42ae9a1e764bc6d38d96 [2020-12-12T03:24:16.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-12T03:24:16.873Z] Dload Upload Total Spent Left Speed [2020-12-12T03:24:17.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17629 0 0 100 17629 0 27299 --:--:-- --:--:-- --:--:-- 27331 [2020-12-12T03:24:17.457Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/580458f243967c9e859ea06d171e280464325392 [Pipeline] } [2020-12-12T03:24:17.473Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:24:20.199Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:24:20.838Z] ---> package-listing.sh [2020-12-12T03:24:20.838Z] ++ facter osfamily [2020-12-12T03:24:20.838Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-12T03:24:21.114Z] + OS_FAMILY=redhat [2020-12-12T03:24:21.114Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-394 [2020-12-12T03:24:21.114Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-12T03:24:21.114Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-12T03:24:21.114Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-12T03:24:21.114Z] + PACKAGES=/tmp/packages_start.txt [2020-12-12T03:24:21.114Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-394 ']' [2020-12-12T03:24:21.114Z] + PACKAGES=/tmp/packages_end.txt [2020-12-12T03:24:21.114Z] + case "${OS_FAMILY}" in [2020-12-12T03:24:21.114Z] + rpm -qa [2020-12-12T03:24:21.114Z] + sort [2020-12-12T03:24:26.514Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-12T03:24:26.514Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-12T03:24:26.514Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-12T03:24:26.514Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-394 ']' [2020-12-12T03:24:26.514Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-394/archives/ [2020-12-12T03:24:26.514Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-394/archives/ [Pipeline] echo [2020-12-12T03:24:26.529Z] 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-394/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-12T03:24:26.846Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:24:27.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-12T03:24:27.797Z] [2020-12-12T03:24:27.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-12T03:24:28.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-12T03:24:28.195Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-12T03:24:28.195Z] df20fa9351a1: Pulling fs layer [2020-12-12T03:24:28.195Z] 36b3adc4ff6f: Pulling fs layer [2020-12-12T03:24:28.195Z] 8ad3a11d3b57: Pulling fs layer [2020-12-12T03:24:28.195Z] 46f8f816bc3b: Pulling fs layer [2020-12-12T03:24:28.195Z] 93b61091891f: Pulling fs layer [2020-12-12T03:24:28.195Z] 93b9cdb0e59b: Pulling fs layer [2020-12-12T03:24:28.195Z] 5e14af77c1be: Pulling fs layer [2020-12-12T03:24:28.195Z] 01666e4c0597: Pulling fs layer [2020-12-12T03:24:28.195Z] aa168da1d23b: Pulling fs layer [2020-12-12T03:24:28.195Z] 46f8f816bc3b: Waiting [2020-12-12T03:24:28.195Z] 93b61091891f: Waiting [2020-12-12T03:24:28.195Z] 93b9cdb0e59b: Waiting [2020-12-12T03:24:28.195Z] 5e14af77c1be: Waiting [2020-12-12T03:24:28.195Z] 01666e4c0597: Waiting [2020-12-12T03:24:28.195Z] aa168da1d23b: Waiting [2020-12-12T03:24:28.512Z] 36b3adc4ff6f: Verifying Checksum [2020-12-12T03:24:28.512Z] 36b3adc4ff6f: Download complete [2020-12-12T03:24:28.512Z] 46f8f816bc3b: Verifying Checksum [2020-12-12T03:24:28.512Z] 46f8f816bc3b: Download complete [2020-12-12T03:24:28.803Z] df20fa9351a1: Download complete [2020-12-12T03:24:28.803Z] 93b9cdb0e59b: Verifying Checksum [2020-12-12T03:24:28.803Z] 93b9cdb0e59b: Download complete [2020-12-12T03:24:28.803Z] 5e14af77c1be: Verifying Checksum [2020-12-12T03:24:28.803Z] 5e14af77c1be: Download complete [2020-12-12T03:24:28.803Z] 01666e4c0597: Verifying Checksum [2020-12-12T03:24:28.803Z] 01666e4c0597: Download complete [2020-12-12T03:24:28.803Z] 93b61091891f: Verifying Checksum [2020-12-12T03:24:28.803Z] 93b61091891f: Download complete [2020-12-12T03:24:29.462Z] df20fa9351a1: Pull complete [2020-12-12T03:24:29.756Z] 36b3adc4ff6f: Pull complete [2020-12-12T03:24:29.756Z] 8ad3a11d3b57: Verifying Checksum [2020-12-12T03:24:29.756Z] 8ad3a11d3b57: Download complete [2020-12-12T03:24:31.840Z] 8ad3a11d3b57: Pull complete [2020-12-12T03:24:32.160Z] 46f8f816bc3b: Pull complete [2020-12-12T03:24:33.242Z] 93b61091891f: Pull complete [2020-12-12T03:24:33.242Z] 93b9cdb0e59b: Pull complete [2020-12-12T03:24:33.517Z] 5e14af77c1be: Pull complete [2020-12-12T03:24:33.517Z] 01666e4c0597: Pull complete [2020-12-12T03:24:34.946Z] aa168da1d23b: Verifying Checksum [2020-12-12T03:24:34.946Z] aa168da1d23b: Download complete [2020-12-12T03:24:50.304Z] aa168da1d23b: Pull complete [2020-12-12T03:24:50.304Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-12T03:24:50.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-12T03:24:50.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-12T03:24:50.639Z] prd-centos7-docker-4c-2g-15710 does not seem to be running inside a container [2020-12-12T03:24:50.767Z] $ 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-394/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-394 -v /w/workspace/dry_go-mod-core-contracts_PR-394:/w/workspace/dry_go-mod-core-contracts_PR-394:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-394@tmp:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-12T03:24:54.380Z] $ docker top 2333d57e38c381231c0829c31bdd66d857707ae1ad4eaaad822032a0c23e746e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-12T03:24:55.070Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-12T03:24:55.426Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-12T03:24:55.759Z] + ls /var/log/sa-host [2020-12-12T03:24:55.759Z] + sadf -c /var/log/sa-host/sa12 [2020-12-12T03:24:55.759Z] file_magic: OK [2020-12-12T03:24:55.759Z] HZ: Using current value: 100 [2020-12-12T03:24:55.759Z] file_header: OK [2020-12-12T03:24:55.759Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-12T03:24:55.759Z] Statistics: [2020-12-12T03:24:55.759Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-12T03:24:55.760Z] File successfully converted to sysstat format version 12.2.1 [2020-12-12T03:24:55.760Z] + sadf -c /var/log/sa-host/sa23 [2020-12-12T03:24:55.760Z] file_magic: OK [2020-12-12T03:24:55.760Z] HZ: Using current value: 100 [2020-12-12T03:24:55.760Z] file_header: OK [2020-12-12T03:24:55.760Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-12T03:24:55.760Z] Statistics: [2020-12-12T03:24:55.760Z] Hnuu...uuuununununu... [2020-12-12T03:24:55.760Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-12T03:24:56.404Z] provisioning config files... [2020-12-12T03:24:56.431Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-394@tmp/config6867090905212596234tmp [Pipeline] { [Pipeline] echo [2020-12-12T03:24:56.511Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:24:56.828Z] ---> create-netrc.sh [Pipeline] } [2020-12-12T03:24:57.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-12T03:24:57.212Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:24:57.584Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-12T03:24:57.602Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:24:57.953Z] ---> sudo-logs.sh [2020-12-12T03:24:57.953Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-12T03:24:58.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:24:58.574Z] ---> job-cost.sh [2020-12-12T03:24:58.870Z] lf-activate-venv: SKIPPING [2020-12-12T03:24:58.870Z] INFO: No Stack... [2020-12-12T03:24:59.479Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-12T03:25:00.079Z] INFO: Archiving Costs [Pipeline] echo [2020-12-12T03:25:00.102Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-12T03:25:00.781Z] ---> logs-deploy.sh [2020-12-12T03:25:00.781Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-394/3 [2020-12-12T03:25:00.781Z] INFO: archiving workspace using pattern(s): [2020-12-12T03:25:04.448Z] Archives upload complete. [2020-12-12T03:25:04.448Z] INFO: archiving logs to Nexus