Pull request #352 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 98daafbb41d32662c234c03b24ed2e451e027361 rather than 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 Obtained Jenkinsfile from 98daafbb41d32662c234c03b24ed2e451e027361 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6189’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6191 in /w/workspace/dry_go-mod-core-contracts_PR-352 [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-352 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 Merging remotes/origin/master commit 98daafbb41d32662c234c03b24ed2e451e027361 into PR head commit 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 Merge succeeded, producing 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 Checking out Revision 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 (PR-352) 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 --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 # 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 98daafbb41d32662c234c03b24ed2e451e027361 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 # timeout=10 Commit message: "feat(metadata): Add label constant for redis key" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T07:02:19.736Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T07:02:20.008Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:02:20.108Z] ========================================================= [2020-10-19T07:02:20.108Z] EdgeX Global Pipelines Version Info [2020-10-19T07:02:20.108Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:02:23.426Z] ------------------- [2020-10-19T07:02:23.426Z] stable info: [2020-10-19T07:02:23.426Z] ------------------- [2020-10-19T07:02:23.426Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:02:23.426Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:02:23.426Z] Message: update stable to v1.0.144 [2020-10-19T07:02:24.484Z] ------------------- [2020-10-19T07:02:24.484Z] experimental info: [2020-10-19T07:02:24.484Z] ------------------- [2020-10-19T07:02:24.484Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:02:24.484Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:02:24.484Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:02:24.977Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-10-19T07:02:25.077Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-10-19T07:02:25.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:02:25.281Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:02:25.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:02:25.466Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:02:25.560Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:02:25.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:02:25.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-19T07:02:25.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:02:25.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:02:26.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-10-19T07:02:26.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:02:26.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:02:26.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:02:26.418Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:02:26.511Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:02:26.599Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:02:26.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-10-19T07:02:26.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:02:26.892Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-19T07:02:26.980Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-19T07:02:27.068Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:02:27.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:02:27.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-10-19T07:02:27.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-352 [Pipeline] echo [2020-10-19T07:02:27.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-352 [Pipeline] echo [2020-10-19T07:02:27.666Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-352 [Pipeline] echo [2020-10-19T07:02:27.765Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 [Pipeline] echo [2020-10-19T07:02:27.901Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a8b18e [Pipeline] echo [2020-10-19T07:02:27.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:02:28.701Z] + git log --format=format:%s -1 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 [Pipeline] echo [2020-10-19T07:02:28.826Z] GIT_COMMIT: 0a8b18e1db22a4c82c79cd3cd7931583592e4b52, Commit Message: feat(metadata): Add label constant for redis key [Pipeline] echo [2020-10-19T07:02:28.870Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:02:29.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:02:30.110Z] [2020-10-19T07:02:30.110Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:02:30.553Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:02:30.831Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:02:30.831Z] 31603596830f: Pulling fs layer [2020-10-19T07:02:30.831Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:02:30.831Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:02:30.831Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:02:30.831Z] ecc8261a40a4: Waiting [2020-10-19T07:02:30.831Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T07:02:30.831Z] 2a8b12db71e7: Download complete [2020-10-19T07:02:31.126Z] 31603596830f: Verifying Checksum [2020-10-19T07:02:31.126Z] 31603596830f: Download complete [2020-10-19T07:02:31.403Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:02:31.403Z] 6ca5941a6612: Download complete [2020-10-19T07:02:31.692Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:02:31.692Z] ecc8261a40a4: Download complete [2020-10-19T07:02:31.692Z] 31603596830f: Pull complete [2020-10-19T07:02:31.993Z] 2a8b12db71e7: Pull complete [2020-10-19T07:02:33.507Z] 6ca5941a6612: Pull complete [2020-10-19T07:02:33.796Z] ecc8261a40a4: Pull complete [2020-10-19T07:02:33.796Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:02:33.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:02:33.796Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:02:34.061Z] prd-centos7-docker-4c-2g-6191 does not seem to be running inside a container [2020-10-19T07:02:34.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-352 -v /w/workspace/dry_go-mod-core-contracts_PR-352:/w/workspace/dry_go-mod-core-contracts_PR-352:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-352@tmp:/w/workspace/dry_go-mod-core-contracts_PR-352@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-19T07:02:36.820Z] $ docker top 771a70187e706e34a615b93ca4089324b22a234e0a9aa74c9b5ecb2ec5f14d8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:02:37.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:02:37.199Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:02:37.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:02:37.538Z] $ docker exec 771a70187e706e34a615b93ca4089324b22a234e0a9aa74c9b5ecb2ec5f14d8a ssh-agent [2020-10-19T07:02:37.826Z] SSH_AUTH_SOCK=/tmp/ssh-tLarJHVnKeT3/agent.12 [2020-10-19T07:02:37.826Z] SSH_AGENT_PID=18 [2020-10-19T07:02:37.847Z] Running ssh-add (command line suppressed) [2020-10-19T07:02:38.062Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-352@tmp/private_key_5270381265723360345.key (/w/workspace/dry_go-mod-core-contracts_PR-352@tmp/private_key_5270381265723360345.key) [2020-10-19T07:02:38.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:02:38.505Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:02:38.559Z] $ docker exec --env ******** --env ******** 771a70187e706e34a615b93ca4089324b22a234e0a9aa74c9b5ecb2ec5f14d8a ssh-agent -k [2020-10-19T07:02:38.755Z] unset SSH_AUTH_SOCK; [2020-10-19T07:02:38.757Z] unset SSH_AGENT_PID; [2020-10-19T07:02:38.757Z] echo Agent pid 18 killed; [2020-10-19T07:02:38.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:02:39.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:02:39.083Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:02:39.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:02:39.363Z] $ docker exec 771a70187e706e34a615b93ca4089324b22a234e0a9aa74c9b5ecb2ec5f14d8a ssh-agent [2020-10-19T07:02:39.693Z] SSH_AUTH_SOCK=/tmp/ssh-t7aJsyQuFCFq/agent.48 [2020-10-19T07:02:39.693Z] SSH_AGENT_PID=53 [2020-10-19T07:02:39.762Z] Running ssh-add (command line suppressed) [2020-10-19T07:02:40.118Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-352@tmp/private_key_6993041750760640172.key (/w/workspace/dry_go-mod-core-contracts_PR-352@tmp/private_key_6993041750760640172.key) [2020-10-19T07:02:40.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:02:41.511Z] + git semver init [2020-10-19T07:02:41.511Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:02:41.511Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-352/.git [2020-10-19T07:02:41.511Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-352 [2020-10-19T07:02:41.511Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:02:41.511Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:02:41.511Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:02:41.511Z] # $SEMVER_BRANCH = PR-352 [2020-10-19T07:02:41.511Z] # $SEMVER_TEMP = /tmp/semver-621224675 [2020-10-19T07:02:41.511Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-10-19T07:02:42.322Z] # '/tmp/semver-621224675' -> '/w/workspace/dry_go-mod-core-contracts_PR-352/.semver' [2020-10-19T07:02:42.611Z] # -> Force: false [2020-10-19T07:02:42.611Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-352/.semver [Pipeline] } [2020-10-19T07:02:42.674Z] $ docker exec --env ******** --env ******** 771a70187e706e34a615b93ca4089324b22a234e0a9aa74c9b5ecb2ec5f14d8a ssh-agent -k [2020-10-19T07:02:43.046Z] unset SSH_AUTH_SOCK; [2020-10-19T07:02:43.048Z] unset SSH_AGENT_PID; [2020-10-19T07:02:43.048Z] echo Agent pid 53 killed; [2020-10-19T07:02:43.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:02:43.991Z] + git semver [Pipeline] } [2020-10-19T07:02:44.019Z] $ docker stop --time=1 771a70187e706e34a615b93ca4089324b22a234e0a9aa74c9b5ecb2ec5f14d8a [2020-10-19T07:02:45.710Z] $ docker rm -f 771a70187e706e34a615b93ca4089324b22a234e0a9aa74c9b5ecb2ec5f14d8a [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:02:46.298Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:02:47.572Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:02:47.575Z] [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-10-19T07:03:03.151Z] Still waiting to schedule task [2020-10-19T07:03:03.151Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-19T07:03:03.154Z] Still waiting to schedule task [2020-10-19T07:03:03.154Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-19T07:05:54.798Z] Running on prd-centos7-docker-4c-2g-6194 in /w/workspace/dry_go-mod-core-contracts_PR-352 [Pipeline] { [Pipeline] ws [2020-10-19T07:05:54.928Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-10-19T07:05:58.094Z] using credential edgex-jenkins-ssh [2020-10-19T07:05:58.147Z] Cloning the remote Git repository [2020-10-19T07:05:58.188Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-19T07:05:58.255Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-10-19T07:05:58.305Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-19T07:05:58.306Z] > git --version # timeout=10 [2020-10-19T07:05:58.315Z] > git --version # 'git version 2.16.5' [2020-10-19T07:05:58.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:05:58.352Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:05:59.558Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-19T07:05:59.566Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:05:59.581Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-19T07:05:59.594Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-19T07:05:59.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:05:59.598Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:06:00.114Z] Merging remotes/origin/master commit 98daafbb41d32662c234c03b24ed2e451e027361 into PR head commit 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 [2020-10-19T07:06:00.281Z] Merge succeeded, producing 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 [2020-10-19T07:06:00.281Z] Checking out Revision 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 (PR-352) [2020-10-19T07:06:00.126Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:06:00.131Z] > git checkout -f 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 # timeout=10 [2020-10-19T07:06:00.193Z] > git remote # timeout=10 [2020-10-19T07:06:00.209Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:06:00.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:06:00.243Z] > git merge 98daafbb41d32662c234c03b24ed2e451e027361 # timeout=10 [2020-10-19T07:06:00.274Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:06:00.287Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:06:00.291Z] > git checkout -f 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 # timeout=10 [2020-10-19T07:06:03.910Z] Commit message: "feat(metadata): Add label constant for redis key" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:06:04.834Z] ========================================================= [2020-10-19T07:06:04.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:06:04.834Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:06:05.512Z] + 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-10-19T07:06:06.106Z] Sending build context to Docker daemon 1.757MB [2020-10-19T07:06:06.106Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-10-19T07:06:06.106Z] Step 2/7 : FROM ${BASE} [2020-10-19T07:06:06.106Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:06:06.106Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:06:06.106Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:06:06.106Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:06:06.106Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:06:06.106Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:06:06.106Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:06:06.106Z] 4e634b169226: Pulling fs layer [2020-10-19T07:06:06.106Z] e871e8e8d7a9: Waiting [2020-10-19T07:06:06.106Z] 1e910a182e73: Waiting [2020-10-19T07:06:06.106Z] 4e634b169226: Waiting [2020-10-19T07:06:06.106Z] e73272ec9a57: Waiting [2020-10-19T07:06:06.370Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:06:06.370Z] a92cc7c5fd73: Download complete [2020-10-19T07:06:06.370Z] ed8968b2872e: Download complete [2020-10-19T07:06:06.370Z] e73272ec9a57: Verifying Checksum [2020-10-19T07:06:06.370Z] e73272ec9a57: Download complete [2020-10-19T07:06:06.370Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:06:06.370Z] df20fa9351a1: Download complete [2020-10-19T07:06:06.370Z] 1e910a182e73: Verifying Checksum [2020-10-19T07:06:06.370Z] 1e910a182e73: Download complete [2020-10-19T07:06:06.663Z] df20fa9351a1: Pull complete [2020-10-19T07:06:06.663Z] ed8968b2872e: Pull complete [2020-10-19T07:06:06.930Z] a92cc7c5fd73: Pull complete [2020-10-19T07:06:08.860Z] 4e634b169226: Verifying Checksum [2020-10-19T07:06:08.860Z] 4e634b169226: Download complete [2020-10-19T07:06:09.441Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:06:09.441Z] e871e8e8d7a9: Download complete [2020-10-19T07:06:14.785Z] e871e8e8d7a9: Pull complete [2020-10-19T07:06:14.785Z] e73272ec9a57: Pull complete [2020-10-19T07:06:14.785Z] 1e910a182e73: Pull complete [2020-10-19T07:06:22.969Z] 4e634b169226: Pull complete [2020-10-19T07:06:22.969Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:06:22.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:06:22.969Z] ---> f7629b54cfaa [2020-10-19T07:06:22.969Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-19T07:06:22.969Z] ---> Running in b9cb9a18fb33 [2020-10-19T07:06:22.969Z] Removing intermediate container b9cb9a18fb33 [2020-10-19T07:06:22.969Z] ---> 689e12d61e49 [2020-10-19T07:06:22.969Z] Step 4/7 : RUN apk add bash [2020-10-19T07:06:22.969Z] ---> Running in 666dcb985ca9 [2020-10-19T07:06:23.926Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:06:24.520Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:06:25.473Z] OK: 166 MiB in 39 packages [2020-10-19T07:06:25.737Z] Removing intermediate container 666dcb985ca9 [2020-10-19T07:06:25.737Z] ---> 7a38a44d0770 [2020-10-19T07:06:25.737Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-10-19T07:06:26.003Z] ---> Running in 992b57c2756e [2020-10-19T07:06:26.003Z] Removing intermediate container 992b57c2756e [2020-10-19T07:06:26.003Z] ---> f06458ce13ba [2020-10-19T07:06:26.003Z] Step 6/7 : COPY go.mod . [2020-10-19T07:06:26.266Z] ---> ac1eac35a921 [2020-10-19T07:06:26.266Z] Step 7/7 : RUN go mod download [2020-10-19T07:06:26.266Z] ---> Running in 3d730183ca51 [2020-10-19T07:06:38.586Z] Removing intermediate container 3d730183ca51 [2020-10-19T07:06:38.586Z] ---> 16411e9c964b [2020-10-19T07:06:38.586Z] Successfully built 16411e9c964b [2020-10-19T07:06:38.586Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:06:38.958Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:06:38.959Z] . [Pipeline] withDockerContainer [2020-10-19T07:06:39.078Z] prd-centos7-docker-4c-2g-6194 does not seem to be running inside a container [2020-10-19T07:06:39.136Z] $ 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-x86_64 cat [2020-10-19T07:06:39.902Z] $ docker top 666c86c722ce6e9e756ae231266a6380428e60bec93e76ade8fdb7883b061d89 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:06:40.440Z] + go version [2020-10-19T07:06:40.440Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:06:40.459Z] $ docker stop --time=1 666c86c722ce6e9e756ae231266a6380428e60bec93e76ade8fdb7883b061d89 [2020-10-19T07:06:41.827Z] $ docker rm -f 666c86c722ce6e9e756ae231266a6380428e60bec93e76ade8fdb7883b061d89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:06:42.693Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:06:42.693Z] . [Pipeline] withDockerContainer [2020-10-19T07:06:42.797Z] prd-centos7-docker-4c-2g-6194 does not seem to be running inside a container [2020-10-19T07:06:42.851Z] $ 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-x86_64 cat [2020-10-19T07:06:43.835Z] $ docker top acc88271a382f7e6c7ee6cf5fc73b0739f6b3c27d64c9651a700ab0bb091bdeb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:06:44.340Z] + make test [2020-10-19T07:06:44.340Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-19T07:06:51.175Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-10-19T07:06:51.450Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.013s coverage: 85.7% of statements [2020-10-19T07:06:51.450Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.023s coverage: 100.0% of statements [2020-10-19T07:06:51.450Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.025s coverage: 45.4% of statements [2020-10-19T07:06:51.450Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.024s coverage: 77.8% of statements [2020-10-19T07:06:51.450Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-10-19T07:06:51.728Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.005s coverage: 6.4% of statements [2020-10-19T07:06:52.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.020s coverage: 14.7% of statements [2020-10-19T07:06:52.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.012s coverage: 100.0% of statements [2020-10-19T07:06:52.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.059s coverage: 91.8% of statements [2020-10-19T07:06:52.705Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-10-19T07:06:52.705Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-10-19T07:06:52.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.026s coverage: 100.0% of statements [2020-10-19T07:06:52.972Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.006s coverage: 48.9% of statements [2020-10-19T07:06:54.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.024s coverage: 63.0% of statements [2020-10-19T07:06:54.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.006s coverage: 26.3% of statements [2020-10-19T07:06:54.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.006s coverage: 15.4% of statements [2020-10-19T07:06:54.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.006s coverage: 15.4% of statements [2020-10-19T07:06:54.930Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.014s coverage: 14.3% of statements [2020-10-19T07:06:54.931Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-10-19T07:06:55.518Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.008s coverage: 29.1% of statements [2020-10-19T07:06:55.518Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.028s coverage: 100.0% of statements [2020-10-19T07:06:55.518Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.015s coverage: 94.4% of statements [2020-10-19T07:06:55.518Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.009s coverage: 100.0% of statements [2020-10-19T07:06:55.518Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-10-19T07:06:55.784Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-19T07:06:57.196Z] gofmt -l . [2020-10-19T07:06:57.196Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-10-19T07:06:57.557Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:06:57.566Z] $ docker stop --time=1 acc88271a382f7e6c7ee6cf5fc73b0739f6b3c27d64c9651a700ab0bb091bdeb [2020-10-19T07:06:59.816Z] $ docker rm -f acc88271a382f7e6c7ee6cf5fc73b0739f6b3c27d64c9651a700ab0bb091bdeb [Pipeline] // withDockerContainer [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] } [2020-10-19T07:07:04.092Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6195 in /w/workspace/dry_go-mod-core-contracts_PR-352 [Pipeline] { [Pipeline] ws [2020-10-19T07:07:04.155Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-10-19T07:07:09.816Z] using credential edgex-jenkins-ssh [2020-10-19T07:07:09.919Z] Cloning the remote Git repository [2020-10-19T07:07:09.978Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-19T07:07:10.126Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-10-19T07:07:10.195Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-19T07:07:10.196Z] > git --version # timeout=10 [2020-10-19T07:07:10.224Z] > git --version # 'git version 2.17.1' [2020-10-19T07:07:10.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:07:10.316Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:07:11.227Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-19T07:07:11.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:07:11.282Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-19T07:07:11.317Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-19T07:07:11.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:07:11.329Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:07:11.948Z] Merging remotes/origin/master commit 98daafbb41d32662c234c03b24ed2e451e027361 into PR head commit 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 [2020-10-19T07:07:12.375Z] Merge succeeded, producing 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 [2020-10-19T07:07:12.376Z] Checking out Revision 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 (PR-352) [2020-10-19T07:07:12.009Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:07:12.057Z] > git checkout -f 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 # timeout=10 [2020-10-19T07:07:12.259Z] > git remote # timeout=10 [2020-10-19T07:07:12.278Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:07:12.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:07:12.319Z] > git merge 98daafbb41d32662c234c03b24ed2e451e027361 # timeout=10 [2020-10-19T07:07:12.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:07:12.382Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:07:12.396Z] > git checkout -f 0a8b18e1db22a4c82c79cd3cd7931583592e4b52 # timeout=10 [2020-10-19T07:07:16.598Z] Commit message: "feat(metadata): Add label constant for redis key" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:07:17.396Z] ========================================================= [2020-10-19T07:07:17.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:07:17.396Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:07:18.297Z] + 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-10-19T07:07:19.279Z] Sending build context to Docker daemon 1.757MB [2020-10-19T07:07:19.279Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-10-19T07:07:19.279Z] Step 2/7 : FROM ${BASE} [2020-10-19T07:07:19.554Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:07:19.554Z] b538f80385f9: Pulling fs layer [2020-10-19T07:07:19.554Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:07:19.554Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:07:19.554Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:07:19.554Z] 45590311c82a: Pulling fs layer [2020-10-19T07:07:19.554Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:07:19.554Z] 209524e5b208: Pulling fs layer [2020-10-19T07:07:19.554Z] 45590311c82a: Waiting [2020-10-19T07:07:19.554Z] 8529a6b9a6be: Waiting [2020-10-19T07:07:19.554Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:07:19.554Z] 209524e5b208: Waiting [2020-10-19T07:07:19.554Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:07:19.554Z] 99f96fe45779: Download complete [2020-10-19T07:07:19.554Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:07:19.554Z] 74f711af9a0d: Download complete [2020-10-19T07:07:19.554Z] 45590311c82a: Verifying Checksum [2020-10-19T07:07:19.554Z] 45590311c82a: Download complete [2020-10-19T07:07:19.554Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:07:19.554Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:07:19.828Z] b538f80385f9: Verifying Checksum [2020-10-19T07:07:19.828Z] b538f80385f9: Download complete [2020-10-19T07:07:20.429Z] b538f80385f9: Pull complete [2020-10-19T07:07:21.034Z] 74f711af9a0d: Pull complete [2020-10-19T07:07:21.313Z] 99f96fe45779: Pull complete [2020-10-19T07:07:22.787Z] 209524e5b208: Verifying Checksum [2020-10-19T07:07:22.787Z] 209524e5b208: Download complete [2020-10-19T07:07:23.782Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:07:23.782Z] 8529a6b9a6be: Download complete [2020-10-19T07:07:34.054Z] 8529a6b9a6be: Pull complete [2020-10-19T07:07:34.334Z] 45590311c82a: Pull complete [2020-10-19T07:07:34.950Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:07:39.327Z] 209524e5b208: Pull complete [2020-10-19T07:07:39.327Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:07:39.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:07:39.327Z] ---> 5bddaf1c2fca [2020-10-19T07:07:39.327Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-19T07:07:41.950Z] ---> Running in af8d865ede0b [2020-10-19T07:07:41.950Z] Removing intermediate container af8d865ede0b [2020-10-19T07:07:41.950Z] ---> 8518f0472a5c [2020-10-19T07:07:41.950Z] Step 4/7 : RUN apk add bash [2020-10-19T07:07:42.225Z] ---> Running in d085d2dc0e34 [2020-10-19T07:07:43.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:07:44.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:07:45.527Z] OK: 142 MiB in 39 packages [2020-10-19T07:07:46.532Z] Removing intermediate container d085d2dc0e34 [2020-10-19T07:07:46.532Z] ---> f6791f296f63 [2020-10-19T07:07:46.532Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-10-19T07:07:46.808Z] ---> Running in 7026f5100470 [2020-10-19T07:07:47.407Z] Removing intermediate container 7026f5100470 [2020-10-19T07:07:47.407Z] ---> 98172d40032d [2020-10-19T07:07:47.407Z] Step 6/7 : COPY go.mod . [2020-10-19T07:07:48.003Z] ---> 1a14430a3a4b [2020-10-19T07:07:48.003Z] Step 7/7 : RUN go mod download [2020-10-19T07:07:48.003Z] ---> Running in 204f7fa523e8 [2020-10-19T07:08:03.133Z] Removing intermediate container 204f7fa523e8 [2020-10-19T07:08:03.133Z] ---> 93271f3c8d93 [2020-10-19T07:08:03.133Z] Successfully built 93271f3c8d93 [2020-10-19T07:08:03.133Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:08:03.562Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:08:03.562Z] . [Pipeline] withDockerContainer [2020-10-19T07:08:03.873Z] prd-ubuntu18.04-docker-arm64-4c-16g-6195 does not seem to be running inside a container [2020-10-19T07:08:03.971Z] $ 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 [2020-10-19T07:08:06.008Z] $ docker top c98e25875cb00cd545afc321274e4f20d5ded999a306f73dee9314fda012cf3e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:08:07.429Z] + go version [2020-10-19T07:08:07.429Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:08:07.455Z] $ docker stop --time=1 c98e25875cb00cd545afc321274e4f20d5ded999a306f73dee9314fda012cf3e [2020-10-19T07:08:09.444Z] $ docker rm -f c98e25875cb00cd545afc321274e4f20d5ded999a306f73dee9314fda012cf3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:08:10.520Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:08:10.520Z] . [Pipeline] withDockerContainer [2020-10-19T07:08:10.790Z] prd-ubuntu18.04-docker-arm64-4c-16g-6195 does not seem to be running inside a container [2020-10-19T07:08:10.876Z] $ 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 [2020-10-19T07:08:12.857Z] $ docker top 200993be975c8151c4fb10e91b5d11b7851bd433b18b4feb58fbc672123882c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:08:14.256Z] + make test [2020-10-19T07:08:14.256Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-19T07:08:36.610Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-10-19T07:08:37.226Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.033s coverage: 85.7% of statements [2020-10-19T07:08:37.227Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.040s coverage: 100.0% of statements [2020-10-19T07:08:39.216Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.047s coverage: 45.4% of statements [2020-10-19T07:08:39.216Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.020s coverage: 77.8% of statements [2020-10-19T07:08:39.216Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-10-19T07:08:39.216Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.025s coverage: 6.4% of statements [2020-10-19T07:08:40.658Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.054s coverage: 14.7% of statements [2020-10-19T07:08:40.658Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.055s coverage: 100.0% of statements [2020-10-19T07:08:42.255Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.071s coverage: 91.8% of statements [2020-10-19T07:08:42.255Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-10-19T07:08:42.255Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-10-19T07:08:42.255Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.015s coverage: 100.0% of statements [2020-10-19T07:08:42.946Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.030s coverage: 48.9% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.105s coverage: 63.0% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.027s coverage: 26.3% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.014s coverage: 15.4% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.014s coverage: 15.4% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.015s coverage: 14.3% of statements [2020-10-19T07:08:50.074Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.051s coverage: 29.1% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.076s coverage: 100.0% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.053s coverage: 94.4% of statements [2020-10-19T07:08:50.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.026s coverage: 100.0% of statements [2020-10-19T07:08:50.074Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-10-19T07:08:50.074Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-19T07:08:54.651Z] gofmt -l . [2020-10-19T07:08:54.651Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-10-19T07:08:55.394Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:08:56.469Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:08:56.518Z] $ docker stop --time=1 200993be975c8151c4fb10e91b5d11b7851bd433b18b4feb58fbc672123882c6 [2020-10-19T07:08:58.780Z] $ docker rm -f 200993be975c8151c4fb10e91b5d11b7851bd433b18b4feb58fbc672123882c6 [Pipeline] // withDockerContainer [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-10-19T07:09:02.231Z] provisioning config files... [2020-10-19T07:09:02.348Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-352@tmp/config7848356721870289397tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:09:02.944Z] + set +x [2020-10-19T07:09:02.945Z] + curl -s https://codecov.io/bash [2020-10-19T07:09:02.945Z] + bash -s -- [2020-10-19T07:09:03.293Z] [2020-10-19T07:09:03.293Z] _____ _ [2020-10-19T07:09:03.293Z] / ____| | | [2020-10-19T07:09:03.293Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:09:03.293Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:09:03.293Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:09:03.293Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:09:03.293Z] Bash-20201009-048fee3 [2020-10-19T07:09:03.293Z] [2020-10-19T07:09:03.293Z] [2020-10-19T07:09:03.293Z] ==> Jenkins CI detected. [2020-10-19T07:09:03.293Z] project root: . [2020-10-19T07:09:03.293Z] --> token set from env [2020-10-19T07:09:03.645Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:09:03.645Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:09:03.645Z] ==> Python coveragepy not found [2020-10-19T07:09:03.645Z] ==> Searching for coverage reports in: [2020-10-19T07:09:03.645Z] + . [2020-10-19T07:09:03.645Z] -> Found 1 reports [2020-10-19T07:09:03.645Z] ==> Detecting git/mercurial file structure [2020-10-19T07:09:03.988Z] ==> Reading reports [2020-10-19T07:09:03.988Z] + ./coverage.out bytes=106727 [2020-10-19T07:09:03.988Z] ==> Appending adjustments [2020-10-19T07:09:03.988Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:09:07.110Z] + Found adjustments [2020-10-19T07:09:07.110Z] ==> Gzipping contents [2020-10-19T07:09:07.110Z] ==> Uploading reports [2020-10-19T07:09:07.110Z] url: https://codecov.io [2020-10-19T07:09:07.110Z] query: branch=PR-352&commit=0a8b18e1db22a4c82c79cd3cd7931583592e4b52&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-352%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=352&job=&cmd_args= [2020-10-19T07:09:07.110Z] -> Pinging Codecov [2020-10-19T07:09:07.110Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-352&commit=0a8b18e1db22a4c82c79cd3cd7931583592e4b52&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-352%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=352&job=&cmd_args= [2020-10-19T07:09:07.475Z] -> Uploading to [2020-10-19T07:09:07.475Z] [2020-10-19T07:09:07.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:09:07.475Z] Dload Upload Total Spent Left Speed [2020-10-19T07:09:07.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:09:07.475Z] X> Failed to upload [2020-10-19T07:09:07.475Z] ==> Uploading to Codecov [2020-10-19T07:09:07.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:09:07.475Z] Dload Upload Total Spent Left Speed [2020-10-19T07:09:08.205Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17242 100 118 100 17124 158 23011 --:--:-- --:--:-- --:--:-- 23047 [2020-10-19T07:09:08.205Z] View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/0a8b18e1db22a4c82c79cd3cd7931583592e4b52 [Pipeline] } [2020-10-19T07:09:08.232Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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-10-19T07:09:11.164Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:09:12.583Z] ---> package-listing.sh [2020-10-19T07:09:12.583Z] ++ facter osfamily [2020-10-19T07:09:12.583Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:09:12.887Z] + OS_FAMILY=redhat [2020-10-19T07:09:12.887Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-352 [2020-10-19T07:09:12.887Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:09:12.887Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:09:12.887Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:09:12.887Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:09:12.887Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-352 ']' [2020-10-19T07:09:12.887Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:09:12.887Z] + case "${OS_FAMILY}" in [2020-10-19T07:09:12.887Z] + sort [2020-10-19T07:09:12.887Z] + rpm -qa [2020-10-19T07:09:20.406Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:09:20.406Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:09:20.406Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:09:20.406Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-352 ']' [2020-10-19T07:09:20.406Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-352/archives/ [2020-10-19T07:09:20.406Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-352/archives/ [Pipeline] echo [2020-10-19T07:09:20.612Z] 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-352/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-19T07:09:21.318Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:09:22.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:09:23.479Z] [2020-10-19T07:09:23.479Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:09:24.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:09:24.377Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:09:24.377Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:09:24.377Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:09:24.377Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:09:24.377Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:09:24.377Z] 93b61091891f: Pulling fs layer [2020-10-19T07:09:24.377Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:09:24.377Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:09:24.377Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:09:24.377Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:09:24.377Z] 93b61091891f: Waiting [2020-10-19T07:09:24.377Z] 93b9cdb0e59b: Waiting [2020-10-19T07:09:24.377Z] 5e14af77c1be: Waiting [2020-10-19T07:09:24.377Z] 01666e4c0597: Waiting [2020-10-19T07:09:24.377Z] 46f8f816bc3b: Waiting [2020-10-19T07:09:24.377Z] aa168da1d23b: Waiting [2020-10-19T07:09:25.032Z] 36b3adc4ff6f: Download complete [2020-10-19T07:09:25.032Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T07:09:25.032Z] 46f8f816bc3b: Download complete [2020-10-19T07:09:25.385Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:09:25.385Z] df20fa9351a1: Download complete [2020-10-19T07:09:25.385Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:09:25.385Z] 93b9cdb0e59b: Download complete [2020-10-19T07:09:25.385Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:09:25.385Z] 5e14af77c1be: Download complete [2020-10-19T07:09:25.385Z] 93b61091891f: Verifying Checksum [2020-10-19T07:09:25.385Z] 93b61091891f: Download complete [2020-10-19T07:09:25.385Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:09:25.385Z] 01666e4c0597: Download complete [2020-10-19T07:09:26.491Z] df20fa9351a1: Pull complete [2020-10-19T07:09:26.801Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:09:26.801Z] 8ad3a11d3b57: Download complete [2020-10-19T07:09:27.547Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:09:30.667Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:09:30.667Z] 46f8f816bc3b: Pull complete [2020-10-19T07:09:31.744Z] 93b61091891f: Pull complete [2020-10-19T07:09:32.470Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:09:33.646Z] 5e14af77c1be: Pull complete [2020-10-19T07:09:34.057Z] 01666e4c0597: Pull complete [2020-10-19T07:09:36.724Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:09:36.724Z] aa168da1d23b: Download complete [2020-10-19T07:09:49.453Z] aa168da1d23b: Pull complete [2020-10-19T07:09:49.453Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:09:49.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:09:49.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:09:49.971Z] prd-centos7-docker-4c-2g-6191 does not seem to be running inside a container [2020-10-19T07:09:50.193Z] $ 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-352/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-352 -v /w/workspace/dry_go-mod-core-contracts_PR-352:/w/workspace/dry_go-mod-core-contracts_PR-352:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-352@tmp:/w/workspace/dry_go-mod-core-contracts_PR-352@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:10003/edgex-lftools-log-publisher:alpine cat [2020-10-19T07:09:57.261Z] $ docker top 5dacfaa6bc96fed1127b262cbbd632dd90b3109e753e37cdad9a06fac0fa29bd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:09:57.900Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:09:58.454Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:09:58.901Z] + ls /var/log/sa-host [2020-10-19T07:09:58.901Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:09:58.901Z] file_magic: OK [2020-10-19T07:09:58.901Z] HZ: Using current value: 100 [2020-10-19T07:09:58.901Z] file_header: OK [2020-10-19T07:09:58.901Z] 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-10-19T07:09:58.901Z] Statistics: [2020-10-19T07:09:58.901Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:09:58.901Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:09:58.901Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:09:58.901Z] file_magic: OK [2020-10-19T07:09:58.901Z] HZ: Using current value: 100 [2020-10-19T07:09:58.901Z] file_header: OK [2020-10-19T07:09:58.901Z] 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-10-19T07:09:58.901Z] Statistics: [2020-10-19T07:09:58.901Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:09:58.901Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:09:59.108Z] provisioning config files... [2020-10-19T07:09:59.127Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-352@tmp/config6901462124401820712tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:09:59.203Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:10:00.220Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:10:00.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:10:00.447Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:10:00.806Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:10:00.824Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:10:01.160Z] ---> sudo-logs.sh [2020-10-19T07:10:01.160Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:10:01.191Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:10:01.524Z] ---> job-cost.sh [2020-10-19T07:10:01.792Z] lf-activate-venv: SKIPPING [2020-10-19T07:10:01.792Z] INFO: No Stack... [2020-10-19T07:10:02.836Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:10:03.439Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:10:03.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:10:03.821Z] ---> logs-deploy.sh [2020-10-19T07:10:03.822Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-352/2 [2020-10-19T07:10:03.822Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:10:06.430Z] Archives upload complete. [2020-10-19T07:10:06.431Z] INFO: archiving logs to Nexus