Branch indexing 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 FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc rather than a9df0e28749361443b9b79d93fbdcd3a2ac02bce Obtained Jenkinsfile from 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 Running on prd-centos7-docker-4c-2g-27234 in /w/workspace/dry_go-mod-core-contracts_PR-513 [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-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > 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/513/head:refs/remotes/origin/PR-513 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc into PR head commit a9df0e28749361443b9b79d93fbdcd3a2ac02bce Merge succeeded, producing b2a3753884968612292fd804d3fd5a9b6c08b422 Checking out Revision b2a3753884968612292fd804d3fd5a9b6c08b422 (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f a9df0e28749361443b9b79d93fbdcd3a2ac02bce # 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 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a3753884968612292fd804d3fd5a9b6c08b422 # timeout=10 Commit message: "Merge commit '6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc' into HEAD" > git rev-list --no-walk a9df0e28749361443b9b79d93fbdcd3a2ac02bce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-23T00:38:33.950Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-23T00:38:34.223Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-23T00:38:34.341Z] ========================================================= [2021-02-23T00:38:34.341Z] EdgeX Global Pipelines Version Info [2021-02-23T00:38:34.341Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-23T00:38:39.321Z] ------------------- [2021-02-23T00:38:39.321Z] stable info: [2021-02-23T00:38:39.321Z] ------------------- [2021-02-23T00:38:39.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T00:38:39.321Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T00:38:39.321Z] Message: update stable to v1.0.179 [2021-02-23T00:38:40.463Z] ------------------- [2021-02-23T00:38:40.463Z] experimental info: [2021-02-23T00:38:40.463Z] ------------------- [2021-02-23T00:38:40.463Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T00:38:40.463Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T00:38:40.463Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-23T00:38:41.346Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-02-23T00:38:41.433Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-02-23T00:38:41.526Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-23T00:38:41.621Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-23T00:38:41.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-23T00:38:41.837Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-23T00:38:41.973Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-23T00:38:42.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-23T00:38:42.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-23T00:38:42.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-23T00:38:42.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-23T00:38:42.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-02-23T00:38:42.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-23T00:38:42.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-23T00:38:42.832Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T00:38:42.923Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T00:38:43.018Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T00:38:43.213Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T00:38:43.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-23T00:38:43.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-23T00:38:43.581Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-23T00:38:43.670Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-23T00:38:43.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-23T00:38:43.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-23T00:38:43.940Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-23T00:38:44.024Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-23T00:38:44.148Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-23T00:38:44.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2021-02-23T00:38:44.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2021-02-23T00:38:44.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2021-02-23T00:38:44.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2a3753884968612292fd804d3fd5a9b6c08b422 [Pipeline] echo [2021-02-23T00:38:44.616Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2a3753 [Pipeline] echo [2021-02-23T00:38:44.711Z] [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-23T00:38:45.465Z] + git log --format=format:%s -1 b2a3753884968612292fd804d3fd5a9b6c08b422 [Pipeline] echo [2021-02-23T00:38:45.581Z] GIT_COMMIT: b2a3753884968612292fd804d3fd5a9b6c08b422, Commit Message: Merge commit '6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc' into HEAD [Pipeline] echo [2021-02-23T00:38:45.625Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:38:46.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T00:38:47.725Z] [2021-02-23T00:38:47.725Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:38:48.708Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T00:38:49.618Z] latest: Pulling from edgex-devops/git-semver [2021-02-23T00:38:49.618Z] 31603596830f: Pulling fs layer [2021-02-23T00:38:49.618Z] 2a8b12db71e7: Pulling fs layer [2021-02-23T00:38:49.618Z] 6ca5941a6612: Pulling fs layer [2021-02-23T00:38:49.618Z] ecc8261a40a4: Pulling fs layer [2021-02-23T00:38:49.618Z] ecc8261a40a4: Waiting [2021-02-23T00:38:49.618Z] 2a8b12db71e7: Verifying Checksum [2021-02-23T00:38:49.618Z] 2a8b12db71e7: Download complete [2021-02-23T00:38:50.403Z] 31603596830f: Verifying Checksum [2021-02-23T00:38:50.403Z] 31603596830f: Download complete [2021-02-23T00:38:50.905Z] ecc8261a40a4: Verifying Checksum [2021-02-23T00:38:50.905Z] ecc8261a40a4: Download complete [2021-02-23T00:38:51.705Z] 6ca5941a6612: Verifying Checksum [2021-02-23T00:38:51.705Z] 6ca5941a6612: Download complete [2021-02-23T00:38:51.705Z] 31603596830f: Pull complete [2021-02-23T00:38:52.047Z] 2a8b12db71e7: Pull complete [2021-02-23T00:38:53.542Z] 6ca5941a6612: Pull complete [2021-02-23T00:38:53.858Z] ecc8261a40a4: Pull complete [2021-02-23T00:38:54.176Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-23T00:38:54.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T00:38:54.176Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-23T00:38:54.819Z] prd-centos7-docker-4c-2g-27234 does not seem to be running inside a container [2021-02-23T00:38:55.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-513 -v /w/workspace/dry_go-mod-core-contracts_PR-513:/w/workspace/dry_go-mod-core-contracts_PR-513:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-513@tmp:/w/workspace/dry_go-mod-core-contracts_PR-513@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-23T00:38:59.245Z] $ docker top 2890cc5d45ab8c68e1fffb8f9c2269f209571e2fdda9b909b0d36105c93d9156 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T00:39:00.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T00:39:00.111Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T00:39:01.345Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T00:39:01.350Z] $ docker exec 2890cc5d45ab8c68e1fffb8f9c2269f209571e2fdda9b909b0d36105c93d9156 ssh-agent [2021-02-23T00:39:02.084Z] SSH_AUTH_SOCK=/tmp/ssh-kqk8J0HjJwGy/agent.11 [2021-02-23T00:39:02.084Z] SSH_AGENT_PID=16 [2021-02-23T00:39:02.132Z] Running ssh-add (command line suppressed) [2021-02-23T00:39:02.570Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-513@tmp/private_key_5809198199983405787.key (/w/workspace/dry_go-mod-core-contracts_PR-513@tmp/private_key_5809198199983405787.key) [2021-02-23T00:39:02.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T00:39:03.747Z] + git tag --points-at HEAD [Pipeline] } [2021-02-23T00:39:03.916Z] $ docker exec --env ******** --env ******** 2890cc5d45ab8c68e1fffb8f9c2269f209571e2fdda9b909b0d36105c93d9156 ssh-agent -k [2021-02-23T00:39:04.380Z] unset SSH_AUTH_SOCK; [2021-02-23T00:39:04.381Z] unset SSH_AGENT_PID; [2021-02-23T00:39:04.382Z] echo Agent pid 16 killed; [2021-02-23T00:39:04.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-23T00:39:04.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T00:39:04.706Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T00:39:05.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T00:39:05.833Z] $ docker exec 2890cc5d45ab8c68e1fffb8f9c2269f209571e2fdda9b909b0d36105c93d9156 ssh-agent [2021-02-23T00:39:06.430Z] SSH_AUTH_SOCK=/tmp/ssh-v1vfREiLmehp/agent.44 [2021-02-23T00:39:06.430Z] SSH_AGENT_PID=49 [2021-02-23T00:39:06.441Z] Running ssh-add (command line suppressed) [2021-02-23T00:39:06.752Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-513@tmp/private_key_7487083770472562411.key (/w/workspace/dry_go-mod-core-contracts_PR-513@tmp/private_key_7487083770472562411.key) [2021-02-23T00:39:06.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T00:39:07.387Z] + git semver init [2021-02-23T00:39:07.681Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T00:39:07.681Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-513/.git [2021-02-23T00:39:07.681Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-513 [2021-02-23T00:39:07.681Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T00:39:07.681Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T00:39:07.681Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T00:39:07.681Z] # $SEMVER_BRANCH = PR-513 [2021-02-23T00:39:07.681Z] # $SEMVER_TEMP = /tmp/semver-048244916 [2021-02-23T00:39:07.681Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-02-23T00:39:08.756Z] # '/tmp/semver-048244916' -> '/w/workspace/dry_go-mod-core-contracts_PR-513/.semver' [2021-02-23T00:39:09.029Z] # -> Force: false [2021-02-23T00:39:09.030Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-513/.semver [Pipeline] } [2021-02-23T00:39:09.057Z] $ docker exec --env ******** --env ******** 2890cc5d45ab8c68e1fffb8f9c2269f209571e2fdda9b909b0d36105c93d9156 ssh-agent -k [2021-02-23T00:39:09.322Z] unset SSH_AUTH_SOCK; [2021-02-23T00:39:09.324Z] unset SSH_AGENT_PID; [2021-02-23T00:39:09.324Z] echo Agent pid 49 killed; [2021-02-23T00:39:09.417Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T00:39:10.427Z] + git semver [Pipeline] } [2021-02-23T00:39:10.569Z] $ docker stop --time=1 2890cc5d45ab8c68e1fffb8f9c2269f209571e2fdda9b909b0d36105c93d9156 [2021-02-23T00:39:12.784Z] $ docker rm -f 2890cc5d45ab8c68e1fffb8f9c2269f209571e2fdda9b909b0d36105c93d9156 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T00:39:14.355Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-23T00:39:15.892Z] Stashed 1 file(s) [Pipeline] echo [2021-02-23T00:39:15.895Z] [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-23T00:39:31.443Z] Still waiting to schedule task [2021-02-23T00:39:31.443Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-23T00:39:31.445Z] Still waiting to schedule task [2021-02-23T00:39:31.445Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-23T00:42:10.579Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27239 in /w/workspace/dry_go-mod-core-contracts_PR-513 [Pipeline] { [Pipeline] ws [2021-02-23T00:42:10.641Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2021-02-23T00:42:16.161Z] using credential edgex-jenkins-ssh [2021-02-23T00:42:16.224Z] Cloning the remote Git repository [2021-02-23T00:42:16.286Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-23T00:42:16.399Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2021-02-23T00:42:16.489Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-23T00:42:16.490Z] > git --version # timeout=10 [2021-02-23T00:42:16.513Z] > git --version # 'git version 2.17.1' [2021-02-23T00:42:16.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T00:42:16.584Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T00:42:17.722Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-23T00:42:17.741Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T00:42:17.767Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-23T00:42:17.810Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-23T00:42:17.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T00:42:17.826Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T00:42:18.541Z] Merging remotes/origin/master commit 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc into PR head commit a9df0e28749361443b9b79d93fbdcd3a2ac02bce [2021-02-23T00:42:19.127Z] Merge succeeded, producing c4fa552c27c09c3808166f7554b41a2276547c10 [2021-02-23T00:42:19.128Z] Checking out Revision c4fa552c27c09c3808166f7554b41a2276547c10 (PR-513) [2021-02-23T00:42:18.569Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T00:42:18.594Z] > git checkout -f a9df0e28749361443b9b79d93fbdcd3a2ac02bce # timeout=10 [2021-02-23T00:42:18.786Z] > git remote # timeout=10 [2021-02-23T00:42:18.858Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T00:42:18.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T00:42:18.952Z] > git merge 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc # timeout=10 [2021-02-23T00:42:19.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T00:42:19.141Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T00:42:19.154Z] > git checkout -f c4fa552c27c09c3808166f7554b41a2276547c10 # timeout=10 [2021-02-23T00:42:23.599Z] Commit message: "Merge commit '6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc' into HEAD" [2021-02-23T00:42:23.614Z] > git rev-list --no-walk a9df0e28749361443b9b79d93fbdcd3a2ac02bce # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T00:42:25.316Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-23T00:42:25.752Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T00:42:26.095Z] + sudo service docker restart [2021-02-23T00:42:26.095Z] + true [Pipeline] unstash [Pipeline] echo [2021-02-23T00:42:28.345Z] ========================================================= [2021-02-23T00:42:28.345Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-23T00:42:28.345Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:42:28.746Z] + 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-23T00:42:29.742Z] Sending build context to Docker daemon 2.691MB [2021-02-23T00:42:30.015Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-23T00:42:30.015Z] Step 2/7 : FROM ${BASE} [2021-02-23T00:42:30.289Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-23T00:42:30.289Z] 5f621e34cdf4: Pulling fs layer [2021-02-23T00:42:30.289Z] a4357932f1b6: Pulling fs layer [2021-02-23T00:42:30.289Z] 18c013af1878: Pulling fs layer [2021-02-23T00:42:30.289Z] 00ac8860ef70: Pulling fs layer [2021-02-23T00:42:30.289Z] 63d7cb157983: Pulling fs layer [2021-02-23T00:42:30.289Z] b116817d02f9: Pulling fs layer [2021-02-23T00:42:30.289Z] 745a02a5169b: Pulling fs layer [2021-02-23T00:42:30.289Z] 00ac8860ef70: Waiting [2021-02-23T00:42:30.289Z] 63d7cb157983: Waiting [2021-02-23T00:42:30.289Z] b116817d02f9: Waiting [2021-02-23T00:42:30.289Z] 745a02a5169b: Waiting [2021-02-23T00:42:30.289Z] 18c013af1878: Verifying Checksum [2021-02-23T00:42:30.289Z] 18c013af1878: Download complete [2021-02-23T00:42:30.289Z] a4357932f1b6: Verifying Checksum [2021-02-23T00:42:30.289Z] a4357932f1b6: Download complete [2021-02-23T00:42:30.289Z] 63d7cb157983: Verifying Checksum [2021-02-23T00:42:30.289Z] 63d7cb157983: Download complete [2021-02-23T00:42:30.289Z] b116817d02f9: Verifying Checksum [2021-02-23T00:42:30.289Z] b116817d02f9: Download complete [2021-02-23T00:42:30.289Z] 5f621e34cdf4: Verifying Checksum [2021-02-23T00:42:30.289Z] 5f621e34cdf4: Download complete [2021-02-23T00:42:31.282Z] 5f621e34cdf4: Pull complete [2021-02-23T00:42:31.558Z] a4357932f1b6: Pull complete [2021-02-23T00:42:31.836Z] 18c013af1878: Pull complete [2021-02-23T00:42:32.436Z] 745a02a5169b: Verifying Checksum [2021-02-23T00:42:32.436Z] 745a02a5169b: Download complete [2021-02-23T00:42:34.408Z] 00ac8860ef70: Verifying Checksum [2021-02-23T00:42:34.408Z] 00ac8860ef70: Download complete [2021-02-23T00:42:43.741Z] 00ac8860ef70: Pull complete [2021-02-23T00:42:44.016Z] 63d7cb157983: Pull complete [2021-02-23T00:42:44.290Z] b116817d02f9: Pull complete [2021-02-23T00:42:48.641Z] 745a02a5169b: Pull complete [2021-02-23T00:42:48.641Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-23T00:42:48.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-23T00:42:48.641Z] ---> b7e6874047d6 [2021-02-23T00:42:48.641Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-23T00:42:52.071Z] ---> Running in 3bbe31c379f5 [2021-02-23T00:42:52.071Z] Removing intermediate container 3bbe31c379f5 [2021-02-23T00:42:52.071Z] ---> 5ba30ca36042 [2021-02-23T00:42:52.071Z] Step 4/7 : RUN apk add bash [2021-02-23T00:42:52.071Z] ---> Running in 406885ff53d3 [2021-02-23T00:42:53.537Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T00:42:55.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T00:42:57.482Z] OK: 142 MiB in 39 packages [2021-02-23T00:42:58.465Z] Removing intermediate container 406885ff53d3 [2021-02-23T00:42:58.465Z] ---> 88f1dbd2bd27 [2021-02-23T00:42:58.465Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-23T00:42:58.739Z] ---> Running in 1667a923eb91 [2021-02-23T00:42:59.336Z] Removing intermediate container 1667a923eb91 [2021-02-23T00:42:59.337Z] ---> f019f5124be9 [2021-02-23T00:42:59.337Z] Step 6/7 : COPY go.mod . [2021-02-23T00:42:59.937Z] ---> 01533c9d9364 [2021-02-23T00:42:59.937Z] Step 7/7 : RUN go mod download [2021-02-23T00:43:00.211Z] ---> Running in e6602105ae3b [2021-02-23T00:43:15.311Z] Removing intermediate container e6602105ae3b [2021-02-23T00:43:15.311Z] ---> 9eeb07ecd665 [2021-02-23T00:43:15.311Z] Successfully built 9eeb07ecd665 [2021-02-23T00:43:15.311Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:43:15.651Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T00:43:15.651Z] . [Pipeline] withDockerContainer [2021-02-23T00:43:15.890Z] prd-ubuntu18.04-docker-arm64-4c-16g-27239 does not seem to be running inside a container [2021-02-23T00:43:15.984Z] $ 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-02-23T00:43:17.596Z] $ docker top c8a26b0b88633d628850529fbf4a6cf6d0f3ff4955541bcd7ea94a43f361babf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T00:43:18.605Z] + go version [2021-02-23T00:43:18.605Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-23T00:43:18.637Z] $ docker stop --time=1 c8a26b0b88633d628850529fbf4a6cf6d0f3ff4955541bcd7ea94a43f361babf [2021-02-23T00:43:20.616Z] $ docker rm -f c8a26b0b88633d628850529fbf4a6cf6d0f3ff4955541bcd7ea94a43f361babf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:43:21.652Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T00:43:21.653Z] . [Pipeline] withDockerContainer [2021-02-23T00:43:21.915Z] prd-ubuntu18.04-docker-arm64-4c-16g-27239 does not seem to be running inside a container [2021-02-23T00:43:22.013Z] $ 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-02-23T00:43:23.624Z] $ docker top 435789e8efd881e2dcbcbc7c89cb2381fe0f56898faddde2c511fc48e71dddc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T00:43:24.665Z] + make test [2021-02-23T00:43:24.665Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-23T00:43:51.521Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-23T00:43:51.521Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.051s coverage: 85.7% of statements [2021-02-23T00:43:51.521Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.033s coverage: 100.0% of statements [2021-02-23T00:43:52.123Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.056s coverage: 45.4% of statements [2021-02-23T00:43:52.123Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.041s coverage: 77.8% of statements [2021-02-23T00:43:52.123Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-23T00:43:53.567Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.028s coverage: 26.3% of statements [2021-02-23T00:43:54.559Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.075s coverage: 14.7% of statements [2021-02-23T00:43:54.559Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.052s coverage: 100.0% of statements [2021-02-23T00:43:56.009Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.081s coverage: 91.8% of statements [2021-02-23T00:43:56.009Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-23T00:43:56.009Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-23T00:43:56.009Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.022s coverage: 100.0% of statements [2021-02-23T00:43:56.010Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.018s coverage: 36.7% of statements [2021-02-23T00:44:01.439Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.095s coverage: 63.0% of statements [2021-02-23T00:44:01.440Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.034s coverage: 26.3% of statements [2021-02-23T00:44:01.440Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.045s coverage: 15.4% of statements [2021-02-23T00:44:01.440Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.019s coverage: 15.4% of statements [2021-02-23T00:44:01.440Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.036s coverage: 14.3% of statements [2021-02-23T00:44:01.440Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-23T00:44:05.823Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.229s coverage: 84.6% of statements [2021-02-23T00:44:05.824Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-23T00:44:05.824Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-23T00:44:05.824Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-23T00:44:05.824Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.062s coverage: 48.1% of statements [2021-02-23T00:44:05.824Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.047s coverage: 94.7% of statements [2021-02-23T00:44:07.819Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.166s coverage: 89.2% of statements [2021-02-23T00:44:07.819Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.034s coverage: 100.0% of statements [2021-02-23T00:44:07.819Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-23T00:44:08.090Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-23T00:44:13.505Z] gofmt -l . [2021-02-23T00:44:14.483Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-23T00:44:15.118Z] $ docker stop --time=1 435789e8efd881e2dcbcbc7c89cb2381fe0f56898faddde2c511fc48e71dddc6 [2021-02-23T00:44:17.438Z] $ docker rm -f 435789e8efd881e2dcbcbc7c89cb2381fe0f56898faddde2c511fc48e71dddc6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T00:44:18.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T00:44:19.509Z] 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] } [2021-02-23T00:44:54.305Z] Running on prd-centos7-docker-4c-2g-27241 in /w/workspace/dry_go-mod-core-contracts_PR-513 [Pipeline] { [Pipeline] ws [2021-02-23T00:44:54.362Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2021-02-23T00:45:08.500Z] using credential edgex-jenkins-ssh [2021-02-23T00:45:08.574Z] Cloning the remote Git repository [2021-02-23T00:45:08.667Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-23T00:45:08.835Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2021-02-23T00:45:09.099Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-23T00:45:09.100Z] > git --version # timeout=10 [2021-02-23T00:45:09.201Z] > git --version # 'git version 2.24.3' [2021-02-23T00:45:09.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T00:45:09.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T00:45:10.712Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-23T00:45:10.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T00:45:10.810Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-23T00:45:10.907Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-23T00:45:10.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T00:45:10.921Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T00:45:11.579Z] Merging remotes/origin/master commit 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc into PR head commit a9df0e28749361443b9b79d93fbdcd3a2ac02bce [2021-02-23T00:45:12.444Z] Merge succeeded, producing d22b9f6e577f8c8f3c1b709dc186a8735c3978a9 [2021-02-23T00:45:12.445Z] Checking out Revision d22b9f6e577f8c8f3c1b709dc186a8735c3978a9 (PR-513) [2021-02-23T00:45:11.601Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T00:45:11.716Z] > git checkout -f a9df0e28749361443b9b79d93fbdcd3a2ac02bce # timeout=10 [2021-02-23T00:45:12.004Z] > git remote # timeout=10 [2021-02-23T00:45:12.077Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T00:45:12.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T00:45:12.170Z] > git merge 6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc # timeout=10 [2021-02-23T00:45:12.374Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T00:45:12.452Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T00:45:12.508Z] > git checkout -f d22b9f6e577f8c8f3c1b709dc186a8735c3978a9 # timeout=10 [2021-02-23T00:45:20.071Z] Commit message: "Merge commit '6c59b8f5f4c813ac5c5c5be1480b136eac3a9dfc' into HEAD" [2021-02-23T00:45:20.080Z] > git rev-list --no-walk a9df0e28749361443b9b79d93fbdcd3a2ac02bce # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T00:45:22.658Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-23T00:45:23.191Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T00:45:23.656Z] + sudo service docker restart [2021-02-23T00:45:23.656Z] + true [2021-02-23T00:45:23.656Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-23T00:45:27.308Z] ========================================================= [2021-02-23T00:45:27.308Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-23T00:45:27.308Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:45:27.868Z] + 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-23T00:45:30.567Z] Sending build context to Docker daemon 2.692MB [2021-02-23T00:45:30.567Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-23T00:45:30.567Z] Step 2/7 : FROM ${BASE} [2021-02-23T00:45:30.882Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-23T00:45:30.882Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T00:45:30.882Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T00:45:30.882Z] de9db76c5a1d: Pulling fs layer [2021-02-23T00:45:30.882Z] bca2f99d35d6: Pulling fs layer [2021-02-23T00:45:30.882Z] 93359f2a8cfa: Pulling fs layer [2021-02-23T00:45:30.882Z] 7c6f9722023f: Pulling fs layer [2021-02-23T00:45:30.882Z] a35cf1a2eb13: Pulling fs layer [2021-02-23T00:45:30.882Z] 93359f2a8cfa: Waiting [2021-02-23T00:45:30.882Z] 7c6f9722023f: Waiting [2021-02-23T00:45:30.882Z] a35cf1a2eb13: Waiting [2021-02-23T00:45:30.882Z] bca2f99d35d6: Waiting [2021-02-23T00:45:30.882Z] de9db76c5a1d: Verifying Checksum [2021-02-23T00:45:30.882Z] de9db76c5a1d: Download complete [2021-02-23T00:45:30.882Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T00:45:30.882Z] 0ef7d3d256c8: Download complete [2021-02-23T00:45:30.882Z] 93359f2a8cfa: Verifying Checksum [2021-02-23T00:45:30.882Z] 93359f2a8cfa: Download complete [2021-02-23T00:45:31.484Z] 7c6f9722023f: Verifying Checksum [2021-02-23T00:45:31.484Z] 7c6f9722023f: Download complete [2021-02-23T00:45:31.944Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T00:45:31.944Z] 188c0c94c7c5: Download complete [2021-02-23T00:45:33.928Z] 188c0c94c7c5: Pull complete [2021-02-23T00:45:34.693Z] 0ef7d3d256c8: Pull complete [2021-02-23T00:45:35.021Z] de9db76c5a1d: Pull complete [2021-02-23T00:45:42.228Z] a35cf1a2eb13: Verifying Checksum [2021-02-23T00:45:42.228Z] a35cf1a2eb13: Download complete [2021-02-23T00:45:42.228Z] bca2f99d35d6: Verifying Checksum [2021-02-23T00:45:42.228Z] bca2f99d35d6: Download complete [2021-02-23T00:45:53.564Z] bca2f99d35d6: Pull complete [2021-02-23T00:45:53.564Z] 93359f2a8cfa: Pull complete [2021-02-23T00:45:53.564Z] 7c6f9722023f: Pull complete [2021-02-23T00:46:08.074Z] a35cf1a2eb13: Pull complete [2021-02-23T00:46:08.074Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-23T00:46:08.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-23T00:46:08.074Z] ---> a62c8e92a672 [2021-02-23T00:46:08.074Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-23T00:46:08.074Z] ---> Running in fbf498c698dc [2021-02-23T00:46:08.074Z] Removing intermediate container fbf498c698dc [2021-02-23T00:46:08.074Z] ---> 573212231354 [2021-02-23T00:46:08.074Z] Step 4/7 : RUN apk add bash [2021-02-23T00:46:08.074Z] ---> Running in 69f483eda39d [2021-02-23T00:46:09.989Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T00:46:12.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T00:46:15.611Z] OK: 166 MiB in 39 packages [2021-02-23T00:46:16.296Z] Removing intermediate container 69f483eda39d [2021-02-23T00:46:16.296Z] ---> bf19580f69f9 [2021-02-23T00:46:16.296Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-23T00:46:16.296Z] ---> Running in 6efd81946982 [2021-02-23T00:46:17.006Z] Removing intermediate container 6efd81946982 [2021-02-23T00:46:17.006Z] ---> 06d3572f23fc [2021-02-23T00:46:17.006Z] Step 6/7 : COPY go.mod . [2021-02-23T00:46:17.848Z] ---> 60d828e490f4 [2021-02-23T00:46:17.848Z] Step 7/7 : RUN go mod download [2021-02-23T00:46:17.848Z] ---> Running in ea9c9f81096e [2021-02-23T00:46:41.195Z] Removing intermediate container ea9c9f81096e [2021-02-23T00:46:41.195Z] ---> 830cdedee9d8 [2021-02-23T00:46:41.195Z] Successfully built 830cdedee9d8 [2021-02-23T00:46:41.195Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:46:42.128Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T00:46:42.760Z] . [Pipeline] withDockerContainer [2021-02-23T00:46:43.327Z] prd-centos7-docker-4c-2g-27241 does not seem to be running inside a container [2021-02-23T00:46:43.490Z] $ 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-x86_64 cat [2021-02-23T00:46:45.374Z] $ docker top af151f0de06d7a38019e66cb2892a51af7c6bed56326d4d9d389bfc6ef6c277e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T00:46:48.835Z] + go version [2021-02-23T00:46:48.836Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-23T00:46:48.869Z] $ docker stop --time=1 af151f0de06d7a38019e66cb2892a51af7c6bed56326d4d9d389bfc6ef6c277e [2021-02-23T00:46:50.958Z] $ docker rm -f af151f0de06d7a38019e66cb2892a51af7c6bed56326d4d9d389bfc6ef6c277e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:46:52.178Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T00:46:52.178Z] . [Pipeline] withDockerContainer [2021-02-23T00:46:53.055Z] prd-centos7-docker-4c-2g-27241 does not seem to be running inside a container [2021-02-23T00:46:53.817Z] $ 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-x86_64 cat [2021-02-23T00:46:56.274Z] $ docker top dc7929acfa4639b203d389ef96d44682cf38edcd5bb5f1df6fee2943c0a06bd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T00:46:59.608Z] + make test [2021-02-23T00:46:59.608Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-23T00:47:15.671Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-23T00:47:16.069Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.047s coverage: 85.7% of statements [2021-02-23T00:47:16.069Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.054s coverage: 100.0% of statements [2021-02-23T00:47:16.887Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.051s coverage: 45.4% of statements [2021-02-23T00:47:17.593Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.014s coverage: 77.8% of statements [2021-02-23T00:47:17.593Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-23T00:47:18.028Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.022s coverage: 26.3% of statements [2021-02-23T00:47:18.851Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.040s coverage: 14.7% of statements [2021-02-23T00:47:18.851Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.030s coverage: 100.0% of statements [2021-02-23T00:47:18.851Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.080s coverage: 91.8% of statements [2021-02-23T00:47:18.851Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-23T00:47:18.851Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-23T00:47:18.851Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.014s coverage: 100.0% of statements [2021-02-23T00:47:19.392Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.034s coverage: 36.7% of statements [2021-02-23T00:47:23.212Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.061s coverage: 63.0% of statements [2021-02-23T00:47:23.212Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.183s coverage: 26.3% of statements [2021-02-23T00:47:23.212Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.009s coverage: 15.4% of statements [2021-02-23T00:47:23.212Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.008s coverage: 15.4% of statements [2021-02-23T00:47:23.212Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.011s coverage: 14.3% of statements [2021-02-23T00:47:23.212Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-23T00:47:24.309Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.216s coverage: 84.6% of statements [2021-02-23T00:47:24.309Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-23T00:47:24.309Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-23T00:47:24.634Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-23T00:47:26.625Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.029s coverage: 48.1% of statements [2021-02-23T00:47:26.625Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.043s coverage: 94.7% of statements [2021-02-23T00:47:27.603Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.143s coverage: 89.2% of statements [2021-02-23T00:47:27.603Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.037s coverage: 100.0% of statements [2021-02-23T00:47:27.603Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-23T00:47:27.932Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-23T00:47:31.722Z] gofmt -l . [2021-02-23T00:47:31.722Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-23T00:47:32.098Z] $ docker stop --time=1 dc7929acfa4639b203d389ef96d44682cf38edcd5bb5f1df6fee2943c0a06bd7 [2021-02-23T00:47:36.291Z] $ docker rm -f dc7929acfa4639b203d389ef96d44682cf38edcd5bb5f1df6fee2943c0a06bd7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T00:47:37.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T00:47:38.462Z] Warning: overwriting stash ‘coverage-report’ [2021-02-23T00:47:41.390Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-23T00:47:43.447Z] provisioning config files... [2021-02-23T00:47:43.826Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-513@tmp/config5861685114423193567tmp [Pipeline] { [Pipeline] sh [2021-02-23T00:47:44.320Z] + set +x [2021-02-23T00:47:44.320Z] + curl -s https://codecov.io/bash [2021-02-23T00:47:44.320Z] + bash -s -- [2021-02-23T00:47:44.760Z] [2021-02-23T00:47:44.760Z] _____ _ [2021-02-23T00:47:44.760Z] / ____| | | [2021-02-23T00:47:44.760Z] | | ___ __| | ___ ___ _____ __ [2021-02-23T00:47:44.760Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-23T00:47:44.760Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-23T00:47:44.760Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-23T00:47:44.760Z] Bash-20210129-7c25fce [2021-02-23T00:47:44.760Z] [2021-02-23T00:47:44.760Z] [2021-02-23T00:47:44.760Z] ==> git version 2.24.3 found [2021-02-23T00:47:44.760Z] ==> 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-23T00:47:44.760Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-23T00:47:44.760Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-23T00:47:44.760Z] ==> Jenkins CI detected. [2021-02-23T00:47:44.760Z] project root: . [2021-02-23T00:47:44.760Z] --> token set from env [2021-02-23T00:47:45.136Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-23T00:47:45.136Z] ==> Running gcov in . (disable via -X gcov) [2021-02-23T00:47:45.136Z] ==> Python coveragepy not found [2021-02-23T00:47:45.136Z] ==> Searching for coverage reports in: [2021-02-23T00:47:45.136Z] + . [2021-02-23T00:47:45.136Z] -> Found 1 reports [2021-02-23T00:47:45.136Z] ==> Detecting git/mercurial file structure [2021-02-23T00:47:45.136Z] ==> Reading reports [2021-02-23T00:47:45.433Z] + ./coverage.out bytes=150761 [2021-02-23T00:47:45.433Z] ==> Appending adjustments [2021-02-23T00:47:45.433Z] https://docs.codecov.io/docs/fixing-reports [2021-02-23T00:47:48.566Z] + Found adjustments [2021-02-23T00:47:48.566Z] ==> Gzipping contents [2021-02-23T00:47:48.566Z] 24K /tmp/codecov.bOGqcX.gz [2021-02-23T00:47:48.566Z] ==> Uploading reports [2021-02-23T00:47:48.566Z] url: https://codecov.io [2021-02-23T00:47:48.566Z] query: branch=PR-513&commit=b2a3753884968612292fd804d3fd5a9b6c08b422&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-513%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=513&job=&cmd_args= [2021-02-23T00:47:48.566Z] -> Pinging Codecov [2021-02-23T00:47:48.566Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-513&commit=b2a3753884968612292fd804d3fd5a9b6c08b422&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-513%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=513&job=&cmd_args= [2021-02-23T00:47:49.298Z] -> Uploading to [2021-02-23T00:47:49.299Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-23/71470A77251A30514AAF9C0BB2E5B6CE/b2a3753884968612292fd804d3fd5a9b6c08b422/ba8baeec-3edc-4dad-8ffd-d258ef3394dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T004748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=caab13c7f64bde855bed301a707ad453af70d8df17bce4cac668dd11e942ffee [2021-02-23T00:47:49.299Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T00:47:49.299Z] Dload Upload Total Spent Left Speed [2021-02-23T00:47:49.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22858 0 0 100 22858 0 25481 --:--:-- --:--:-- --:--:-- 25482 [2021-02-23T00:47:49.921Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/b2a3753884968612292fd804d3fd5a9b6c08b422 [Pipeline] } [2021-02-23T00:47:49.952Z] 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-23T00:47:52.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T00:47:53.607Z] ---> package-listing.sh [2021-02-23T00:47:53.607Z] ++ facter osfamily [2021-02-23T00:47:53.607Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-23T00:47:53.925Z] + OS_FAMILY=redhat [2021-02-23T00:47:53.925Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-513 [2021-02-23T00:47:53.925Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-23T00:47:53.925Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-23T00:47:53.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-23T00:47:53.925Z] + PACKAGES=/tmp/packages_start.txt [2021-02-23T00:47:53.925Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-513 ']' [2021-02-23T00:47:53.925Z] + PACKAGES=/tmp/packages_end.txt [2021-02-23T00:47:53.925Z] + case "${OS_FAMILY}" in [2021-02-23T00:47:53.925Z] + rpm -qa [2021-02-23T00:47:53.925Z] + sort [2021-02-23T00:48:07.379Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-23T00:48:07.379Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-23T00:48:07.379Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-23T00:48:07.379Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-513 ']' [2021-02-23T00:48:07.379Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-513/archives/ [2021-02-23T00:48:07.379Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-513/archives/ [Pipeline] echo [2021-02-23T00:48:07.422Z] 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-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-23T00:48:07.972Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:48:08.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T00:48:08.743Z] [2021-02-23T00:48:08.743Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-23T00:48:09.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T00:48:09.656Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-23T00:48:09.656Z] df20fa9351a1: Pulling fs layer [2021-02-23T00:48:09.656Z] 36b3adc4ff6f: Pulling fs layer [2021-02-23T00:48:09.656Z] 8ad3a11d3b57: Pulling fs layer [2021-02-23T00:48:09.656Z] 46f8f816bc3b: Pulling fs layer [2021-02-23T00:48:09.656Z] 93b61091891f: Pulling fs layer [2021-02-23T00:48:09.656Z] 93b9cdb0e59b: Pulling fs layer [2021-02-23T00:48:09.656Z] 5e14af77c1be: Pulling fs layer [2021-02-23T00:48:09.656Z] 01666e4c0597: Pulling fs layer [2021-02-23T00:48:09.656Z] aa168da1d23b: Pulling fs layer [2021-02-23T00:48:09.656Z] 93b61091891f: Waiting [2021-02-23T00:48:09.656Z] 93b9cdb0e59b: Waiting [2021-02-23T00:48:09.656Z] 5e14af77c1be: Waiting [2021-02-23T00:48:09.656Z] 01666e4c0597: Waiting [2021-02-23T00:48:09.656Z] aa168da1d23b: Waiting [2021-02-23T00:48:09.656Z] 46f8f816bc3b: Waiting [2021-02-23T00:48:09.656Z] 36b3adc4ff6f: Verifying Checksum [2021-02-23T00:48:09.656Z] 36b3adc4ff6f: Download complete [2021-02-23T00:48:09.656Z] 46f8f816bc3b: Verifying Checksum [2021-02-23T00:48:09.656Z] 46f8f816bc3b: Download complete [2021-02-23T00:48:10.244Z] 93b61091891f: Verifying Checksum [2021-02-23T00:48:10.244Z] 93b61091891f: Download complete [2021-02-23T00:48:10.244Z] df20fa9351a1: Verifying Checksum [2021-02-23T00:48:10.244Z] df20fa9351a1: Download complete [2021-02-23T00:48:10.630Z] 93b9cdb0e59b: Verifying Checksum [2021-02-23T00:48:10.631Z] 93b9cdb0e59b: Download complete [2021-02-23T00:48:10.631Z] 5e14af77c1be: Verifying Checksum [2021-02-23T00:48:10.631Z] 5e14af77c1be: Download complete [2021-02-23T00:48:10.631Z] 01666e4c0597: Verifying Checksum [2021-02-23T00:48:10.631Z] 01666e4c0597: Download complete [2021-02-23T00:48:11.276Z] df20fa9351a1: Pull complete [2021-02-23T00:48:11.590Z] 36b3adc4ff6f: Pull complete [2021-02-23T00:48:11.865Z] 8ad3a11d3b57: Verifying Checksum [2021-02-23T00:48:11.865Z] 8ad3a11d3b57: Download complete [2021-02-23T00:48:14.049Z] 8ad3a11d3b57: Pull complete [2021-02-23T00:48:14.049Z] 46f8f816bc3b: Pull complete [2021-02-23T00:48:15.230Z] 93b61091891f: Pull complete [2021-02-23T00:48:15.230Z] 93b9cdb0e59b: Pull complete [2021-02-23T00:48:15.580Z] 5e14af77c1be: Pull complete [2021-02-23T00:48:15.917Z] 01666e4c0597: Pull complete [2021-02-23T00:48:23.189Z] aa168da1d23b: Verifying Checksum [2021-02-23T00:48:23.189Z] aa168da1d23b: Download complete [2021-02-23T00:48:39.327Z] aa168da1d23b: Pull complete [2021-02-23T00:48:39.327Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-23T00:48:39.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T00:48:39.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-23T00:48:41.467Z] prd-centos7-docker-4c-2g-27234 does not seem to be running inside a container [2021-02-23T00:48:41.629Z] $ 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-513/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-513 -v /w/workspace/dry_go-mod-core-contracts_PR-513:/w/workspace/dry_go-mod-core-contracts_PR-513:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-513@tmp:/w/workspace/dry_go-mod-core-contracts_PR-513@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-23T00:48:45.313Z] $ docker top 34c5aa57dd971ee394b5956a656ab45c2f8f5a4deca86dd9a8f44f9ea8d441cc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T00:48:46.419Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-23T00:48:47.203Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-23T00:48:47.655Z] + ls /var/log/sa-host [2021-02-23T00:48:47.655Z] + sadf -c /var/log/sa-host/sa23 [2021-02-23T00:48:47.655Z] file_magic: OK [2021-02-23T00:48:47.655Z] HZ: Using current value: 100 [2021-02-23T00:48:47.655Z] file_header: OK [2021-02-23T00:48:47.655Z] 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-23T00:48:47.655Z] Statistics: [2021-02-23T00:48:47.655Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-23T00:48:47.655Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T00:48:47.902Z] provisioning config files... [2021-02-23T00:48:47.932Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-513@tmp/config8021621831894600475tmp [Pipeline] { [Pipeline] echo [2021-02-23T00:48:48.070Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T00:48:49.645Z] ---> create-netrc.sh [Pipeline] } [2021-02-23T00:48:49.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-23T00:48:49.753Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T00:48:50.507Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-23T00:48:50.540Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T00:48:51.058Z] ---> sudo-logs.sh [2021-02-23T00:48:51.058Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-23T00:48:51.193Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T00:48:51.545Z] ---> job-cost.sh [2021-02-23T00:48:51.818Z] lf-activate-venv: SKIPPING [2021-02-23T00:48:51.818Z] INFO: No Stack... [2021-02-23T00:48:52.863Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T00:48:53.138Z] INFO: Archiving Costs [Pipeline] echo [2021-02-23T00:48:53.159Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T00:48:53.859Z] ---> logs-deploy.sh [2021-02-23T00:48:53.859Z] lf-activate-venv: SKIPPING [2021-02-23T00:48:53.859Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-513/4 [2021-02-23T00:48:53.859Z] INFO: archiving workspace using pattern(s): [2021-02-23T00:48:56.982Z] Archives upload complete. [2021-02-23T00:48:58.268Z] INFO: archiving logs to Nexus [2021-02-23T00:48:59.759Z] ---> uname -a: [2021-02-23T00:48:59.759Z] Linux prd-centos7-docker-4c-2g-27234.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-23T00:48:59.759Z] [2021-02-23T00:48:59.759Z]