Pull request #462 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 54f28d0a70278177a8b305144294465241040660 rather than 25a4917d5544e6bcde1447309bf18add20eb9278 Obtained Jenkinsfile from 54f28d0a70278177a8b305144294465241040660 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23315 in /w/workspace/dry_go-mod-core-contracts_PR-462 [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-462 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 54f28d0a70278177a8b305144294465241040660 into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 > 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/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # 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 54f28d0a70278177a8b305144294465241040660 # timeout=10 Merge succeeded, producing 25a4917d5544e6bcde1447309bf18add20eb9278 Checking out Revision 25a4917d5544e6bcde1447309bf18add20eb9278 (PR-462) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 Commit message: "feat(V2): Use the index to modify properties on the reading" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-27T02:10:42.279Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T02:10:42.588Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T02:10:42.696Z] ========================================================= [2021-01-27T02:10:42.696Z] EdgeX Global Pipelines Version Info [2021-01-27T02:10:42.696Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a9aa6ff145b0c61b8960c755b546eac7b90d3592 # timeout=10 [2021-01-27T02:10:45.104Z] ------------------- [2021-01-27T02:10:45.104Z] stable info: [2021-01-27T02:10:45.104Z] ------------------- [2021-01-27T02:10:45.104Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:10:45.104Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:10:45.105Z] Message: update stable to v1.0.179 [2021-01-27T02:10:46.082Z] ------------------- [2021-01-27T02:10:46.082Z] experimental info: [2021-01-27T02:10:46.082Z] ------------------- [2021-01-27T02:10:46.082Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T02:10:46.082Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T02:10:46.082Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T02:10:46.403Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-27T02:10:46.495Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-27T02:10:46.595Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T02:10:46.696Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T02:10:46.790Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T02:10:46.889Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T02:10:46.989Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T02:10:47.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T02:10:47.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-27T02:10:47.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T02:10:47.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T02:10:47.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-27T02:10:47.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T02:10:47.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T02:10:47.765Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:10:47.885Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:10:47.980Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:10:48.071Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T02:10:48.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T02:10:48.261Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T02:10:48.422Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-27T02:10:48.517Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-27T02:10:48.622Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T02:10:48.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T02:10:48.870Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-27T02:10:48.961Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T02:10:49.051Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T02:10:49.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-462 [Pipeline] echo [2021-01-27T02:10:49.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-462 [Pipeline] echo [2021-01-27T02:10:49.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-462 [Pipeline] echo [2021-01-27T02:10:49.467Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25a4917d5544e6bcde1447309bf18add20eb9278 [Pipeline] echo [2021-01-27T02:10:49.569Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25a4917 [Pipeline] echo [2021-01-27T02:10:49.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:10:50.440Z] + git log --format=format:%s -1 25a4917d5544e6bcde1447309bf18add20eb9278 [Pipeline] echo [2021-01-27T02:10:50.643Z] GIT_COMMIT: 25a4917d5544e6bcde1447309bf18add20eb9278, Commit Message: feat(V2): Use the index to modify properties on the reading [Pipeline] echo [2021-01-27T02:10:50.696Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:10:51.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:10:52.526Z] [2021-01-27T02:10:52.526Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:10:52.917Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:10:53.214Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T02:10:53.214Z] 31603596830f: Pulling fs layer [2021-01-27T02:10:53.214Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T02:10:53.214Z] 6ca5941a6612: Pulling fs layer [2021-01-27T02:10:53.214Z] ecc8261a40a4: Pulling fs layer [2021-01-27T02:10:53.214Z] ecc8261a40a4: Waiting [2021-01-27T02:10:53.214Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T02:10:53.214Z] 2a8b12db71e7: Download complete [2021-01-27T02:10:53.214Z] 31603596830f: Verifying Checksum [2021-01-27T02:10:53.214Z] 31603596830f: Download complete [2021-01-27T02:10:53.496Z] ecc8261a40a4: Verifying Checksum [2021-01-27T02:10:53.496Z] ecc8261a40a4: Download complete [2021-01-27T02:10:53.785Z] 6ca5941a6612: Verifying Checksum [2021-01-27T02:10:53.785Z] 6ca5941a6612: Download complete [2021-01-27T02:10:54.064Z] 31603596830f: Pull complete [2021-01-27T02:10:54.659Z] 2a8b12db71e7: Pull complete [2021-01-27T02:10:56.157Z] 6ca5941a6612: Pull complete [2021-01-27T02:10:56.822Z] ecc8261a40a4: Pull complete [2021-01-27T02:10:56.822Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T02:10:56.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T02:10:56.822Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T02:10:57.079Z] prd-centos7-docker-4c-2g-23315 does not seem to be running inside a container [2021-01-27T02:10:57.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-462 -v /w/workspace/dry_go-mod-core-contracts_PR-462:/w/workspace/dry_go-mod-core-contracts_PR-462:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-462@tmp:/w/workspace/dry_go-mod-core-contracts_PR-462@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:10004/edgex-devops/git-semver:latest cat [2021-01-27T02:11:00.105Z] $ docker top fc5b10c17bfdd764aa4322170368e2220858b4b79629c6cbf38d785b96bb62da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T02:11:00.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:11:00.589Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:11:01.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:11:01.242Z] $ docker exec fc5b10c17bfdd764aa4322170368e2220858b4b79629c6cbf38d785b96bb62da ssh-agent [2021-01-27T02:11:01.934Z] SSH_AUTH_SOCK=/tmp/ssh-VPvMyL8Kx4rA/agent.12 [2021-01-27T02:11:01.934Z] SSH_AGENT_PID=17 [2021-01-27T02:11:01.949Z] Running ssh-add (command line suppressed) [2021-01-27T02:11:02.388Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_6157671636136072463.key (/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_6157671636136072463.key) [2021-01-27T02:11:02.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:11:03.316Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T02:11:03.350Z] $ docker exec --env ******** --env ******** fc5b10c17bfdd764aa4322170368e2220858b4b79629c6cbf38d785b96bb62da ssh-agent -k [2021-01-27T02:11:03.669Z] unset SSH_AUTH_SOCK; [2021-01-27T02:11:03.670Z] unset SSH_AGENT_PID; [2021-01-27T02:11:03.670Z] echo Agent pid 17 killed; [2021-01-27T02:11:03.744Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T02:11:03.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T02:11:03.897Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T02:11:04.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T02:11:04.183Z] $ docker exec fc5b10c17bfdd764aa4322170368e2220858b4b79629c6cbf38d785b96bb62da ssh-agent [2021-01-27T02:11:04.493Z] SSH_AUTH_SOCK=/tmp/ssh-zxmGq5Uu9uEm/agent.45 [2021-01-27T02:11:04.493Z] SSH_AGENT_PID=50 [2021-01-27T02:11:04.505Z] Running ssh-add (command line suppressed) [2021-01-27T02:11:04.714Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_5447217718228372855.key (/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/private_key_5447217718228372855.key) [2021-01-27T02:11:04.795Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T02:11:05.566Z] + git semver init [2021-01-27T02:11:05.567Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T02:11:05.567Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-462/.git [2021-01-27T02:11:05.567Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-462 [2021-01-27T02:11:05.567Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T02:11:05.567Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T02:11:05.567Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T02:11:05.567Z] # $SEMVER_BRANCH = PR-462 [2021-01-27T02:11:05.567Z] # $SEMVER_TEMP = /tmp/semver-958836591 [2021-01-27T02:11:05.567Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-27T02:11:06.556Z] # '/tmp/semver-958836591' -> '/w/workspace/dry_go-mod-core-contracts_PR-462/.semver' [2021-01-27T02:11:06.556Z] # -> Force: false [2021-01-27T02:11:06.556Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-462/.semver [Pipeline] } [2021-01-27T02:11:06.581Z] $ docker exec --env ******** --env ******** fc5b10c17bfdd764aa4322170368e2220858b4b79629c6cbf38d785b96bb62da ssh-agent -k [2021-01-27T02:11:06.824Z] unset SSH_AUTH_SOCK; [2021-01-27T02:11:06.825Z] unset SSH_AGENT_PID; [2021-01-27T02:11:06.825Z] echo Agent pid 50 killed; [2021-01-27T02:11:06.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T02:11:07.893Z] + git semver [Pipeline] } [2021-01-27T02:11:07.914Z] $ docker stop --time=1 fc5b10c17bfdd764aa4322170368e2220858b4b79629c6cbf38d785b96bb62da [2021-01-27T02:11:09.877Z] $ docker rm -f fc5b10c17bfdd764aa4322170368e2220858b4b79629c6cbf38d785b96bb62da [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:11:10.515Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T02:11:12.133Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T02:11:12.136Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-27T02:11:27.645Z] Still waiting to schedule task [2021-01-27T02:11:27.645Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-27T02:11:27.648Z] Still waiting to schedule task [2021-01-27T02:11:27.648Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-27T02:13:20.770Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23316 in /w/workspace/dry_go-mod-core-contracts_PR-462 [Pipeline] { [Pipeline] ws [2021-01-27T02:13:20.833Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2021-01-27T02:13:25.754Z] using credential edgex-jenkins-ssh [2021-01-27T02:13:25.853Z] Cloning the remote Git repository [2021-01-27T02:13:25.922Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T02:13:26.042Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2021-01-27T02:13:26.133Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T02:13:26.134Z] > git --version # timeout=10 [2021-01-27T02:13:26.158Z] > git --version # 'git version 2.17.1' [2021-01-27T02:13:26.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:13:26.217Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:13:28.219Z] Merging remotes/origin/master commit 54f28d0a70278177a8b305144294465241040660 into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 [2021-01-27T02:13:27.455Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T02:13:27.477Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:13:27.513Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T02:13:27.560Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T02:13:27.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:13:27.573Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:13:28.252Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:13:28.271Z] > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [2021-01-27T02:13:28.409Z] > git remote # timeout=10 [2021-01-27T02:13:28.494Z] Merge succeeded, producing 25a4917d5544e6bcde1447309bf18add20eb9278 [2021-01-27T02:13:28.495Z] Checking out Revision 25a4917d5544e6bcde1447309bf18add20eb9278 (PR-462) [2021-01-27T02:13:28.428Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:13:28.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:13:28.463Z] > git merge 54f28d0a70278177a8b305144294465241040660 # timeout=10 [2021-01-27T02:13:28.487Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:13:28.512Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:13:28.523Z] > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [2021-01-27T02:13:32.934Z] Commit message: "feat(V2): Use the index to modify properties on the reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:13:34.671Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:13:35.107Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:13:35.461Z] + true [2021-01-27T02:13:35.461Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-01-27T02:13:38.423Z] ========================================================= [2021-01-27T02:13:38.423Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T02:13:38.423Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:13:38.817Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-27T02:13:39.804Z] Sending build context to Docker daemon 2.403MB [2021-01-27T02:13:39.804Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-27T02:13:39.804Z] Step 2/7 : FROM ${BASE} [2021-01-27T02:13:40.078Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T02:13:40.078Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T02:13:40.078Z] a4357932f1b6: Pulling fs layer [2021-01-27T02:13:40.078Z] 18c013af1878: Pulling fs layer [2021-01-27T02:13:40.078Z] 00ac8860ef70: Pulling fs layer [2021-01-27T02:13:40.078Z] 63d7cb157983: Pulling fs layer [2021-01-27T02:13:40.078Z] b116817d02f9: Pulling fs layer [2021-01-27T02:13:40.078Z] 745a02a5169b: Pulling fs layer [2021-01-27T02:13:40.078Z] 00ac8860ef70: Waiting [2021-01-27T02:13:40.078Z] 63d7cb157983: Waiting [2021-01-27T02:13:40.078Z] b116817d02f9: Waiting [2021-01-27T02:13:40.078Z] 745a02a5169b: Waiting [2021-01-27T02:13:40.354Z] 18c013af1878: Verifying Checksum [2021-01-27T02:13:40.354Z] 18c013af1878: Download complete [2021-01-27T02:13:40.354Z] a4357932f1b6: Verifying Checksum [2021-01-27T02:13:40.354Z] a4357932f1b6: Download complete [2021-01-27T02:13:40.354Z] 63d7cb157983: Verifying Checksum [2021-01-27T02:13:40.354Z] 63d7cb157983: Download complete [2021-01-27T02:13:41.335Z] b116817d02f9: Download complete [2021-01-27T02:13:41.335Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T02:13:41.335Z] 5f621e34cdf4: Download complete [2021-01-27T02:13:41.942Z] 5f621e34cdf4: Pull complete [2021-01-27T02:13:42.561Z] a4357932f1b6: Pull complete [2021-01-27T02:13:43.164Z] 18c013af1878: Pull complete [2021-01-27T02:13:43.761Z] 745a02a5169b: Verifying Checksum [2021-01-27T02:13:43.761Z] 745a02a5169b: Download complete [2021-01-27T02:13:44.740Z] 00ac8860ef70: Verifying Checksum [2021-01-27T02:13:44.740Z] 00ac8860ef70: Download complete [2021-01-27T02:13:54.901Z] 00ac8860ef70: Pull complete [2021-01-27T02:13:54.901Z] 63d7cb157983: Pull complete [2021-01-27T02:13:54.901Z] b116817d02f9: Pull complete [2021-01-27T02:13:59.241Z] 745a02a5169b: Pull complete [2021-01-27T02:13:59.241Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T02:13:59.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T02:13:59.241Z] ---> b7e6874047d6 [2021-01-27T02:13:59.241Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-27T02:14:01.873Z] ---> Running in 58616f6be140 [2021-01-27T02:14:02.146Z] Removing intermediate container 58616f6be140 [2021-01-27T02:14:02.146Z] ---> 7dec4867c47b [2021-01-27T02:14:02.146Z] Step 4/7 : RUN apk add bash [2021-01-27T02:14:02.146Z] ---> Running in 8312586b5601 [2021-01-27T02:14:03.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T02:14:04.180Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T02:14:05.159Z] OK: 142 MiB in 39 packages [2021-01-27T02:14:06.148Z] Removing intermediate container 8312586b5601 [2021-01-27T02:14:06.148Z] ---> 5d9fe563877b [2021-01-27T02:14:06.148Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-27T02:14:06.421Z] ---> Running in 3eccbcfa04be [2021-01-27T02:14:07.031Z] Removing intermediate container 3eccbcfa04be [2021-01-27T02:14:07.031Z] ---> 94ed0bc68ea2 [2021-01-27T02:14:07.031Z] Step 6/7 : COPY go.mod . [2021-01-27T02:14:07.628Z] ---> 2e8d6736ec40 [2021-01-27T02:14:07.628Z] Step 7/7 : RUN go mod download [2021-01-27T02:14:07.905Z] ---> Running in 75d9ccebbad8 [2021-01-27T02:14:23.110Z] Removing intermediate container 75d9ccebbad8 [2021-01-27T02:14:23.110Z] ---> dbb42e081190 [2021-01-27T02:14:23.110Z] Successfully built dbb42e081190 [2021-01-27T02:14:23.110Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:14:23.453Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:14:23.453Z] . [Pipeline] withDockerContainer [2021-01-27T02:14:23.692Z] prd-ubuntu18.04-docker-arm64-4c-16g-23316 does not seem to be running inside a container [2021-01-27T02:14:23.775Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:14:25.194Z] $ docker top 17f829a1580266789b485400313f278d74da6f3deeaa7fdbc62688fee0aabd81 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:14:26.239Z] + go version [2021-01-27T02:14:26.240Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T02:14:26.264Z] $ docker stop --time=1 17f829a1580266789b485400313f278d74da6f3deeaa7fdbc62688fee0aabd81 [2021-01-27T02:14:28.221Z] $ docker rm -f 17f829a1580266789b485400313f278d74da6f3deeaa7fdbc62688fee0aabd81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:14:29.278Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T02:14:29.278Z] . [Pipeline] withDockerContainer [2021-01-27T02:14:29.542Z] prd-ubuntu18.04-docker-arm64-4c-16g-23316 does not seem to be running inside a container [2021-01-27T02:14:29.625Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-01-27T02:14:31.068Z] $ docker top a680e608c65b372dfa1ddcc8f3c9de25842ae819a5e820f9daa9b066658b5741 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:14:32.139Z] + make test [2021-01-27T02:14:32.140Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-27T02:14:32.359Z] Running on prd-centos7-docker-4c-2g-23317 in /w/workspace/dry_go-mod-core-contracts_PR-462 [Pipeline] { [Pipeline] ws [2021-01-27T02:14:32.420Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2021-01-27T02:14:39.103Z] using credential edgex-jenkins-ssh [2021-01-27T02:14:39.159Z] Cloning the remote Git repository [2021-01-27T02:14:39.249Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T02:14:39.371Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2021-01-27T02:14:39.489Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T02:14:39.489Z] > git --version # timeout=10 [2021-01-27T02:14:39.505Z] > git --version # 'git version 2.24.3' [2021-01-27T02:14:39.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:14:39.570Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:14:40.956Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T02:14:40.998Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T02:14:42.087Z] Merging remotes/origin/master commit 54f28d0a70278177a8b305144294465241040660 into PR head commit 25a4917d5544e6bcde1447309bf18add20eb9278 [2021-01-27T02:14:41.164Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T02:14:41.271Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T02:14:41.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:14:41.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T02:14:42.117Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:14:42.196Z] > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [2021-01-27T02:14:42.350Z] > git remote # timeout=10 [2021-01-27T02:14:42.373Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T02:14:42.507Z] Merge succeeded, producing 25a4917d5544e6bcde1447309bf18add20eb9278 [2021-01-27T02:14:42.508Z] Checking out Revision 25a4917d5544e6bcde1447309bf18add20eb9278 (PR-462) [2021-01-27T02:14:42.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T02:14:42.410Z] > git merge 54f28d0a70278177a8b305144294465241040660 # timeout=10 [2021-01-27T02:14:42.491Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T02:14:42.514Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T02:14:42.540Z] > git checkout -f 25a4917d5544e6bcde1447309bf18add20eb9278 # timeout=10 [2021-01-27T02:14:47.579Z] Commit message: "feat(V2): Use the index to modify properties on the reading" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T02:14:49.355Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:14:49.796Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T02:14:50.135Z] + sudo service docker restart [2021-01-27T02:14:50.135Z] + true [2021-01-27T02:14:50.135Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-27T02:14:51.876Z] ========================================================= [2021-01-27T02:14:51.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T02:14:51.876Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:14:52.288Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-27T02:14:53.348Z] Sending build context to Docker daemon 2.404MB [2021-01-27T02:14:53.348Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-27T02:14:53.348Z] Step 2/7 : FROM ${BASE} [2021-01-27T02:14:53.348Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T02:14:53.348Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T02:14:53.348Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T02:14:53.348Z] de9db76c5a1d: Pulling fs layer [2021-01-27T02:14:53.348Z] bca2f99d35d6: Pulling fs layer [2021-01-27T02:14:53.348Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T02:14:53.348Z] 7c6f9722023f: Pulling fs layer [2021-01-27T02:14:53.348Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T02:14:53.348Z] bca2f99d35d6: Waiting [2021-01-27T02:14:53.348Z] 93359f2a8cfa: Waiting [2021-01-27T02:14:53.348Z] 7c6f9722023f: Waiting [2021-01-27T02:14:53.348Z] a35cf1a2eb13: Waiting [2021-01-27T02:14:53.348Z] de9db76c5a1d: Verifying Checksum [2021-01-27T02:14:53.348Z] de9db76c5a1d: Download complete [2021-01-27T02:14:53.348Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T02:14:53.348Z] 0ef7d3d256c8: Download complete [2021-01-27T02:14:53.348Z] 93359f2a8cfa: Verifying Checksum [2021-01-27T02:14:53.348Z] 93359f2a8cfa: Download complete [2021-01-27T02:14:53.655Z] 7c6f9722023f: Verifying Checksum [2021-01-27T02:14:53.655Z] 7c6f9722023f: Download complete [2021-01-27T02:14:53.655Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T02:14:53.655Z] 188c0c94c7c5: Download complete [2021-01-27T02:14:54.339Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-27T02:14:54.407Z] 188c0c94c7c5: Pull complete [2021-01-27T02:14:55.325Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.029s coverage: 85.7% of statements [2021-01-27T02:14:55.325Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.045s coverage: 100.0% of statements [2021-01-27T02:14:55.730Z] 0ef7d3d256c8: Pull complete [2021-01-27T02:14:55.730Z] de9db76c5a1d: Pull complete [2021-01-27T02:14:56.777Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.111s coverage: 45.4% of statements [2021-01-27T02:14:57.052Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.031s coverage: 77.8% of statements [2021-01-27T02:14:57.052Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-27T02:14:59.303Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T02:14:59.303Z] a35cf1a2eb13: Download complete [2021-01-27T02:14:59.689Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.061s coverage: 26.3% of statements [2021-01-27T02:14:59.963Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.060s coverage: 14.7% of statements [2021-01-27T02:14:59.963Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.022s coverage: 100.0% of statements [2021-01-27T02:15:00.979Z] bca2f99d35d6: Download complete [2021-01-27T02:15:01.415Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.073s coverage: 91.8% of statements [2021-01-27T02:15:01.415Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-27T02:15:01.415Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-27T02:15:01.415Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.024s coverage: 100.0% of statements [2021-01-27T02:15:01.415Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.013s coverage: 36.7% of statements [2021-01-27T02:15:08.205Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.252s coverage: 63.0% of statements [2021-01-27T02:15:08.205Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.024s coverage: 26.3% of statements [2021-01-27T02:15:08.205Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.035s coverage: 15.4% of statements [2021-01-27T02:15:08.205Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.049s coverage: 15.4% of statements [2021-01-27T02:15:08.205Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.025s coverage: 14.3% of statements [2021-01-27T02:15:08.205Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-27T02:15:10.187Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.222s coverage: 84.7% of statements [2021-01-27T02:15:10.187Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils 0.066s coverage: 6.6% of statements [2021-01-27T02:15:10.187Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-27T02:15:10.187Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-27T02:15:12.176Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.052s coverage: 43.6% of statements [2021-01-27T02:15:12.176Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.046s coverage: 89.5% of statements [2021-01-27T02:15:12.447Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.127s coverage: 90.7% of statements [2021-01-27T02:15:13.044Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.023s coverage: 100.0% of statements [2021-01-27T02:15:13.044Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-27T02:15:13.318Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-27T02:15:13.687Z] bca2f99d35d6: Pull complete [2021-01-27T02:15:13.981Z] 93359f2a8cfa: Pull complete [2021-01-27T02:15:14.266Z] 7c6f9722023f: Pull complete [2021-01-27T02:15:18.732Z] gofmt -l . [2021-01-27T02:15:19.329Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-27T02:15:19.946Z] $ docker stop --time=1 a680e608c65b372dfa1ddcc8f3c9de25842ae819a5e820f9daa9b066658b5741 [2021-01-27T02:15:22.256Z] $ docker rm -f a680e608c65b372dfa1ddcc8f3c9de25842ae819a5e820f9daa9b066658b5741 [2021-01-27T02:15:22.782Z] a35cf1a2eb13: Pull complete [2021-01-27T02:15:22.782Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T02:15:22.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T02:15:22.782Z] ---> a62c8e92a672 [2021-01-27T02:15:22.782Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-27T02:15:22.782Z] ---> Running in 0501cf3a75f1 [2021-01-27T02:15:22.782Z] Removing intermediate container 0501cf3a75f1 [2021-01-27T02:15:22.782Z] ---> 6f68ddf675a7 [2021-01-27T02:15:22.782Z] Step 4/7 : RUN apk add bash [2021-01-27T02:15:22.782Z] ---> Running in f4ab3e5c0271 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:15:23.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:15:23.844Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T02:15:24.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-27T02:15:24.892Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 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] } [2021-01-27T02:15:25.509Z] OK: 166 MiB in 39 packages [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-27T02:15:26.496Z] Removing intermediate container f4ab3e5c0271 [2021-01-27T02:15:26.496Z] ---> 1906d1b52468 [2021-01-27T02:15:26.496Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-27T02:15:26.496Z] ---> Running in c53743e6a8fa [2021-01-27T02:15:26.773Z] Removing intermediate container c53743e6a8fa [2021-01-27T02:15:26.773Z] ---> aad8bc9f205f [2021-01-27T02:15:26.773Z] Step 6/7 : COPY go.mod . [2021-01-27T02:15:27.061Z] ---> 2b886d4eda59 [2021-01-27T02:15:27.061Z] Step 7/7 : RUN go mod download [2021-01-27T02:15:27.061Z] ---> Running in 1094d8f35840 [2021-01-27T02:15:45.696Z] Removing intermediate container 1094d8f35840 [2021-01-27T02:15:45.696Z] ---> 3fed82e52d94 [2021-01-27T02:15:45.696Z] Successfully built 3fed82e52d94 [2021-01-27T02:15:45.696Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:15:46.067Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:15:46.338Z] . [Pipeline] withDockerContainer [2021-01-27T02:15:46.491Z] prd-centos7-docker-4c-2g-23317 does not seem to be running inside a container [2021-01-27T02:15:46.589Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T02:15:48.077Z] $ docker top 09926fb8583ed3420658fb9c55a78f960476e23e9747386e929c7e52a1d2f964 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:15:49.157Z] + go version [2021-01-27T02:15:49.157Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T02:15:49.177Z] $ docker stop --time=1 09926fb8583ed3420658fb9c55a78f960476e23e9747386e929c7e52a1d2f964 [2021-01-27T02:15:50.851Z] $ docker rm -f 09926fb8583ed3420658fb9c55a78f960476e23e9747386e929c7e52a1d2f964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:15:52.230Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T02:15:52.230Z] . [Pipeline] withDockerContainer [2021-01-27T02:15:52.559Z] prd-centos7-docker-4c-2g-23317 does not seem to be running inside a container [2021-01-27T02:15:52.841Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T02:15:54.139Z] $ docker top a1600290559a9ece014165814caecf7cc1cd6c4b0cde21cc498defc7bb05579b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:15:55.451Z] + make test [2021-01-27T02:15:55.451Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-27T02:16:14.724Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-27T02:16:14.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.047s coverage: 85.7% of statements [2021-01-27T02:16:14.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.014s coverage: 100.0% of statements [2021-01-27T02:16:14.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.128s coverage: 45.4% of statements [2021-01-27T02:16:14.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.039s coverage: 77.8% of statements [2021-01-27T02:16:14.724Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-27T02:16:16.319Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.046s coverage: 26.3% of statements [2021-01-27T02:16:16.679Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.072s coverage: 14.7% of statements [2021-01-27T02:16:16.679Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.063s coverage: 100.0% of statements [2021-01-27T02:16:17.746Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.049s coverage: 91.8% of statements [2021-01-27T02:16:17.746Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-27T02:16:17.746Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-27T02:16:17.746Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.064s coverage: 100.0% of statements [2021-01-27T02:16:17.746Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.018s coverage: 36.7% of statements [2021-01-27T02:16:22.256Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.106s coverage: 63.0% of statements [2021-01-27T02:16:22.256Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.018s coverage: 26.3% of statements [2021-01-27T02:16:22.256Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.020s coverage: 15.4% of statements [2021-01-27T02:16:22.256Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.110s coverage: 15.4% of statements [2021-01-27T02:16:22.256Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.056s coverage: 14.3% of statements [2021-01-27T02:16:22.256Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-27T02:16:24.443Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.257s coverage: 84.7% of statements [2021-01-27T02:16:24.443Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils 0.139s coverage: 6.6% of statements [2021-01-27T02:16:24.443Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-27T02:16:24.742Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-27T02:16:24.742Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.083s coverage: 43.6% of statements [2021-01-27T02:16:25.798Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.039s coverage: 89.5% of statements [2021-01-27T02:16:26.587Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.084s coverage: 90.7% of statements [2021-01-27T02:16:26.587Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.053s coverage: 100.0% of statements [2021-01-27T02:16:26.587Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-27T02:16:26.983Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-27T02:16:32.754Z] gofmt -l . [2021-01-27T02:16:33.070Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-27T02:16:33.439Z] $ docker stop --time=1 a1600290559a9ece014165814caecf7cc1cd6c4b0cde21cc498defc7bb05579b [2021-01-27T02:16:36.558Z] $ docker rm -f a1600290559a9ece014165814caecf7cc1cd6c4b0cde21cc498defc7bb05579b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T02:16:37.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T02:16:37.527Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T02:16:38.418Z] 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-01-27T02:16:40.417Z] provisioning config files... [2021-01-27T02:16:40.446Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/config4110893853603913063tmp [Pipeline] { [Pipeline] sh [2021-01-27T02:16:41.041Z] + set +x [2021-01-27T02:16:41.041Z] + bash -s -- [2021-01-27T02:16:41.041Z] + curl -s https://codecov.io/bash [2021-01-27T02:16:41.318Z] [2021-01-27T02:16:41.318Z] _____ _ [2021-01-27T02:16:41.318Z] / ____| | | [2021-01-27T02:16:41.318Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T02:16:41.318Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T02:16:41.318Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T02:16:41.318Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T02:16:41.318Z] Bash-20210115-cec3c92 [2021-01-27T02:16:41.318Z] [2021-01-27T02:16:41.318Z] [2021-01-27T02:16:41.318Z] ==> git version 2.24.3 found [2021-01-27T02:16:41.318Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-27T02:16:41.318Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T02:16:41.318Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T02:16:41.318Z] ==> Jenkins CI detected. [2021-01-27T02:16:41.318Z] project root: . [2021-01-27T02:16:41.318Z] --> token set from env [2021-01-27T02:16:41.623Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T02:16:41.623Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T02:16:41.623Z] ==> Python coveragepy not found [2021-01-27T02:16:41.623Z] ==> Searching for coverage reports in: [2021-01-27T02:16:41.623Z] + . [2021-01-27T02:16:41.623Z] -> Found 1 reports [2021-01-27T02:16:41.623Z] ==> Detecting git/mercurial file structure [2021-01-27T02:16:41.623Z] ==> Reading reports [2021-01-27T02:16:41.623Z] + ./coverage.out bytes=142636 [2021-01-27T02:16:41.623Z] ==> Appending adjustments [2021-01-27T02:16:41.623Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T02:16:43.810Z] + Found adjustments [2021-01-27T02:16:43.810Z] ==> Gzipping contents [2021-01-27T02:16:43.810Z] 24K /tmp/codecov.IbV30b.gz [2021-01-27T02:16:43.810Z] ==> Uploading reports [2021-01-27T02:16:43.810Z] url: https://codecov.io [2021-01-27T02:16:43.810Z] query: branch=PR-462&commit=25a4917d5544e6bcde1447309bf18add20eb9278&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-462%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=462&job=&cmd_args= [2021-01-27T02:16:43.810Z] -> Pinging Codecov [2021-01-27T02:16:43.810Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-462&commit=25a4917d5544e6bcde1447309bf18add20eb9278&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-462%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=462&job=&cmd_args= [2021-01-27T02:16:44.110Z] -> Uploading to [2021-01-27T02:16:44.110Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/71470A77251A30514AAF9C0BB2E5B6CE/25a4917d5544e6bcde1447309bf18add20eb9278/7c38c49a-d8fe-4491-9497-a02345a7a205.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T021643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3307f41329ee4b8a23d744319d8f982e373f7f274de045b8cb6db2c8628eae07 [2021-01-27T02:16:44.110Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T02:16:44.110Z] Dload Upload Total Spent Left Speed [2021-01-27T02:16:44.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21423 0 0 100 21423 0 37335 --:--:-- --:--:-- --:--:-- 37387 [2021-01-27T02:16:44.730Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/25a4917d5544e6bcde1447309bf18add20eb9278 [Pipeline] } [2021-01-27T02:16:44.769Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:16:47.291Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:16:48.369Z] ---> package-listing.sh [2021-01-27T02:16:48.369Z] ++ facter osfamily [2021-01-27T02:16:48.369Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T02:16:48.369Z] + OS_FAMILY=redhat [2021-01-27T02:16:48.369Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-462 [2021-01-27T02:16:48.369Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T02:16:48.369Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T02:16:48.369Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T02:16:48.369Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T02:16:48.369Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-462 ']' [2021-01-27T02:16:48.369Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T02:16:48.369Z] + case "${OS_FAMILY}" in [2021-01-27T02:16:48.369Z] + sort [2021-01-27T02:16:48.369Z] + rpm -qa [2021-01-27T02:16:56.732Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T02:16:56.732Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T02:16:56.732Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T02:16:56.732Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-462 ']' [2021-01-27T02:16:56.732Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-462/archives/ [2021-01-27T02:16:56.732Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-462/archives/ [Pipeline] echo [2021-01-27T02:16:56.754Z] 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-462/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T02:16:57.109Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:16:57.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:16:58.146Z] [2021-01-27T02:16:58.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T02:16:58.606Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:16:58.606Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T02:16:58.606Z] df20fa9351a1: Pulling fs layer [2021-01-27T02:16:58.606Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T02:16:58.606Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T02:16:58.606Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T02:16:58.606Z] 93b61091891f: Pulling fs layer [2021-01-27T02:16:58.606Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T02:16:58.606Z] 5e14af77c1be: Pulling fs layer [2021-01-27T02:16:58.606Z] 01666e4c0597: Pulling fs layer [2021-01-27T02:16:58.606Z] aa168da1d23b: Pulling fs layer [2021-01-27T02:16:58.606Z] 46f8f816bc3b: Waiting [2021-01-27T02:16:58.606Z] 93b61091891f: Waiting [2021-01-27T02:16:58.606Z] 93b9cdb0e59b: Waiting [2021-01-27T02:16:58.606Z] 5e14af77c1be: Waiting [2021-01-27T02:16:58.606Z] 01666e4c0597: Waiting [2021-01-27T02:16:58.606Z] aa168da1d23b: Waiting [2021-01-27T02:16:58.933Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T02:16:58.933Z] 36b3adc4ff6f: Download complete [2021-01-27T02:16:58.933Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T02:16:58.933Z] 46f8f816bc3b: Download complete [2021-01-27T02:16:59.261Z] df20fa9351a1: Verifying Checksum [2021-01-27T02:16:59.261Z] df20fa9351a1: Download complete [2021-01-27T02:16:59.261Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T02:16:59.261Z] 93b9cdb0e59b: Download complete [2021-01-27T02:16:59.555Z] 5e14af77c1be: Verifying Checksum [2021-01-27T02:16:59.555Z] 5e14af77c1be: Download complete [2021-01-27T02:16:59.555Z] 93b61091891f: Verifying Checksum [2021-01-27T02:16:59.555Z] 93b61091891f: Download complete [2021-01-27T02:16:59.555Z] 01666e4c0597: Verifying Checksum [2021-01-27T02:16:59.555Z] 01666e4c0597: Download complete [2021-01-27T02:17:00.479Z] df20fa9351a1: Pull complete [2021-01-27T02:17:01.395Z] 36b3adc4ff6f: Pull complete [2021-01-27T02:17:01.396Z] 8ad3a11d3b57: Download complete [2021-01-27T02:17:04.404Z] 8ad3a11d3b57: Pull complete [2021-01-27T02:17:05.047Z] 46f8f816bc3b: Pull complete [2021-01-27T02:17:06.820Z] 93b61091891f: Pull complete [2021-01-27T02:17:06.820Z] 93b9cdb0e59b: Pull complete [2021-01-27T02:17:07.196Z] 5e14af77c1be: Pull complete [2021-01-27T02:17:07.489Z] 01666e4c0597: Pull complete [2021-01-27T02:17:08.586Z] aa168da1d23b: Verifying Checksum [2021-01-27T02:17:08.586Z] aa168da1d23b: Download complete [2021-01-27T02:17:27.220Z] aa168da1d23b: Pull complete [2021-01-27T02:17:27.220Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T02:17:27.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T02:17:27.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T02:17:27.514Z] prd-centos7-docker-4c-2g-23315 does not seem to be running inside a container [2021-01-27T02:17:27.684Z] $ 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-462/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-462 -v /w/workspace/dry_go-mod-core-contracts_PR-462:/w/workspace/dry_go-mod-core-contracts_PR-462:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-462@tmp:/w/workspace/dry_go-mod-core-contracts_PR-462@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-27T02:17:31.573Z] $ docker top 1e67278f44ec70ec5bc423e4e5f67bfd003293ecb472a6e4787b0defe4f66d25 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T02:17:32.835Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T02:17:33.610Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T02:17:33.977Z] + ls /var/log/sa-host [2021-01-27T02:17:33.977Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T02:17:34.349Z] file_magic: OK [2021-01-27T02:17:34.349Z] HZ: Using current value: 100 [2021-01-27T02:17:34.349Z] file_header: OK [2021-01-27T02:17:34.349Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T02:17:34.349Z] Statistics: [2021-01-27T02:17:34.349Z] Hnuu...uuuununununu... [2021-01-27T02:17:34.349Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T02:17:34.349Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T02:17:34.349Z] file_magic: OK [2021-01-27T02:17:34.349Z] HZ: Using current value: 100 [2021-01-27T02:17:34.349Z] file_header: OK [2021-01-27T02:17:34.349Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T02:17:34.349Z] Statistics: [2021-01-27T02:17:34.349Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T02:17:34.349Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T02:17:34.989Z] provisioning config files... [2021-01-27T02:17:35.052Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-462@tmp/config3933790862745212083tmp [Pipeline] { [Pipeline] echo [2021-01-27T02:17:35.121Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:17:35.972Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T02:17:36.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T02:17:36.126Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:17:36.929Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T02:17:36.973Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:17:37.797Z] ---> sudo-logs.sh [2021-01-27T02:17:37.798Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T02:17:37.817Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:17:38.524Z] ---> job-cost.sh [2021-01-27T02:17:38.796Z] lf-activate-venv: SKIPPING [2021-01-27T02:17:38.796Z] INFO: No Stack... [2021-01-27T02:17:39.777Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T02:17:40.364Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T02:17:40.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T02:17:40.739Z] ---> logs-deploy.sh [2021-01-27T02:17:40.739Z] lf-activate-venv: SKIPPING [2021-01-27T02:17:40.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-462/4 [2021-01-27T02:17:40.739Z] INFO: archiving workspace using pattern(s): [2021-01-27T02:17:44.159Z] Archives upload complete. [2021-01-27T02:17:44.159Z] INFO: archiving logs to Nexus