Pull request #405 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 2c16e10e85a372cb7d93da91f7726e341f1303a7 rather than ae795ac2e32e39dc115836c0db1ba664bb0aa215 Obtained Jenkinsfile from 2c16e10e85a372cb7d93da91f7726e341f1303a7 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-17606 in /w/workspace/dry_go-mod-core-contracts_PR-405 [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-405 # 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/405/head:refs/remotes/origin/PR-405 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2c16e10e85a372cb7d93da91f7726e341f1303a7 into PR head commit ae795ac2e32e39dc115836c0db1ba664bb0aa215 Merge succeeded, producing ae795ac2e32e39dc115836c0db1ba664bb0aa215 Checking out Revision ae795ac2e32e39dc115836c0db1ba664bb0aa215 (PR-405) > git config core.sparsecheckout # timeout=10 > git checkout -f ae795ac2e32e39dc115836c0db1ba664bb0aa215 # 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 2c16e10e85a372cb7d93da91f7726e341f1303a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae795ac2e32e39dc115836c0db1ba664bb0aa215 # timeout=10 Commit message: "feat: Refactor createRequest method" > git rev-list --no-walk fafe343e2956323d4152197172055befad930f88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-29T16:32:43.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-29T16:32:44.161Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-29T16:32:44.264Z] ========================================================= [2020-12-29T16:32:44.264Z] EdgeX Global Pipelines Version Info [2020-12-29T16:32:44.264Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-29T16:32:45.729Z] ------------------- [2020-12-29T16:32:45.729Z] stable info: [2020-12-29T16:32:45.729Z] ------------------- [2020-12-29T16:32:45.729Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-29T16:32:45.729Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T16:32:45.729Z] Message: update stable to v1.0.173 [2020-12-29T16:32:46.674Z] ------------------- [2020-12-29T16:32:46.674Z] experimental info: [2020-12-29T16:32:46.674Z] ------------------- [2020-12-29T16:32:46.674Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-29T16:32:46.674Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T16:32:46.674Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-29T16:32:46.951Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-29T16:32:47.061Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-29T16:32:47.152Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-29T16:32:47.246Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-29T16:32:47.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-29T16:32:47.445Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-29T16:32:47.536Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-29T16:32:47.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-29T16:32:47.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-29T16:32:47.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-29T16:32:47.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-29T16:32:48.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-29T16:32:48.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-29T16:32:48.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-29T16:32:48.367Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T16:32:48.457Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T16:32:48.602Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T16:32:48.695Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T16:32:48.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-29T16:32:48.903Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-29T16:32:48.990Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-29T16:32:49.120Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-29T16:32:49.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-29T16:32:49.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-29T16:32:49.451Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-29T16:32:49.564Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-29T16:32:49.652Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-29T16:32:49.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo [2020-12-29T16:32:49.884Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo [2020-12-29T16:32:49.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo [2020-12-29T16:32:50.113Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae795ac2e32e39dc115836c0db1ba664bb0aa215 [Pipeline] echo [2020-12-29T16:32:50.291Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae795ac [Pipeline] echo [2020-12-29T16:32:50.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T16:32:51.138Z] + git log --format=format:%s -1 ae795ac2e32e39dc115836c0db1ba664bb0aa215 [Pipeline] echo [2020-12-29T16:32:51.238Z] GIT_COMMIT: ae795ac2e32e39dc115836c0db1ba664bb0aa215, Commit Message: feat: Refactor createRequest method [Pipeline] echo [2020-12-29T16:32:51.286Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:32:51.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T16:32:52.148Z] [2020-12-29T16:32:52.148Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:32:52.494Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T16:32:52.494Z] latest: Pulling from edgex-devops/git-semver [2020-12-29T16:32:52.494Z] 31603596830f: Pulling fs layer [2020-12-29T16:32:52.494Z] 2a8b12db71e7: Pulling fs layer [2020-12-29T16:32:52.494Z] 6ca5941a6612: Pulling fs layer [2020-12-29T16:32:52.494Z] ecc8261a40a4: Pulling fs layer [2020-12-29T16:32:52.494Z] ecc8261a40a4: Waiting [2020-12-29T16:32:52.495Z] 2a8b12db71e7: Download complete [2020-12-29T16:32:52.756Z] 31603596830f: Verifying Checksum [2020-12-29T16:32:52.756Z] 31603596830f: Download complete [2020-12-29T16:32:52.756Z] ecc8261a40a4: Download complete [2020-12-29T16:32:52.756Z] 6ca5941a6612: Verifying Checksum [2020-12-29T16:32:52.756Z] 6ca5941a6612: Download complete [2020-12-29T16:32:53.019Z] 31603596830f: Pull complete [2020-12-29T16:32:53.282Z] 2a8b12db71e7: Pull complete [2020-12-29T16:32:53.863Z] 6ca5941a6612: Pull complete [2020-12-29T16:32:54.126Z] ecc8261a40a4: Pull complete [2020-12-29T16:32:54.126Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-29T16:32:54.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T16:32:54.387Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-29T16:32:54.520Z] prd-centos7-docker-4c-2g-17606 does not seem to be running inside a container [2020-12-29T16:32:54.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-405 -v /w/workspace/dry_go-mod-core-contracts_PR-405:/w/workspace/dry_go-mod-core-contracts_PR-405:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-405@tmp:/w/workspace/dry_go-mod-core-contracts_PR-405@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-29T16:32:56.867Z] $ docker top c142b31e89761b1b88b5bc100515f373c5655b573e969e4885d6cfc7f961f416 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-29T16:32:57.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T16:32:57.233Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T16:32:57.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T16:32:57.467Z] $ docker exec c142b31e89761b1b88b5bc100515f373c5655b573e969e4885d6cfc7f961f416 ssh-agent [2020-12-29T16:32:57.645Z] SSH_AUTH_SOCK=/tmp/ssh-ETZRgQMA4PzP/agent.12 [2020-12-29T16:32:57.645Z] SSH_AGENT_PID=18 [2020-12-29T16:32:57.658Z] Running ssh-add (command line suppressed) [2020-12-29T16:32:57.787Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_3701735531816563689.key (/w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_3701735531816563689.key) [2020-12-29T16:32:57.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T16:32:58.190Z] + git tag --points-at HEAD [Pipeline] } [2020-12-29T16:32:58.222Z] $ docker exec --env ******** --env ******** c142b31e89761b1b88b5bc100515f373c5655b573e969e4885d6cfc7f961f416 ssh-agent -k [2020-12-29T16:32:58.338Z] unset SSH_AUTH_SOCK; [2020-12-29T16:32:58.338Z] unset SSH_AGENT_PID; [2020-12-29T16:32:58.338Z] echo Agent pid 18 killed; [2020-12-29T16:32:58.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-29T16:32:58.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T16:32:58.532Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T16:32:58.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T16:32:58.709Z] $ docker exec c142b31e89761b1b88b5bc100515f373c5655b573e969e4885d6cfc7f961f416 ssh-agent [2020-12-29T16:32:58.870Z] SSH_AUTH_SOCK=/tmp/ssh-qwcwD3podkhd/agent.47 [2020-12-29T16:32:58.870Z] SSH_AGENT_PID=52 [2020-12-29T16:32:58.878Z] Running ssh-add (command line suppressed) [2020-12-29T16:32:58.993Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_5828128467610759323.key (/w/workspace/dry_go-mod-core-contracts_PR-405@tmp/private_key_5828128467610759323.key) [2020-12-29T16:32:59.043Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T16:32:59.380Z] + git semver init [2020-12-29T16:32:59.380Z] # -> Open(): unable to determine branch for HEAD [2020-12-29T16:32:59.380Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-405/.git [2020-12-29T16:32:59.380Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-405 [2020-12-29T16:32:59.380Z] # $SEMVER_REMOTE_NAME = origin [2020-12-29T16:32:59.380Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-29T16:32:59.380Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-29T16:32:59.380Z] # $SEMVER_BRANCH = PR-405 [2020-12-29T16:32:59.380Z] # $SEMVER_TEMP = /tmp/semver-420395350 [2020-12-29T16:32:59.380Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-29T16:33:00.330Z] # '/tmp/semver-420395350' -> '/w/workspace/dry_go-mod-core-contracts_PR-405/.semver' [2020-12-29T16:33:00.330Z] # -> Force: false [2020-12-29T16:33:00.330Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-405/.semver [Pipeline] } [2020-12-29T16:33:00.342Z] $ docker exec --env ******** --env ******** c142b31e89761b1b88b5bc100515f373c5655b573e969e4885d6cfc7f961f416 ssh-agent -k [2020-12-29T16:33:00.457Z] unset SSH_AUTH_SOCK; [2020-12-29T16:33:00.457Z] unset SSH_AGENT_PID; [2020-12-29T16:33:00.457Z] echo Agent pid 52 killed; [2020-12-29T16:33:00.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-29T16:33:01.047Z] + git semver [Pipeline] } [2020-12-29T16:33:01.068Z] $ docker stop --time=1 c142b31e89761b1b88b5bc100515f373c5655b573e969e4885d6cfc7f961f416 [2020-12-29T16:33:02.855Z] $ docker rm -f c142b31e89761b1b88b5bc100515f373c5655b573e969e4885d6cfc7f961f416 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T16:33:03.330Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-29T16:33:03.773Z] Stashed 1 file(s) [Pipeline] echo [2020-12-29T16:33:03.780Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-29T16:33:19.351Z] Still waiting to schedule task [2020-12-29T16:33:19.351Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-29T16:33:19.353Z] Still waiting to schedule task [2020-12-29T16:33:19.353Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-17604’ [2020-12-29T16:36:00.652Z] Running on prd-centos7-docker-4c-2g-17607 in /w/workspace/dry_go-mod-core-contracts_PR-405 [Pipeline] { [Pipeline] ws [2020-12-29T16:36:00.754Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-29T16:36:03.305Z] using credential edgex-jenkins-ssh [2020-12-29T16:36:03.362Z] Cloning the remote Git repository [2020-12-29T16:36:03.389Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T16:36:03.463Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-29T16:36:03.527Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T16:36:03.528Z] > git --version # timeout=10 [2020-12-29T16:36:03.536Z] > git --version # 'git version 2.24.3' [2020-12-29T16:36:03.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T16:36:03.568Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T16:36:04.313Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-29T16:36:04.319Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T16:36:04.331Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-29T16:36:04.345Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T16:36:04.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T16:36:04.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T16:36:04.840Z] Merging remotes/origin/master commit 2c16e10e85a372cb7d93da91f7726e341f1303a7 into PR head commit ae795ac2e32e39dc115836c0db1ba664bb0aa215 [2020-12-29T16:36:04.954Z] Merge succeeded, producing ae795ac2e32e39dc115836c0db1ba664bb0aa215 [2020-12-29T16:36:04.955Z] Checking out Revision ae795ac2e32e39dc115836c0db1ba664bb0aa215 (PR-405) [2020-12-29T16:36:04.851Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T16:36:04.856Z] > git checkout -f ae795ac2e32e39dc115836c0db1ba664bb0aa215 # timeout=10 [2020-12-29T16:36:04.922Z] > git remote # timeout=10 [2020-12-29T16:36:04.928Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T16:36:04.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T16:36:04.939Z] > git merge 2c16e10e85a372cb7d93da91f7726e341f1303a7 # timeout=10 [2020-12-29T16:36:04.948Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T16:36:04.959Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T16:36:04.963Z] > git checkout -f ae795ac2e32e39dc115836c0db1ba664bb0aa215 # timeout=10 [2020-12-29T16:36:08.602Z] Commit message: "feat: Refactor createRequest method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T16:36:10.091Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-29T16:36:10.455Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-29T16:36:10.754Z] + true [2020-12-29T16:36:10.754Z] + sudo service docker restart [2020-12-29T16:36:10.754Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-29T16:36:11.875Z] ========================================================= [2020-12-29T16:36:11.875Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-29T16:36:11.875Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:36:12.227Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-29T16:36:12.803Z] Sending build context to Docker daemon 2.103MB [2020-12-29T16:36:12.803Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-29T16:36:12.803Z] Step 2/7 : FROM ${BASE} [2020-12-29T16:36:12.803Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-29T16:36:12.804Z] 188c0c94c7c5: Pulling fs layer [2020-12-29T16:36:12.804Z] 0ef7d3d256c8: Pulling fs layer [2020-12-29T16:36:12.804Z] de9db76c5a1d: Pulling fs layer [2020-12-29T16:36:12.804Z] bca2f99d35d6: Pulling fs layer [2020-12-29T16:36:12.804Z] 93359f2a8cfa: Pulling fs layer [2020-12-29T16:36:12.804Z] 7c6f9722023f: Pulling fs layer [2020-12-29T16:36:12.804Z] a35cf1a2eb13: Pulling fs layer [2020-12-29T16:36:12.804Z] bca2f99d35d6: Waiting [2020-12-29T16:36:12.804Z] 93359f2a8cfa: Waiting [2020-12-29T16:36:12.804Z] 7c6f9722023f: Waiting [2020-12-29T16:36:12.804Z] a35cf1a2eb13: Waiting [2020-12-29T16:36:12.804Z] de9db76c5a1d: Verifying Checksum [2020-12-29T16:36:12.804Z] de9db76c5a1d: Download complete [2020-12-29T16:36:13.067Z] 0ef7d3d256c8: Verifying Checksum [2020-12-29T16:36:13.067Z] 0ef7d3d256c8: Download complete [2020-12-29T16:36:13.067Z] 93359f2a8cfa: Verifying Checksum [2020-12-29T16:36:13.067Z] 93359f2a8cfa: Download complete [2020-12-29T16:36:13.067Z] 7c6f9722023f: Verifying Checksum [2020-12-29T16:36:13.067Z] 7c6f9722023f: Download complete [2020-12-29T16:36:13.067Z] 188c0c94c7c5: Verifying Checksum [2020-12-29T16:36:13.067Z] 188c0c94c7c5: Download complete [2020-12-29T16:36:13.328Z] 188c0c94c7c5: Pull complete [2020-12-29T16:36:13.591Z] 0ef7d3d256c8: Pull complete [2020-12-29T16:36:13.591Z] de9db76c5a1d: Pull complete [2020-12-29T16:36:15.516Z] a35cf1a2eb13: Verifying Checksum [2020-12-29T16:36:15.516Z] a35cf1a2eb13: Download complete [2020-12-29T16:36:16.472Z] bca2f99d35d6: Verifying Checksum [2020-12-29T16:36:16.472Z] bca2f99d35d6: Download complete [2020-12-29T16:36:21.806Z] bca2f99d35d6: Pull complete [2020-12-29T16:36:21.806Z] 93359f2a8cfa: Pull complete [2020-12-29T16:36:21.806Z] 7c6f9722023f: Pull complete [2020-12-29T16:36:31.848Z] a35cf1a2eb13: Pull complete [2020-12-29T16:36:31.848Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-29T16:36:31.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-29T16:36:31.848Z] ---> a62c8e92a672 [2020-12-29T16:36:31.848Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-29T16:36:31.848Z] ---> Running in b549582e197d [2020-12-29T16:36:31.848Z] Removing intermediate container b549582e197d [2020-12-29T16:36:31.848Z] ---> 060652492cd1 [2020-12-29T16:36:31.848Z] Step 4/7 : RUN apk add bash [2020-12-29T16:36:31.848Z] ---> Running in c8733d6c6a8a [2020-12-29T16:36:32.110Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-29T16:36:33.059Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-29T16:36:33.639Z] OK: 166 MiB in 39 packages [2020-12-29T16:36:33.902Z] Removing intermediate container c8733d6c6a8a [2020-12-29T16:36:33.902Z] ---> e001c2efa72e [2020-12-29T16:36:33.902Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-29T16:36:34.164Z] ---> Running in 77369079b9f2 [2020-12-29T16:36:34.164Z] Removing intermediate container 77369079b9f2 [2020-12-29T16:36:34.164Z] ---> e6eec5b10e29 [2020-12-29T16:36:34.164Z] Step 6/7 : COPY go.mod . [2020-12-29T16:36:34.426Z] ---> 163732d168ec [2020-12-29T16:36:34.426Z] Step 7/7 : RUN go mod download [2020-12-29T16:36:34.697Z] ---> Running in 98dbe7328e87 [2020-12-29T16:36:46.960Z] Removing intermediate container 98dbe7328e87 [2020-12-29T16:36:46.960Z] ---> c0c8f4794472 [2020-12-29T16:36:46.960Z] Successfully built c0c8f4794472 [2020-12-29T16:36:46.960Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:36:47.281Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T16:36:47.281Z] . [Pipeline] withDockerContainer [2020-12-29T16:36:47.392Z] prd-centos7-docker-4c-2g-17607 does not seem to be running inside a container [2020-12-29T16:36:47.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 [2020-12-29T16:36:48.284Z] $ docker top 5c74281e712b82490e7258ad32acd4e47fc9b36321a3b155737f65763977b1f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T16:36:48.870Z] + go version [2020-12-29T16:36:48.870Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-29T16:36:48.885Z] $ docker stop --time=1 5c74281e712b82490e7258ad32acd4e47fc9b36321a3b155737f65763977b1f9 [2020-12-29T16:36:50.213Z] $ docker rm -f 5c74281e712b82490e7258ad32acd4e47fc9b36321a3b155737f65763977b1f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:36:51.328Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T16:36:51.328Z] . [Pipeline] withDockerContainer [2020-12-29T16:36:51.418Z] prd-centos7-docker-4c-2g-17607 does not seem to be running inside a container [2020-12-29T16:36:51.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 [2020-12-29T16:36:52.046Z] $ docker top 3ee333db5c9b604301df260aa9cab37aba60f50a581c12bb0012cb15c6c4edef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T16:36:52.526Z] + make test [2020-12-29T16:36:52.526Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-29T16:36:59.205Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-29T16:36:59.795Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.025s coverage: 85.7% of statements [2020-12-29T16:36:59.795Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.016s coverage: 100.0% of statements [2020-12-29T16:37:00.080Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.053s coverage: 45.4% of statements [2020-12-29T16:37:00.356Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.025s coverage: 77.8% of statements [2020-12-29T16:37:00.356Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-29T16:37:00.628Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.036s coverage: 18.6% of statements [2020-12-29T16:37:00.901Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.020s coverage: 14.7% of statements [2020-12-29T16:37:00.901Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.016s coverage: 100.0% of statements [2020-12-29T16:37:01.513Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.025s coverage: 91.8% of statements [2020-12-29T16:37:01.513Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-29T16:37:01.513Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-29T16:37:01.513Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.010s coverage: 100.0% of statements [2020-12-29T16:37:01.513Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.014s coverage: 47.8% of statements [2020-12-29T16:37:03.493Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.022s coverage: 63.0% of statements [2020-12-29T16:37:03.493Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.006s coverage: 26.3% of statements [2020-12-29T16:37:03.493Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.004s coverage: 15.4% of statements [2020-12-29T16:37:03.493Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.005s coverage: 15.4% of statements [2020-12-29T16:37:03.493Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.005s coverage: 14.3% of statements [2020-12-29T16:37:03.493Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-29T16:37:04.096Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.040s coverage: 84.8% of statements [2020-12-29T16:37:04.096Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-29T16:37:04.096Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-29T16:37:04.096Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.008s coverage: 44.6% of statements [2020-12-29T16:37:04.360Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.011s coverage: 100.0% of statements [2020-12-29T16:37:04.628Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.034s coverage: 93.6% of statements [2020-12-29T16:37:04.628Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements [2020-12-29T16:37:04.628Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-29T16:37:04.890Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-29T16:37:05.248Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17608 in /w/workspace/dry_go-mod-core-contracts_PR-405 [Pipeline] { [Pipeline] ws [2020-12-29T16:37:05.318Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-29T16:37:06.293Z] gofmt -l . [2020-12-29T16:37:06.554Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-29T16:37:06.833Z] $ docker stop --time=1 3ee333db5c9b604301df260aa9cab37aba60f50a581c12bb0012cb15c6c4edef [2020-12-29T16:37:09.185Z] $ docker rm -f 3ee333db5c9b604301df260aa9cab37aba60f50a581c12bb0012cb15c6c4edef [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T16:37:09.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-29T16:37:10.086Z] using credential edgex-jenkins-ssh [2020-12-29T16:37:10.119Z] Stashed 1 file(s) [Pipeline] } [2020-12-29T16:37:10.166Z] Cloning the remote Git repository [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-12-29T16:37:10.261Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T16:37:10.378Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-29T16:37:10.455Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T16:37:10.456Z] > git --version # timeout=10 [2020-12-29T16:37:10.475Z] > git --version # 'git version 2.17.1' [2020-12-29T16:37:10.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub 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] } [2020-12-29T16:37:10.558Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T16:37:11.669Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-29T16:37:11.695Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T16:37:11.727Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [Pipeline] // stage [Pipeline] } [2020-12-29T16:37:12.478Z] Merging remotes/origin/master commit 2c16e10e85a372cb7d93da91f7726e341f1303a7 into PR head commit ae795ac2e32e39dc115836c0db1ba664bb0aa215 [2020-12-29T16:37:12.805Z] Merge succeeded, producing ae795ac2e32e39dc115836c0db1ba664bb0aa215 [2020-12-29T16:37:12.805Z] Checking out Revision ae795ac2e32e39dc115836c0db1ba664bb0aa215 (PR-405) [2020-12-29T16:37:11.769Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T16:37:11.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T16:37:11.787Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T16:37:12.496Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T16:37:12.509Z] > git checkout -f ae795ac2e32e39dc115836c0db1ba664bb0aa215 # timeout=10 [2020-12-29T16:37:12.635Z] > git remote # timeout=10 [2020-12-29T16:37:12.654Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T16:37:12.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T16:37:12.689Z] > git merge 2c16e10e85a372cb7d93da91f7726e341f1303a7 # timeout=10 [2020-12-29T16:37:12.760Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T16:37:12.811Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T16:37:12.841Z] > git checkout -f ae795ac2e32e39dc115836c0db1ba664bb0aa215 # timeout=10 [2020-12-29T16:37:18.558Z] Commit message: "feat: Refactor createRequest method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T16:37:20.137Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-29T16:37:20.549Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-29T16:37:20.937Z] + sudo service docker restart [2020-12-29T16:37:20.937Z] + true [Pipeline] unstash [Pipeline] echo [2020-12-29T16:37:23.234Z] ========================================================= [2020-12-29T16:37:23.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-29T16:37:23.234Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:37:23.620Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-29T16:37:24.623Z] Sending build context to Docker daemon 2.102MB [2020-12-29T16:37:24.623Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-29T16:37:24.623Z] Step 2/7 : FROM ${BASE} [2020-12-29T16:37:24.899Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-29T16:37:24.899Z] 5f621e34cdf4: Pulling fs layer [2020-12-29T16:37:24.899Z] a4357932f1b6: Pulling fs layer [2020-12-29T16:37:24.899Z] 18c013af1878: Pulling fs layer [2020-12-29T16:37:24.899Z] 00ac8860ef70: Pulling fs layer [2020-12-29T16:37:24.899Z] 63d7cb157983: Pulling fs layer [2020-12-29T16:37:24.899Z] b116817d02f9: Pulling fs layer [2020-12-29T16:37:24.899Z] 745a02a5169b: Pulling fs layer [2020-12-29T16:37:24.899Z] 00ac8860ef70: Waiting [2020-12-29T16:37:24.899Z] 63d7cb157983: Waiting [2020-12-29T16:37:24.899Z] b116817d02f9: Waiting [2020-12-29T16:37:24.899Z] 745a02a5169b: Waiting [2020-12-29T16:37:24.899Z] 18c013af1878: Verifying Checksum [2020-12-29T16:37:24.899Z] 18c013af1878: Download complete [2020-12-29T16:37:24.899Z] a4357932f1b6: Verifying Checksum [2020-12-29T16:37:24.899Z] a4357932f1b6: Download complete [2020-12-29T16:37:25.171Z] 63d7cb157983: Download complete [2020-12-29T16:37:25.448Z] b116817d02f9: Verifying Checksum [2020-12-29T16:37:25.448Z] b116817d02f9: Download complete [2020-12-29T16:37:25.448Z] 5f621e34cdf4: Verifying Checksum [2020-12-29T16:37:25.448Z] 5f621e34cdf4: Download complete [2020-12-29T16:37:26.436Z] 5f621e34cdf4: Pull complete [2020-12-29T16:37:27.037Z] a4357932f1b6: Pull complete [2020-12-29T16:37:27.312Z] 18c013af1878: Pull complete [2020-12-29T16:37:27.597Z] 745a02a5169b: Verifying Checksum [2020-12-29T16:37:27.597Z] 745a02a5169b: Download complete [2020-12-29T16:37:29.040Z] 00ac8860ef70: Verifying Checksum [2020-12-29T16:37:29.040Z] 00ac8860ef70: Download complete [2020-12-29T16:37:39.224Z] 00ac8860ef70: Pull complete [2020-12-29T16:37:39.224Z] 63d7cb157983: Pull complete [2020-12-29T16:37:39.514Z] b116817d02f9: Pull complete [2020-12-29T16:37:42.946Z] 745a02a5169b: Pull complete [2020-12-29T16:37:42.946Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-29T16:37:42.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-29T16:37:42.946Z] ---> b7e6874047d6 [2020-12-29T16:37:42.946Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-29T16:37:46.356Z] ---> Running in b125f68a2b5c [2020-12-29T16:37:46.629Z] Removing intermediate container b125f68a2b5c [2020-12-29T16:37:46.629Z] ---> 426bf7f0590f [2020-12-29T16:37:46.629Z] Step 4/7 : RUN apk add bash [2020-12-29T16:37:46.901Z] ---> Running in 5c605494bc7d [2020-12-29T16:37:48.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-29T16:37:48.934Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-29T16:37:49.912Z] OK: 142 MiB in 39 packages [2020-12-29T16:37:51.345Z] Removing intermediate container 5c605494bc7d [2020-12-29T16:37:51.345Z] ---> 8eb2af61caff [2020-12-29T16:37:51.345Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-29T16:37:51.345Z] ---> Running in 3502e4961831 [2020-12-29T16:37:51.940Z] Removing intermediate container 3502e4961831 [2020-12-29T16:37:51.940Z] ---> 651317a270f3 [2020-12-29T16:37:51.940Z] Step 6/7 : COPY go.mod . [2020-12-29T16:37:52.536Z] ---> 4dc6d48578f4 [2020-12-29T16:37:52.808Z] Step 7/7 : RUN go mod download [2020-12-29T16:37:52.808Z] ---> Running in bdb84edd87ff [2020-12-29T16:38:07.924Z] Removing intermediate container bdb84edd87ff [2020-12-29T16:38:07.924Z] ---> 2743554baf1a [2020-12-29T16:38:07.924Z] Successfully built 2743554baf1a [2020-12-29T16:38:07.924Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:38:08.271Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T16:38:08.271Z] . [Pipeline] withDockerContainer [2020-12-29T16:38:08.560Z] prd-ubuntu18.04-docker-arm64-4c-16g-17608 does not seem to be running inside a container [2020-12-29T16:38:08.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 [2020-12-29T16:38:10.195Z] $ docker top d2eeb913df555ef31f34a521a34e00ade6ce1856d36b667587108e2f7de182ca -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T16:38:11.301Z] + go version [2020-12-29T16:38:11.301Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-29T16:38:11.322Z] $ docker stop --time=1 d2eeb913df555ef31f34a521a34e00ade6ce1856d36b667587108e2f7de182ca [2020-12-29T16:38:13.264Z] $ docker rm -f d2eeb913df555ef31f34a521a34e00ade6ce1856d36b667587108e2f7de182ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:38:14.340Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T16:38:14.340Z] . [Pipeline] withDockerContainer [2020-12-29T16:38:14.612Z] prd-ubuntu18.04-docker-arm64-4c-16g-17608 does not seem to be running inside a container [2020-12-29T16:38:14.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 [2020-12-29T16:38:16.379Z] $ docker top dd34ec07e8c5373c96785af6e0568677d1654e05069a0bde40860c9d16c3b893 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T16:38:17.438Z] + make test [2020-12-29T16:38:17.438Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-29T16:38:39.628Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-29T16:38:40.617Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.052s coverage: 85.7% of statements [2020-12-29T16:38:40.617Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.045s coverage: 100.0% of statements [2020-12-29T16:38:42.614Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.027s coverage: 45.4% of statements [2020-12-29T16:38:42.614Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.043s coverage: 77.8% of statements [2020-12-29T16:38:42.614Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-29T16:38:43.603Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.087s coverage: 18.6% of statements [2020-12-29T16:38:44.210Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.049s coverage: 14.7% of statements [2020-12-29T16:38:44.818Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.016s coverage: 100.0% of statements [2020-12-29T16:38:45.813Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.088s coverage: 91.8% of statements [2020-12-29T16:38:45.813Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-29T16:38:45.813Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-29T16:38:45.813Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.036s coverage: 100.0% of statements [2020-12-29T16:38:45.813Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.023s coverage: 47.8% of statements [2020-12-29T16:38:52.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.111s coverage: 63.0% of statements [2020-12-29T16:38:52.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.073s coverage: 26.3% of statements [2020-12-29T16:38:52.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.021s coverage: 15.4% of statements [2020-12-29T16:38:52.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.052s coverage: 15.4% of statements [2020-12-29T16:38:52.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.042s coverage: 14.3% of statements [2020-12-29T16:38:52.575Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-29T16:38:52.575Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.134s coverage: 84.8% of statements [2020-12-29T16:38:52.575Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-29T16:38:52.575Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-29T16:38:53.596Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.065s coverage: 44.6% of statements [2020-12-29T16:38:53.596Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.046s coverage: 100.0% of statements [2020-12-29T16:38:54.583Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.109s coverage: 93.6% of statements [2020-12-29T16:38:54.855Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.022s coverage: 100.0% of statements [2020-12-29T16:38:54.855Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-29T16:38:55.128Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-29T16:39:00.552Z] gofmt -l . [2020-12-29T16:39:00.552Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-29T16:39:01.167Z] $ docker stop --time=1 dd34ec07e8c5373c96785af6e0568677d1654e05069a0bde40860c9d16c3b893 [2020-12-29T16:39:03.498Z] $ docker rm -f dd34ec07e8c5373c96785af6e0568677d1654e05069a0bde40860c9d16c3b893 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T16:39:04.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-29T16:39:04.555Z] Warning: overwriting stash ‘coverage-report’ [2020-12-29T16:39:05.518Z] 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 [2020-12-29T16:39:07.710Z] provisioning config files... [2020-12-29T16:39:07.722Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-405@tmp/config8084481157307551884tmp [Pipeline] { [Pipeline] sh [2020-12-29T16:39:08.107Z] + set +x [2020-12-29T16:39:08.107Z] + curl -s https://codecov.io/bash [2020-12-29T16:39:08.107Z] + bash -s -- [2020-12-29T16:39:08.369Z] [2020-12-29T16:39:08.369Z] _____ _ [2020-12-29T16:39:08.369Z] / ____| | | [2020-12-29T16:39:08.369Z] | | ___ __| | ___ ___ _____ __ [2020-12-29T16:39:08.369Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-29T16:39:08.369Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-29T16:39:08.369Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-29T16:39:08.369Z] Bash-20201223-5ad85e3 [2020-12-29T16:39:08.369Z] [2020-12-29T16:39:08.369Z] [2020-12-29T16:39:08.369Z] ==> git version 2.24.3 found [2020-12-29T16:39:08.369Z] ==> 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 [2020-12-29T16:39:08.369Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-29T16:39:08.369Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2020-12-29T16:39:08.369Z] ==> Jenkins CI detected. [2020-12-29T16:39:08.369Z] project root: . [2020-12-29T16:39:08.369Z] --> token set from env [2020-12-29T16:39:08.369Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-29T16:39:08.369Z] ==> Running gcov in . (disable via -X gcov) [2020-12-29T16:39:08.369Z] ==> Python coveragepy not found [2020-12-29T16:39:08.369Z] ==> Searching for coverage reports in: [2020-12-29T16:39:08.369Z] + . [2020-12-29T16:39:08.369Z] -> Found 1 reports [2020-12-29T16:39:08.369Z] ==> Detecting git/mercurial file structure [2020-12-29T16:39:08.369Z] ==> Reading reports [2020-12-29T16:39:08.369Z] + ./coverage.out bytes=115990 [2020-12-29T16:39:08.369Z] ==> Appending adjustments [2020-12-29T16:39:08.369Z] https://docs.codecov.io/docs/fixing-reports [2020-12-29T16:39:09.319Z] + Found adjustments [2020-12-29T16:39:09.319Z] ==> Gzipping contents [2020-12-29T16:39:09.319Z] 20K /tmp/codecov.yjG6kC.gz [2020-12-29T16:39:09.319Z] ==> Uploading reports [2020-12-29T16:39:09.319Z] url: https://codecov.io [2020-12-29T16:39:09.319Z] query: branch=PR-405&commit=ae795ac2e32e39dc115836c0db1ba664bb0aa215&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-405%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=405&job=&cmd_args= [2020-12-29T16:39:09.319Z] -> Pinging Codecov [2020-12-29T16:39:09.319Z] https://codecov.io/upload/v4?package=bash-20201223-5ad85e3&token=secret&branch=PR-405&commit=ae795ac2e32e39dc115836c0db1ba664bb0aa215&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-405%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=405&job=&cmd_args= [2020-12-29T16:39:09.580Z] -> Uploading to [2020-12-29T16:39:09.580Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-29/71470A77251A30514AAF9C0BB2E5B6CE/ae795ac2e32e39dc115836c0db1ba664bb0aa215/086c8cc5-0a70-4fa0-9186-be3848646e0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201229T163909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=09578e39517ab4d487460ca01a6d1c68b3e3e09ef1ff2ea29c7f7b611e50ec7b [2020-12-29T16:39:09.580Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-29T16:39:09.580Z] Dload Upload Total Spent Left Speed [2020-12-29T16:39:10.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18607 0 0 100 18607 0 31695 --:--:-- --:--:-- --:--:-- 31698 [2020-12-29T16:39:10.104Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/ae795ac2e32e39dc115836c0db1ba664bb0aa215 [Pipeline] } [2020-12-29T16:39:10.113Z] 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 [2020-12-29T16:39:12.938Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T16:39:13.278Z] ---> package-listing.sh [2020-12-29T16:39:13.278Z] ++ facter osfamily [2020-12-29T16:39:13.278Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-29T16:39:13.278Z] + OS_FAMILY=redhat [2020-12-29T16:39:13.278Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-405 [2020-12-29T16:39:13.278Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-29T16:39:13.278Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-29T16:39:13.278Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-29T16:39:13.278Z] + PACKAGES=/tmp/packages_start.txt [2020-12-29T16:39:13.278Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-405 ']' [2020-12-29T16:39:13.278Z] + PACKAGES=/tmp/packages_end.txt [2020-12-29T16:39:13.278Z] + case "${OS_FAMILY}" in [2020-12-29T16:39:13.278Z] + rpm -qa [2020-12-29T16:39:13.278Z] + sort [2020-12-29T16:39:18.611Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-29T16:39:18.611Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-29T16:39:18.611Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-29T16:39:18.611Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-405 ']' [2020-12-29T16:39:18.611Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-405/archives/ [2020-12-29T16:39:18.611Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-405/archives/ [Pipeline] echo [2020-12-29T16:39:18.626Z] 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-29T16:39:18.920Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:39:19.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T16:39:19.233Z] [2020-12-29T16:39:19.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-29T16:39:19.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T16:39:19.598Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-29T16:39:19.598Z] df20fa9351a1: Pulling fs layer [2020-12-29T16:39:19.598Z] 36b3adc4ff6f: Pulling fs layer [2020-12-29T16:39:19.598Z] 8ad3a11d3b57: Pulling fs layer [2020-12-29T16:39:19.598Z] 46f8f816bc3b: Pulling fs layer [2020-12-29T16:39:19.598Z] 93b61091891f: Pulling fs layer [2020-12-29T16:39:19.598Z] 93b9cdb0e59b: Pulling fs layer [2020-12-29T16:39:19.598Z] 5e14af77c1be: Pulling fs layer [2020-12-29T16:39:19.598Z] 01666e4c0597: Pulling fs layer [2020-12-29T16:39:19.598Z] aa168da1d23b: Pulling fs layer [2020-12-29T16:39:19.598Z] 5e14af77c1be: Waiting [2020-12-29T16:39:19.598Z] 46f8f816bc3b: Waiting [2020-12-29T16:39:19.598Z] 93b61091891f: Waiting [2020-12-29T16:39:19.598Z] 01666e4c0597: Waiting [2020-12-29T16:39:19.598Z] 93b9cdb0e59b: Waiting [2020-12-29T16:39:19.598Z] aa168da1d23b: Waiting [2020-12-29T16:39:19.598Z] 36b3adc4ff6f: Verifying Checksum [2020-12-29T16:39:19.598Z] 36b3adc4ff6f: Download complete [2020-12-29T16:39:19.598Z] 46f8f816bc3b: Verifying Checksum [2020-12-29T16:39:19.598Z] 46f8f816bc3b: Download complete [2020-12-29T16:39:19.862Z] df20fa9351a1: Verifying Checksum [2020-12-29T16:39:19.862Z] df20fa9351a1: Download complete [2020-12-29T16:39:19.862Z] 93b9cdb0e59b: Verifying Checksum [2020-12-29T16:39:19.862Z] 93b9cdb0e59b: Download complete [2020-12-29T16:39:19.862Z] 5e14af77c1be: Verifying Checksum [2020-12-29T16:39:19.862Z] 5e14af77c1be: Download complete [2020-12-29T16:39:19.862Z] 01666e4c0597: Verifying Checksum [2020-12-29T16:39:19.862Z] 01666e4c0597: Download complete [2020-12-29T16:39:19.862Z] 93b61091891f: Verifying Checksum [2020-12-29T16:39:19.862Z] 93b61091891f: Download complete [2020-12-29T16:39:20.132Z] df20fa9351a1: Pull complete [2020-12-29T16:39:20.398Z] 36b3adc4ff6f: Pull complete [2020-12-29T16:39:20.665Z] 8ad3a11d3b57: Verifying Checksum [2020-12-29T16:39:20.665Z] 8ad3a11d3b57: Download complete [2020-12-29T16:39:21.248Z] 8ad3a11d3b57: Pull complete [2020-12-29T16:39:21.510Z] 46f8f816bc3b: Pull complete [2020-12-29T16:39:22.085Z] 93b61091891f: Pull complete [2020-12-29T16:39:22.347Z] aa168da1d23b: Verifying Checksum [2020-12-29T16:39:22.347Z] aa168da1d23b: Download complete [2020-12-29T16:39:22.922Z] 93b9cdb0e59b: Pull complete [2020-12-29T16:39:22.922Z] 5e14af77c1be: Pull complete [2020-12-29T16:39:22.922Z] 01666e4c0597: Pull complete [2020-12-29T16:39:29.546Z] aa168da1d23b: Pull complete [2020-12-29T16:39:29.546Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-29T16:39:29.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T16:39:29.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-29T16:39:29.755Z] prd-centos7-docker-4c-2g-17606 does not seem to be running inside a container [2020-12-29T16:39:29.807Z] $ 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-405/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-405 -v /w/workspace/dry_go-mod-core-contracts_PR-405:/w/workspace/dry_go-mod-core-contracts_PR-405:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-405@tmp:/w/workspace/dry_go-mod-core-contracts_PR-405@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-29T16:39:33.721Z] $ docker top 738be5b5c0e3a15b843e3f95b67a456dffbc1e6b21f63697c722ded9bc64614f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T16:39:34.262Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-29T16:39:34.591Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-29T16:39:34.897Z] + ls /var/log/sa-host [2020-12-29T16:39:34.897Z] + sadf -c /var/log/sa-host/sa23 [2020-12-29T16:39:34.897Z] file_magic: OK [2020-12-29T16:39:34.897Z] HZ: Using current value: 100 [2020-12-29T16:39:34.897Z] file_header: OK [2020-12-29T16:39:34.897Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-29T16:39:34.897Z] Statistics: [2020-12-29T16:39:34.897Z] Hnuu...uuuununununu... [2020-12-29T16:39:34.897Z] File successfully converted to sysstat format version 12.2.1 [2020-12-29T16:39:34.897Z] + sadf -c /var/log/sa-host/sa29 [2020-12-29T16:39:34.897Z] file_magic: OK [2020-12-29T16:39:34.897Z] HZ: Using current value: 100 [2020-12-29T16:39:34.897Z] file_header: OK [2020-12-29T16:39:34.897Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-29T16:39:34.897Z] Statistics: [2020-12-29T16:39:34.897Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-29T16:39:34.897Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-29T16:39:35.565Z] provisioning config files... [2020-12-29T16:39:35.582Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-405@tmp/config3562146497911806256tmp [Pipeline] { [Pipeline] echo [2020-12-29T16:39:35.692Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T16:39:35.990Z] ---> create-netrc.sh [Pipeline] } [2020-12-29T16:39:36.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-29T16:39:36.098Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T16:39:36.397Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-29T16:39:36.408Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T16:39:36.703Z] ---> sudo-logs.sh [2020-12-29T16:39:36.703Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-29T16:39:36.716Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T16:39:37.019Z] ---> job-cost.sh [2020-12-29T16:39:37.019Z] lf-activate-venv: SKIPPING [2020-12-29T16:39:37.019Z] INFO: No Stack... [2020-12-29T16:39:37.962Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-29T16:39:38.223Z] INFO: Archiving Costs [Pipeline] echo [2020-12-29T16:39:38.237Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T16:39:38.533Z] ---> logs-deploy.sh [2020-12-29T16:39:38.533Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-405/3 [2020-12-29T16:39:38.533Z] INFO: archiving workspace using pattern(s): [2020-12-29T16:39:40.447Z] Archives upload complete. [2020-12-29T16:39:40.447Z] INFO: archiving logs to Nexus