Pull request #417 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 5dbd0348e12a845f32a07f96ca3394e7956e9069 rather than 50cbdd60c68c4034b5ed66b142a4e768b8054292 Obtained Jenkinsfile from 5dbd0348e12a845f32a07f96ca3394e7956e9069 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18648 in /w/workspace/dry_go-mod-core-contracts_PR-417 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-417 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5dbd0348e12a845f32a07f96ca3394e7956e9069 into PR head commit 50cbdd60c68c4034b5ed66b142a4e768b8054292 Merge succeeded, producing 50cbdd60c68c4034b5ed66b142a4e768b8054292 Checking out Revision 50cbdd60c68c4034b5ed66b142a4e768b8054292 (PR-417) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50cbdd60c68c4034b5ed66b142a4e768b8054292 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5dbd0348e12a845f32a07f96ca3394e7956e9069 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50cbdd60c68c4034b5ed66b142a4e768b8054292 # timeout=10 Commit message: "feat(meta): create ProvisionWatcher Model and DTO" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 4f4a0d93dd1bcc28ffc10c14b9370fceff41f477 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-06T06:34:34.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-06T06:34:34.920Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-06T06:34:35.014Z] ========================================================= [2021-01-06T06:34:35.014Z] EdgeX Global Pipelines Version Info [2021-01-06T06:34:35.014Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:34:36.516Z] ------------------- [2021-01-06T06:34:36.516Z] stable info: [2021-01-06T06:34:36.516Z] ------------------- [2021-01-06T06:34:36.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-06T06:34:36.516Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-06T06:34:36.516Z] Message: update stable to v1.0.173 [2021-01-06T06:34:37.469Z] ------------------- [2021-01-06T06:34:37.469Z] experimental info: [2021-01-06T06:34:37.469Z] ------------------- [2021-01-06T06:34:37.469Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-06T06:34:37.469Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-06T06:34:37.469Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-06T06:34:37.815Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-06T06:34:37.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-06T06:34:37.989Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-06T06:34:38.071Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-06T06:34:38.154Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-06T06:34:38.240Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-06T06:34:38.329Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-06T06:34:38.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-06T06:34:38.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-06T06:34:38.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-06T06:34:38.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-06T06:34:38.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-06T06:34:38.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-06T06:34:38.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-06T06:34:39.041Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T06:34:39.127Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T06:34:39.216Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T06:34:39.321Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-06T06:34:39.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-06T06:34:39.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-06T06:34:39.586Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-06T06:34:39.669Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-06T06:34:39.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-06T06:34:39.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-06T06:34:39.937Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-06T06:34:40.030Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-06T06:34:40.117Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-06T06:34:40.226Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-417 [Pipeline] echo [2021-01-06T06:34:40.321Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-417 [Pipeline] echo [2021-01-06T06:34:40.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-417 [Pipeline] echo [2021-01-06T06:34:40.585Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50cbdd60c68c4034b5ed66b142a4e768b8054292 [Pipeline] echo [2021-01-06T06:34:40.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50cbdd6 [Pipeline] echo [2021-01-06T06:34:40.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-06T06:34:41.524Z] + git log --format=format:%s -1 50cbdd60c68c4034b5ed66b142a4e768b8054292 [Pipeline] echo [2021-01-06T06:34:41.599Z] GIT_COMMIT: 50cbdd60c68c4034b5ed66b142a4e768b8054292, Commit Message: feat(meta): create ProvisionWatcher Model and DTO [Pipeline] echo [2021-01-06T06:34:41.641Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:34:42.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-06T06:34:42.522Z] [2021-01-06T06:34:42.522Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:34:42.890Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-06T06:34:42.890Z] latest: Pulling from edgex-devops/git-semver [2021-01-06T06:34:42.890Z] 31603596830f: Pulling fs layer [2021-01-06T06:34:42.890Z] 2a8b12db71e7: Pulling fs layer [2021-01-06T06:34:42.890Z] 6ca5941a6612: Pulling fs layer [2021-01-06T06:34:42.890Z] ecc8261a40a4: Pulling fs layer [2021-01-06T06:34:42.890Z] ecc8261a40a4: Waiting [2021-01-06T06:34:42.890Z] 2a8b12db71e7: Verifying Checksum [2021-01-06T06:34:42.890Z] 2a8b12db71e7: Download complete [2021-01-06T06:34:43.155Z] 31603596830f: Verifying Checksum [2021-01-06T06:34:43.155Z] 31603596830f: Download complete [2021-01-06T06:34:43.155Z] ecc8261a40a4: Verifying Checksum [2021-01-06T06:34:43.155Z] ecc8261a40a4: Download complete [2021-01-06T06:34:43.155Z] 6ca5941a6612: Verifying Checksum [2021-01-06T06:34:43.155Z] 6ca5941a6612: Download complete [2021-01-06T06:34:43.419Z] 31603596830f: Pull complete [2021-01-06T06:34:43.692Z] 2a8b12db71e7: Pull complete [2021-01-06T06:34:44.282Z] 6ca5941a6612: Pull complete [2021-01-06T06:34:44.545Z] ecc8261a40a4: Pull complete [2021-01-06T06:34:44.545Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-06T06:34:44.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-06T06:34:44.545Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-06T06:34:44.653Z] prd-centos7-docker-4c-2g-18648 does not seem to be running inside a container [2021-01-06T06:34:44.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-417 -v /w/workspace/dry_go-mod-core-contracts_PR-417:/w/workspace/dry_go-mod-core-contracts_PR-417:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-417@tmp:/w/workspace/dry_go-mod-core-contracts_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-06T06:34:46.804Z] $ docker top 91697339b72e857f1b7f32582c2764abc1ed26d2b122a404551a15fc9b910133 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-06T06:34:47.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-06T06:34:47.089Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-06T06:34:47.319Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-06T06:34:47.324Z] $ docker exec 91697339b72e857f1b7f32582c2764abc1ed26d2b122a404551a15fc9b910133 ssh-agent [2021-01-06T06:34:47.495Z] SSH_AUTH_SOCK=/tmp/ssh-SpZMHTq0lzAq/agent.11 [2021-01-06T06:34:47.495Z] SSH_AGENT_PID=16 [2021-01-06T06:34:47.506Z] Running ssh-add (command line suppressed) [2021-01-06T06:34:47.626Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_6268703757370727445.key (/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_6268703757370727445.key) [2021-01-06T06:34:47.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-06T06:34:48.018Z] + git tag --points-at HEAD [Pipeline] } [2021-01-06T06:34:48.042Z] $ docker exec --env ******** --env ******** 91697339b72e857f1b7f32582c2764abc1ed26d2b122a404551a15fc9b910133 ssh-agent -k [2021-01-06T06:34:48.158Z] unset SSH_AUTH_SOCK; [2021-01-06T06:34:48.158Z] unset SSH_AGENT_PID; [2021-01-06T06:34:48.159Z] echo Agent pid 16 killed; [2021-01-06T06:34:48.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-06T06:34:48.340Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-06T06:34:48.340Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-06T06:34:48.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-06T06:34:48.519Z] $ docker exec 91697339b72e857f1b7f32582c2764abc1ed26d2b122a404551a15fc9b910133 ssh-agent [2021-01-06T06:34:48.700Z] SSH_AUTH_SOCK=/tmp/ssh-apNLDKA9VLbA/agent.45 [2021-01-06T06:34:48.700Z] SSH_AGENT_PID=50 [2021-01-06T06:34:48.707Z] Running ssh-add (command line suppressed) [2021-01-06T06:34:48.831Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_1830550471124917928.key (/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/private_key_1830550471124917928.key) [2021-01-06T06:34:48.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-06T06:34:49.225Z] + git semver init [2021-01-06T06:34:49.225Z] # -> Open(): unable to determine branch for HEAD [2021-01-06T06:34:49.225Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-417/.git [2021-01-06T06:34:49.225Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-417 [2021-01-06T06:34:49.225Z] # $SEMVER_REMOTE_NAME = origin [2021-01-06T06:34:49.225Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-06T06:34:49.225Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-06T06:34:49.225Z] # $SEMVER_BRANCH = PR-417 [2021-01-06T06:34:49.225Z] # $SEMVER_TEMP = /tmp/semver-318436880 [2021-01-06T06:34:49.225Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-06T06:34:49.802Z] # '/tmp/semver-318436880' -> '/w/workspace/dry_go-mod-core-contracts_PR-417/.semver' [2021-01-06T06:34:49.802Z] # -> Force: false [2021-01-06T06:34:49.802Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-417/.semver [Pipeline] } [2021-01-06T06:34:49.816Z] $ docker exec --env ******** --env ******** 91697339b72e857f1b7f32582c2764abc1ed26d2b122a404551a15fc9b910133 ssh-agent -k [2021-01-06T06:34:49.930Z] unset SSH_AUTH_SOCK; [2021-01-06T06:34:49.931Z] unset SSH_AGENT_PID; [2021-01-06T06:34:49.931Z] echo Agent pid 50 killed; [2021-01-06T06:34:49.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-06T06:34:50.505Z] + git semver [Pipeline] } [2021-01-06T06:34:50.531Z] $ docker stop --time=1 91697339b72e857f1b7f32582c2764abc1ed26d2b122a404551a15fc9b910133 [2021-01-06T06:34:52.372Z] $ docker rm -f 91697339b72e857f1b7f32582c2764abc1ed26d2b122a404551a15fc9b910133 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-06T06:34:52.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-06T06:34:53.452Z] Stashed 1 file(s) [Pipeline] echo [2021-01-06T06:34:53.455Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-06T06:35:08.911Z] Still waiting to schedule task [2021-01-06T06:35:08.911Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-06T06:35:08.913Z] Still waiting to schedule task [2021-01-06T06:35:08.913Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-06T06:37:29.484Z] Running on prd-centos7-docker-4c-2g-18649 in /w/workspace/dry_go-mod-core-contracts_PR-417 [Pipeline] { [Pipeline] ws [2021-01-06T06:37:29.535Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2021-01-06T06:37:31.826Z] using credential edgex-jenkins-ssh [2021-01-06T06:37:31.914Z] Cloning the remote Git repository [2021-01-06T06:37:31.371Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T06:37:31.442Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2021-01-06T06:37:31.510Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T06:37:31.510Z] > git --version # timeout=10 [2021-01-06T06:37:31.519Z] > git --version # 'git version 2.24.3' [2021-01-06T06:37:31.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T06:37:31.561Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T06:37:32.240Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T06:37:32.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T06:37:32.266Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T06:37:32.282Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T06:37:32.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T06:37:32.293Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-06T06:37:33.338Z] Merging remotes/origin/master commit 5dbd0348e12a845f32a07f96ca3394e7956e9069 into PR head commit 50cbdd60c68c4034b5ed66b142a4e768b8054292 [2021-01-06T06:37:33.486Z] Merge succeeded, producing 50cbdd60c68c4034b5ed66b142a4e768b8054292 [2021-01-06T06:37:33.486Z] Checking out Revision 50cbdd60c68c4034b5ed66b142a4e768b8054292 (PR-417) [2021-01-06T06:37:32.895Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T06:37:32.905Z] > git checkout -f 50cbdd60c68c4034b5ed66b142a4e768b8054292 # timeout=10 [2021-01-06T06:37:32.975Z] > git remote # timeout=10 [2021-01-06T06:37:32.981Z] > git config --get remote.origin.url # timeout=10 [2021-01-06T06:37:32.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T06:37:32.997Z] > git merge 5dbd0348e12a845f32a07f96ca3394e7956e9069 # timeout=10 [2021-01-06T06:37:33.035Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-06T06:37:33.049Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T06:37:33.062Z] > git checkout -f 50cbdd60c68c4034b5ed66b142a4e768b8054292 # timeout=10 [2021-01-06T06:37:36.937Z] Commit message: "feat(meta): create ProvisionWatcher Model and DTO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-06T06:37:38.179Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-06T06:37:38.510Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-06T06:37:38.810Z] + sudo service docker restart [2021-01-06T06:37:38.810Z] + true [2021-01-06T06:37:38.811Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-06T06:37:39.968Z] ========================================================= [2021-01-06T06:37:39.968Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-06T06:37:39.968Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:37:40.329Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-06T06:37:40.592Z] Sending build context to Docker daemon 2.13MB [2021-01-06T06:37:40.592Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-06T06:37:40.592Z] Step 2/7 : FROM ${BASE} [2021-01-06T06:37:40.856Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-06T06:37:40.856Z] 188c0c94c7c5: Pulling fs layer [2021-01-06T06:37:40.856Z] 0ef7d3d256c8: Pulling fs layer [2021-01-06T06:37:40.856Z] de9db76c5a1d: Pulling fs layer [2021-01-06T06:37:40.856Z] bca2f99d35d6: Pulling fs layer [2021-01-06T06:37:40.856Z] 93359f2a8cfa: Pulling fs layer [2021-01-06T06:37:40.856Z] 7c6f9722023f: Pulling fs layer [2021-01-06T06:37:40.856Z] a35cf1a2eb13: Pulling fs layer [2021-01-06T06:37:40.856Z] 93359f2a8cfa: Waiting [2021-01-06T06:37:40.856Z] 7c6f9722023f: Waiting [2021-01-06T06:37:40.856Z] a35cf1a2eb13: Waiting [2021-01-06T06:37:40.856Z] bca2f99d35d6: Waiting [2021-01-06T06:37:40.856Z] de9db76c5a1d: Verifying Checksum [2021-01-06T06:37:40.856Z] de9db76c5a1d: Download complete [2021-01-06T06:37:40.856Z] 0ef7d3d256c8: Download complete [2021-01-06T06:37:40.856Z] 93359f2a8cfa: Verifying Checksum [2021-01-06T06:37:40.856Z] 93359f2a8cfa: Download complete [2021-01-06T06:37:40.856Z] 7c6f9722023f: Verifying Checksum [2021-01-06T06:37:40.856Z] 7c6f9722023f: Download complete [2021-01-06T06:37:40.856Z] 188c0c94c7c5: Download complete [2021-01-06T06:37:41.127Z] 188c0c94c7c5: Pull complete [2021-01-06T06:37:41.393Z] 0ef7d3d256c8: Pull complete [2021-01-06T06:37:41.393Z] de9db76c5a1d: Pull complete [2021-01-06T06:37:43.967Z] a35cf1a2eb13: Verifying Checksum [2021-01-06T06:37:43.967Z] a35cf1a2eb13: Download complete [2021-01-06T06:37:43.967Z] bca2f99d35d6: Verifying Checksum [2021-01-06T06:37:43.967Z] bca2f99d35d6: Download complete [2021-01-06T06:37:49.318Z] bca2f99d35d6: Pull complete [2021-01-06T06:37:49.318Z] 93359f2a8cfa: Pull complete [2021-01-06T06:37:49.318Z] 7c6f9722023f: Pull complete [2021-01-06T06:37:55.943Z] a35cf1a2eb13: Pull complete [2021-01-06T06:37:55.943Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-06T06:37:55.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-06T06:37:55.943Z] ---> a62c8e92a672 [2021-01-06T06:37:55.943Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-06T06:37:55.943Z] ---> Running in c5cfdaccfedb [2021-01-06T06:37:56.208Z] Removing intermediate container c5cfdaccfedb [2021-01-06T06:37:56.208Z] ---> 3ac96426241d [2021-01-06T06:37:56.208Z] Step 4/7 : RUN apk add bash [2021-01-06T06:37:56.208Z] ---> Running in fe5428121e53 [2021-01-06T06:37:56.784Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-06T06:37:57.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-06T06:37:58.683Z] OK: 166 MiB in 39 packages [2021-01-06T06:37:58.950Z] Removing intermediate container fe5428121e53 [2021-01-06T06:37:58.950Z] ---> 7450f8ee5a96 [2021-01-06T06:37:58.950Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-06T06:37:58.950Z] ---> Running in 1cf6e64f2bb9 [2021-01-06T06:37:59.214Z] Removing intermediate container 1cf6e64f2bb9 [2021-01-06T06:37:59.214Z] ---> 1f55c33dfe25 [2021-01-06T06:37:59.214Z] Step 6/7 : COPY go.mod . [2021-01-06T06:37:59.478Z] ---> dc7015e1f17c [2021-01-06T06:37:59.478Z] Step 7/7 : RUN go mod download [2021-01-06T06:37:59.478Z] ---> Running in b5d6c1a86d43 [2021-01-06T06:38:11.761Z] Removing intermediate container b5d6c1a86d43 [2021-01-06T06:38:11.761Z] ---> 2e95573ae7f4 [2021-01-06T06:38:11.761Z] Successfully built 2e95573ae7f4 [2021-01-06T06:38:11.761Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:38:12.079Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-06T06:38:12.079Z] . [Pipeline] withDockerContainer [2021-01-06T06:38:12.198Z] prd-centos7-docker-4c-2g-18649 does not seem to be running inside a container [2021-01-06T06:38:12.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-06T06:38:12.942Z] $ docker top ff9d965e39a22f0a55985035cc2accdb3d6abe57cd605ce93eb36e2f49644efe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-06T06:38:13.482Z] + go version [2021-01-06T06:38:13.482Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-06T06:38:13.498Z] $ docker stop --time=1 ff9d965e39a22f0a55985035cc2accdb3d6abe57cd605ce93eb36e2f49644efe [2021-01-06T06:38:14.880Z] $ docker rm -f ff9d965e39a22f0a55985035cc2accdb3d6abe57cd605ce93eb36e2f49644efe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:38:15.733Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-06T06:38:15.733Z] . [Pipeline] withDockerContainer [2021-01-06T06:38:15.838Z] prd-centos7-docker-4c-2g-18649 does not seem to be running inside a container [2021-01-06T06:38:15.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-06T06:38:16.614Z] $ docker top 1ca60ad0e4989c2dca9411c6546daa262fa19e65aaa63c2c683ea98e5c7d3e3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-06T06:38:17.241Z] + make test [2021-01-06T06:38:17.242Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-06T06:38:24.158Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-06T06:38:24.429Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.013s coverage: 85.7% of statements [2021-01-06T06:38:24.429Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.030s coverage: 100.0% of statements [2021-01-06T06:38:24.695Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.030s coverage: 45.4% of statements [2021-01-06T06:38:24.963Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.006s coverage: 77.8% of statements [2021-01-06T06:38:24.963Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-06T06:38:25.558Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.007s coverage: 26.3% of statements [2021-01-06T06:38:26.143Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.029s coverage: 14.7% of statements [2021-01-06T06:38:26.143Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.037s coverage: 100.0% of statements [2021-01-06T06:38:26.408Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.028s coverage: 91.8% of statements [2021-01-06T06:38:26.408Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-06T06:38:26.408Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-06T06:38:26.408Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.030s coverage: 100.0% of statements [2021-01-06T06:38:26.408Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.005s coverage: 47.8% of statements [2021-01-06T06:38:28.364Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.034s coverage: 63.0% of statements [2021-01-06T06:38:28.364Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.010s coverage: 26.3% of statements [2021-01-06T06:38:28.364Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.011s coverage: 15.4% of statements [2021-01-06T06:38:28.364Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.032s coverage: 15.4% of statements [2021-01-06T06:38:28.364Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.007s coverage: 14.3% of statements [2021-01-06T06:38:28.364Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-06T06:38:29.337Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.067s coverage: 84.4% of statements [2021-01-06T06:38:29.337Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-06T06:38:29.337Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-06T06:38:29.337Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.034s coverage: 44.1% of statements [2021-01-06T06:38:29.337Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.009s coverage: 94.4% of statements [2021-01-06T06:38:29.599Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.038s coverage: 93.2% of statements [2021-01-06T06:38:29.599Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 100.0% of statements [2021-01-06T06:38:29.599Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-06T06:38:29.866Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-06T06:38:31.291Z] gofmt -l . [2021-01-06T06:38:31.553Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-06T06:38:31.571Z] $ docker stop --time=1 1ca60ad0e4989c2dca9411c6546daa262fa19e65aaa63c2c683ea98e5c7d3e3b [2021-01-06T06:38:33.838Z] $ docker rm -f 1ca60ad0e4989c2dca9411c6546daa262fa19e65aaa63c2c683ea98e5c7d3e3b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-06T06:38:34.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-06T06:38:34.803Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-06T06:38:53.558Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18650 in /w/workspace/dry_go-mod-core-contracts_PR-417 [Pipeline] { [Pipeline] ws [2021-01-06T06:38:53.646Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2021-01-06T06:38:58.462Z] using credential edgex-jenkins-ssh [2021-01-06T06:38:58.529Z] Cloning the remote Git repository [2021-01-06T06:38:58.601Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T06:38:58.720Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2021-01-06T06:38:58.812Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T06:38:58.813Z] > git --version # timeout=10 [2021-01-06T06:38:58.832Z] > git --version # 'git version 2.17.1' [2021-01-06T06:38:58.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T06:38:58.900Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T06:38:59.887Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T06:38:59.905Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-06T06:39:00.621Z] Merging remotes/origin/master commit 5dbd0348e12a845f32a07f96ca3394e7956e9069 into PR head commit 50cbdd60c68c4034b5ed66b142a4e768b8054292 [2021-01-06T06:39:00.947Z] Merge succeeded, producing 50cbdd60c68c4034b5ed66b142a4e768b8054292 [2021-01-06T06:39:00.947Z] Checking out Revision 50cbdd60c68c4034b5ed66b142a4e768b8054292 (PR-417) [2021-01-06T06:38:59.942Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-06T06:38:59.981Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-06T06:38:59.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T06:38:59.995Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-06T06:39:00.644Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T06:39:00.666Z] > git checkout -f 50cbdd60c68c4034b5ed66b142a4e768b8054292 # timeout=10 [2021-01-06T06:39:00.797Z] > git remote # timeout=10 [2021-01-06T06:39:00.816Z] > git config --get remote.origin.url # timeout=10 [2021-01-06T06:39:00.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-06T06:39:00.883Z] > git merge 5dbd0348e12a845f32a07f96ca3394e7956e9069 # timeout=10 [2021-01-06T06:39:00.913Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-06T06:39:00.958Z] > git config core.sparsecheckout # timeout=10 [2021-01-06T06:39:00.986Z] > git checkout -f 50cbdd60c68c4034b5ed66b142a4e768b8054292 # timeout=10 [2021-01-06T06:39:05.584Z] Commit message: "feat(meta): create ProvisionWatcher Model and DTO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-06T06:39:07.226Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-06T06:39:07.634Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-06T06:39:07.974Z] + true [2021-01-06T06:39:07.974Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-01-06T06:39:10.199Z] ========================================================= [2021-01-06T06:39:10.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-06T06:39:10.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:39:10.589Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-06T06:39:11.573Z] Sending build context to Docker daemon 2.129MB [2021-01-06T06:39:11.573Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-06T06:39:11.573Z] Step 2/7 : FROM ${BASE} [2021-01-06T06:39:11.849Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-06T06:39:11.849Z] 5f621e34cdf4: Pulling fs layer [2021-01-06T06:39:11.849Z] a4357932f1b6: Pulling fs layer [2021-01-06T06:39:11.849Z] 18c013af1878: Pulling fs layer [2021-01-06T06:39:11.849Z] 00ac8860ef70: Pulling fs layer [2021-01-06T06:39:11.849Z] 63d7cb157983: Pulling fs layer [2021-01-06T06:39:11.849Z] b116817d02f9: Pulling fs layer [2021-01-06T06:39:11.849Z] 745a02a5169b: Pulling fs layer [2021-01-06T06:39:11.849Z] 00ac8860ef70: Waiting [2021-01-06T06:39:11.849Z] 63d7cb157983: Waiting [2021-01-06T06:39:11.849Z] b116817d02f9: Waiting [2021-01-06T06:39:11.849Z] 745a02a5169b: Waiting [2021-01-06T06:39:11.849Z] 18c013af1878: Download complete [2021-01-06T06:39:11.849Z] a4357932f1b6: Verifying Checksum [2021-01-06T06:39:11.849Z] a4357932f1b6: Download complete [2021-01-06T06:39:12.122Z] 63d7cb157983: Download complete [2021-01-06T06:39:12.398Z] b116817d02f9: Download complete [2021-01-06T06:39:12.398Z] 5f621e34cdf4: Verifying Checksum [2021-01-06T06:39:12.398Z] 5f621e34cdf4: Download complete [2021-01-06T06:39:13.002Z] 5f621e34cdf4: Pull complete [2021-01-06T06:39:13.611Z] a4357932f1b6: Pull complete [2021-01-06T06:39:14.218Z] 18c013af1878: Pull complete [2021-01-06T06:39:15.198Z] 745a02a5169b: Verifying Checksum [2021-01-06T06:39:15.198Z] 745a02a5169b: Download complete [2021-01-06T06:39:16.646Z] 00ac8860ef70: Verifying Checksum [2021-01-06T06:39:16.646Z] 00ac8860ef70: Download complete [2021-01-06T06:39:26.839Z] 00ac8860ef70: Pull complete [2021-01-06T06:39:27.127Z] 63d7cb157983: Pull complete [2021-01-06T06:39:27.401Z] b116817d02f9: Pull complete [2021-01-06T06:39:31.736Z] 745a02a5169b: Pull complete [2021-01-06T06:39:31.736Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-06T06:39:31.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-06T06:39:31.736Z] ---> b7e6874047d6 [2021-01-06T06:39:31.736Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-06T06:39:34.355Z] ---> Running in 5a1612a124e3 [2021-01-06T06:39:34.636Z] Removing intermediate container 5a1612a124e3 [2021-01-06T06:39:34.636Z] ---> f258e110f12b [2021-01-06T06:39:34.636Z] Step 4/7 : RUN apk add bash [2021-01-06T06:39:34.920Z] ---> Running in 2e2c8e996301 [2021-01-06T06:39:36.354Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-06T06:39:36.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-06T06:39:37.935Z] OK: 142 MiB in 39 packages [2021-01-06T06:39:39.366Z] Removing intermediate container 2e2c8e996301 [2021-01-06T06:39:39.366Z] ---> 3a0e2420de49 [2021-01-06T06:39:39.366Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-06T06:39:39.366Z] ---> Running in 58c8d7500e5c [2021-01-06T06:39:39.969Z] Removing intermediate container 58c8d7500e5c [2021-01-06T06:39:39.969Z] ---> 036588fb0001 [2021-01-06T06:39:39.969Z] Step 6/7 : COPY go.mod . [2021-01-06T06:39:40.568Z] ---> 35780c77aaa0 [2021-01-06T06:39:40.568Z] Step 7/7 : RUN go mod download [2021-01-06T06:39:40.847Z] ---> Running in db3617d1c2b7 [2021-01-06T06:39:56.899Z] Removing intermediate container db3617d1c2b7 [2021-01-06T06:39:56.899Z] ---> 5d069265a11e [2021-01-06T06:39:56.899Z] Successfully built 5d069265a11e [2021-01-06T06:39:56.899Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:39:57.240Z] + docker inspect -f . ci-base-image-arm64 [2021-01-06T06:39:57.240Z] . [Pipeline] withDockerContainer [2021-01-06T06:39:57.511Z] prd-ubuntu18.04-docker-arm64-4c-16g-18650 does not seem to be running inside a container [2021-01-06T06:39:57.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-06T06:39:59.039Z] $ docker top 780836618ac37c59bc353e5fb08e94a5ff594d38749026c2287c7beb4481835e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-06T06:40:00.059Z] + go version [2021-01-06T06:40:00.059Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-06T06:40:00.086Z] $ docker stop --time=1 780836618ac37c59bc353e5fb08e94a5ff594d38749026c2287c7beb4481835e [2021-01-06T06:40:02.013Z] $ docker rm -f 780836618ac37c59bc353e5fb08e94a5ff594d38749026c2287c7beb4481835e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:40:03.004Z] + docker inspect -f . ci-base-image-arm64 [2021-01-06T06:40:03.004Z] . [Pipeline] withDockerContainer [2021-01-06T06:40:03.279Z] prd-ubuntu18.04-docker-arm64-4c-16g-18650 does not seem to be running inside a container [2021-01-06T06:40:03.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-06T06:40:04.974Z] $ docker top be5c2e8bcac56cd4ff65e7bcac5621aaf35ad805627fd5b0422026455283d4a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-06T06:40:05.955Z] + make test [2021-01-06T06:40:05.955Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-06T06:40:28.158Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-06T06:40:28.436Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.029s coverage: 85.7% of statements [2021-01-06T06:40:28.436Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.042s coverage: 100.0% of statements [2021-01-06T06:40:30.429Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.101s coverage: 45.4% of statements [2021-01-06T06:40:30.429Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.052s coverage: 77.8% of statements [2021-01-06T06:40:30.429Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-06T06:40:30.705Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.026s coverage: 26.3% of statements [2021-01-06T06:40:32.148Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.039s coverage: 14.7% of statements [2021-01-06T06:40:32.148Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.040s coverage: 100.0% of statements [2021-01-06T06:40:33.593Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.079s coverage: 91.8% of statements [2021-01-06T06:40:33.593Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-06T06:40:33.593Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-06T06:40:33.593Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.017s coverage: 100.0% of statements [2021-01-06T06:40:33.593Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.041s coverage: 47.8% of statements [2021-01-06T06:40:39.040Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.122s coverage: 63.0% of statements [2021-01-06T06:40:39.040Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.018s coverage: 26.3% of statements [2021-01-06T06:40:39.040Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.045s coverage: 15.4% of statements [2021-01-06T06:40:39.040Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.048s coverage: 15.4% of statements [2021-01-06T06:40:39.040Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.011s coverage: 14.3% of statements [2021-01-06T06:40:39.040Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-06T06:40:40.491Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.195s coverage: 84.4% of statements [2021-01-06T06:40:40.491Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-06T06:40:40.491Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-06T06:40:40.491Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.082s coverage: 44.1% of statements [2021-01-06T06:40:41.096Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.036s coverage: 94.4% of statements [2021-01-06T06:40:42.541Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.129s coverage: 93.2% of statements [2021-01-06T06:40:42.541Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.024s coverage: 100.0% of statements [2021-01-06T06:40:42.541Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-06T06:40:42.819Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-06T06:40:48.234Z] gofmt -l . [2021-01-06T06:40:48.234Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-06T06:40:48.534Z] $ docker stop --time=1 be5c2e8bcac56cd4ff65e7bcac5621aaf35ad805627fd5b0422026455283d4a5 [2021-01-06T06:40:50.790Z] $ docker rm -f be5c2e8bcac56cd4ff65e7bcac5621aaf35ad805627fd5b0422026455283d4a5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-06T06:40:51.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-06T06:40:51.804Z] Warning: overwriting stash ‘coverage-report’ [2021-01-06T06:40:52.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-06T06:40:54.814Z] provisioning config files... [2021-01-06T06:40:54.828Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/config8812775031245709125tmp [Pipeline] { [Pipeline] sh [2021-01-06T06:40:55.211Z] + set +x [2021-01-06T06:40:55.211Z] + curl -s https://codecov.io/bash [2021-01-06T06:40:55.211Z] + bash -s -- [2021-01-06T06:40:55.475Z] [2021-01-06T06:40:55.475Z] _____ _ [2021-01-06T06:40:55.475Z] / ____| | | [2021-01-06T06:40:55.475Z] | | ___ __| | ___ ___ _____ __ [2021-01-06T06:40:55.475Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-06T06:40:55.475Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-06T06:40:55.475Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-06T06:40:55.476Z] Bash-20201231-23d4836 [2021-01-06T06:40:55.476Z] [2021-01-06T06:40:55.476Z] [2021-01-06T06:40:55.476Z] ==> git version 2.24.3 found [2021-01-06T06:40:55.476Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-06T06:40:55.476Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-06T06:40:55.476Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-06T06:40:55.476Z] ==> Jenkins CI detected. [2021-01-06T06:40:55.476Z] project root: . [2021-01-06T06:40:55.476Z] --> token set from env [2021-01-06T06:40:55.476Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-06T06:40:55.476Z] ==> Running gcov in . (disable via -X gcov) [2021-01-06T06:40:55.476Z] ==> Python coveragepy not found [2021-01-06T06:40:55.476Z] ==> Searching for coverage reports in: [2021-01-06T06:40:55.476Z] + . [2021-01-06T06:40:55.476Z] -> Found 1 reports [2021-01-06T06:40:55.476Z] ==> Detecting git/mercurial file structure [2021-01-06T06:40:55.476Z] ==> Reading reports [2021-01-06T06:40:55.476Z] + ./coverage.out bytes=119868 [2021-01-06T06:40:55.476Z] ==> Appending adjustments [2021-01-06T06:40:55.476Z] https://docs.codecov.io/docs/fixing-reports [2021-01-06T06:40:56.426Z] + Found adjustments [2021-01-06T06:40:56.426Z] ==> Gzipping contents [2021-01-06T06:40:56.426Z] 20K /tmp/codecov.4sMc70.gz [2021-01-06T06:40:56.426Z] ==> Uploading reports [2021-01-06T06:40:56.426Z] url: https://codecov.io [2021-01-06T06:40:56.426Z] query: branch=PR-417&commit=50cbdd60c68c4034b5ed66b142a4e768b8054292&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-417%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=417&job=&cmd_args= [2021-01-06T06:40:56.426Z] -> Pinging Codecov [2021-01-06T06:40:56.426Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-417&commit=50cbdd60c68c4034b5ed66b142a4e768b8054292&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-417%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=417&job=&cmd_args= [2021-01-06T06:40:57.002Z] -> Uploading to [2021-01-06T06:40:57.002Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-06/71470A77251A30514AAF9C0BB2E5B6CE/50cbdd60c68c4034b5ed66b142a4e768b8054292/23dc8ac6-3db1-438f-94b6-a47459f6bb8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210106%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210106T064056Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ab72ae02ee19fdad1a771921bc9a220158ef961151be17b12a146777695be0d [2021-01-06T06:40:57.002Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-06T06:40:57.002Z] Dload Upload Total Spent Left Speed [2021-01-06T06:40:57.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19105 0 0 100 19105 0 40083 --:--:-- --:--:-- --:--:-- 40136 [2021-01-06T06:40:57.265Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/50cbdd60c68c4034b5ed66b142a4e768b8054292 [Pipeline] } [2021-01-06T06:40:57.275Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:41:00.120Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:41:00.690Z] ---> package-listing.sh [2021-01-06T06:41:00.690Z] ++ facter osfamily [2021-01-06T06:41:00.690Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-06T06:41:00.690Z] + OS_FAMILY=redhat [2021-01-06T06:41:00.690Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-417 [2021-01-06T06:41:00.690Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-06T06:41:00.690Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-06T06:41:00.690Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-06T06:41:00.690Z] + PACKAGES=/tmp/packages_start.txt [2021-01-06T06:41:00.690Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-417 ']' [2021-01-06T06:41:00.690Z] + PACKAGES=/tmp/packages_end.txt [2021-01-06T06:41:00.690Z] + case "${OS_FAMILY}" in [2021-01-06T06:41:00.690Z] + rpm -qa [2021-01-06T06:41:00.690Z] + sort [2021-01-06T06:41:06.028Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-06T06:41:06.028Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-06T06:41:06.028Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-06T06:41:06.028Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-417 ']' [2021-01-06T06:41:06.028Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-417/archives/ [2021-01-06T06:41:06.028Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-417/archives/ [Pipeline] echo [2021-01-06T06:41:06.043Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-06T06:41:06.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:41:06.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-06T06:41:06.944Z] [2021-01-06T06:41:06.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-06T06:41:07.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-06T06:41:07.299Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-06T06:41:07.299Z] df20fa9351a1: Pulling fs layer [2021-01-06T06:41:07.300Z] 36b3adc4ff6f: Pulling fs layer [2021-01-06T06:41:07.300Z] 8ad3a11d3b57: Pulling fs layer [2021-01-06T06:41:07.300Z] 46f8f816bc3b: Pulling fs layer [2021-01-06T06:41:07.300Z] 93b61091891f: Pulling fs layer [2021-01-06T06:41:07.300Z] 93b9cdb0e59b: Pulling fs layer [2021-01-06T06:41:07.300Z] 5e14af77c1be: Pulling fs layer [2021-01-06T06:41:07.300Z] 01666e4c0597: Pulling fs layer [2021-01-06T06:41:07.300Z] aa168da1d23b: Pulling fs layer [2021-01-06T06:41:07.300Z] 46f8f816bc3b: Waiting [2021-01-06T06:41:07.300Z] 93b61091891f: Waiting [2021-01-06T06:41:07.300Z] 93b9cdb0e59b: Waiting [2021-01-06T06:41:07.300Z] 5e14af77c1be: Waiting [2021-01-06T06:41:07.300Z] 01666e4c0597: Waiting [2021-01-06T06:41:07.300Z] aa168da1d23b: Waiting [2021-01-06T06:41:07.300Z] 36b3adc4ff6f: Verifying Checksum [2021-01-06T06:41:07.300Z] 36b3adc4ff6f: Download complete [2021-01-06T06:41:07.300Z] 46f8f816bc3b: Verifying Checksum [2021-01-06T06:41:07.300Z] 46f8f816bc3b: Download complete [2021-01-06T06:41:07.300Z] df20fa9351a1: Verifying Checksum [2021-01-06T06:41:07.300Z] df20fa9351a1: Download complete [2021-01-06T06:41:07.564Z] 93b9cdb0e59b: Verifying Checksum [2021-01-06T06:41:07.564Z] 93b9cdb0e59b: Download complete [2021-01-06T06:41:07.564Z] 5e14af77c1be: Download complete [2021-01-06T06:41:07.564Z] 93b61091891f: Verifying Checksum [2021-01-06T06:41:07.564Z] 93b61091891f: Download complete [2021-01-06T06:41:07.564Z] 01666e4c0597: Verifying Checksum [2021-01-06T06:41:07.564Z] 01666e4c0597: Download complete [2021-01-06T06:41:07.830Z] df20fa9351a1: Pull complete [2021-01-06T06:41:08.097Z] 36b3adc4ff6f: Pull complete [2021-01-06T06:41:08.097Z] 8ad3a11d3b57: Verifying Checksum [2021-01-06T06:41:08.097Z] 8ad3a11d3b57: Download complete [2021-01-06T06:41:09.060Z] 8ad3a11d3b57: Pull complete [2021-01-06T06:41:09.338Z] 46f8f816bc3b: Pull complete [2021-01-06T06:41:09.607Z] 93b61091891f: Pull complete [2021-01-06T06:41:10.187Z] aa168da1d23b: Verifying Checksum [2021-01-06T06:41:10.187Z] aa168da1d23b: Download complete [2021-01-06T06:41:10.187Z] 93b9cdb0e59b: Pull complete [2021-01-06T06:41:10.449Z] 5e14af77c1be: Pull complete [2021-01-06T06:41:10.449Z] 01666e4c0597: Pull complete [2021-01-06T06:41:18.663Z] aa168da1d23b: Pull complete [2021-01-06T06:41:18.663Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-06T06:41:18.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-06T06:41:18.663Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-06T06:41:18.906Z] prd-centos7-docker-4c-2g-18648 does not seem to be running inside a container [2021-01-06T06:41:18.962Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-417 -v /w/workspace/dry_go-mod-core-contracts_PR-417:/w/workspace/dry_go-mod-core-contracts_PR-417:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-417@tmp:/w/workspace/dry_go-mod-core-contracts_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-06T06:41:22.124Z] $ docker top 06be76628fbd0abe2e4192376580749f2f1eeb22a65dbf07699958b57baf6ea1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-06T06:41:22.685Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-06T06:41:22.988Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-06T06:41:23.293Z] + ls /var/log/sa-host [2021-01-06T06:41:23.293Z] + sadf -c /var/log/sa-host/sa06 [2021-01-06T06:41:23.293Z] file_magic: OK [2021-01-06T06:41:23.293Z] HZ: Using current value: 100 [2021-01-06T06:41:23.293Z] file_header: OK [2021-01-06T06:41:23.293Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-06T06:41:23.293Z] Statistics: [2021-01-06T06:41:23.293Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-06T06:41:23.293Z] File successfully converted to sysstat format version 12.2.1 [2021-01-06T06:41:23.293Z] + sadf -c /var/log/sa-host/sa23 [2021-01-06T06:41:23.293Z] file_magic: OK [2021-01-06T06:41:23.293Z] HZ: Using current value: 100 [2021-01-06T06:41:23.293Z] file_header: OK [2021-01-06T06:41:23.293Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-06T06:41:23.293Z] Statistics: [2021-01-06T06:41:23.293Z] Hnuu...uuuununununu... [2021-01-06T06:41:23.293Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-06T06:41:24.000Z] provisioning config files... [2021-01-06T06:41:24.017Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-417@tmp/config4426580074822773774tmp [Pipeline] { [Pipeline] echo [2021-01-06T06:41:24.094Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:41:24.399Z] ---> create-netrc.sh [Pipeline] } [2021-01-06T06:41:24.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-06T06:41:24.501Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:41:24.800Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-06T06:41:24.811Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:41:25.111Z] ---> sudo-logs.sh [2021-01-06T06:41:25.111Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-06T06:41:25.122Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:41:25.421Z] ---> job-cost.sh [2021-01-06T06:41:25.421Z] lf-activate-venv: SKIPPING [2021-01-06T06:41:25.421Z] INFO: No Stack... [2021-01-06T06:41:26.369Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-06T06:41:26.946Z] INFO: Archiving Costs [Pipeline] echo [2021-01-06T06:41:26.960Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-06T06:41:27.261Z] ---> logs-deploy.sh [2021-01-06T06:41:27.261Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-417/4 [2021-01-06T06:41:27.261Z] INFO: archiving workspace using pattern(s): [2021-01-06T06:41:29.187Z] Archives upload complete. [2021-01-06T06:41:29.187Z] INFO: archiving logs to Nexus