Pull request #396 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 8563f643fc37abb81146275fdf11a985255f4b0a rather than 176c1a3851ab2b332237d60f1bb20c4c6738a74c Obtained Jenkinsfile from 8563f643fc37abb81146275fdf11a985255f4b0a 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16096 in /w/workspace/dry_go-mod-core-contracts_PR-396 [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-396 # 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/396/head:refs/remotes/origin/PR-396 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8563f643fc37abb81146275fdf11a985255f4b0a into PR head commit 176c1a3851ab2b332237d60f1bb20c4c6738a74c Merge succeeded, producing 176c1a3851ab2b332237d60f1bb20c4c6738a74c Checking out Revision 176c1a3851ab2b332237d60f1bb20c4c6738a74c (PR-396) > git config core.sparsecheckout # timeout=10 > git checkout -f 176c1a3851ab2b332237d60f1bb20c4c6738a74c # 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 8563f643fc37abb81146275fdf11a985255f4b0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 176c1a3851ab2b332237d60f1bb20c4c6738a74c # timeout=10 Commit message: "Refactor(meta): Use range to iterates element for verifying device profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-15T07:47:16.802Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-15T07:47:17.102Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-15T07:47:17.218Z] ========================================================= [2020-12-15T07:47:17.218Z] EdgeX Global Pipelines Version Info [2020-12-15T07:47:17.218Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e44dfd9c52e684be30a38d98e5d3e0e310c2243f # timeout=10 [2020-12-15T07:47:18.685Z] ------------------- [2020-12-15T07:47:18.685Z] stable info: [2020-12-15T07:47:18.685Z] ------------------- [2020-12-15T07:47:18.685Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T07:47:18.685Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T07:47:18.685Z] Message: update stable to v1.0.172 [2020-12-15T07:47:19.635Z] ------------------- [2020-12-15T07:47:19.635Z] experimental info: [2020-12-15T07:47:19.635Z] ------------------- [2020-12-15T07:47:19.635Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-15T07:47:19.635Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-15T07:47:19.635Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-15T07:47:19.942Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-15T07:47:20.049Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-15T07:47:20.259Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-15T07:47:20.371Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-15T07:47:20.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-15T07:47:20.619Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-15T07:47:20.722Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-15T07:47:20.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-15T07:47:20.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-15T07:47:21.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-15T07:47:21.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-15T07:47:21.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-15T07:47:21.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-15T07:47:21.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-15T07:47:21.823Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T07:47:21.922Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T07:47:22.027Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T07:47:22.126Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-15T07:47:22.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-15T07:47:22.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-15T07:47:22.444Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-15T07:47:22.546Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-15T07:47:22.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-15T07:47:22.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-15T07:47:22.865Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-15T07:47:22.967Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-15T07:47:23.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2020-12-15T07:47:23.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2020-12-15T07:47:23.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2020-12-15T07:47:23.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 176c1a3851ab2b332237d60f1bb20c4c6738a74c [Pipeline] echo [2020-12-15T07:47:23.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 176c1a3 [Pipeline] echo [2020-12-15T07:47:23.622Z] [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-15T07:47:24.353Z] + git log --format=format:%s -1 176c1a3851ab2b332237d60f1bb20c4c6738a74c [Pipeline] echo [2020-12-15T07:47:24.427Z] GIT_COMMIT: 176c1a3851ab2b332237d60f1bb20c4c6738a74c, Commit Message: Refactor(meta): Use range to iterates element for verifying device profile [Pipeline] echo [2020-12-15T07:47:24.474Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:47:25.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T07:47:25.759Z] [2020-12-15T07:47:25.759Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:47:26.113Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T07:47:26.113Z] latest: Pulling from edgex-devops/git-semver [2020-12-15T07:47:26.113Z] 31603596830f: Pulling fs layer [2020-12-15T07:47:26.113Z] 2a8b12db71e7: Pulling fs layer [2020-12-15T07:47:26.113Z] 6ca5941a6612: Pulling fs layer [2020-12-15T07:47:26.113Z] ecc8261a40a4: Pulling fs layer [2020-12-15T07:47:26.113Z] ecc8261a40a4: Waiting [2020-12-15T07:47:26.113Z] 2a8b12db71e7: Download complete [2020-12-15T07:47:26.375Z] 31603596830f: Verifying Checksum [2020-12-15T07:47:26.375Z] 31603596830f: Download complete [2020-12-15T07:47:26.375Z] ecc8261a40a4: Verifying Checksum [2020-12-15T07:47:26.375Z] ecc8261a40a4: Download complete [2020-12-15T07:47:26.375Z] 6ca5941a6612: Verifying Checksum [2020-12-15T07:47:26.375Z] 6ca5941a6612: Download complete [2020-12-15T07:47:26.641Z] 31603596830f: Pull complete [2020-12-15T07:47:26.905Z] 2a8b12db71e7: Pull complete [2020-12-15T07:47:27.486Z] 6ca5941a6612: Pull complete [2020-12-15T07:47:27.747Z] ecc8261a40a4: Pull complete [2020-12-15T07:47:27.747Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-15T07:47:27.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-15T07:47:27.747Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-15T07:47:27.859Z] prd-centos7-docker-4c-2g-16096 does not seem to be running inside a container [2020-12-15T07:47:27.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-396 -v /w/workspace/dry_go-mod-core-contracts_PR-396:/w/workspace/dry_go-mod-core-contracts_PR-396:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-396@tmp:/w/workspace/dry_go-mod-core-contracts_PR-396@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-15T07:47:29.976Z] $ docker top e63ab640951e4f02b104fbd65a32356ee7abb1e063a0c1857b8c79949cc5bec7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-15T07:47:30.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T07:47:30.537Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T07:47:30.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T07:47:30.777Z] $ docker exec e63ab640951e4f02b104fbd65a32356ee7abb1e063a0c1857b8c79949cc5bec7 ssh-agent [2020-12-15T07:47:30.942Z] SSH_AUTH_SOCK=/tmp/ssh-k9pauHsCq3DZ/agent.11 [2020-12-15T07:47:30.942Z] SSH_AGENT_PID=16 [2020-12-15T07:47:30.951Z] Running ssh-add (command line suppressed) [2020-12-15T07:47:31.078Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-396@tmp/private_key_3676938841524145622.key (/w/workspace/dry_go-mod-core-contracts_PR-396@tmp/private_key_3676938841524145622.key) [2020-12-15T07:47:31.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T07:47:31.466Z] + git tag --points-at HEAD [Pipeline] } [2020-12-15T07:47:31.492Z] $ docker exec --env ******** --env ******** e63ab640951e4f02b104fbd65a32356ee7abb1e063a0c1857b8c79949cc5bec7 ssh-agent -k [2020-12-15T07:47:31.600Z] unset SSH_AUTH_SOCK; [2020-12-15T07:47:31.601Z] unset SSH_AGENT_PID; [2020-12-15T07:47:31.601Z] echo Agent pid 16 killed; [2020-12-15T07:47:31.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-15T07:47:31.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-15T07:47:31.816Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-15T07:47:31.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-15T07:47:31.995Z] $ docker exec e63ab640951e4f02b104fbd65a32356ee7abb1e063a0c1857b8c79949cc5bec7 ssh-agent [2020-12-15T07:47:32.145Z] SSH_AUTH_SOCK=/tmp/ssh-xj7mdlCydCu0/agent.45 [2020-12-15T07:47:32.145Z] SSH_AGENT_PID=50 [2020-12-15T07:47:32.152Z] Running ssh-add (command line suppressed) [2020-12-15T07:47:32.274Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-396@tmp/private_key_3263497414320879800.key (/w/workspace/dry_go-mod-core-contracts_PR-396@tmp/private_key_3263497414320879800.key) [2020-12-15T07:47:32.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-15T07:47:32.675Z] + git semver init [2020-12-15T07:47:32.675Z] # -> Open(): unable to determine branch for HEAD [2020-12-15T07:47:32.675Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-396/.git [2020-12-15T07:47:32.675Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-396 [2020-12-15T07:47:32.675Z] # $SEMVER_REMOTE_NAME = origin [2020-12-15T07:47:32.675Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-15T07:47:32.675Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-15T07:47:32.675Z] # $SEMVER_BRANCH = PR-396 [2020-12-15T07:47:32.675Z] # $SEMVER_TEMP = /tmp/semver-107839426 [2020-12-15T07:47:32.675Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-15T07:47:33.250Z] # '/tmp/semver-107839426' -> '/w/workspace/dry_go-mod-core-contracts_PR-396/.semver' [2020-12-15T07:47:33.250Z] # -> Force: false [2020-12-15T07:47:33.250Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-396/.semver [Pipeline] } [2020-12-15T07:47:33.268Z] $ docker exec --env ******** --env ******** e63ab640951e4f02b104fbd65a32356ee7abb1e063a0c1857b8c79949cc5bec7 ssh-agent -k [2020-12-15T07:47:33.376Z] unset SSH_AUTH_SOCK; [2020-12-15T07:47:33.377Z] unset SSH_AGENT_PID; [2020-12-15T07:47:33.377Z] echo Agent pid 50 killed; [2020-12-15T07:47:33.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-15T07:47:33.891Z] + git semver [Pipeline] } [2020-12-15T07:47:33.916Z] $ docker stop --time=1 e63ab640951e4f02b104fbd65a32356ee7abb1e063a0c1857b8c79949cc5bec7 [2020-12-15T07:47:35.703Z] $ docker rm -f e63ab640951e4f02b104fbd65a32356ee7abb1e063a0c1857b8c79949cc5bec7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T07:47:36.161Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-15T07:47:36.692Z] Stashed 1 file(s) [Pipeline] echo [2020-12-15T07:47:36.694Z] [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-15T07:47:52.209Z] Still waiting to schedule task [2020-12-15T07:47:52.209Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-15T07:47:52.211Z] Still waiting to schedule task [2020-12-15T07:47:52.211Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-15T07:50:34.071Z] Running on prd-centos7-docker-4c-2g-16097 in /w/workspace/dry_go-mod-core-contracts_PR-396 [Pipeline] { [Pipeline] ws [2020-12-15T07:50:34.136Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2020-12-15T07:50:40.822Z] using credential edgex-jenkins-ssh [2020-12-15T07:50:40.930Z] Cloning the remote Git repository [2020-12-15T07:50:40.980Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-15T07:50:41.105Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2020-12-15T07:50:41.198Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-15T07:50:41.198Z] > git --version # timeout=10 [2020-12-15T07:50:41.354Z] > git --version # 'git version 2.24.3' [2020-12-15T07:50:41.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T07:50:41.495Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T07:50:42.963Z] Merging remotes/origin/master commit 8563f643fc37abb81146275fdf11a985255f4b0a into PR head commit 176c1a3851ab2b332237d60f1bb20c4c6738a74c [2020-12-15T07:50:43.172Z] Merge succeeded, producing 176c1a3851ab2b332237d60f1bb20c4c6738a74c [2020-12-15T07:50:43.172Z] Checking out Revision 176c1a3851ab2b332237d60f1bb20c4c6738a74c (PR-396) [2020-12-15T07:50:42.293Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-15T07:50:42.310Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T07:50:42.349Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-15T07:50:42.404Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-15T07:50:42.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T07:50:42.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T07:50:42.977Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T07:50:42.999Z] > git checkout -f 176c1a3851ab2b332237d60f1bb20c4c6738a74c # timeout=10 [2020-12-15T07:50:43.085Z] > git remote # timeout=10 [2020-12-15T07:50:43.094Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T07:50:43.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T07:50:43.124Z] > git merge 8563f643fc37abb81146275fdf11a985255f4b0a # timeout=10 [2020-12-15T07:50:43.140Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T07:50:43.181Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T07:50:43.194Z] > git checkout -f 176c1a3851ab2b332237d60f1bb20c4c6738a74c # timeout=10 [2020-12-15T07:50:47.372Z] Commit message: "Refactor(meta): Use range to iterates element for verifying device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T07:50:48.961Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-15T07:50:49.424Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T07:50:49.787Z] + sudo service docker restart [2020-12-15T07:50:49.787Z] + true [2020-12-15T07:50:49.787Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-15T07:50:51.422Z] ========================================================= [2020-12-15T07:50:51.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-15T07:50:51.422Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:50:51.817Z] + 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-15T07:50:52.432Z] Sending build context to Docker daemon 1.99MB [2020-12-15T07:50:52.432Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-15T07:50:52.432Z] Step 2/7 : FROM ${BASE} [2020-12-15T07:50:52.727Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-15T07:50:52.727Z] 188c0c94c7c5: Pulling fs layer [2020-12-15T07:50:52.727Z] 0ef7d3d256c8: Pulling fs layer [2020-12-15T07:50:52.727Z] de9db76c5a1d: Pulling fs layer [2020-12-15T07:50:52.727Z] bca2f99d35d6: Pulling fs layer [2020-12-15T07:50:52.727Z] 93359f2a8cfa: Pulling fs layer [2020-12-15T07:50:52.727Z] 7c6f9722023f: Pulling fs layer [2020-12-15T07:50:52.727Z] a35cf1a2eb13: Pulling fs layer [2020-12-15T07:50:52.727Z] bca2f99d35d6: Waiting [2020-12-15T07:50:52.727Z] 93359f2a8cfa: Waiting [2020-12-15T07:50:52.727Z] a35cf1a2eb13: Waiting [2020-12-15T07:50:52.727Z] 7c6f9722023f: Waiting [2020-12-15T07:50:52.727Z] de9db76c5a1d: Verifying Checksum [2020-12-15T07:50:52.727Z] de9db76c5a1d: Download complete [2020-12-15T07:50:52.727Z] 0ef7d3d256c8: Verifying Checksum [2020-12-15T07:50:52.727Z] 0ef7d3d256c8: Download complete [2020-12-15T07:50:52.727Z] 93359f2a8cfa: Verifying Checksum [2020-12-15T07:50:52.727Z] 93359f2a8cfa: Download complete [2020-12-15T07:50:53.332Z] 7c6f9722023f: Verifying Checksum [2020-12-15T07:50:53.332Z] 7c6f9722023f: Download complete [2020-12-15T07:50:53.946Z] 188c0c94c7c5: Verifying Checksum [2020-12-15T07:50:53.946Z] 188c0c94c7c5: Download complete [2020-12-15T07:50:55.001Z] 188c0c94c7c5: Pull complete [2020-12-15T07:50:55.292Z] 0ef7d3d256c8: Pull complete [2020-12-15T07:50:55.575Z] de9db76c5a1d: Pull complete [2020-12-15T07:50:57.609Z] a35cf1a2eb13: Verifying Checksum [2020-12-15T07:50:57.610Z] a35cf1a2eb13: Download complete [2020-12-15T07:50:59.684Z] bca2f99d35d6: Verifying Checksum [2020-12-15T07:50:59.684Z] bca2f99d35d6: Download complete [2020-12-15T07:51:10.021Z] bca2f99d35d6: Pull complete [2020-12-15T07:51:10.021Z] 93359f2a8cfa: Pull complete [2020-12-15T07:51:10.021Z] 7c6f9722023f: Pull complete [2020-12-15T07:51:16.824Z] a35cf1a2eb13: Pull complete [2020-12-15T07:51:16.824Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-15T07:51:16.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-15T07:51:16.824Z] ---> a62c8e92a672 [2020-12-15T07:51:16.824Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-15T07:51:16.824Z] ---> Running in a1513f58fff3 [2020-12-15T07:51:16.824Z] Removing intermediate container a1513f58fff3 [2020-12-15T07:51:16.824Z] ---> 73a6744191df [2020-12-15T07:51:16.824Z] Step 4/7 : RUN apk add bash [2020-12-15T07:51:16.824Z] ---> Running in 6ec99b6f66ae [2020-12-15T07:51:17.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-15T07:51:18.789Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-15T07:51:19.421Z] OK: 166 MiB in 39 packages [2020-12-15T07:51:20.485Z] Removing intermediate container 6ec99b6f66ae [2020-12-15T07:51:20.485Z] ---> e5132c4cecb0 [2020-12-15T07:51:20.485Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-15T07:51:20.485Z] ---> Running in c0c0d504cc71 [2020-12-15T07:51:20.485Z] Removing intermediate container c0c0d504cc71 [2020-12-15T07:51:20.485Z] ---> 386f2147826a [2020-12-15T07:51:20.485Z] Step 6/7 : COPY go.mod . [2020-12-15T07:51:21.081Z] ---> 5852cce4a2ef [2020-12-15T07:51:21.081Z] Step 7/7 : RUN go mod download [2020-12-15T07:51:21.081Z] ---> Running in b0f72fa4e500 [2020-12-15T07:51:36.369Z] Removing intermediate container b0f72fa4e500 [2020-12-15T07:51:36.369Z] ---> 3e06351d1f2b [2020-12-15T07:51:36.369Z] Successfully built 3e06351d1f2b [2020-12-15T07:51:36.369Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:51:36.723Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T07:51:36.723Z] . [Pipeline] withDockerContainer [2020-12-15T07:51:37.167Z] prd-centos7-docker-4c-2g-16097 does not seem to be running inside a container [2020-12-15T07:51:37.512Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-15T07:51:38.486Z] $ docker top febd205bdef621952a3141ef48fb13a2eaa1d1fae1dd0f7b4d98f501fd9d2c46 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T07:51:39.540Z] + go version [2020-12-15T07:51:39.540Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-15T07:51:39.567Z] $ docker stop --time=1 febd205bdef621952a3141ef48fb13a2eaa1d1fae1dd0f7b4d98f501fd9d2c46 [2020-12-15T07:51:39.576Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16098 in /w/workspace/dry_go-mod-core-contracts_PR-396 [2020-12-15T07:51:41.227Z] $ docker rm -f febd205bdef621952a3141ef48fb13a2eaa1d1fae1dd0f7b4d98f501fd9d2c46 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2020-12-15T07:51:41.660Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:51:42.291Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-15T07:51:42.291Z] . [Pipeline] withDockerContainer [2020-12-15T07:51:42.500Z] prd-centos7-docker-4c-2g-16097 does not seem to be running inside a container [2020-12-15T07:51:43.007Z] $ 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 ******** ci-base-image-x86_64 cat [2020-12-15T07:51:44.076Z] $ docker top f856a04c286d6052e0618a28969b59ea30d05a38239f4deb9be51bfcd03128d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T07:51:44.830Z] + make test [2020-12-15T07:51:44.830Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-15T07:51:46.322Z] using credential edgex-jenkins-ssh [2020-12-15T07:51:46.388Z] Cloning the remote Git repository [2020-12-15T07:51:46.443Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-15T07:51:46.566Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2020-12-15T07:51:46.635Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-15T07:51:46.636Z] > git --version # timeout=10 [2020-12-15T07:51:46.651Z] > git --version # 'git version 2.17.1' [2020-12-15T07:51:46.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T07:51:46.703Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T07:51:47.736Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-15T07:51:47.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-15T07:51:47.781Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-15T07:51:47.820Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-15T07:51:47.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T07:51:47.832Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-15T07:51:48.498Z] Merging remotes/origin/master commit 8563f643fc37abb81146275fdf11a985255f4b0a into PR head commit 176c1a3851ab2b332237d60f1bb20c4c6738a74c [2020-12-15T07:51:48.733Z] Merge succeeded, producing 176c1a3851ab2b332237d60f1bb20c4c6738a74c [2020-12-15T07:51:48.733Z] Checking out Revision 176c1a3851ab2b332237d60f1bb20c4c6738a74c (PR-396) [2020-12-15T07:51:48.519Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T07:51:48.536Z] > git checkout -f 176c1a3851ab2b332237d60f1bb20c4c6738a74c # timeout=10 [2020-12-15T07:51:48.659Z] > git remote # timeout=10 [2020-12-15T07:51:48.675Z] > git config --get remote.origin.url # timeout=10 [2020-12-15T07:51:48.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-15T07:51:48.697Z] > git merge 8563f643fc37abb81146275fdf11a985255f4b0a # timeout=10 [2020-12-15T07:51:48.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-15T07:51:48.740Z] > git config core.sparsecheckout # timeout=10 [2020-12-15T07:51:48.792Z] > git checkout -f 176c1a3851ab2b332237d60f1bb20c4c6738a74c # timeout=10 [2020-12-15T07:51:53.118Z] Commit message: "Refactor(meta): Use range to iterates element for verifying device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-15T07:51:54.954Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-15T07:51:55.382Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-15T07:51:55.792Z] + true [2020-12-15T07:51:55.792Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2020-12-15T07:51:58.046Z] ========================================================= [2020-12-15T07:51:58.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-15T07:51:58.047Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:51:58.433Z] + 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-15T07:51:59.417Z] Sending build context to Docker daemon 1.989MB [2020-12-15T07:51:59.417Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-15T07:51:59.417Z] Step 2/7 : FROM ${BASE} [2020-12-15T07:51:59.697Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-15T07:51:59.697Z] 5f621e34cdf4: Pulling fs layer [2020-12-15T07:51:59.697Z] a4357932f1b6: Pulling fs layer [2020-12-15T07:51:59.697Z] 18c013af1878: Pulling fs layer [2020-12-15T07:51:59.697Z] 00ac8860ef70: Pulling fs layer [2020-12-15T07:51:59.697Z] 63d7cb157983: Pulling fs layer [2020-12-15T07:51:59.697Z] b116817d02f9: Pulling fs layer [2020-12-15T07:51:59.697Z] 745a02a5169b: Pulling fs layer [2020-12-15T07:51:59.697Z] 63d7cb157983: Waiting [2020-12-15T07:51:59.697Z] b116817d02f9: Waiting [2020-12-15T07:51:59.697Z] 745a02a5169b: Waiting [2020-12-15T07:51:59.697Z] 00ac8860ef70: Waiting [2020-12-15T07:51:59.697Z] 18c013af1878: Verifying Checksum [2020-12-15T07:51:59.697Z] 18c013af1878: Download complete [2020-12-15T07:51:59.697Z] a4357932f1b6: Verifying Checksum [2020-12-15T07:51:59.697Z] a4357932f1b6: Download complete [2020-12-15T07:51:59.697Z] 63d7cb157983: Verifying Checksum [2020-12-15T07:51:59.697Z] 63d7cb157983: Download complete [2020-12-15T07:51:59.971Z] b116817d02f9: Download complete [2020-12-15T07:51:59.971Z] 5f621e34cdf4: Verifying Checksum [2020-12-15T07:51:59.971Z] 5f621e34cdf4: Download complete [2020-12-15T07:52:00.328Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-15T07:52:00.328Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.038s coverage: 85.7% of statements [2020-12-15T07:52:00.328Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.074s coverage: 100.0% of statements [2020-12-15T07:52:00.328Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.076s coverage: 45.4% of statements [2020-12-15T07:52:00.328Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.040s coverage: 77.8% of statements [2020-12-15T07:52:00.328Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-15T07:52:00.569Z] 5f621e34cdf4: Pull complete [2020-12-15T07:52:01.172Z] a4357932f1b6: Pull complete [2020-12-15T07:52:01.446Z] 18c013af1878: Pull complete [2020-12-15T07:52:01.720Z] 745a02a5169b: Download complete [2020-12-15T07:52:02.586Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.037s coverage: 18.6% of statements [2020-12-15T07:52:03.162Z] 00ac8860ef70: Verifying Checksum [2020-12-15T07:52:03.162Z] 00ac8860ef70: Download complete [2020-12-15T07:52:03.258Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.064s coverage: 14.7% of statements [2020-12-15T07:52:03.258Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.110s coverage: 100.0% of statements [2020-12-15T07:52:03.548Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.035s coverage: 91.8% of statements [2020-12-15T07:52:03.548Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-15T07:52:03.548Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-15T07:52:03.548Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.009s coverage: 100.0% of statements [2020-12-15T07:52:04.642Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.012s coverage: 47.8% of statements [2020-12-15T07:52:10.616Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.176s coverage: 63.0% of statements [2020-12-15T07:52:10.616Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.016s coverage: 26.3% of statements [2020-12-15T07:52:10.616Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.025s coverage: 15.4% of statements [2020-12-15T07:52:10.616Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.039s coverage: 15.4% of statements [2020-12-15T07:52:10.616Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.024s coverage: 14.3% of statements [2020-12-15T07:52:10.616Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-15T07:52:11.742Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.060s coverage: 85.3% of statements [2020-12-15T07:52:11.743Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-15T07:52:11.743Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-15T07:52:11.743Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.018s coverage: 43.5% of statements [2020-12-15T07:52:11.743Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.028s coverage: 100.0% of statements [2020-12-15T07:52:12.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.059s coverage: 94.4% of statements [2020-12-15T07:52:12.367Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.050s coverage: 100.0% of statements [2020-12-15T07:52:12.367Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-15T07:52:12.993Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-15T07:52:13.319Z] 00ac8860ef70: Pull complete [2020-12-15T07:52:13.319Z] 63d7cb157983: Pull complete [2020-12-15T07:52:13.917Z] b116817d02f9: Pull complete [2020-12-15T07:52:17.802Z] gofmt -l . [2020-12-15T07:52:18.073Z] [ "`gofmt -l .`" = "" ] [2020-12-15T07:52:18.250Z] 745a02a5169b: Pull complete [2020-12-15T07:52:18.250Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-15T07:52:18.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-15T07:52:18.250Z] ---> b7e6874047d6 [2020-12-15T07:52:18.250Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] } [2020-12-15T07:52:18.369Z] $ docker stop --time=1 f856a04c286d6052e0618a28969b59ea30d05a38239f4deb9be51bfcd03128d8 [2020-12-15T07:52:20.854Z] $ docker rm -f f856a04c286d6052e0618a28969b59ea30d05a38239f4deb9be51bfcd03128d8 [2020-12-15T07:52:20.867Z] ---> Running in 1634b7036800 [2020-12-15T07:52:20.867Z] Removing intermediate container 1634b7036800 [2020-12-15T07:52:20.867Z] ---> 8c1d11c90d88 [2020-12-15T07:52:20.867Z] Step 4/7 : RUN apk add bash [2020-12-15T07:52:21.142Z] ---> Running in a4c0495f29c2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T07:52:21.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T07:52:22.592Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-15T07:52:22.628Z] 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] } [2020-12-15T07:52:23.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [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] } [2020-12-15T07:52:24.184Z] OK: 142 MiB in 39 packages [2020-12-15T07:52:25.167Z] Removing intermediate container a4c0495f29c2 [2020-12-15T07:52:25.167Z] ---> e62e7d720a2e [2020-12-15T07:52:25.167Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-15T07:52:25.443Z] ---> Running in 3aea00bee42e [2020-12-15T07:52:26.051Z] Removing intermediate container 3aea00bee42e [2020-12-15T07:52:26.051Z] ---> 32a5b20dc001 [2020-12-15T07:52:26.051Z] Step 6/7 : COPY go.mod . [2020-12-15T07:52:26.652Z] ---> 554967d94add [2020-12-15T07:52:26.652Z] Step 7/7 : RUN go mod download [2020-12-15T07:52:26.652Z] ---> Running in 2ef49b4388eb [2020-12-15T07:52:41.785Z] Removing intermediate container 2ef49b4388eb [2020-12-15T07:52:41.785Z] ---> 4e516f0ff812 [2020-12-15T07:52:41.785Z] Successfully built 4e516f0ff812 [2020-12-15T07:52:41.785Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:52:42.120Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T07:52:42.120Z] . [Pipeline] withDockerContainer [2020-12-15T07:52:42.366Z] prd-ubuntu18.04-docker-arm64-4c-16g-16098 does not seem to be running inside a container [2020-12-15T07:52:42.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T07:52:44.069Z] $ docker top 2a5da9b668c3faf91e8b95e20a92552c9df008567de54aade25a6c20c48a8810 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T07:52:45.088Z] + go version [2020-12-15T07:52:45.088Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-15T07:52:45.116Z] $ docker stop --time=1 2a5da9b668c3faf91e8b95e20a92552c9df008567de54aade25a6c20c48a8810 [2020-12-15T07:52:47.248Z] $ docker rm -f 2a5da9b668c3faf91e8b95e20a92552c9df008567de54aade25a6c20c48a8810 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:52:48.193Z] + docker inspect -f . ci-base-image-arm64 [2020-12-15T07:52:48.193Z] . [Pipeline] withDockerContainer [2020-12-15T07:52:48.456Z] prd-ubuntu18.04-docker-arm64-4c-16g-16098 does not seem to be running inside a container [2020-12-15T07:52:48.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-15T07:52:50.141Z] $ docker top 540a90436c03e25d720a2c2d8029dbd2ca2a38db1cd75848c7e6dd726b331d12 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T07:52:51.161Z] + make test [2020-12-15T07:52:51.161Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-15T07:53:13.396Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-15T07:53:13.997Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.028s coverage: 85.7% of statements [2020-12-15T07:53:13.997Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.049s coverage: 100.0% of statements [2020-12-15T07:53:15.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.053s coverage: 45.4% of statements [2020-12-15T07:53:15.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.029s coverage: 77.8% of statements [2020-12-15T07:53:15.988Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-15T07:53:16.261Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.032s coverage: 18.6% of statements [2020-12-15T07:53:17.729Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.039s coverage: 14.7% of statements [2020-12-15T07:53:17.729Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.030s coverage: 100.0% of statements [2020-12-15T07:53:19.165Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.088s coverage: 91.8% of statements [2020-12-15T07:53:19.165Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-15T07:53:19.165Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-15T07:53:19.165Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.042s coverage: 100.0% of statements [2020-12-15T07:53:19.165Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.038s coverage: 47.8% of statements [2020-12-15T07:53:24.588Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.094s coverage: 63.0% of statements [2020-12-15T07:53:24.588Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.024s coverage: 26.3% of statements [2020-12-15T07:53:24.588Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.023s coverage: 15.4% of statements [2020-12-15T07:53:24.588Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.082s coverage: 15.4% of statements [2020-12-15T07:53:24.588Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.017s coverage: 14.3% of statements [2020-12-15T07:53:24.588Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-15T07:53:25.574Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.104s coverage: 85.3% of statements [2020-12-15T07:53:25.574Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-15T07:53:25.574Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-15T07:53:26.175Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.054s coverage: 43.5% of statements [2020-12-15T07:53:26.175Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.032s coverage: 100.0% of statements [2020-12-15T07:53:27.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.055s coverage: 94.4% of statements [2020-12-15T07:53:27.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.025s coverage: 100.0% of statements [2020-12-15T07:53:27.620Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-15T07:53:27.620Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-15T07:53:33.046Z] gofmt -l . [2020-12-15T07:53:33.046Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-15T07:53:33.346Z] $ docker stop --time=1 540a90436c03e25d720a2c2d8029dbd2ca2a38db1cd75848c7e6dd726b331d12 [2020-12-15T07:53:35.490Z] $ docker rm -f 540a90436c03e25d720a2c2d8029dbd2ca2a38db1cd75848c7e6dd726b331d12 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-15T07:53:36.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-15T07:53:36.426Z] Warning: overwriting stash ‘coverage-report’ [2020-12-15T07:53:37.312Z] 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-15T07:53:38.836Z] provisioning config files... [2020-12-15T07:53:38.847Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-396@tmp/config7308905161552860517tmp [Pipeline] { [Pipeline] sh [2020-12-15T07:53:39.240Z] + set +x [2020-12-15T07:53:39.240Z] + curl -s https://codecov.io/bash [2020-12-15T07:53:39.240Z] + bash -s -- [2020-12-15T07:53:39.240Z] [2020-12-15T07:53:39.240Z] _____ _ [2020-12-15T07:53:39.240Z] / ____| | | [2020-12-15T07:53:39.240Z] | | ___ __| | ___ ___ _____ __ [2020-12-15T07:53:39.240Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-15T07:53:39.240Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-15T07:53:39.240Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-15T07:53:39.240Z] Bash-20201130-cc6d3fe [2020-12-15T07:53:39.240Z] [2020-12-15T07:53:39.240Z] [2020-12-15T07:53:39.240Z] ==> Jenkins CI detected. [2020-12-15T07:53:39.501Z] project root: . [2020-12-15T07:53:39.501Z] --> token set from env [2020-12-15T07:53:39.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-15T07:53:39.501Z] ==> Running gcov in . (disable via -X gcov) [2020-12-15T07:53:39.501Z] ==> Python coveragepy not found [2020-12-15T07:53:39.501Z] ==> Searching for coverage reports in: [2020-12-15T07:53:39.501Z] + . [2020-12-15T07:53:39.501Z] -> Found 1 reports [2020-12-15T07:53:39.501Z] ==> Detecting git/mercurial file structure [2020-12-15T07:53:39.501Z] ==> Reading reports [2020-12-15T07:53:39.501Z] + ./coverage.out bytes=113695 [2020-12-15T07:53:39.501Z] ==> Appending adjustments [2020-12-15T07:53:39.501Z] https://docs.codecov.io/docs/fixing-reports [2020-12-15T07:53:40.078Z] + Found adjustments [2020-12-15T07:53:40.078Z] ==> Gzipping contents [2020-12-15T07:53:40.078Z] 20K /tmp/codecov.Pe1hfs.gz [2020-12-15T07:53:40.078Z] ==> Uploading reports [2020-12-15T07:53:40.078Z] url: https://codecov.io [2020-12-15T07:53:40.078Z] query: branch=PR-396&commit=176c1a3851ab2b332237d60f1bb20c4c6738a74c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-396%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=396&job=&cmd_args= [2020-12-15T07:53:40.078Z] -> Pinging Codecov [2020-12-15T07:53:40.078Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-396&commit=176c1a3851ab2b332237d60f1bb20c4c6738a74c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-396%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=396&job=&cmd_args= [2020-12-15T07:53:40.653Z] -> Uploading to [2020-12-15T07:53:40.654Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-15/71470A77251A30514AAF9C0BB2E5B6CE/176c1a3851ab2b332237d60f1bb20c4c6738a74c/2c018445-0414-4f47-92e6-cc9c6752fa96.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T075340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f37bef300065417a4ddfdb20a66634a8ee55989f63b5dfb912ae4a58c542cc89 [2020-12-15T07:53:40.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-15T07:53:40.654Z] Dload Upload Total Spent Left Speed [2020-12-15T07:53:40.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18148 0 0 100 18148 0 38260 --:--:-- --:--:-- --:--:-- 38286 [2020-12-15T07:53:40.916Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/176c1a3851ab2b332237d60f1bb20c4c6738a74c [Pipeline] } [2020-12-15T07:53:40.924Z] 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-15T07:53:43.528Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T07:53:44.128Z] ---> package-listing.sh [2020-12-15T07:53:44.128Z] ++ facter osfamily [2020-12-15T07:53:44.128Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-15T07:53:44.128Z] + OS_FAMILY=redhat [2020-12-15T07:53:44.128Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-396 [2020-12-15T07:53:44.128Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-15T07:53:44.128Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-15T07:53:44.128Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-15T07:53:44.128Z] + PACKAGES=/tmp/packages_start.txt [2020-12-15T07:53:44.128Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-396 ']' [2020-12-15T07:53:44.128Z] + PACKAGES=/tmp/packages_end.txt [2020-12-15T07:53:44.128Z] + case "${OS_FAMILY}" in [2020-12-15T07:53:44.128Z] + rpm -qa [2020-12-15T07:53:44.128Z] + sort [2020-12-15T07:53:49.460Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-15T07:53:49.460Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-15T07:53:49.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-15T07:53:49.460Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-396 ']' [2020-12-15T07:53:49.460Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-396/archives/ [2020-12-15T07:53:49.460Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-396/archives/ [Pipeline] echo [2020-12-15T07:53:49.478Z] 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-15T07:53:49.769Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:53:50.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T07:53:50.075Z] [2020-12-15T07:53:50.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-15T07:53:50.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T07:53:50.427Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-15T07:53:50.427Z] df20fa9351a1: Pulling fs layer [2020-12-15T07:53:50.427Z] 36b3adc4ff6f: Pulling fs layer [2020-12-15T07:53:50.427Z] 8ad3a11d3b57: Pulling fs layer [2020-12-15T07:53:50.427Z] 46f8f816bc3b: Pulling fs layer [2020-12-15T07:53:50.427Z] 93b61091891f: Pulling fs layer [2020-12-15T07:53:50.427Z] 93b9cdb0e59b: Pulling fs layer [2020-12-15T07:53:50.427Z] 5e14af77c1be: Pulling fs layer [2020-12-15T07:53:50.427Z] 01666e4c0597: Pulling fs layer [2020-12-15T07:53:50.427Z] aa168da1d23b: Pulling fs layer [2020-12-15T07:53:50.427Z] 46f8f816bc3b: Waiting [2020-12-15T07:53:50.427Z] 5e14af77c1be: Waiting [2020-12-15T07:53:50.427Z] 01666e4c0597: Waiting [2020-12-15T07:53:50.427Z] 93b61091891f: Waiting [2020-12-15T07:53:50.427Z] aa168da1d23b: Waiting [2020-12-15T07:53:50.427Z] 93b9cdb0e59b: Waiting [2020-12-15T07:53:50.427Z] 36b3adc4ff6f: Download complete [2020-12-15T07:53:50.427Z] 46f8f816bc3b: Verifying Checksum [2020-12-15T07:53:50.427Z] 46f8f816bc3b: Download complete [2020-12-15T07:53:50.427Z] df20fa9351a1: Verifying Checksum [2020-12-15T07:53:50.427Z] df20fa9351a1: Download complete [2020-12-15T07:53:50.693Z] 93b9cdb0e59b: Verifying Checksum [2020-12-15T07:53:50.693Z] 93b9cdb0e59b: Download complete [2020-12-15T07:53:50.693Z] 5e14af77c1be: Verifying Checksum [2020-12-15T07:53:50.693Z] 5e14af77c1be: Download complete [2020-12-15T07:53:50.693Z] 93b61091891f: Verifying Checksum [2020-12-15T07:53:50.693Z] 93b61091891f: Download complete [2020-12-15T07:53:50.693Z] 01666e4c0597: Verifying Checksum [2020-12-15T07:53:50.693Z] 01666e4c0597: Download complete [2020-12-15T07:53:50.693Z] 8ad3a11d3b57: Verifying Checksum [2020-12-15T07:53:50.693Z] 8ad3a11d3b57: Download complete [2020-12-15T07:53:50.956Z] df20fa9351a1: Pull complete [2020-12-15T07:53:50.956Z] 36b3adc4ff6f: Pull complete [2020-12-15T07:53:51.915Z] 8ad3a11d3b57: Pull complete [2020-12-15T07:53:51.915Z] 46f8f816bc3b: Pull complete [2020-12-15T07:53:52.865Z] aa168da1d23b: Verifying Checksum [2020-12-15T07:53:52.865Z] aa168da1d23b: Download complete [2020-12-15T07:53:52.865Z] 93b61091891f: Pull complete [2020-12-15T07:53:52.865Z] 93b9cdb0e59b: Pull complete [2020-12-15T07:53:53.133Z] 5e14af77c1be: Pull complete [2020-12-15T07:53:53.133Z] 01666e4c0597: Pull complete [2020-12-15T07:54:01.301Z] aa168da1d23b: Pull complete [2020-12-15T07:54:01.301Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-15T07:54:01.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-15T07:54:01.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-15T07:54:01.508Z] prd-centos7-docker-4c-2g-16096 does not seem to be running inside a container [2020-12-15T07:54:01.557Z] $ 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-396/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-396 -v /w/workspace/dry_go-mod-core-contracts_PR-396:/w/workspace/dry_go-mod-core-contracts_PR-396:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-396@tmp:/w/workspace/dry_go-mod-core-contracts_PR-396@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:10003/edgex-lftools-log-publisher:alpine cat [2020-12-15T07:54:04.093Z] $ docker top 15536e1e639bb705db42e6cd6c92fd2f550136c826e19a1e0dd6a480ae211eaa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-15T07:54:04.609Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-15T07:54:04.907Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-15T07:54:05.207Z] + ls /var/log/sa-host [2020-12-15T07:54:05.207Z] + sadf -c /var/log/sa-host/sa15 [2020-12-15T07:54:05.207Z] file_magic: OK [2020-12-15T07:54:05.207Z] HZ: Using current value: 100 [2020-12-15T07:54:05.207Z] file_header: OK [2020-12-15T07:54:05.207Z] 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-15T07:54:05.207Z] Statistics: [2020-12-15T07:54:05.207Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-15T07:54:05.207Z] File successfully converted to sysstat format version 12.2.1 [2020-12-15T07:54:05.207Z] + sadf -c /var/log/sa-host/sa23 [2020-12-15T07:54:05.207Z] file_magic: OK [2020-12-15T07:54:05.207Z] HZ: Using current value: 100 [2020-12-15T07:54:05.207Z] file_header: OK [2020-12-15T07:54:05.207Z] 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-15T07:54:05.207Z] Statistics: [2020-12-15T07:54:05.207Z] Hnuu...uuuununununu... [2020-12-15T07:54:05.207Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-15T07:54:05.416Z] provisioning config files... [2020-12-15T07:54:05.433Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-396@tmp/config2713305506600612972tmp [Pipeline] { [Pipeline] echo [2020-12-15T07:54:05.505Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T07:54:05.811Z] ---> create-netrc.sh [Pipeline] } [2020-12-15T07:54:05.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-15T07:54:05.913Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T07:54:06.211Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-15T07:54:06.221Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T07:54:06.514Z] ---> sudo-logs.sh [2020-12-15T07:54:06.514Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-15T07:54:06.525Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T07:54:06.817Z] ---> job-cost.sh [2020-12-15T07:54:06.817Z] lf-activate-venv: SKIPPING [2020-12-15T07:54:06.817Z] INFO: No Stack... [2020-12-15T07:54:08.211Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-15T07:54:08.473Z] INFO: Archiving Costs [Pipeline] echo [2020-12-15T07:54:08.487Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-15T07:54:08.786Z] ---> logs-deploy.sh [2020-12-15T07:54:08.786Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-396/4 [2020-12-15T07:54:08.786Z] INFO: archiving workspace using pattern(s): [2020-12-15T07:54:10.712Z] Archives upload complete. [2020-12-15T07:54:10.712Z] INFO: archiving logs to Nexus