Pull request #363 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 f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 rather than 7b05df9c4e333194141a9faaaa5e68be10200d42 Obtained Jenkinsfile from f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8872 in /w/workspace/dry_go-mod-core-contracts_PR-363 [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-363 # 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 Merging remotes/origin/master commit f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 into PR head commit 7b05df9c4e333194141a9faaaa5e68be10200d42 Merge succeeded, producing 7b05df9c4e333194141a9faaaa5e68be10200d42 Checking out Revision 7b05df9c4e333194141a9faaaa5e68be10200d42 (PR-363) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b05df9c4e333194141a9faaaa5e68be10200d42 # 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 f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b05df9c4e333194141a9faaaa5e68be10200d42 # timeout=10 Commit message: "fix(metadata): Add validation tag for UpdateDTO" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-26T14:03:47.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 98f32eab5e6de7f08d1bc144e56f1b20ebac01fd # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-26T14:03:47.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-26T14:03:47.961Z] ========================================================= [2020-10-26T14:03:47.961Z] EdgeX Global Pipelines Version Info [2020-10-26T14:03:47.961Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-26T14:03:49.419Z] ------------------- [2020-10-26T14:03:49.419Z] stable info: [2020-10-26T14:03:49.419Z] ------------------- [2020-10-26T14:03:49.419Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-26T14:03:49.419Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-26T14:03:49.419Z] Message: update stable to v1.0.148 [2020-10-26T14:03:50.364Z] ------------------- [2020-10-26T14:03:50.364Z] experimental info: [2020-10-26T14:03:50.364Z] ------------------- [2020-10-26T14:03:50.364Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-26T14:03:50.364Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-26T14:03:50.364Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-26T14:03:50.723Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-10-26T14:03:50.857Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-10-26T14:03:50.957Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-26T14:03:51.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-26T14:03:51.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-26T14:03:51.316Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-26T14:03:51.439Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-26T14:03:51.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-26T14:03:51.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-26T14:03:51.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-26T14:03:51.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-26T14:03:51.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-10-26T14:03:52.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-26T14:03:52.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-26T14:03:52.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-10-26T14:03:52.394Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-26T14:03:52.497Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-26T14:03:52.582Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-26T14:03:52.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-10-26T14:03:52.865Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-26T14:03:52.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-26T14:03:53.045Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-26T14:03:53.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-26T14:03:53.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-26T14:03:53.378Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-10-26T14:03:53.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo [2020-10-26T14:03:53.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo [2020-10-26T14:03:53.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo [2020-10-26T14:03:53.785Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b05df9c4e333194141a9faaaa5e68be10200d42 [Pipeline] echo [2020-10-26T14:03:53.883Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b05df9 [Pipeline] echo [2020-10-26T14:03:53.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-26T14:03:54.595Z] + git log --format=format:%s -1 7b05df9c4e333194141a9faaaa5e68be10200d42 [Pipeline] echo [2020-10-26T14:03:54.656Z] GIT_COMMIT: 7b05df9c4e333194141a9faaaa5e68be10200d42, Commit Message: fix(metadata): Add validation tag for UpdateDTO [Pipeline] echo [2020-10-26T14:03:54.720Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:03:55.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-26T14:03:55.306Z] [2020-10-26T14:03:55.306Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:03:55.734Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-26T14:03:55.734Z] latest: Pulling from edgex-devops/git-semver [2020-10-26T14:03:55.734Z] 31603596830f: Pulling fs layer [2020-10-26T14:03:55.734Z] 2a8b12db71e7: Pulling fs layer [2020-10-26T14:03:55.734Z] 6ca5941a6612: Pulling fs layer [2020-10-26T14:03:55.734Z] ecc8261a40a4: Pulling fs layer [2020-10-26T14:03:55.734Z] ecc8261a40a4: Waiting [2020-10-26T14:03:55.734Z] 2a8b12db71e7: Verifying Checksum [2020-10-26T14:03:55.734Z] 2a8b12db71e7: Download complete [2020-10-26T14:03:55.734Z] 31603596830f: Verifying Checksum [2020-10-26T14:03:55.734Z] 31603596830f: Download complete [2020-10-26T14:03:55.996Z] ecc8261a40a4: Verifying Checksum [2020-10-26T14:03:55.996Z] ecc8261a40a4: Download complete [2020-10-26T14:03:55.996Z] 6ca5941a6612: Verifying Checksum [2020-10-26T14:03:55.996Z] 6ca5941a6612: Download complete [2020-10-26T14:03:55.997Z] 31603596830f: Pull complete [2020-10-26T14:03:56.257Z] 2a8b12db71e7: Pull complete [2020-10-26T14:03:57.210Z] 6ca5941a6612: Pull complete [2020-10-26T14:03:57.210Z] ecc8261a40a4: Pull complete [2020-10-26T14:03:57.210Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-26T14:03:57.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-26T14:03:57.210Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-26T14:03:57.309Z] prd-centos7-docker-4c-2g-8872 does not seem to be running inside a container [2020-10-26T14:03:57.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-363 -v /w/workspace/dry_go-mod-core-contracts_PR-363:/w/workspace/dry_go-mod-core-contracts_PR-363:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-363@tmp:/w/workspace/dry_go-mod-core-contracts_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-26T14:03:59.402Z] $ docker top 26438be4691d518cea5ba3d0d2c8ce60146924c092d11b10a566f73f0b58743d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-26T14:03:59.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-26T14:03:59.718Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-26T14:03:59.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-26T14:03:59.953Z] $ docker exec 26438be4691d518cea5ba3d0d2c8ce60146924c092d11b10a566f73f0b58743d ssh-agent [2020-10-26T14:04:00.144Z] SSH_AUTH_SOCK=/tmp/ssh-QOoWzW56AllR/agent.12 [2020-10-26T14:04:00.144Z] SSH_AGENT_PID=17 [2020-10-26T14:04:00.158Z] Running ssh-add (command line suppressed) [2020-10-26T14:04:00.283Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-363@tmp/private_key_5127457440964952616.key (/w/workspace/dry_go-mod-core-contracts_PR-363@tmp/private_key_5127457440964952616.key) [2020-10-26T14:04:00.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-26T14:04:00.680Z] + git tag --points-at HEAD [Pipeline] } [2020-10-26T14:04:00.701Z] $ docker exec --env ******** --env ******** 26438be4691d518cea5ba3d0d2c8ce60146924c092d11b10a566f73f0b58743d ssh-agent -k [2020-10-26T14:04:00.816Z] unset SSH_AUTH_SOCK; [2020-10-26T14:04:00.817Z] unset SSH_AGENT_PID; [2020-10-26T14:04:00.817Z] echo Agent pid 17 killed; [2020-10-26T14:04:00.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-26T14:04:01.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-26T14:04:01.054Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-26T14:04:01.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-26T14:04:01.220Z] $ docker exec 26438be4691d518cea5ba3d0d2c8ce60146924c092d11b10a566f73f0b58743d ssh-agent [2020-10-26T14:04:01.372Z] SSH_AUTH_SOCK=/tmp/ssh-CnjpGWijj6dD/agent.46 [2020-10-26T14:04:01.372Z] SSH_AGENT_PID=51 [2020-10-26T14:04:01.379Z] Running ssh-add (command line suppressed) [2020-10-26T14:04:01.489Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-363@tmp/private_key_6651042612530267101.key (/w/workspace/dry_go-mod-core-contracts_PR-363@tmp/private_key_6651042612530267101.key) [2020-10-26T14:04:01.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-26T14:04:01.873Z] + git semver init [2020-10-26T14:04:01.873Z] # -> Open(): unable to determine branch for HEAD [2020-10-26T14:04:01.873Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-363/.git [2020-10-26T14:04:01.873Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-363 [2020-10-26T14:04:01.873Z] # $SEMVER_REMOTE_NAME = origin [2020-10-26T14:04:01.873Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-26T14:04:01.873Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-26T14:04:01.873Z] # $SEMVER_BRANCH = PR-363 [2020-10-26T14:04:01.873Z] # $SEMVER_TEMP = /tmp/semver-754268725 [2020-10-26T14:04:01.873Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-10-26T14:04:02.819Z] # '/tmp/semver-754268725' -> '/w/workspace/dry_go-mod-core-contracts_PR-363/.semver' [2020-10-26T14:04:02.819Z] # -> Force: false [2020-10-26T14:04:02.819Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-363/.semver [Pipeline] } [2020-10-26T14:04:02.833Z] $ docker exec --env ******** --env ******** 26438be4691d518cea5ba3d0d2c8ce60146924c092d11b10a566f73f0b58743d ssh-agent -k [2020-10-26T14:04:02.953Z] unset SSH_AUTH_SOCK; [2020-10-26T14:04:02.954Z] unset SSH_AGENT_PID; [2020-10-26T14:04:02.954Z] echo Agent pid 51 killed; [2020-10-26T14:04:02.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-26T14:04:03.452Z] + git semver [Pipeline] } [2020-10-26T14:04:03.471Z] $ docker stop --time=1 26438be4691d518cea5ba3d0d2c8ce60146924c092d11b10a566f73f0b58743d [2020-10-26T14:04:05.258Z] $ docker rm -f 26438be4691d518cea5ba3d0d2c8ce60146924c092d11b10a566f73f0b58743d [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-26T14:04:05.757Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-26T14:04:06.289Z] Stashed 1 file(s) [Pipeline] echo [2020-10-26T14:04:06.292Z] [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-26T14:04:21.892Z] Still waiting to schedule task [2020-10-26T14:04:21.892Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-26T14:04:21.894Z] Still waiting to schedule task [2020-10-26T14:04:21.894Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-26T14:08:37.571Z] Running on prd-centos7-docker-4c-2g-8876 in /w/workspace/dry_go-mod-core-contracts_PR-363 [Pipeline] { [Pipeline] ws [2020-10-26T14:08:37.636Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-10-26T14:08:41.135Z] using credential edgex-jenkins-ssh [2020-10-26T14:08:41.190Z] Cloning the remote Git repository [2020-10-26T14:08:41.220Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-26T14:08:41.293Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-10-26T14:08:41.375Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-26T14:08:41.376Z] > git --version # timeout=10 [2020-10-26T14:08:41.384Z] > git --version # 'git version 2.16.5' [2020-10-26T14:08:41.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T14:08:41.437Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T14:08:43.338Z] Merging remotes/origin/master commit f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 into PR head commit 7b05df9c4e333194141a9faaaa5e68be10200d42 [2020-10-26T14:08:43.467Z] Merge succeeded, producing 7b05df9c4e333194141a9faaaa5e68be10200d42 [2020-10-26T14:08:43.467Z] Checking out Revision 7b05df9c4e333194141a9faaaa5e68be10200d42 (PR-363) [2020-10-26T14:08:42.711Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-26T14:08:42.720Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T14:08:42.737Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-26T14:08:42.754Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-26T14:08:42.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T14:08:42.761Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-26T14:08:43.353Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T14:08:43.363Z] > git checkout -f 7b05df9c4e333194141a9faaaa5e68be10200d42 # timeout=10 [2020-10-26T14:08:43.424Z] > git remote # timeout=10 [2020-10-26T14:08:43.430Z] > git config --get remote.origin.url # timeout=10 [2020-10-26T14:08:43.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T14:08:43.442Z] > git merge f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 # timeout=10 [2020-10-26T14:08:43.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-26T14:08:43.471Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T14:08:43.476Z] > git checkout -f 7b05df9c4e333194141a9faaaa5e68be10200d42 # timeout=10 [2020-10-26T14:08:47.269Z] Commit message: "fix(metadata): Add validation tag for UpdateDTO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-26T14:08:48.087Z] ========================================================= [2020-10-26T14:08:48.087Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-26T14:08:48.087Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:08:48.801Z] + 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-26T14:08:49.380Z] Sending build context to Docker daemon 1.811MB [2020-10-26T14:08:49.381Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-10-26T14:08:49.381Z] Step 2/7 : FROM ${BASE} [2020-10-26T14:08:49.381Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-26T14:08:49.381Z] df20fa9351a1: Pulling fs layer [2020-10-26T14:08:49.381Z] ed8968b2872e: Pulling fs layer [2020-10-26T14:08:49.381Z] a92cc7c5fd73: Pulling fs layer [2020-10-26T14:08:49.381Z] e871e8e8d7a9: Pulling fs layer [2020-10-26T14:08:49.381Z] e73272ec9a57: Pulling fs layer [2020-10-26T14:08:49.381Z] 1e910a182e73: Pulling fs layer [2020-10-26T14:08:49.381Z] 4e634b169226: Pulling fs layer [2020-10-26T14:08:49.381Z] e73272ec9a57: Waiting [2020-10-26T14:08:49.381Z] 1e910a182e73: Waiting [2020-10-26T14:08:49.381Z] 4e634b169226: Waiting [2020-10-26T14:08:49.381Z] e871e8e8d7a9: Waiting [2020-10-26T14:08:49.645Z] a92cc7c5fd73: Verifying Checksum [2020-10-26T14:08:49.645Z] a92cc7c5fd73: Download complete [2020-10-26T14:08:49.645Z] ed8968b2872e: Verifying Checksum [2020-10-26T14:08:49.645Z] ed8968b2872e: Download complete [2020-10-26T14:08:49.645Z] e73272ec9a57: Verifying Checksum [2020-10-26T14:08:49.645Z] e73272ec9a57: Download complete [2020-10-26T14:08:49.645Z] 1e910a182e73: Verifying Checksum [2020-10-26T14:08:49.645Z] 1e910a182e73: Download complete [2020-10-26T14:08:49.645Z] df20fa9351a1: Download complete [2020-10-26T14:08:49.916Z] df20fa9351a1: Pull complete [2020-10-26T14:08:50.183Z] ed8968b2872e: Pull complete [2020-10-26T14:08:50.183Z] a92cc7c5fd73: Pull complete [2020-10-26T14:08:52.119Z] 4e634b169226: Verifying Checksum [2020-10-26T14:08:52.119Z] 4e634b169226: Download complete [2020-10-26T14:08:52.705Z] e871e8e8d7a9: Verifying Checksum [2020-10-26T14:08:52.705Z] e871e8e8d7a9: Download complete [2020-10-26T14:08:58.022Z] e871e8e8d7a9: Pull complete [2020-10-26T14:08:58.022Z] e73272ec9a57: Pull complete [2020-10-26T14:08:58.022Z] 1e910a182e73: Pull complete [2020-10-26T14:09:08.081Z] 4e634b169226: Pull complete [2020-10-26T14:09:08.081Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-26T14:09:08.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-26T14:09:08.081Z] ---> f7629b54cfaa [2020-10-26T14:09:08.081Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T14:09:08.081Z] ---> Running in c4d9a5d514d2 [2020-10-26T14:09:08.081Z] Removing intermediate container c4d9a5d514d2 [2020-10-26T14:09:08.081Z] ---> 1d0c161cbcc5 [2020-10-26T14:09:08.081Z] Step 4/7 : RUN apk add bash [2020-10-26T14:09:08.081Z] ---> Running in 923c61e8c6ca [2020-10-26T14:09:09.507Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-26T14:09:10.105Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-26T14:09:10.692Z] OK: 166 MiB in 39 packages [2020-10-26T14:09:11.271Z] Removing intermediate container 923c61e8c6ca [2020-10-26T14:09:11.271Z] ---> ba58fcccf7fb [2020-10-26T14:09:11.271Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-10-26T14:09:11.271Z] ---> Running in 3476ac067b01 [2020-10-26T14:09:11.271Z] Removing intermediate container 3476ac067b01 [2020-10-26T14:09:11.271Z] ---> a272113b5ccd [2020-10-26T14:09:11.271Z] Step 6/7 : COPY go.mod . [2020-10-26T14:09:11.534Z] ---> 7a6886fbd254 [2020-10-26T14:09:11.534Z] Step 7/7 : RUN go mod download [2020-10-26T14:09:11.833Z] ---> Running in c11b499588af [2020-10-26T14:09:24.142Z] Removing intermediate container c11b499588af [2020-10-26T14:09:24.142Z] ---> b26006dff686 [2020-10-26T14:09:24.142Z] Successfully built b26006dff686 [2020-10-26T14:09:24.142Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:09:24.514Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-26T14:09:24.514Z] . [Pipeline] withDockerContainer [2020-10-26T14:09:24.632Z] prd-centos7-docker-4c-2g-8876 does not seem to be running inside a container [2020-10-26T14:09:24.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-26T14:09:25.493Z] $ docker top eaebca2e1f807c8f47fc4ecb5b7ebf083a9de142b661d9627f7913b1aef16844 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T14:09:26.026Z] + go version [2020-10-26T14:09:26.027Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-26T14:09:26.043Z] $ docker stop --time=1 eaebca2e1f807c8f47fc4ecb5b7ebf083a9de142b661d9627f7913b1aef16844 [2020-10-26T14:09:27.426Z] $ docker rm -f eaebca2e1f807c8f47fc4ecb5b7ebf083a9de142b661d9627f7913b1aef16844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:09:28.311Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-26T14:09:28.311Z] . [Pipeline] withDockerContainer [2020-10-26T14:09:28.413Z] prd-centos7-docker-4c-2g-8876 does not seem to be running inside a container [2020-10-26T14:09:28.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-26T14:09:29.225Z] $ docker top 8607aeb776c2e2b5659ea75db9d281dd0f02a64e1e89394a7094aaec0a726995 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T14:09:29.816Z] + make test [2020-10-26T14:09:29.816Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-26T14:09:38.060Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-10-26T14:09:38.060Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.022s coverage: 85.7% of statements [2020-10-26T14:09:38.060Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.021s coverage: 100.0% of statements [2020-10-26T14:09:38.060Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.022s coverage: 45.4% of statements [2020-10-26T14:09:38.060Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.019s coverage: 77.8% of statements [2020-10-26T14:09:38.060Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-10-26T14:09:38.060Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.011s coverage: 6.4% of statements [2020-10-26T14:09:38.653Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.034s coverage: 14.7% of statements [2020-10-26T14:09:38.653Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.009s coverage: 100.0% of statements [2020-10-26T14:09:38.653Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.024s coverage: 91.8% of statements [2020-10-26T14:09:38.653Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-10-26T14:09:38.653Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-10-26T14:09:38.653Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.019s coverage: 100.0% of statements [2020-10-26T14:09:38.932Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.006s coverage: 48.9% of statements [2020-10-26T14:09:40.903Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.038s coverage: 63.0% of statements [2020-10-26T14:09:40.903Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.005s coverage: 26.3% of statements [2020-10-26T14:09:40.903Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.005s coverage: 15.4% of statements [2020-10-26T14:09:40.903Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.006s coverage: 15.4% of statements [2020-10-26T14:09:40.903Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.013s coverage: 14.3% of statements [2020-10-26T14:09:40.903Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-10-26T14:09:41.168Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.023s coverage: 29.1% of statements [2020-10-26T14:09:41.168Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.017s coverage: 100.0% of statements [2020-10-26T14:09:41.436Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.018s coverage: 94.4% of statements [2020-10-26T14:09:41.700Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 100.0% of statements [2020-10-26T14:09:41.700Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-10-26T14:09:41.700Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-26T14:09:43.119Z] gofmt -l . [2020-10-26T14:09:43.383Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-10-26T14:09:43.718Z] Stashed 1 file(s) [Pipeline] } [2020-10-26T14:09:43.724Z] $ docker stop --time=1 8607aeb776c2e2b5659ea75db9d281dd0f02a64e1e89394a7094aaec0a726995 [2020-10-26T14:09:46.038Z] $ docker rm -f 8607aeb776c2e2b5659ea75db9d281dd0f02a64e1e89394a7094aaec0a726995 [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-26T14:13:41.828Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8877 in /w/workspace/dry_go-mod-core-contracts_PR-363 [Pipeline] { [Pipeline] ws [2020-10-26T14:13:41.945Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-10-26T14:13:46.968Z] using credential edgex-jenkins-ssh [2020-10-26T14:13:47.033Z] Cloning the remote Git repository [2020-10-26T14:13:47.077Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-26T14:13:47.190Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-10-26T14:13:47.255Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-26T14:13:47.256Z] > git --version # timeout=10 [2020-10-26T14:13:47.273Z] > git --version # 'git version 2.17.1' [2020-10-26T14:13:47.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T14:13:47.329Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T14:13:48.207Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-26T14:13:48.915Z] Merging remotes/origin/master commit f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 into PR head commit 7b05df9c4e333194141a9faaaa5e68be10200d42 [2020-10-26T14:13:49.231Z] Merge succeeded, producing 7b05df9c4e333194141a9faaaa5e68be10200d42 [2020-10-26T14:13:49.232Z] Checking out Revision 7b05df9c4e333194141a9faaaa5e68be10200d42 (PR-363) [2020-10-26T14:13:48.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-26T14:13:48.255Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-10-26T14:13:48.286Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-10-26T14:13:48.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T14:13:48.298Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-26T14:13:48.925Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T14:13:48.955Z] > git checkout -f 7b05df9c4e333194141a9faaaa5e68be10200d42 # timeout=10 [2020-10-26T14:13:49.073Z] > git remote # timeout=10 [2020-10-26T14:13:49.118Z] > git config --get remote.origin.url # timeout=10 [2020-10-26T14:13:49.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-26T14:13:49.152Z] > git merge f1526ba29b2d2ef9b0ddab59bd9c563767ce55b4 # timeout=10 [2020-10-26T14:13:49.185Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-26T14:13:49.232Z] > git config core.sparsecheckout # timeout=10 [2020-10-26T14:13:49.281Z] > git checkout -f 7b05df9c4e333194141a9faaaa5e68be10200d42 # timeout=10 [2020-10-26T14:13:53.564Z] Commit message: "fix(metadata): Add validation tag for UpdateDTO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-26T14:13:54.684Z] ========================================================= [2020-10-26T14:13:54.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-26T14:13:54.685Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:13:55.855Z] + 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-26T14:13:56.845Z] Sending build context to Docker daemon 1.811MB [2020-10-26T14:13:56.845Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-10-26T14:13:56.845Z] Step 2/7 : FROM ${BASE} [2020-10-26T14:13:57.121Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-26T14:13:57.121Z] b538f80385f9: Pulling fs layer [2020-10-26T14:13:57.121Z] 74f711af9a0d: Pulling fs layer [2020-10-26T14:13:57.121Z] 99f96fe45779: Pulling fs layer [2020-10-26T14:13:57.121Z] 8529a6b9a6be: Pulling fs layer [2020-10-26T14:13:57.121Z] 45590311c82a: Pulling fs layer [2020-10-26T14:13:57.121Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-26T14:13:57.121Z] 209524e5b208: Pulling fs layer [2020-10-26T14:13:57.121Z] 8529a6b9a6be: Waiting [2020-10-26T14:13:57.121Z] 69ca0ff8b7b3: Waiting [2020-10-26T14:13:57.121Z] 209524e5b208: Waiting [2020-10-26T14:13:57.121Z] 45590311c82a: Waiting [2020-10-26T14:13:57.121Z] 99f96fe45779: Verifying Checksum [2020-10-26T14:13:57.121Z] 99f96fe45779: Download complete [2020-10-26T14:13:57.121Z] 74f711af9a0d: Verifying Checksum [2020-10-26T14:13:57.121Z] 74f711af9a0d: Download complete [2020-10-26T14:13:57.121Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-26T14:13:57.121Z] 69ca0ff8b7b3: Download complete [2020-10-26T14:13:57.397Z] b538f80385f9: Download complete [2020-10-26T14:13:57.993Z] b538f80385f9: Pull complete [2020-10-26T14:13:58.596Z] 74f711af9a0d: Pull complete [2020-10-26T14:13:58.888Z] 99f96fe45779: Pull complete [2020-10-26T14:14:00.864Z] 209524e5b208: Verifying Checksum [2020-10-26T14:14:00.864Z] 209524e5b208: Download complete [2020-10-26T14:14:01.462Z] 8529a6b9a6be: Verifying Checksum [2020-10-26T14:14:01.462Z] 8529a6b9a6be: Download complete [2020-10-26T14:14:11.628Z] 8529a6b9a6be: Pull complete [2020-10-26T14:14:11.628Z] 45590311c82a: Pull complete [2020-10-26T14:14:11.628Z] 69ca0ff8b7b3: Pull complete [2020-10-26T14:14:15.026Z] 209524e5b208: Pull complete [2020-10-26T14:14:15.026Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-26T14:14:15.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-26T14:14:15.026Z] ---> 5bddaf1c2fca [2020-10-26T14:14:15.026Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-26T14:14:17.640Z] ---> Running in 25fa3956aecf [2020-10-26T14:14:17.911Z] Removing intermediate container 25fa3956aecf [2020-10-26T14:14:17.911Z] ---> 9e6b8ac00fc4 [2020-10-26T14:14:17.911Z] Step 4/7 : RUN apk add bash [2020-10-26T14:14:17.911Z] ---> Running in 6dc0f98057ba [2020-10-26T14:14:19.878Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-26T14:14:20.473Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-26T14:14:21.069Z] OK: 142 MiB in 39 packages [2020-10-26T14:14:22.509Z] Removing intermediate container 6dc0f98057ba [2020-10-26T14:14:22.509Z] ---> d91ecea60dbb [2020-10-26T14:14:22.509Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-10-26T14:14:22.509Z] ---> Running in 7c86814b719b [2020-10-26T14:14:23.109Z] Removing intermediate container 7c86814b719b [2020-10-26T14:14:23.109Z] ---> 3aacf17948c3 [2020-10-26T14:14:23.109Z] Step 6/7 : COPY go.mod . [2020-10-26T14:14:23.719Z] ---> 9a54777ce043 [2020-10-26T14:14:23.719Z] Step 7/7 : RUN go mod download [2020-10-26T14:14:23.719Z] ---> Running in 04f5a2008038 [2020-10-26T14:14:38.812Z] Removing intermediate container 04f5a2008038 [2020-10-26T14:14:38.812Z] ---> e81d5c287725 [2020-10-26T14:14:38.812Z] Successfully built e81d5c287725 [2020-10-26T14:14:38.812Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:14:39.222Z] + docker inspect -f . ci-base-image-arm64 [2020-10-26T14:14:39.222Z] . [Pipeline] withDockerContainer [2020-10-26T14:14:39.462Z] prd-ubuntu18.04-docker-arm64-4c-16g-8877 does not seem to be running inside a container [2020-10-26T14:14:39.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-26T14:14:41.340Z] $ docker top f7f479723e30eaaa22f4db987bfe81bacaa4c1e680a78f4e464982feaacab68a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T14:14:42.712Z] + go version [2020-10-26T14:14:42.712Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-26T14:14:42.736Z] $ docker stop --time=1 f7f479723e30eaaa22f4db987bfe81bacaa4c1e680a78f4e464982feaacab68a [2020-10-26T14:14:44.670Z] $ docker rm -f f7f479723e30eaaa22f4db987bfe81bacaa4c1e680a78f4e464982feaacab68a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:14:45.719Z] + docker inspect -f . ci-base-image-arm64 [2020-10-26T14:14:45.719Z] . [Pipeline] withDockerContainer [2020-10-26T14:14:45.940Z] prd-ubuntu18.04-docker-arm64-4c-16g-8877 does not seem to be running inside a container [2020-10-26T14:14:46.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-26T14:14:47.793Z] $ docker top 2148dc44895a8ed077f3704d49e923bf9f96a081d8e5a259d99933ee7ad0db40 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T14:14:49.242Z] + make test [2020-10-26T14:14:49.242Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-10-26T14:15:11.439Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-10-26T14:15:11.439Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.040s coverage: 85.7% of statements [2020-10-26T14:15:11.439Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.039s coverage: 100.0% of statements [2020-10-26T14:15:12.424Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.073s coverage: 45.4% of statements [2020-10-26T14:15:12.424Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.036s coverage: 77.8% of statements [2020-10-26T14:15:12.424Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-10-26T14:15:12.424Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.034s coverage: 6.4% of statements [2020-10-26T14:15:14.403Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.047s coverage: 14.7% of statements [2020-10-26T14:15:14.403Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.065s coverage: 100.0% of statements [2020-10-26T14:15:15.400Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.075s coverage: 91.8% of statements [2020-10-26T14:15:15.400Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-10-26T14:15:15.400Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-10-26T14:15:15.400Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.042s coverage: 100.0% of statements [2020-10-26T14:15:16.002Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.019s coverage: 48.9% of statements [2020-10-26T14:15:21.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.118s coverage: 63.0% of statements [2020-10-26T14:15:21.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.043s coverage: 26.3% of statements [2020-10-26T14:15:21.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.021s coverage: 15.4% of statements [2020-10-26T14:15:21.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.025s coverage: 15.4% of statements [2020-10-26T14:15:21.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.025s coverage: 14.3% of statements [2020-10-26T14:15:21.421Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-10-26T14:15:21.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.034s coverage: 29.1% of statements [2020-10-26T14:15:21.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.023s coverage: 100.0% of statements [2020-10-26T14:15:21.693Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.055s coverage: 94.4% of statements [2020-10-26T14:15:22.285Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.021s coverage: 100.0% of statements [2020-10-26T14:15:22.285Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-10-26T14:15:22.285Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-26T14:15:26.585Z] gofmt -l . [2020-10-26T14:15:26.585Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-10-26T14:15:27.208Z] Warning: overwriting stash ‘coverage-report’ [2020-10-26T14:15:28.047Z] Stashed 1 file(s) [Pipeline] } [2020-10-26T14:15:28.059Z] $ docker stop --time=1 2148dc44895a8ed077f3704d49e923bf9f96a081d8e5a259d99933ee7ad0db40 [2020-10-26T14:15:30.348Z] $ docker rm -f 2148dc44895a8ed077f3704d49e923bf9f96a081d8e5a259d99933ee7ad0db40 [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-26T14:15:33.858Z] provisioning config files... [2020-10-26T14:15:33.871Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-363@tmp/config739830684653809180tmp [Pipeline] { [Pipeline] sh [2020-10-26T14:15:34.280Z] + set +x [2020-10-26T14:15:34.280Z] + curl -s https://codecov.io/bash [2020-10-26T14:15:34.280Z] + bash -s -- [2020-10-26T14:15:34.547Z] [2020-10-26T14:15:34.547Z] _____ _ [2020-10-26T14:15:34.547Z] / ____| | | [2020-10-26T14:15:34.547Z] | | ___ __| | ___ ___ _____ __ [2020-10-26T14:15:34.547Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-26T14:15:34.547Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-26T14:15:34.547Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-26T14:15:34.547Z] Bash-20201009-048fee3 [2020-10-26T14:15:34.547Z] [2020-10-26T14:15:34.547Z] [2020-10-26T14:15:34.547Z] ==> Jenkins CI detected. [2020-10-26T14:15:34.547Z] project root: . [2020-10-26T14:15:34.547Z] --> token set from env [2020-10-26T14:15:34.547Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-26T14:15:34.547Z] ==> Running gcov in . (disable via -X gcov) [2020-10-26T14:15:34.547Z] ==> Python coveragepy not found [2020-10-26T14:15:34.547Z] ==> Searching for coverage reports in: [2020-10-26T14:15:34.547Z] + . [2020-10-26T14:15:34.547Z] -> Found 1 reports [2020-10-26T14:15:34.547Z] ==> Detecting git/mercurial file structure [2020-10-26T14:15:34.547Z] ==> Reading reports [2020-10-26T14:15:34.547Z] + ./coverage.out bytes=105823 [2020-10-26T14:15:34.547Z] ==> Appending adjustments [2020-10-26T14:15:34.547Z] https://docs.codecov.io/docs/fixing-reports [2020-10-26T14:15:35.123Z] + Found adjustments [2020-10-26T14:15:35.123Z] ==> Gzipping contents [2020-10-26T14:15:35.123Z] ==> Uploading reports [2020-10-26T14:15:35.123Z] url: https://codecov.io [2020-10-26T14:15:35.123Z] query: branch=PR-363&commit=7b05df9c4e333194141a9faaaa5e68be10200d42&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=363&job=&cmd_args= [2020-10-26T14:15:35.123Z] -> Pinging Codecov [2020-10-26T14:15:35.123Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-363&commit=7b05df9c4e333194141a9faaaa5e68be10200d42&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=363&job=&cmd_args= [2020-10-26T14:15:35.384Z] -> Uploading to [2020-10-26T14:15:35.384Z] [2020-10-26T14:15:35.384Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-26T14:15:35.384Z] Dload Upload Total Spent Left Speed [2020-10-26T14:15:35.384Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-26T14:15:35.384Z] X> Failed to upload [2020-10-26T14:15:35.384Z] ==> Uploading to Codecov [2020-10-26T14:15:35.384Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-26T14:15:35.384Z] Dload Upload Total Spent Left Speed [2020-10-26T14:15:36.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 17132 0 0 100 17014 0 20360 --:--:-- --:--:-- --:--:-- 20351 100 17132 100 118 100 17014 141 20355 --:--:-- --:--:-- --:--:-- 20351 [2020-10-26T14:15:36.327Z] View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/7b05df9c4e333194141a9faaaa5e68be10200d42 [Pipeline] } [2020-10-26T14:15:36.336Z] 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-26T14:15:40.284Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T14:15:40.854Z] ---> package-listing.sh [2020-10-26T14:15:40.854Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-26T14:15:40.854Z] ++ facter osfamily [2020-10-26T14:15:40.854Z] + OS_FAMILY=redhat [2020-10-26T14:15:40.854Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-363 [2020-10-26T14:15:40.854Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-26T14:15:40.854Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-26T14:15:40.854Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-26T14:15:40.855Z] + PACKAGES=/tmp/packages_start.txt [2020-10-26T14:15:40.855Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-363 ']' [2020-10-26T14:15:40.855Z] + PACKAGES=/tmp/packages_end.txt [2020-10-26T14:15:40.855Z] + case "${OS_FAMILY}" in [2020-10-26T14:15:40.855Z] + rpm -qa [2020-10-26T14:15:40.855Z] + sort [2020-10-26T14:15:45.071Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-26T14:15:45.071Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-26T14:15:45.071Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-26T14:15:45.071Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-363 ']' [2020-10-26T14:15:45.071Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-363/archives/ [2020-10-26T14:15:45.071Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-363/archives/ [Pipeline] echo [2020-10-26T14:15:45.084Z] 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-26T14:15:45.372Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:15:45.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-26T14:15:45.683Z] [2020-10-26T14:15:45.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-26T14:15:46.036Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-26T14:15:46.037Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-26T14:15:46.037Z] df20fa9351a1: Pulling fs layer [2020-10-26T14:15:46.037Z] 36b3adc4ff6f: Pulling fs layer [2020-10-26T14:15:46.037Z] 8ad3a11d3b57: Pulling fs layer [2020-10-26T14:15:46.037Z] 46f8f816bc3b: Pulling fs layer [2020-10-26T14:15:46.037Z] 93b61091891f: Pulling fs layer [2020-10-26T14:15:46.037Z] 93b9cdb0e59b: Pulling fs layer [2020-10-26T14:15:46.037Z] 5e14af77c1be: Pulling fs layer [2020-10-26T14:15:46.037Z] 01666e4c0597: Pulling fs layer [2020-10-26T14:15:46.037Z] aa168da1d23b: Pulling fs layer [2020-10-26T14:15:46.037Z] 93b61091891f: Waiting [2020-10-26T14:15:46.037Z] 93b9cdb0e59b: Waiting [2020-10-26T14:15:46.037Z] 5e14af77c1be: Waiting [2020-10-26T14:15:46.037Z] 01666e4c0597: Waiting [2020-10-26T14:15:46.037Z] aa168da1d23b: Waiting [2020-10-26T14:15:46.037Z] 46f8f816bc3b: Waiting [2020-10-26T14:15:46.037Z] 36b3adc4ff6f: Verifying Checksum [2020-10-26T14:15:46.037Z] 36b3adc4ff6f: Download complete [2020-10-26T14:15:46.037Z] 46f8f816bc3b: Verifying Checksum [2020-10-26T14:15:46.037Z] 46f8f816bc3b: Download complete [2020-10-26T14:15:46.037Z] df20fa9351a1: Verifying Checksum [2020-10-26T14:15:46.037Z] df20fa9351a1: Download complete [2020-10-26T14:15:46.309Z] 93b9cdb0e59b: Download complete [2020-10-26T14:15:46.309Z] 93b61091891f: Download complete [2020-10-26T14:15:46.309Z] 5e14af77c1be: Verifying Checksum [2020-10-26T14:15:46.309Z] 5e14af77c1be: Download complete [2020-10-26T14:15:46.309Z] 01666e4c0597: Verifying Checksum [2020-10-26T14:15:46.309Z] 01666e4c0597: Download complete [2020-10-26T14:15:46.571Z] df20fa9351a1: Pull complete [2020-10-26T14:15:46.571Z] 36b3adc4ff6f: Pull complete [2020-10-26T14:15:46.837Z] 8ad3a11d3b57: Verifying Checksum [2020-10-26T14:15:46.837Z] 8ad3a11d3b57: Download complete [2020-10-26T14:15:47.427Z] 8ad3a11d3b57: Pull complete [2020-10-26T14:15:47.693Z] 46f8f816bc3b: Pull complete [2020-10-26T14:15:48.276Z] 93b61091891f: Pull complete [2020-10-26T14:15:48.538Z] 93b9cdb0e59b: Pull complete [2020-10-26T14:15:48.538Z] aa168da1d23b: Verifying Checksum [2020-10-26T14:15:48.538Z] aa168da1d23b: Download complete [2020-10-26T14:15:48.538Z] 5e14af77c1be: Pull complete [2020-10-26T14:15:48.802Z] 01666e4c0597: Pull complete [2020-10-26T14:15:54.119Z] aa168da1d23b: Pull complete [2020-10-26T14:15:54.119Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-26T14:15:54.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-26T14:15:54.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-26T14:15:54.299Z] prd-centos7-docker-4c-2g-8872 does not seem to be running inside a container [2020-10-26T14:15:54.341Z] $ 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-363/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-363 -v /w/workspace/dry_go-mod-core-contracts_PR-363:/w/workspace/dry_go-mod-core-contracts_PR-363:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-363@tmp:/w/workspace/dry_go-mod-core-contracts_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-26T14:16:01.396Z] $ docker top 3d406e7addd6dd03ec50f6d9a8d64ab16dd5e0e2033addba24fdefa7a35c9e08 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-26T14:16:01.972Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-26T14:16:02.267Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-26T14:16:02.563Z] + ls /var/log/sa-host [2020-10-26T14:16:02.563Z] + sadf -c /var/log/sa-host/sa05 [2020-10-26T14:16:02.563Z] file_magic: OK [2020-10-26T14:16:02.563Z] HZ: Using current value: 100 [2020-10-26T14:16:02.563Z] file_header: OK [2020-10-26T14:16:02.563Z] 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-26T14:16:02.563Z] Statistics: [2020-10-26T14:16:02.563Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-26T14:16:02.563Z] File successfully converted to sysstat format version 12.2.1 [2020-10-26T14:16:02.563Z] + sadf -c /var/log/sa-host/sa26 [2020-10-26T14:16:02.563Z] file_magic: OK [2020-10-26T14:16:02.563Z] HZ: Using current value: 100 [2020-10-26T14:16:02.563Z] file_header: OK [2020-10-26T14:16:02.563Z] 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-26T14:16:02.563Z] Statistics: [2020-10-26T14:16:02.563Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-26T14:16:02.563Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-26T14:16:02.804Z] provisioning config files... [2020-10-26T14:16:02.820Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-363@tmp/config3029726003485467471tmp [Pipeline] { [Pipeline] echo [2020-10-26T14:16:02.944Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T14:16:03.241Z] ---> create-netrc.sh [Pipeline] } [2020-10-26T14:16:03.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-26T14:16:03.384Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T14:16:03.677Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-26T14:16:03.687Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T14:16:03.980Z] ---> sudo-logs.sh [2020-10-26T14:16:03.980Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-26T14:16:04.002Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T14:16:04.297Z] ---> job-cost.sh [2020-10-26T14:16:04.297Z] lf-activate-venv: SKIPPING [2020-10-26T14:16:04.297Z] INFO: No Stack... [2020-10-26T14:16:05.239Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-26T14:16:05.812Z] INFO: Archiving Costs [Pipeline] echo [2020-10-26T14:16:05.825Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-26T14:16:06.120Z] ---> logs-deploy.sh [2020-10-26T14:16:06.120Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-363/2 [2020-10-26T14:16:06.120Z] INFO: archiving workspace using pattern(s): [2020-10-26T14:16:08.035Z] Archives upload complete. [2020-10-26T14:16:08.035Z] INFO: archiving logs to Nexus