Pull request #475 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 lenny-intel for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 127a7ca41ce0dcfd5525847e86e0e567750a6ada+8f7953445b72aeaee75aad4ef61ff15b3674e342 (0b4ce7838312d369aa1e6a4b8c1d70e1d169ffcf) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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:pre] ========================================================= [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: pre 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-24365 in /w/workspace/dry_go-mod-core-contracts_PR-475 [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-475 # 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 8f7953445b72aeaee75aad4ef61ff15b3674e342 into PR head commit 127a7ca41ce0dcfd5525847e86e0e567750a6ada > 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/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 127a7ca41ce0dcfd5525847e86e0e567750a6ada # timeout=10 > git remote # timeout=10 Merge succeeded, producing 127a7ca41ce0dcfd5525847e86e0e567750a6ada Checking out Revision 127a7ca41ce0dcfd5525847e86e0e567750a6ada (PR-475) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8f7953445b72aeaee75aad4ef61ff15b3674e342 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 127a7ca41ce0dcfd5525847e86e0e567750a6ada # timeout=10 Commit message: "fix: Ensure ApiVersion is set when converting models to DTOs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-01T17:51:24.531Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T17:51:24.799Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T17:51:24.896Z] ========================================================= [2021-02-01T17:51:24.896Z] EdgeX Global Pipelines Version Info [2021-02-01T17:51:24.896Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 546a872fd7ee270ebfbf167397cf4be618b9c8ed # timeout=10 [2021-02-01T17:51:26.710Z] ------------------- [2021-02-01T17:51:26.711Z] stable info: [2021-02-01T17:51:26.711Z] ------------------- [2021-02-01T17:51:26.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T17:51:26.711Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T17:51:26.711Z] Message: update stable to v1.0.179 [2021-02-01T17:51:28.154Z] ------------------- [2021-02-01T17:51:28.154Z] experimental info: [2021-02-01T17:51:28.154Z] ------------------- [2021-02-01T17:51:28.154Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T17:51:28.154Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T17:51:28.154Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T17:51:28.435Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-02-01T17:51:28.523Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-02-01T17:51:28.612Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T17:51:28.697Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T17:51:28.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T17:51:28.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T17:51:28.971Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T17:51:29.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T17:51:29.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-01T17:51:29.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T17:51:29.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T17:51:29.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-02-01T17:51:29.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T17:51:29.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T17:51:29.776Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T17:51:29.860Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T17:51:29.947Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T17:51:30.033Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T17:51:30.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T17:51:30.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T17:51:30.425Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-01T17:51:30.531Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-01T17:51:30.664Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T17:51:30.751Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T17:51:30.837Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-01T17:51:30.957Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T17:51:31.152Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T17:51:31.238Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-475 [Pipeline] echo [2021-02-01T17:51:31.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-475 [Pipeline] echo [2021-02-01T17:51:31.411Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-475 [Pipeline] echo [2021-02-01T17:51:31.497Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 127a7ca41ce0dcfd5525847e86e0e567750a6ada [Pipeline] echo [2021-02-01T17:51:31.581Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 127a7ca [Pipeline] echo [2021-02-01T17:51:31.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T17:51:32.506Z] + git log --format=format:%s -1 127a7ca41ce0dcfd5525847e86e0e567750a6ada [Pipeline] echo [2021-02-01T17:51:32.610Z] GIT_COMMIT: 127a7ca41ce0dcfd5525847e86e0e567750a6ada, Commit Message: fix: Ensure ApiVersion is set when converting models to DTOs [Pipeline] echo [2021-02-01T17:51:32.658Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:51:33.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T17:51:34.012Z] [2021-02-01T17:51:34.013Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:51:34.415Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T17:51:34.689Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T17:51:34.689Z] 31603596830f: Pulling fs layer [2021-02-01T17:51:34.689Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T17:51:34.689Z] 6ca5941a6612: Pulling fs layer [2021-02-01T17:51:34.689Z] ecc8261a40a4: Pulling fs layer [2021-02-01T17:51:34.689Z] ecc8261a40a4: Waiting [2021-02-01T17:51:34.689Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T17:51:34.689Z] 2a8b12db71e7: Download complete [2021-02-01T17:51:34.689Z] 31603596830f: Verifying Checksum [2021-02-01T17:51:34.689Z] 31603596830f: Download complete [2021-02-01T17:51:34.962Z] ecc8261a40a4: Verifying Checksum [2021-02-01T17:51:34.962Z] ecc8261a40a4: Download complete [2021-02-01T17:51:34.962Z] 6ca5941a6612: Verifying Checksum [2021-02-01T17:51:34.962Z] 6ca5941a6612: Download complete [2021-02-01T17:51:35.233Z] 31603596830f: Pull complete [2021-02-01T17:51:35.537Z] 2a8b12db71e7: Pull complete [2021-02-01T17:51:36.997Z] 6ca5941a6612: Pull complete [2021-02-01T17:51:37.591Z] ecc8261a40a4: Pull complete [2021-02-01T17:51:37.591Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T17:51:37.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T17:51:37.591Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T17:51:37.763Z] prd-centos7-docker-4c-2g-24365 does not seem to be running inside a container [2021-02-01T17:51:37.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-475 -v /w/workspace/dry_go-mod-core-contracts_PR-475:/w/workspace/dry_go-mod-core-contracts_PR-475:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-475@tmp:/w/workspace/dry_go-mod-core-contracts_PR-475@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-02-01T17:51:40.434Z] $ docker top 365f49a32a03c712c6c9cc4c05a2c195f49667325ba3d0a50c11bbd21f4ec6b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T17:51:40.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T17:51:40.845Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T17:51:41.201Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T17:51:41.207Z] $ docker exec 365f49a32a03c712c6c9cc4c05a2c195f49667325ba3d0a50c11bbd21f4ec6b6 ssh-agent [2021-02-01T17:51:41.520Z] SSH_AUTH_SOCK=/tmp/ssh-Smn6g1NJIKwd/agent.11 [2021-02-01T17:51:41.520Z] SSH_AGENT_PID=16 [2021-02-01T17:51:41.536Z] Running ssh-add (command line suppressed) [2021-02-01T17:51:41.762Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-475@tmp/private_key_923687563743123674.key (/w/workspace/dry_go-mod-core-contracts_PR-475@tmp/private_key_923687563743123674.key) [2021-02-01T17:51:41.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T17:51:42.227Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T17:51:42.282Z] $ docker exec --env ******** --env ******** 365f49a32a03c712c6c9cc4c05a2c195f49667325ba3d0a50c11bbd21f4ec6b6 ssh-agent -k [2021-02-01T17:51:42.468Z] unset SSH_AUTH_SOCK; [2021-02-01T17:51:42.469Z] unset SSH_AGENT_PID; [2021-02-01T17:51:42.469Z] echo Agent pid 16 killed; [2021-02-01T17:51:42.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T17:51:42.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T17:51:42.687Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T17:51:42.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T17:51:42.950Z] $ docker exec 365f49a32a03c712c6c9cc4c05a2c195f49667325ba3d0a50c11bbd21f4ec6b6 ssh-agent [2021-02-01T17:51:43.368Z] SSH_AUTH_SOCK=/tmp/ssh-f3UE4P3A7r24/agent.46 [2021-02-01T17:51:43.368Z] SSH_AGENT_PID=51 [2021-02-01T17:51:43.379Z] Running ssh-add (command line suppressed) [2021-02-01T17:51:43.583Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-475@tmp/private_key_3772564464256926423.key (/w/workspace/dry_go-mod-core-contracts_PR-475@tmp/private_key_3772564464256926423.key) [2021-02-01T17:51:43.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T17:51:44.072Z] + git semver init [2021-02-01T17:51:44.072Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T17:51:44.072Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-475/.git [2021-02-01T17:51:44.072Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-475 [2021-02-01T17:51:44.072Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T17:51:44.072Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T17:51:44.072Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T17:51:44.072Z] # $SEMVER_BRANCH = PR-475 [2021-02-01T17:51:44.072Z] # $SEMVER_TEMP = /tmp/semver-593082292 [2021-02-01T17:51:44.072Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-02-01T17:51:45.489Z] # '/tmp/semver-593082292' -> '/w/workspace/dry_go-mod-core-contracts_PR-475/.semver' [2021-02-01T17:51:45.489Z] # -> Force: false [2021-02-01T17:51:45.489Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-475/.semver [Pipeline] } [2021-02-01T17:51:45.507Z] $ docker exec --env ******** --env ******** 365f49a32a03c712c6c9cc4c05a2c195f49667325ba3d0a50c11bbd21f4ec6b6 ssh-agent -k [2021-02-01T17:51:45.669Z] unset SSH_AUTH_SOCK; [2021-02-01T17:51:45.672Z] unset SSH_AGENT_PID; [2021-02-01T17:51:45.672Z] echo Agent pid 51 killed; [2021-02-01T17:51:45.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T17:51:46.397Z] + git semver [Pipeline] } [2021-02-01T17:51:46.442Z] $ docker stop --time=1 365f49a32a03c712c6c9cc4c05a2c195f49667325ba3d0a50c11bbd21f4ec6b6 [2021-02-01T17:51:48.312Z] $ docker rm -f 365f49a32a03c712c6c9cc4c05a2c195f49667325ba3d0a50c11bbd21f4ec6b6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T17:51:48.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T17:51:49.817Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T17:51:49.820Z] [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-02-01T17:51:50.494Z] Running on prd-centos7-docker-4c-2g-24366 in /w/workspace/dry_go-mod-core-contracts_PR-475 [Pipeline] { [Pipeline] ws [2021-02-01T17:51:50.547Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-02-01T17:51:53.029Z] using credential edgex-jenkins-ssh [2021-02-01T17:51:53.082Z] Cloning the remote Git repository [2021-02-01T17:51:53.110Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-01T17:51:53.174Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-02-01T17:51:53.244Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-01T17:51:53.244Z] > git --version # timeout=10 [2021-02-01T17:51:53.252Z] > git --version # 'git version 2.24.3' [2021-02-01T17:51:53.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T17:51:53.279Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T17:51:54.095Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-01T17:51:54.101Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T17:51:54.113Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-01T17:51:54.128Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-01T17:51:54.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T17:51:54.133Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T17:51:54.652Z] Merging remotes/origin/master commit 8f7953445b72aeaee75aad4ef61ff15b3674e342 into PR head commit 127a7ca41ce0dcfd5525847e86e0e567750a6ada [2021-02-01T17:51:54.767Z] Merge succeeded, producing 127a7ca41ce0dcfd5525847e86e0e567750a6ada [2021-02-01T17:51:54.768Z] Checking out Revision 127a7ca41ce0dcfd5525847e86e0e567750a6ada (PR-475) [2021-02-01T17:51:54.663Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T17:51:54.668Z] > git checkout -f 127a7ca41ce0dcfd5525847e86e0e567750a6ada # timeout=10 [2021-02-01T17:51:54.736Z] > git remote # timeout=10 [2021-02-01T17:51:54.745Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T17:51:54.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T17:51:54.756Z] > git merge 8f7953445b72aeaee75aad4ef61ff15b3674e342 # timeout=10 [2021-02-01T17:51:54.765Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T17:51:54.774Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T17:51:54.778Z] > git checkout -f 127a7ca41ce0dcfd5525847e86e0e567750a6ada # timeout=10 [2021-02-01T17:51:58.385Z] Commit message: "fix: Ensure ApiVersion is set when converting models to DTOs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T17:52:00.602Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T17:52:00.942Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T17:52:01.243Z] + sudo service docker restart [2021-02-01T17:52:01.243Z] + true [2021-02-01T17:52:01.243Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-01T17:52:02.842Z] ========================================================= [2021-02-01T17:52:02.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T17:52:02.842Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:52:03.203Z] + 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-02-01T17:52:03.782Z] Sending build context to Docker daemon 2.496MB [2021-02-01T17:52:03.782Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-01T17:52:03.782Z] Step 2/7 : FROM ${BASE} [2021-02-01T17:52:03.782Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T17:52:03.782Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T17:52:03.782Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T17:52:03.782Z] de9db76c5a1d: Pulling fs layer [2021-02-01T17:52:03.782Z] bca2f99d35d6: Pulling fs layer [2021-02-01T17:52:03.782Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T17:52:03.782Z] 7c6f9722023f: Pulling fs layer [2021-02-01T17:52:03.782Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T17:52:03.782Z] 93359f2a8cfa: Waiting [2021-02-01T17:52:03.782Z] 7c6f9722023f: Waiting [2021-02-01T17:52:03.782Z] a35cf1a2eb13: Waiting [2021-02-01T17:52:03.782Z] bca2f99d35d6: Waiting [2021-02-01T17:52:03.782Z] de9db76c5a1d: Verifying Checksum [2021-02-01T17:52:03.782Z] de9db76c5a1d: Download complete [2021-02-01T17:52:03.782Z] 0ef7d3d256c8: Verifying Checksum [2021-02-01T17:52:03.782Z] 0ef7d3d256c8: Download complete [2021-02-01T17:52:04.052Z] 93359f2a8cfa: Verifying Checksum [2021-02-01T17:52:04.052Z] 93359f2a8cfa: Download complete [2021-02-01T17:52:04.052Z] 7c6f9722023f: Verifying Checksum [2021-02-01T17:52:04.052Z] 7c6f9722023f: Download complete [2021-02-01T17:52:04.052Z] 188c0c94c7c5: Verifying Checksum [2021-02-01T17:52:04.052Z] 188c0c94c7c5: Download complete [2021-02-01T17:52:04.317Z] 188c0c94c7c5: Pull complete [2021-02-01T17:52:04.581Z] 0ef7d3d256c8: Pull complete [2021-02-01T17:52:04.581Z] de9db76c5a1d: Pull complete [2021-02-01T17:52:05.404Z] Still waiting to schedule task [2021-02-01T17:52:05.404Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-01T17:52:05.987Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T17:52:05.987Z] a35cf1a2eb13: Download complete [2021-02-01T17:52:06.569Z] bca2f99d35d6: Verifying Checksum [2021-02-01T17:52:06.569Z] bca2f99d35d6: Download complete [2021-02-01T17:52:11.906Z] bca2f99d35d6: Pull complete [2021-02-01T17:52:12.171Z] 93359f2a8cfa: Pull complete [2021-02-01T17:52:12.443Z] 7c6f9722023f: Pull complete [2021-02-01T17:52:16.683Z] a35cf1a2eb13: Pull complete [2021-02-01T17:52:16.683Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T17:52:16.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T17:52:16.683Z] ---> a62c8e92a672 [2021-02-01T17:52:16.683Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-01T17:52:16.683Z] ---> Running in ea3fac5a7eef [2021-02-01T17:52:16.949Z] Removing intermediate container ea3fac5a7eef [2021-02-01T17:52:16.949Z] ---> 1a1d20ca1f8b [2021-02-01T17:52:16.949Z] Step 4/7 : RUN apk add bash [2021-02-01T17:52:16.949Z] ---> Running in a7db243d726d [2021-02-01T17:52:17.921Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T17:52:18.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T17:52:19.458Z] OK: 166 MiB in 39 packages [2021-02-01T17:52:20.039Z] Removing intermediate container a7db243d726d [2021-02-01T17:52:20.039Z] ---> 16543c73a631 [2021-02-01T17:52:20.039Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-01T17:52:20.039Z] ---> Running in f25ad297372d [2021-02-01T17:52:20.303Z] Removing intermediate container f25ad297372d [2021-02-01T17:52:20.303Z] ---> e9138081a8a2 [2021-02-01T17:52:20.303Z] Step 6/7 : COPY go.mod . [2021-02-01T17:52:20.572Z] ---> cbcc9793b702 [2021-02-01T17:52:20.572Z] Step 7/7 : RUN go mod download [2021-02-01T17:52:20.572Z] ---> Running in fc80ccec809f [2021-02-01T17:52:32.864Z] Removing intermediate container fc80ccec809f [2021-02-01T17:52:32.864Z] ---> 82e15275efd2 [2021-02-01T17:52:32.864Z] Successfully built 82e15275efd2 [2021-02-01T17:52:32.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:52:33.186Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T17:52:33.186Z] . [Pipeline] withDockerContainer [2021-02-01T17:52:33.309Z] prd-centos7-docker-4c-2g-24366 does not seem to be running inside a container [2021-02-01T17:52:33.370Z] $ 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 [2021-02-01T17:52:34.189Z] $ docker top 8ffcc797930d219983b40d149cf3faa40a4e3b162f92c18f3c8c5880a9e13588 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T17:52:34.666Z] + go version [2021-02-01T17:52:34.666Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T17:52:34.687Z] $ docker stop --time=1 8ffcc797930d219983b40d149cf3faa40a4e3b162f92c18f3c8c5880a9e13588 [2021-02-01T17:52:36.059Z] $ docker rm -f 8ffcc797930d219983b40d149cf3faa40a4e3b162f92c18f3c8c5880a9e13588 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:52:36.851Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T17:52:36.851Z] . [Pipeline] withDockerContainer [2021-02-01T17:52:36.966Z] prd-centos7-docker-4c-2g-24366 does not seem to be running inside a container [2021-02-01T17:52:37.020Z] $ 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 [2021-02-01T17:52:37.682Z] $ docker top 913c3313ed96dedd9d09979baa38c3b06c5687fe7ac2d1acbf033db2434346aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T17:52:38.207Z] + make test [2021-02-01T17:52:38.207Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-01T17:52:46.692Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-01T17:52:46.692Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.011s coverage: 85.7% of statements [2021-02-01T17:52:46.692Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.030s coverage: 100.0% of statements [2021-02-01T17:52:46.692Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.018s coverage: 45.4% of statements [2021-02-01T17:52:46.692Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.017s coverage: 77.8% of statements [2021-02-01T17:52:46.692Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-01T17:52:47.354Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.014s coverage: 26.3% of statements [2021-02-01T17:52:47.621Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.035s coverage: 14.7% of statements [2021-02-01T17:52:47.621Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.031s coverage: 100.0% of statements [2021-02-01T17:52:47.621Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.027s coverage: 91.8% of statements [2021-02-01T17:52:47.622Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-01T17:52:47.622Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-01T17:52:47.893Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.015s coverage: 100.0% of statements [2021-02-01T17:52:47.893Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.006s coverage: 36.7% of statements [2021-02-01T17:52:50.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.028s coverage: 63.0% of statements [2021-02-01T17:52:50.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.006s coverage: 26.3% of statements [2021-02-01T17:52:50.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.005s coverage: 15.4% of statements [2021-02-01T17:52:50.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.024s coverage: 15.4% of statements [2021-02-01T17:52:50.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.074s coverage: 14.3% of statements [2021-02-01T17:52:50.517Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-01T17:52:52.470Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.090s coverage: 84.8% of statements [2021-02-01T17:52:52.470Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-01T17:52:52.470Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-01T17:52:52.470Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-01T17:52:52.470Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.016s coverage: 55.2% of statements [2021-02-01T17:52:52.470Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.015s coverage: 94.7% of statements [2021-02-01T17:52:52.470Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.037s coverage: 93.0% of statements [2021-02-01T17:52:52.470Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.008s coverage: 100.0% of statements [2021-02-01T17:52:52.470Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-01T17:52:52.734Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-01T17:52:54.685Z] gofmt -l . [2021-02-01T17:52:54.685Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-01T17:52:54.968Z] $ docker stop --time=1 913c3313ed96dedd9d09979baa38c3b06c5687fe7ac2d1acbf033db2434346aa [2021-02-01T17:52:57.313Z] $ docker rm -f 913c3313ed96dedd9d09979baa38c3b06c5687fe7ac2d1acbf033db2434346aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T17:52:57.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T17:52:58.256Z] 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-02-01T17:53:51.380Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24367 in /w/workspace/dry_go-mod-core-contracts_PR-475 [Pipeline] { [Pipeline] ws [2021-02-01T17:53:51.440Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-02-01T17:53:56.398Z] using credential edgex-jenkins-ssh [2021-02-01T17:53:56.460Z] Cloning the remote Git repository [2021-02-01T17:53:56.521Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-01T17:53:56.633Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-02-01T17:53:56.707Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-01T17:53:56.708Z] > git --version # timeout=10 [2021-02-01T17:53:56.726Z] > git --version # 'git version 2.17.1' [2021-02-01T17:53:56.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T17:53:56.773Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T17:53:58.714Z] Merging remotes/origin/master commit 8f7953445b72aeaee75aad4ef61ff15b3674e342 into PR head commit 127a7ca41ce0dcfd5525847e86e0e567750a6ada [2021-02-01T17:53:58.986Z] Merge succeeded, producing 127a7ca41ce0dcfd5525847e86e0e567750a6ada [2021-02-01T17:53:58.987Z] Checking out Revision 127a7ca41ce0dcfd5525847e86e0e567750a6ada (PR-475) [2021-02-01T17:53:57.900Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-01T17:53:57.930Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T17:53:57.957Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-01T17:53:58.001Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-01T17:53:58.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T17:53:58.013Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T17:53:58.737Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T17:53:58.759Z] > git checkout -f 127a7ca41ce0dcfd5525847e86e0e567750a6ada # timeout=10 [2021-02-01T17:53:58.900Z] > git remote # timeout=10 [2021-02-01T17:53:58.920Z] > git config --get remote.origin.url # timeout=10 [2021-02-01T17:53:58.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T17:53:58.949Z] > git merge 8f7953445b72aeaee75aad4ef61ff15b3674e342 # timeout=10 [2021-02-01T17:53:58.973Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-01T17:53:58.996Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T17:53:59.007Z] > git checkout -f 127a7ca41ce0dcfd5525847e86e0e567750a6ada # timeout=10 [2021-02-01T17:54:03.407Z] Commit message: "fix: Ensure ApiVersion is set when converting models to DTOs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T17:54:05.263Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T17:54:05.758Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T17:54:06.111Z] + sudo service docker restart [2021-02-01T17:54:06.111Z] + true [Pipeline] unstash [Pipeline] echo [2021-02-01T17:54:09.032Z] ========================================================= [2021-02-01T17:54:09.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T17:54:09.032Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:54:09.410Z] + 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-02-01T17:54:10.396Z] Sending build context to Docker daemon 2.494MB [2021-02-01T17:54:10.396Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-01T17:54:10.396Z] Step 2/7 : FROM ${BASE} [2021-02-01T17:54:10.675Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T17:54:10.675Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T17:54:10.675Z] a4357932f1b6: Pulling fs layer [2021-02-01T17:54:10.675Z] 18c013af1878: Pulling fs layer [2021-02-01T17:54:10.675Z] 00ac8860ef70: Pulling fs layer [2021-02-01T17:54:10.675Z] 63d7cb157983: Pulling fs layer [2021-02-01T17:54:10.675Z] b116817d02f9: Pulling fs layer [2021-02-01T17:54:10.675Z] 745a02a5169b: Pulling fs layer [2021-02-01T17:54:10.675Z] 00ac8860ef70: Waiting [2021-02-01T17:54:10.675Z] 63d7cb157983: Waiting [2021-02-01T17:54:10.675Z] b116817d02f9: Waiting [2021-02-01T17:54:10.675Z] 745a02a5169b: Waiting [2021-02-01T17:54:10.675Z] 18c013af1878: Verifying Checksum [2021-02-01T17:54:10.675Z] 18c013af1878: Download complete [2021-02-01T17:54:10.675Z] a4357932f1b6: Verifying Checksum [2021-02-01T17:54:10.675Z] a4357932f1b6: Download complete [2021-02-01T17:54:10.949Z] 63d7cb157983: Download complete [2021-02-01T17:54:11.543Z] b116817d02f9: Download complete [2021-02-01T17:54:11.543Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T17:54:11.543Z] 5f621e34cdf4: Download complete [2021-02-01T17:54:12.146Z] 5f621e34cdf4: Pull complete [2021-02-01T17:54:13.131Z] a4357932f1b6: Pull complete [2021-02-01T17:54:13.406Z] 18c013af1878: Pull complete [2021-02-01T17:54:13.998Z] 745a02a5169b: Verifying Checksum [2021-02-01T17:54:13.998Z] 745a02a5169b: Download complete [2021-02-01T17:54:14.973Z] 00ac8860ef70: Verifying Checksum [2021-02-01T17:54:14.973Z] 00ac8860ef70: Download complete [2021-02-01T17:54:25.136Z] 00ac8860ef70: Pull complete [2021-02-01T17:54:25.414Z] 63d7cb157983: Pull complete [2021-02-01T17:54:25.687Z] b116817d02f9: Pull complete [2021-02-01T17:54:30.026Z] 745a02a5169b: Pull complete [2021-02-01T17:54:30.026Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T17:54:30.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T17:54:30.026Z] ---> b7e6874047d6 [2021-02-01T17:54:30.026Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-01T17:54:32.658Z] ---> Running in ae3eabc04990 [2021-02-01T17:54:32.658Z] Removing intermediate container ae3eabc04990 [2021-02-01T17:54:32.658Z] ---> 90652bd48658 [2021-02-01T17:54:32.658Z] Step 4/7 : RUN apk add bash [2021-02-01T17:54:32.933Z] ---> Running in 62f9682f7f22 [2021-02-01T17:54:33.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T17:54:34.896Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T17:54:35.874Z] OK: 142 MiB in 39 packages [2021-02-01T17:54:37.313Z] Removing intermediate container 62f9682f7f22 [2021-02-01T17:54:37.313Z] ---> d390268f16f2 [2021-02-01T17:54:37.313Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-01T17:54:37.313Z] ---> Running in 282ab5a21de5 [2021-02-01T17:54:37.585Z] Removing intermediate container 282ab5a21de5 [2021-02-01T17:54:37.585Z] ---> ae87c7b41202 [2021-02-01T17:54:37.585Z] Step 6/7 : COPY go.mod . [2021-02-01T17:54:38.562Z] ---> ad60613560a8 [2021-02-01T17:54:38.562Z] Step 7/7 : RUN go mod download [2021-02-01T17:54:38.562Z] ---> Running in b836b42f9b65 [2021-02-01T17:54:53.648Z] Removing intermediate container b836b42f9b65 [2021-02-01T17:54:53.648Z] ---> c38fd3a2fbe3 [2021-02-01T17:54:53.648Z] Successfully built c38fd3a2fbe3 [2021-02-01T17:54:53.648Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:54:53.986Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T17:54:53.986Z] . [Pipeline] withDockerContainer [2021-02-01T17:54:54.250Z] prd-ubuntu18.04-docker-arm64-4c-16g-24367 does not seem to be running inside a container [2021-02-01T17:54:54.345Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-02-01T17:54:55.880Z] $ docker top 54333710222a59f35022a58836104872b20da6ebe5b626f6e2033acbe3f3e1ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T17:54:56.949Z] + go version [2021-02-01T17:54:56.950Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T17:54:56.974Z] $ docker stop --time=1 54333710222a59f35022a58836104872b20da6ebe5b626f6e2033acbe3f3e1ae [2021-02-01T17:54:58.901Z] $ docker rm -f 54333710222a59f35022a58836104872b20da6ebe5b626f6e2033acbe3f3e1ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:54:59.930Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T17:54:59.930Z] . [Pipeline] withDockerContainer [2021-02-01T17:55:00.190Z] prd-ubuntu18.04-docker-arm64-4c-16g-24367 does not seem to be running inside a container [2021-02-01T17:55:00.271Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-02-01T17:55:01.805Z] $ docker top 4d42252ec4617defd7a6326dcf6c9529394db503b5ea5b5b1ad38d84281739b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T17:55:02.885Z] + make test [2021-02-01T17:55:02.885Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-01T17:55:25.074Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-01T17:55:26.515Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.041s coverage: 85.7% of statements [2021-02-01T17:55:26.515Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.072s coverage: 100.0% of statements [2021-02-01T17:55:28.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.054s coverage: 45.4% of statements [2021-02-01T17:55:28.498Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.026s coverage: 77.8% of statements [2021-02-01T17:55:28.498Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-01T17:55:29.940Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.013s coverage: 26.3% of statements [2021-02-01T17:55:30.539Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.048s coverage: 14.7% of statements [2021-02-01T17:55:30.539Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.032s coverage: 100.0% of statements [2021-02-01T17:55:31.982Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.095s coverage: 91.8% of statements [2021-02-01T17:55:31.982Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-01T17:55:31.982Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-01T17:55:31.982Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.028s coverage: 100.0% of statements [2021-02-01T17:55:31.982Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.045s coverage: 36.7% of statements [2021-02-01T17:55:37.423Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.124s coverage: 63.0% of statements [2021-02-01T17:55:37.423Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.011s coverage: 26.3% of statements [2021-02-01T17:55:37.423Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.038s coverage: 15.4% of statements [2021-02-01T17:55:37.423Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.034s coverage: 15.4% of statements [2021-02-01T17:55:37.423Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.049s coverage: 14.3% of statements [2021-02-01T17:55:37.423Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-01T17:55:40.850Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.317s coverage: 84.8% of statements [2021-02-01T17:55:40.850Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-01T17:55:40.850Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-01T17:55:40.850Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-01T17:55:40.850Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.041s coverage: 55.2% of statements [2021-02-01T17:55:40.850Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.061s coverage: 94.7% of statements [2021-02-01T17:55:41.832Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.144s coverage: 93.0% of statements [2021-02-01T17:55:41.832Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.023s coverage: 100.0% of statements [2021-02-01T17:55:41.832Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-01T17:55:42.105Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-01T17:55:47.512Z] gofmt -l . [2021-02-01T17:55:48.107Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-01T17:55:48.753Z] $ docker stop --time=1 4d42252ec4617defd7a6326dcf6c9529394db503b5ea5b5b1ad38d84281739b9 [2021-02-01T17:55:51.056Z] $ docker rm -f 4d42252ec4617defd7a6326dcf6c9529394db503b5ea5b5b1ad38d84281739b9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T17:55:52.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T17:55:52.096Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T17:55:53.135Z] 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-02-01T17:55:55.117Z] provisioning config files... [2021-02-01T17:55:55.155Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-475@tmp/config7283026556879748208tmp [Pipeline] { [Pipeline] sh [2021-02-01T17:55:55.620Z] + set +x [2021-02-01T17:55:55.620Z] + bash -s -- [2021-02-01T17:55:55.620Z] + curl -s https://codecov.io/bash [2021-02-01T17:55:55.903Z] [2021-02-01T17:55:55.903Z] _____ _ [2021-02-01T17:55:55.903Z] / ____| | | [2021-02-01T17:55:55.903Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T17:55:55.903Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T17:55:55.903Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T17:55:55.903Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T17:55:55.903Z] Bash-20210129-7c25fce [2021-02-01T17:55:55.903Z] [2021-02-01T17:55:55.903Z] [2021-02-01T17:55:55.903Z] ==> git version 2.24.3 found [2021-02-01T17:55:55.903Z] ==> 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-02-01T17:55:55.904Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T17:55:55.904Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T17:55:55.904Z] ==> Jenkins CI detected. [2021-02-01T17:55:55.904Z] project root: . [2021-02-01T17:55:55.904Z] --> token set from env [2021-02-01T17:55:55.904Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T17:55:56.186Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T17:55:56.186Z] ==> Python coveragepy not found [2021-02-01T17:55:56.186Z] ==> Searching for coverage reports in: [2021-02-01T17:55:56.186Z] + . [2021-02-01T17:55:56.186Z] -> Found 1 reports [2021-02-01T17:55:56.186Z] ==> Detecting git/mercurial file structure [2021-02-01T17:55:56.186Z] ==> Reading reports [2021-02-01T17:55:56.186Z] + ./coverage.out bytes=142480 [2021-02-01T17:55:56.186Z] ==> Appending adjustments [2021-02-01T17:55:56.186Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T17:55:57.608Z] + Found adjustments [2021-02-01T17:55:57.608Z] ==> Gzipping contents [2021-02-01T17:55:57.608Z] 24K /tmp/codecov.o1OmI8.gz [2021-02-01T17:55:57.608Z] ==> Uploading reports [2021-02-01T17:55:57.608Z] url: https://codecov.io [2021-02-01T17:55:57.608Z] query: branch=PR-475&commit=127a7ca41ce0dcfd5525847e86e0e567750a6ada&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-475%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=475&job=&cmd_args= [2021-02-01T17:55:57.608Z] -> Pinging Codecov [2021-02-01T17:55:57.608Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-475&commit=127a7ca41ce0dcfd5525847e86e0e567750a6ada&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-475%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=475&job=&cmd_args= [2021-02-01T17:55:57.871Z] -> Uploading to [2021-02-01T17:55:57.871Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/71470A77251A30514AAF9C0BB2E5B6CE/127a7ca41ce0dcfd5525847e86e0e567750a6ada/10bd45bb-3ac1-4ce4-a44e-82a74f2fd0ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T175557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6ca28526a42a2f40aa89f3bfbfafe7acc4bad8fc3ffd4635cf278bac09ede89 [2021-02-01T17:55:57.871Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T17:55:57.871Z] Dload Upload Total Spent Left Speed [2021-02-01T17:55:58.404Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21862 0 0 100 21862 0 43665 --:--:-- --:--:-- --:--:-- 43636 [2021-02-01T17:55:58.404Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/127a7ca41ce0dcfd5525847e86e0e567750a6ada [Pipeline] } [2021-02-01T17:55:58.415Z] 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-02-01T17:56:01.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T17:56:02.080Z] ---> package-listing.sh [2021-02-01T17:56:02.080Z] ++ facter osfamily [2021-02-01T17:56:02.080Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T17:56:02.351Z] + OS_FAMILY=redhat [2021-02-01T17:56:02.351Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-475 [2021-02-01T17:56:02.351Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T17:56:02.351Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T17:56:02.351Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T17:56:02.351Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T17:56:02.351Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-475 ']' [2021-02-01T17:56:02.351Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T17:56:02.351Z] + case "${OS_FAMILY}" in [2021-02-01T17:56:02.351Z] + rpm -qa [2021-02-01T17:56:02.351Z] + sort [2021-02-01T17:56:07.766Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T17:56:07.766Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T17:56:07.766Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T17:56:07.766Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-475 ']' [2021-02-01T17:56:07.766Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-475/archives/ [2021-02-01T17:56:07.766Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-475/archives/ [Pipeline] echo [2021-02-01T17:56:07.788Z] 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-475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-01T17:56:08.133Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:56:08.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T17:56:09.031Z] [2021-02-01T17:56:09.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T17:56:09.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T17:56:09.485Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T17:56:09.485Z] df20fa9351a1: Pulling fs layer [2021-02-01T17:56:09.485Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T17:56:09.485Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T17:56:09.485Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T17:56:09.485Z] 93b61091891f: Pulling fs layer [2021-02-01T17:56:09.485Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T17:56:09.485Z] 5e14af77c1be: Pulling fs layer [2021-02-01T17:56:09.485Z] 01666e4c0597: Pulling fs layer [2021-02-01T17:56:09.485Z] aa168da1d23b: Pulling fs layer [2021-02-01T17:56:09.485Z] 46f8f816bc3b: Waiting [2021-02-01T17:56:09.485Z] 93b61091891f: Waiting [2021-02-01T17:56:09.485Z] 93b9cdb0e59b: Waiting [2021-02-01T17:56:09.485Z] 5e14af77c1be: Waiting [2021-02-01T17:56:09.485Z] 01666e4c0597: Waiting [2021-02-01T17:56:09.485Z] aa168da1d23b: Waiting [2021-02-01T17:56:09.760Z] 36b3adc4ff6f: Verifying Checksum [2021-02-01T17:56:09.760Z] 36b3adc4ff6f: Download complete [2021-02-01T17:56:09.760Z] 46f8f816bc3b: Verifying Checksum [2021-02-01T17:56:09.760Z] 46f8f816bc3b: Download complete [2021-02-01T17:56:09.760Z] 93b61091891f: Verifying Checksum [2021-02-01T17:56:09.760Z] 93b61091891f: Download complete [2021-02-01T17:56:09.760Z] 93b9cdb0e59b: Verifying Checksum [2021-02-01T17:56:09.760Z] 93b9cdb0e59b: Download complete [2021-02-01T17:56:09.760Z] 5e14af77c1be: Verifying Checksum [2021-02-01T17:56:09.760Z] 5e14af77c1be: Download complete [2021-02-01T17:56:10.036Z] 01666e4c0597: Verifying Checksum [2021-02-01T17:56:10.036Z] 01666e4c0597: Download complete [2021-02-01T17:56:10.036Z] df20fa9351a1: Verifying Checksum [2021-02-01T17:56:10.036Z] df20fa9351a1: Download complete [2021-02-01T17:56:10.036Z] 8ad3a11d3b57: Verifying Checksum [2021-02-01T17:56:10.036Z] 8ad3a11d3b57: Download complete [2021-02-01T17:56:10.675Z] df20fa9351a1: Pull complete [2021-02-01T17:56:10.957Z] 36b3adc4ff6f: Pull complete [2021-02-01T17:56:13.234Z] 8ad3a11d3b57: Pull complete [2021-02-01T17:56:13.234Z] 46f8f816bc3b: Pull complete [2021-02-01T17:56:14.301Z] 93b61091891f: Pull complete [2021-02-01T17:56:14.301Z] 93b9cdb0e59b: Pull complete [2021-02-01T17:56:14.604Z] 5e14af77c1be: Pull complete [2021-02-01T17:56:14.890Z] 01666e4c0597: Pull complete [2021-02-01T17:56:15.481Z] aa168da1d23b: Verifying Checksum [2021-02-01T17:56:15.481Z] aa168da1d23b: Download complete [2021-02-01T17:56:28.031Z] aa168da1d23b: Pull complete [2021-02-01T17:56:28.031Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T17:56:28.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T17:56:28.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T17:56:28.257Z] prd-centos7-docker-4c-2g-24365 does not seem to be running inside a container [2021-02-01T17:56:28.336Z] $ 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-475/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-475 -v /w/workspace/dry_go-mod-core-contracts_PR-475:/w/workspace/dry_go-mod-core-contracts_PR-475:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-475@tmp:/w/workspace/dry_go-mod-core-contracts_PR-475@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-02-01T17:56:32.005Z] $ docker top f8a1de05ff03b59620cebb3800aef1f31e9e5bf317c6bac2a359a3fb426660f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T17:56:32.589Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T17:56:32.911Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T17:56:33.226Z] + ls /var/log/sa-host [2021-02-01T17:56:33.226Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T17:56:33.226Z] file_magic: OK [2021-02-01T17:56:33.226Z] HZ: Using current value: 100 [2021-02-01T17:56:33.226Z] file_header: OK [2021-02-01T17:56:33.226Z] 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-02-01T17:56:33.226Z] Statistics: [2021-02-01T17:56:33.226Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T17:56:33.226Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T17:56:33.226Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T17:56:33.226Z] file_magic: OK [2021-02-01T17:56:33.226Z] HZ: Using current value: 100 [2021-02-01T17:56:33.226Z] file_header: OK [2021-02-01T17:56:33.226Z] 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-02-01T17:56:33.226Z] Statistics: [2021-02-01T17:56:33.226Z] Hnuu...uuuununununu... [2021-02-01T17:56:33.226Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T17:56:33.481Z] provisioning config files... [2021-02-01T17:56:33.505Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-475@tmp/config8958854914737506396tmp [Pipeline] { [Pipeline] echo [2021-02-01T17:56:33.576Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T17:56:34.227Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T17:56:34.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T17:56:34.340Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T17:56:34.673Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T17:56:34.705Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T17:56:35.061Z] ---> sudo-logs.sh [2021-02-01T17:56:35.061Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T17:56:35.363Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T17:56:35.707Z] ---> job-cost.sh [2021-02-01T17:56:35.971Z] lf-activate-venv: SKIPPING [2021-02-01T17:56:35.971Z] INFO: No Stack... [2021-02-01T17:56:36.934Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T17:56:37.207Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T17:56:37.222Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T17:56:37.539Z] ---> logs-deploy.sh [2021-02-01T17:56:37.539Z] lf-activate-venv: SKIPPING [2021-02-01T17:56:37.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-475/2 [2021-02-01T17:56:37.539Z] INFO: archiving workspace using pattern(s): [2021-02-01T17:56:40.128Z] Archives upload complete. [2021-02-01T17:56:40.128Z] INFO: archiving logs to Nexus