Pull request #384 opened 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 93bcc6a2201236c31d14acbf099dd3f279e68d4d rather than 617ea87178ce3d620c3fbe1675060fb397bfaafd Obtained Jenkinsfile from 93bcc6a2201236c31d14acbf099dd3f279e68d4d Running in Durability level: MAX_SURVIVABILITY 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 48b313303ce5ba460cd13c4c603c4b280f104d53 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 48b313303ce5ba460cd13c4c603c4b280f104d53 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-384/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 48b313303ce5ba460cd13c4c603c4b280f104d53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 48b313303ce5ba460cd13c4c603c4b280f104d53 # timeout=10 Commit message: "Merge pull request #305 from ernestojeda/revert-go-mod-change" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-384/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 48b313303ce5ba460cd13c4c603c4b280f104d53 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-15057 in /w/workspace/dry_go-mod-core-contracts_PR-384 [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-384 # 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/384/head:refs/remotes/origin/PR-384 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 93bcc6a2201236c31d14acbf099dd3f279e68d4d into PR head commit 617ea87178ce3d620c3fbe1675060fb397bfaafd Merge succeeded, producing 617ea87178ce3d620c3fbe1675060fb397bfaafd Checking out Revision 617ea87178ce3d620c3fbe1675060fb397bfaafd (PR-384) > git config core.sparsecheckout # timeout=10 > git checkout -f 617ea87178ce3d620c3fbe1675060fb397bfaafd # 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 93bcc6a2201236c31d14acbf099dd3f279e68d4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 617ea87178ce3d620c3fbe1675060fb397bfaafd # timeout=10 Commit message: "refactor(meta): Remove OperatingState field in DeviceService V2 model" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 48b313303ce5ba460cd13c4c603c4b280f104d53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-08T06:10:02.810Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-08T06:10:03.346Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-08T06:10:04.709Z] ========================================================= [2020-12-08T06:10:04.709Z] EdgeX Global Pipelines Version Info [2020-12-08T06:10:04.709Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-08T06:10:06.241Z] ------------------- [2020-12-08T06:10:06.241Z] stable info: [2020-12-08T06:10:06.241Z] ------------------- [2020-12-08T06:10:06.241Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-08T06:10:06.241Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T06:10:06.241Z] Message: update stable to v1.0.171 [2020-12-08T06:10:07.187Z] ------------------- [2020-12-08T06:10:07.187Z] experimental info: [2020-12-08T06:10:07.187Z] ------------------- [2020-12-08T06:10:07.187Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-08T06:10:07.187Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-08T06:10:07.187Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-08T06:10:07.613Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-08T06:10:07.769Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-08T06:10:07.918Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-08T06:10:08.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-08T06:10:08.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-08T06:10:08.380Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-08T06:10:08.562Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-08T06:10:08.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-08T06:10:08.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-08T06:10:09.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-08T06:10:09.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-08T06:10:09.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-08T06:10:09.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-08T06:10:09.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-08T06:10:09.784Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T06:10:09.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T06:10:10.078Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T06:10:10.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-08T06:10:10.465Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-08T06:10:10.639Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-08T06:10:10.784Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-08T06:10:10.943Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-08T06:10:11.129Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-08T06:10:11.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-08T06:10:11.395Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-08T06:10:11.562Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-08T06:10:11.739Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo [2020-12-08T06:10:11.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo [2020-12-08T06:10:12.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo [2020-12-08T06:10:12.228Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 617ea87178ce3d620c3fbe1675060fb397bfaafd [Pipeline] echo [2020-12-08T06:10:12.366Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 617ea87 [Pipeline] echo [2020-12-08T06:10:12.496Z] [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-08T06:10:13.483Z] + git log --format=format:%s -1 617ea87178ce3d620c3fbe1675060fb397bfaafd [Pipeline] echo [2020-12-08T06:10:13.565Z] GIT_COMMIT: 617ea87178ce3d620c3fbe1675060fb397bfaafd, Commit Message: refactor(meta): Remove OperatingState field in DeviceService V2 model [Pipeline] echo [2020-12-08T06:10:13.641Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:10:14.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T06:10:15.082Z] [2020-12-08T06:10:15.083Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:10:15.520Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T06:10:15.521Z] latest: Pulling from edgex-devops/git-semver [2020-12-08T06:10:15.521Z] 31603596830f: Pulling fs layer [2020-12-08T06:10:15.521Z] 2a8b12db71e7: Pulling fs layer [2020-12-08T06:10:15.521Z] 6ca5941a6612: Pulling fs layer [2020-12-08T06:10:15.521Z] ecc8261a40a4: Pulling fs layer [2020-12-08T06:10:15.521Z] ecc8261a40a4: Waiting [2020-12-08T06:10:15.521Z] 2a8b12db71e7: Verifying Checksum [2020-12-08T06:10:15.521Z] 2a8b12db71e7: Download complete [2020-12-08T06:10:15.796Z] 31603596830f: Verifying Checksum [2020-12-08T06:10:15.796Z] 31603596830f: Download complete [2020-12-08T06:10:16.078Z] ecc8261a40a4: Verifying Checksum [2020-12-08T06:10:16.078Z] ecc8261a40a4: Download complete [2020-12-08T06:10:16.365Z] 6ca5941a6612: Verifying Checksum [2020-12-08T06:10:16.365Z] 6ca5941a6612: Download complete [2020-12-08T06:10:16.365Z] 31603596830f: Pull complete [2020-12-08T06:10:16.644Z] 2a8b12db71e7: Pull complete [2020-12-08T06:10:17.246Z] 6ca5941a6612: Pull complete [2020-12-08T06:10:17.518Z] ecc8261a40a4: Pull complete [2020-12-08T06:10:17.518Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-08T06:10:17.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-08T06:10:17.518Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-08T06:10:17.710Z] prd-centos7-docker-4c-2g-15057 does not seem to be running inside a container [2020-12-08T06:10:17.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-384 -v /w/workspace/dry_go-mod-core-contracts_PR-384:/w/workspace/dry_go-mod-core-contracts_PR-384:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-384@tmp:/w/workspace/dry_go-mod-core-contracts_PR-384@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-08T06:10:19.968Z] $ docker top 67f911b3a1c3bbe1e5109dfb4d1f6c516918dd8d7c1bac9e8f554db173025b0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-08T06:10:20.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T06:10:20.498Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T06:10:20.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T06:10:20.755Z] $ docker exec 67f911b3a1c3bbe1e5109dfb4d1f6c516918dd8d7c1bac9e8f554db173025b0a ssh-agent [2020-12-08T06:10:20.933Z] SSH_AUTH_SOCK=/tmp/ssh-9PMXbdZTJZTQ/agent.12 [2020-12-08T06:10:20.933Z] SSH_AGENT_PID=17 [2020-12-08T06:10:20.949Z] Running ssh-add (command line suppressed) [2020-12-08T06:10:21.080Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-384@tmp/private_key_8331787289209935897.key (/w/workspace/dry_go-mod-core-contracts_PR-384@tmp/private_key_8331787289209935897.key) [2020-12-08T06:10:21.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T06:10:21.523Z] + git tag --points-at HEAD [Pipeline] } [2020-12-08T06:10:21.635Z] $ docker exec --env ******** --env ******** 67f911b3a1c3bbe1e5109dfb4d1f6c516918dd8d7c1bac9e8f554db173025b0a ssh-agent -k [2020-12-08T06:10:21.771Z] unset SSH_AUTH_SOCK; [2020-12-08T06:10:21.772Z] unset SSH_AGENT_PID; [2020-12-08T06:10:21.772Z] echo Agent pid 17 killed; [2020-12-08T06:10:21.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-08T06:10:22.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-08T06:10:22.025Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-08T06:10:22.204Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-08T06:10:22.209Z] $ docker exec 67f911b3a1c3bbe1e5109dfb4d1f6c516918dd8d7c1bac9e8f554db173025b0a ssh-agent [2020-12-08T06:10:22.380Z] SSH_AUTH_SOCK=/tmp/ssh-bTQN5JIL67cT/agent.48 [2020-12-08T06:10:22.380Z] SSH_AGENT_PID=54 [2020-12-08T06:10:22.389Z] Running ssh-add (command line suppressed) [2020-12-08T06:10:22.522Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-384@tmp/private_key_772617138919093545.key (/w/workspace/dry_go-mod-core-contracts_PR-384@tmp/private_key_772617138919093545.key) [2020-12-08T06:10:22.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-08T06:10:22.967Z] + git semver init [2020-12-08T06:10:22.967Z] # -> Open(): unable to determine branch for HEAD [2020-12-08T06:10:22.967Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-384/.git [2020-12-08T06:10:22.967Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-384 [2020-12-08T06:10:22.967Z] # $SEMVER_REMOTE_NAME = origin [2020-12-08T06:10:22.967Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-08T06:10:22.967Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-08T06:10:22.967Z] # $SEMVER_BRANCH = PR-384 [2020-12-08T06:10:22.967Z] # $SEMVER_TEMP = /tmp/semver-408117327 [2020-12-08T06:10:22.967Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-08T06:10:23.541Z] # '/tmp/semver-408117327' -> '/w/workspace/dry_go-mod-core-contracts_PR-384/.semver' [2020-12-08T06:10:23.541Z] # -> Force: false [2020-12-08T06:10:23.541Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-384/.semver [Pipeline] } [2020-12-08T06:10:23.563Z] $ docker exec --env ******** --env ******** 67f911b3a1c3bbe1e5109dfb4d1f6c516918dd8d7c1bac9e8f554db173025b0a ssh-agent -k [2020-12-08T06:10:23.683Z] unset SSH_AUTH_SOCK; [2020-12-08T06:10:23.684Z] unset SSH_AGENT_PID; [2020-12-08T06:10:23.684Z] echo Agent pid 54 killed; [2020-12-08T06:10:23.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-08T06:10:24.371Z] + git semver [Pipeline] } [2020-12-08T06:10:24.406Z] $ docker stop --time=1 67f911b3a1c3bbe1e5109dfb4d1f6c516918dd8d7c1bac9e8f554db173025b0a [2020-12-08T06:10:26.220Z] $ docker rm -f 67f911b3a1c3bbe1e5109dfb4d1f6c516918dd8d7c1bac9e8f554db173025b0a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T06:10:26.814Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-08T06:10:27.305Z] Stashed 1 file(s) [Pipeline] echo [2020-12-08T06:10:27.339Z] [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-08T06:10:43.302Z] Still waiting to schedule task [2020-12-08T06:10:43.302Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-15057’ [2020-12-08T06:10:43.332Z] Still waiting to schedule task [2020-12-08T06:10:43.332Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-08T06:12:27.391Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15058 in /w/workspace/dry_go-mod-core-contracts_PR-384 [Pipeline] { [Pipeline] ws [2020-12-08T06:12:27.497Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-12-08T06:12:32.414Z] using credential edgex-jenkins-ssh [2020-12-08T06:12:32.479Z] Cloning the remote Git repository [2020-12-08T06:12:32.551Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-08T06:12:32.662Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-12-08T06:12:32.746Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-08T06:12:32.747Z] > git --version # timeout=10 [2020-12-08T06:12:32.767Z] > git --version # 'git version 2.17.1' [2020-12-08T06:12:32.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T06:12:32.835Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T06:12:33.768Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-08T06:12:33.784Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T06:12:33.813Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-08T06:12:33.857Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-08T06:12:33.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T06:12:33.868Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T06:12:34.846Z] Merging remotes/origin/master commit 93bcc6a2201236c31d14acbf099dd3f279e68d4d into PR head commit 617ea87178ce3d620c3fbe1675060fb397bfaafd [2020-12-08T06:12:35.080Z] Merge succeeded, producing 617ea87178ce3d620c3fbe1675060fb397bfaafd [2020-12-08T06:12:35.080Z] Checking out Revision 617ea87178ce3d620c3fbe1675060fb397bfaafd (PR-384) [2020-12-08T06:12:34.867Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T06:12:34.879Z] > git checkout -f 617ea87178ce3d620c3fbe1675060fb397bfaafd # timeout=10 [2020-12-08T06:12:35.000Z] > git remote # timeout=10 [2020-12-08T06:12:35.019Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T06:12:35.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T06:12:35.047Z] > git merge 93bcc6a2201236c31d14acbf099dd3f279e68d4d # timeout=10 [2020-12-08T06:12:35.069Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T06:12:35.090Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T06:12:35.113Z] > git checkout -f 617ea87178ce3d620c3fbe1675060fb397bfaafd # timeout=10 [2020-12-08T06:12:39.430Z] Commit message: "refactor(meta): Remove OperatingState field in DeviceService V2 model" [2020-12-08T06:12:39.484Z] > git --version # timeout=10 [2020-12-08T06:12:39.492Z] > git --version # 'git version 2.17.1' [2020-12-08T06:12:39.503Z] fatal: bad object 48b313303ce5ba460cd13c4c603c4b280f104d53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-08T06:12:41.701Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-08T06:12:42.172Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T06:12:42.526Z] + sudo service docker restart [2020-12-08T06:12:42.527Z] + true [Pipeline] unstash [Pipeline] echo [2020-12-08T06:12:45.447Z] ========================================================= [2020-12-08T06:12:45.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-08T06:12:45.448Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:12:45.899Z] + 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-08T06:12:46.902Z] Sending build context to Docker daemon 1.903MB [2020-12-08T06:12:46.902Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-08T06:12:46.902Z] Step 2/7 : FROM ${BASE} [2020-12-08T06:12:47.498Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-08T06:12:47.498Z] 5f621e34cdf4: Pulling fs layer [2020-12-08T06:12:47.498Z] a4357932f1b6: Pulling fs layer [2020-12-08T06:12:47.498Z] 18c013af1878: Pulling fs layer [2020-12-08T06:12:47.498Z] 00ac8860ef70: Pulling fs layer [2020-12-08T06:12:47.498Z] 63d7cb157983: Pulling fs layer [2020-12-08T06:12:47.498Z] b116817d02f9: Pulling fs layer [2020-12-08T06:12:47.498Z] 745a02a5169b: Pulling fs layer [2020-12-08T06:12:47.498Z] 00ac8860ef70: Waiting [2020-12-08T06:12:47.498Z] 63d7cb157983: Waiting [2020-12-08T06:12:47.498Z] b116817d02f9: Waiting [2020-12-08T06:12:47.498Z] 745a02a5169b: Waiting [2020-12-08T06:12:47.498Z] 18c013af1878: Download complete [2020-12-08T06:12:47.498Z] a4357932f1b6: Verifying Checksum [2020-12-08T06:12:47.498Z] a4357932f1b6: Download complete [2020-12-08T06:12:47.498Z] 63d7cb157983: Verifying Checksum [2020-12-08T06:12:47.498Z] 63d7cb157983: Download complete [2020-12-08T06:12:47.498Z] b116817d02f9: Download complete [2020-12-08T06:12:47.498Z] 5f621e34cdf4: Download complete [2020-12-08T06:12:48.112Z] 5f621e34cdf4: Pull complete [2020-12-08T06:12:48.719Z] a4357932f1b6: Pull complete [2020-12-08T06:12:48.997Z] 18c013af1878: Pull complete [2020-12-08T06:12:50.431Z] 745a02a5169b: Download complete [2020-12-08T06:12:51.414Z] 00ac8860ef70: Verifying Checksum [2020-12-08T06:12:51.414Z] 00ac8860ef70: Download complete [2020-12-08T06:13:01.605Z] 00ac8860ef70: Pull complete [2020-12-08T06:13:02.206Z] 63d7cb157983: Pull complete [2020-12-08T06:13:02.480Z] b116817d02f9: Pull complete [2020-12-08T06:13:06.815Z] 745a02a5169b: Pull complete [2020-12-08T06:13:06.815Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-08T06:13:06.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-08T06:13:06.815Z] ---> b7e6874047d6 [2020-12-08T06:13:06.815Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-08T06:13:09.454Z] ---> Running in 4ddcec7b60ab [2020-12-08T06:13:09.736Z] Removing intermediate container 4ddcec7b60ab [2020-12-08T06:13:09.736Z] ---> f5a2abb67fad [2020-12-08T06:13:09.736Z] Step 4/7 : RUN apk add bash [2020-12-08T06:13:09.736Z] ---> Running in 49e2e374815e [2020-12-08T06:13:11.184Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-08T06:13:12.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-08T06:13:12.750Z] OK: 142 MiB in 39 packages [2020-12-08T06:13:13.728Z] Removing intermediate container 49e2e374815e [2020-12-08T06:13:13.728Z] ---> 720904d1f7e8 [2020-12-08T06:13:13.728Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-08T06:13:14.000Z] ---> Running in c73ac9f38a95 [2020-12-08T06:13:14.594Z] Removing intermediate container c73ac9f38a95 [2020-12-08T06:13:14.594Z] ---> ccadc5899876 [2020-12-08T06:13:14.594Z] Step 6/7 : COPY go.mod . [2020-12-08T06:13:15.193Z] ---> 3e1b4a63411f [2020-12-08T06:13:15.193Z] Step 7/7 : RUN go mod download [2020-12-08T06:13:15.193Z] ---> Running in dd5047b937f4 [2020-12-08T06:13:25.160Z] Running on prd-centos7-docker-4c-2g-15059 in /w/workspace/dry_go-mod-core-contracts_PR-384 [Pipeline] { [Pipeline] ws [2020-12-08T06:13:25.257Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-12-08T06:13:27.604Z] using credential edgex-jenkins-ssh [2020-12-08T06:13:27.658Z] Cloning the remote Git repository [2020-12-08T06:13:27.227Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-08T06:13:27.302Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-12-08T06:13:27.359Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-08T06:13:27.359Z] > git --version # timeout=10 [2020-12-08T06:13:27.367Z] > git --version # 'git version 2.24.3' [2020-12-08T06:13:27.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T06:13:27.397Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T06:13:28.173Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-08T06:13:28.185Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-08T06:13:28.195Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-08T06:13:28.213Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-08T06:13:28.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T06:13:28.221Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-08T06:13:29.106Z] Merging remotes/origin/master commit 93bcc6a2201236c31d14acbf099dd3f279e68d4d into PR head commit 617ea87178ce3d620c3fbe1675060fb397bfaafd [2020-12-08T06:13:29.225Z] Merge succeeded, producing 617ea87178ce3d620c3fbe1675060fb397bfaafd [2020-12-08T06:13:29.226Z] Checking out Revision 617ea87178ce3d620c3fbe1675060fb397bfaafd (PR-384) [2020-12-08T06:13:28.774Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T06:13:28.779Z] > git checkout -f 617ea87178ce3d620c3fbe1675060fb397bfaafd # timeout=10 [2020-12-08T06:13:28.848Z] > git remote # timeout=10 [2020-12-08T06:13:28.855Z] > git config --get remote.origin.url # timeout=10 [2020-12-08T06:13:28.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-08T06:13:28.869Z] > git merge 93bcc6a2201236c31d14acbf099dd3f279e68d4d # timeout=10 [2020-12-08T06:13:28.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-08T06:13:28.899Z] > git config core.sparsecheckout # timeout=10 [2020-12-08T06:13:28.905Z] > git checkout -f 617ea87178ce3d620c3fbe1675060fb397bfaafd # timeout=10 [2020-12-08T06:13:30.281Z] Removing intermediate container dd5047b937f4 [2020-12-08T06:13:30.281Z] ---> 051e90455ee6 [2020-12-08T06:13:30.281Z] Successfully built 051e90455ee6 [2020-12-08T06:13:30.281Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:13:30.656Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T06:13:30.657Z] . [Pipeline] withDockerContainer [2020-12-08T06:13:30.950Z] prd-ubuntu18.04-docker-arm64-4c-16g-15058 does not seem to be running inside a container [2020-12-08T06:13:31.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat [2020-12-08T06:13:32.534Z] $ docker top f7acb849c967c2f5799ea8f9ef9c35fadffc8833b2ba68f6b04e18b03b89bb66 -eo pid,comm [2020-12-08T06:13:32.636Z] Commit message: "refactor(meta): Remove OperatingState field in DeviceService V2 model" [2020-12-08T06:13:32.617Z] > git --version # timeout=10 [2020-12-08T06:13:32.623Z] > git --version # 'git version 2.24.3' [2020-12-08T06:13:32.630Z] fatal: bad object 48b313303ce5ba460cd13c4c603c4b280f104d53 [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2020-12-08T06:13:33.628Z] + go version [2020-12-08T06:13:33.629Z] go version go1.15.5 linux/arm64 [Pipeline] { [Pipeline] } [2020-12-08T06:13:33.757Z] $ docker stop --time=1 f7acb849c967c2f5799ea8f9ef9c35fadffc8833b2ba68f6b04e18b03b89bb66 [2020-12-08T06:13:35.731Z] $ docker rm -f f7acb849c967c2f5799ea8f9ef9c35fadffc8833b2ba68f6b04e18b03b89bb66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-12-08T06:13:36.672Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:13:37.107Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-08T06:13:37.382Z] + docker inspect -f . ci-base-image-arm64 [2020-12-08T06:13:37.382Z] . [Pipeline] withDockerContainer [2020-12-08T06:13:37.526Z] + sudo service docker restart [2020-12-08T06:13:37.526Z] + true [2020-12-08T06:13:37.526Z] Redirecting to /bin/systemctl restart docker.service [2020-12-08T06:13:37.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-15058 does not seem to be running inside a container [2020-12-08T06:13:37.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat [2020-12-08T06:13:39.265Z] $ docker top 58e53756e3903ebabdccaebba571109363fcf1a0b728586b55be10df2b24efa5 -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] echo [2020-12-08T06:13:40.013Z] ========================================================= [2020-12-08T06:13:40.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-08T06:13:40.013Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:13:40.486Z] + 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-08T06:13:40.494Z] + make test [2020-12-08T06:13:40.495Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-08T06:13:40.751Z] Sending build context to Docker daemon 1.904MB [2020-12-08T06:13:40.751Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-08T06:13:40.751Z] Step 2/7 : FROM ${BASE} [2020-12-08T06:13:41.014Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-08T06:13:41.014Z] 188c0c94c7c5: Pulling fs layer [2020-12-08T06:13:41.014Z] 0ef7d3d256c8: Pulling fs layer [2020-12-08T06:13:41.014Z] de9db76c5a1d: Pulling fs layer [2020-12-08T06:13:41.014Z] bca2f99d35d6: Pulling fs layer [2020-12-08T06:13:41.014Z] 93359f2a8cfa: Pulling fs layer [2020-12-08T06:13:41.014Z] 7c6f9722023f: Pulling fs layer [2020-12-08T06:13:41.014Z] a35cf1a2eb13: Pulling fs layer [2020-12-08T06:13:41.014Z] 93359f2a8cfa: Waiting [2020-12-08T06:13:41.014Z] a35cf1a2eb13: Waiting [2020-12-08T06:13:41.014Z] 7c6f9722023f: Waiting [2020-12-08T06:13:41.014Z] bca2f99d35d6: Waiting [2020-12-08T06:13:41.014Z] de9db76c5a1d: Verifying Checksum [2020-12-08T06:13:41.014Z] de9db76c5a1d: Download complete [2020-12-08T06:13:41.014Z] 0ef7d3d256c8: Verifying Checksum [2020-12-08T06:13:41.014Z] 0ef7d3d256c8: Download complete [2020-12-08T06:13:41.014Z] 93359f2a8cfa: Verifying Checksum [2020-12-08T06:13:41.014Z] 93359f2a8cfa: Download complete [2020-12-08T06:13:41.014Z] 7c6f9722023f: Verifying Checksum [2020-12-08T06:13:41.014Z] 7c6f9722023f: Download complete [2020-12-08T06:13:41.277Z] 188c0c94c7c5: Verifying Checksum [2020-12-08T06:13:41.277Z] 188c0c94c7c5: Download complete [2020-12-08T06:13:41.549Z] 188c0c94c7c5: Pull complete [2020-12-08T06:13:41.819Z] 0ef7d3d256c8: Pull complete [2020-12-08T06:13:41.819Z] de9db76c5a1d: Pull complete [2020-12-08T06:13:43.212Z] a35cf1a2eb13: Verifying Checksum [2020-12-08T06:13:43.212Z] a35cf1a2eb13: Download complete [2020-12-08T06:13:43.477Z] bca2f99d35d6: Verifying Checksum [2020-12-08T06:13:43.477Z] bca2f99d35d6: Download complete [2020-12-08T06:13:48.816Z] bca2f99d35d6: Pull complete [2020-12-08T06:13:48.816Z] 93359f2a8cfa: Pull complete [2020-12-08T06:13:48.816Z] 7c6f9722023f: Pull complete [2020-12-08T06:13:58.881Z] a35cf1a2eb13: Pull complete [2020-12-08T06:13:58.882Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-08T06:13:58.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-08T06:13:58.882Z] ---> a62c8e92a672 [2020-12-08T06:13:58.882Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-08T06:13:58.882Z] ---> Running in 0074d98d0a4f [2020-12-08T06:13:58.882Z] Removing intermediate container 0074d98d0a4f [2020-12-08T06:13:58.882Z] ---> cf7b8e3085a8 [2020-12-08T06:13:58.882Z] Step 4/7 : RUN apk add bash [2020-12-08T06:13:58.882Z] ---> Running in 31de898123bc [2020-12-08T06:13:58.882Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-08T06:13:59.465Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-08T06:14:00.043Z] OK: 166 MiB in 39 packages [2020-12-08T06:14:00.309Z] Removing intermediate container 31de898123bc [2020-12-08T06:14:00.309Z] ---> 49d276a0763d [2020-12-08T06:14:00.309Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-08T06:14:00.575Z] ---> Running in 5c5814fb994f [2020-12-08T06:14:00.575Z] Removing intermediate container 5c5814fb994f [2020-12-08T06:14:00.575Z] ---> 71474128e770 [2020-12-08T06:14:00.575Z] Step 6/7 : COPY go.mod . [2020-12-08T06:14:00.839Z] ---> 8ba9fa5d1a45 [2020-12-08T06:14:00.839Z] Step 7/7 : RUN go mod download [2020-12-08T06:14:00.839Z] ---> Running in cd6b6691cd34 [2020-12-08T06:14:02.717Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-08T06:14:03.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.036s coverage: 85.7% of statements [2020-12-08T06:14:03.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.028s coverage: 100.0% of statements [2020-12-08T06:14:05.159Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.039s coverage: 45.4% of statements [2020-12-08T06:14:05.159Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.031s coverage: 77.8% of statements [2020-12-08T06:14:05.159Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-08T06:14:05.159Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.043s coverage: 6.6% of statements [2020-12-08T06:14:07.804Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.067s coverage: 14.7% of statements [2020-12-08T06:14:07.804Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.023s coverage: 100.0% of statements [2020-12-08T06:14:08.079Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.066s coverage: 91.8% of statements [2020-12-08T06:14:08.079Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-08T06:14:08.079Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-08T06:14:08.079Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.033s coverage: 100.0% of statements [2020-12-08T06:14:08.686Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.018s coverage: 47.8% of statements [2020-12-08T06:14:13.114Z] Removing intermediate container cd6b6691cd34 [2020-12-08T06:14:13.115Z] ---> 61003622348c [2020-12-08T06:14:13.115Z] Successfully built 61003622348c [2020-12-08T06:14:13.115Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:14:13.492Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T06:14:13.492Z] . [Pipeline] withDockerContainer [2020-12-08T06:14:13.642Z] prd-centos7-docker-4c-2g-15059 does not seem to be running inside a container [2020-12-08T06:14:13.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-x86_64 cat [2020-12-08T06:14:14.140Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.136s coverage: 63.0% of statements [2020-12-08T06:14:14.140Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.010s coverage: 26.3% of statements [2020-12-08T06:14:14.140Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.041s coverage: 15.4% of statements [2020-12-08T06:14:14.140Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.063s coverage: 15.4% of statements [2020-12-08T06:14:14.140Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.011s coverage: 14.3% of statements [2020-12-08T06:14:14.140Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-08T06:14:14.436Z] $ docker top 468e216f694f29e29339e2c1a38d8110bf9159df7e1cb7f7e7a738201f4eccaf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T06:14:14.993Z] + go version [2020-12-08T06:14:14.993Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-08T06:14:15.027Z] $ docker stop --time=1 468e216f694f29e29339e2c1a38d8110bf9159df7e1cb7f7e7a738201f4eccaf [2020-12-08T06:14:15.139Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.041s coverage: 81.5% of statements [2020-12-08T06:14:15.139Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-08T06:14:15.139Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-08T06:14:15.745Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.026s coverage: 29.9% of statements [2020-12-08T06:14:15.745Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.051s coverage: 100.0% of statements [2020-12-08T06:14:16.356Z] $ docker rm -f 468e216f694f29e29339e2c1a38d8110bf9159df7e1cb7f7e7a738201f4eccaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-12-08T06:14:16.734Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.062s coverage: 94.4% of statements [Pipeline] } [Pipeline] // stage [2020-12-08T06:14:17.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.021s coverage: 100.0% of statements [2020-12-08T06:14:17.007Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:14:17.280Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-08T06:14:17.556Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-08T06:14:17.556Z] . [Pipeline] withDockerContainer [2020-12-08T06:14:17.673Z] prd-centos7-docker-4c-2g-15059 does not seem to be running inside a container [2020-12-08T06:14:17.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-x86_64 cat [2020-12-08T06:14:18.384Z] $ docker top d4fb8b68a4b23e011df05418993f7450856bed4bbaee49713ababf1edc8f559b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T06:14:19.033Z] + make test [2020-12-08T06:14:19.033Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-08T06:14:21.599Z] gofmt -l . [2020-12-08T06:14:21.869Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-08T06:14:22.495Z] $ docker stop --time=1 58e53756e3903ebabdccaebba571109363fcf1a0b728586b55be10df2b24efa5 [2020-12-08T06:14:24.517Z] $ docker rm -f 58e53756e3903ebabdccaebba571109363fcf1a0b728586b55be10df2b24efa5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T06:14:25.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-08T06:14:25.766Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-08T06:14:26.035Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.013s coverage: 85.7% of statements [2020-12-08T06:14:26.309Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.019s coverage: 100.0% of statements [2020-12-08T06:14:26.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-12-08T06:14:26.902Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.017s coverage: 45.4% of statements [2020-12-08T06:14:26.902Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.022s coverage: 77.8% of statements [2020-12-08T06:14:26.902Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-08T06:14:26.902Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.008s coverage: 6.6% of statements 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] } [2020-12-08T06:14:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.025s coverage: 14.7% of statements [2020-12-08T06:14:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.029s coverage: 100.0% of statements [2020-12-08T06:14:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.026s coverage: 91.8% of statements [2020-12-08T06:14:27.898Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-08T06:14:27.898Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-08T06:14:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.006s coverage: 100.0% of statements [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-12-08T06:14:28.177Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.008s coverage: 47.8% of statements [Pipeline] // stage [Pipeline] } [2020-12-08T06:14:30.142Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.021s coverage: 63.0% of statements [2020-12-08T06:14:30.142Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.010s coverage: 26.3% of statements [2020-12-08T06:14:30.142Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.005s coverage: 15.4% of statements [2020-12-08T06:14:30.142Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.019s coverage: 15.4% of statements [2020-12-08T06:14:30.142Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.021s coverage: 14.3% of statements [2020-12-08T06:14:30.142Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-08T06:14:30.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.016s coverage: 81.5% of statements [2020-12-08T06:14:30.724Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-08T06:14:30.724Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-08T06:14:30.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.009s coverage: 29.9% of statements [2020-12-08T06:14:30.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.024s coverage: 100.0% of statements [2020-12-08T06:14:30.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.016s coverage: 94.4% of statements [2020-12-08T06:14:30.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements [2020-12-08T06:14:30.993Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-08T06:14:30.993Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-08T06:14:32.401Z] gofmt -l . [2020-12-08T06:14:32.664Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-08T06:14:32.696Z] $ docker stop --time=1 d4fb8b68a4b23e011df05418993f7450856bed4bbaee49713ababf1edc8f559b [2020-12-08T06:14:35.020Z] $ docker rm -f d4fb8b68a4b23e011df05418993f7450856bed4bbaee49713ababf1edc8f559b [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-08T06:14:35.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-08T06:14:35.694Z] Warning: overwriting stash ‘coverage-report’ [2020-12-08T06:14:36.019Z] 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 [2020-12-08T06:14:38.829Z] provisioning config files... [2020-12-08T06:14:38.845Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-384@tmp/config3163502794117891325tmp [Pipeline] { [Pipeline] sh [2020-12-08T06:14:39.269Z] + set +x [2020-12-08T06:14:39.269Z] + curl -s https://codecov.io/bash [2020-12-08T06:14:39.269Z] + bash -s -- [2020-12-08T06:14:39.535Z] [2020-12-08T06:14:39.536Z] _____ _ [2020-12-08T06:14:39.536Z] / ____| | | [2020-12-08T06:14:39.536Z] | | ___ __| | ___ ___ _____ __ [2020-12-08T06:14:39.536Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-08T06:14:39.536Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-08T06:14:39.536Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-08T06:14:39.536Z] Bash-20201130-cc6d3fe [2020-12-08T06:14:39.536Z] [2020-12-08T06:14:39.536Z] [2020-12-08T06:14:39.536Z] ==> Jenkins CI detected. [2020-12-08T06:14:39.536Z] project root: . [2020-12-08T06:14:39.536Z] --> token set from env [2020-12-08T06:14:39.536Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-08T06:14:39.536Z] ==> Running gcov in . (disable via -X gcov) [2020-12-08T06:14:39.536Z] ==> Python coveragepy not found [2020-12-08T06:14:39.536Z] ==> Searching for coverage reports in: [2020-12-08T06:14:39.536Z] + . [2020-12-08T06:14:39.536Z] -> Found 1 reports [2020-12-08T06:14:39.536Z] ==> Detecting git/mercurial file structure [2020-12-08T06:14:39.536Z] ==> Reading reports [2020-12-08T06:14:39.536Z] + ./coverage.out bytes=106677 [2020-12-08T06:14:39.536Z] ==> Appending adjustments [2020-12-08T06:14:39.536Z] https://docs.codecov.io/docs/fixing-reports [2020-12-08T06:14:40.488Z] + Found adjustments [2020-12-08T06:14:40.488Z] ==> Gzipping contents [2020-12-08T06:14:40.488Z] 20K /tmp/codecov.8hFMWU.gz [2020-12-08T06:14:40.488Z] ==> Uploading reports [2020-12-08T06:14:40.488Z] url: https://codecov.io [2020-12-08T06:14:40.488Z] query: branch=PR-384&commit=617ea87178ce3d620c3fbe1675060fb397bfaafd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=384&job=&cmd_args= [2020-12-08T06:14:40.488Z] -> Pinging Codecov [2020-12-08T06:14:40.488Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-384&commit=617ea87178ce3d620c3fbe1675060fb397bfaafd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=384&job=&cmd_args= [2020-12-08T06:14:40.752Z] -> Uploading to [2020-12-08T06:14:40.752Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-08/71470A77251A30514AAF9C0BB2E5B6CE/617ea87178ce3d620c3fbe1675060fb397bfaafd/0778cad1-bba9-47b5-9583-dc87f61bce3e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201208T061440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b16a3e094add00d6de31559120f4296a75eb43d88c2d03afe917d7ccdedf6c3c [2020-12-08T06:14:41.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-08T06:14:41.020Z] Dload Upload Total Spent Left Speed [2020-12-08T06:14:41.596Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17362 0 0 100 17362 0 32372 --:--:-- --:--:-- --:--:-- 32391 [2020-12-08T06:14:41.596Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/617ea87178ce3d620c3fbe1675060fb397bfaafd [Pipeline] } [2020-12-08T06:14:41.619Z] 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-08T06:14:45.603Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T06:14:45.956Z] ---> package-listing.sh [2020-12-08T06:14:45.956Z] ++ facter osfamily [2020-12-08T06:14:45.956Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-08T06:14:45.956Z] + OS_FAMILY=redhat [2020-12-08T06:14:45.956Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-384 [2020-12-08T06:14:45.956Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-08T06:14:45.956Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-08T06:14:45.956Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-08T06:14:45.956Z] + PACKAGES=/tmp/packages_start.txt [2020-12-08T06:14:45.956Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-384 ']' [2020-12-08T06:14:45.956Z] + PACKAGES=/tmp/packages_end.txt [2020-12-08T06:14:45.956Z] + case "${OS_FAMILY}" in [2020-12-08T06:14:45.956Z] + rpm -qa [2020-12-08T06:14:45.956Z] + sort [2020-12-08T06:14:51.279Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-08T06:14:51.279Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-08T06:14:51.279Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-08T06:14:51.279Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-384 ']' [2020-12-08T06:14:51.279Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-384/archives/ [2020-12-08T06:14:51.279Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-384/archives/ [Pipeline] echo [2020-12-08T06:14:51.317Z] 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-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-08T06:14:51.628Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:14:51.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T06:14:51.973Z] [2020-12-08T06:14:51.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-08T06:14:52.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T06:14:52.366Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-08T06:14:52.366Z] df20fa9351a1: Pulling fs layer [2020-12-08T06:14:52.366Z] 36b3adc4ff6f: Pulling fs layer [2020-12-08T06:14:52.366Z] 8ad3a11d3b57: Pulling fs layer [2020-12-08T06:14:52.366Z] 46f8f816bc3b: Pulling fs layer [2020-12-08T06:14:52.366Z] 93b61091891f: Pulling fs layer [2020-12-08T06:14:52.366Z] 93b9cdb0e59b: Pulling fs layer [2020-12-08T06:14:52.366Z] 5e14af77c1be: Pulling fs layer [2020-12-08T06:14:52.366Z] 01666e4c0597: Pulling fs layer [2020-12-08T06:14:52.366Z] aa168da1d23b: Pulling fs layer [2020-12-08T06:14:52.366Z] 5e14af77c1be: Waiting [2020-12-08T06:14:52.366Z] 46f8f816bc3b: Waiting [2020-12-08T06:14:52.366Z] 01666e4c0597: Waiting [2020-12-08T06:14:52.366Z] 93b61091891f: Waiting [2020-12-08T06:14:52.366Z] 93b9cdb0e59b: Waiting [2020-12-08T06:14:52.366Z] aa168da1d23b: Waiting [2020-12-08T06:14:52.366Z] 36b3adc4ff6f: Verifying Checksum [2020-12-08T06:14:52.366Z] 36b3adc4ff6f: Download complete [2020-12-08T06:14:52.366Z] 46f8f816bc3b: Verifying Checksum [2020-12-08T06:14:52.366Z] 46f8f816bc3b: Download complete [2020-12-08T06:14:52.366Z] df20fa9351a1: Verifying Checksum [2020-12-08T06:14:52.366Z] df20fa9351a1: Download complete [2020-12-08T06:14:52.366Z] 93b9cdb0e59b: Verifying Checksum [2020-12-08T06:14:52.366Z] 93b9cdb0e59b: Download complete [2020-12-08T06:14:52.366Z] 5e14af77c1be: Download complete [2020-12-08T06:14:52.631Z] 01666e4c0597: Verifying Checksum [2020-12-08T06:14:52.631Z] 01666e4c0597: Download complete [2020-12-08T06:14:52.631Z] 93b61091891f: Verifying Checksum [2020-12-08T06:14:52.631Z] 93b61091891f: Download complete [2020-12-08T06:14:52.631Z] 8ad3a11d3b57: Verifying Checksum [2020-12-08T06:14:52.631Z] 8ad3a11d3b57: Download complete [2020-12-08T06:14:52.897Z] df20fa9351a1: Pull complete [2020-12-08T06:14:53.164Z] 36b3adc4ff6f: Pull complete [2020-12-08T06:14:54.567Z] aa168da1d23b: Verifying Checksum [2020-12-08T06:14:54.567Z] aa168da1d23b: Download complete [2020-12-08T06:14:54.830Z] 8ad3a11d3b57: Pull complete [2020-12-08T06:14:55.093Z] 46f8f816bc3b: Pull complete [2020-12-08T06:14:55.362Z] 93b61091891f: Pull complete [2020-12-08T06:14:55.362Z] 93b9cdb0e59b: Pull complete [2020-12-08T06:14:55.625Z] 5e14af77c1be: Pull complete [2020-12-08T06:14:55.625Z] 01666e4c0597: Pull complete [2020-12-08T06:15:03.824Z] aa168da1d23b: Pull complete [2020-12-08T06:15:03.824Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-08T06:15:03.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-08T06:15:03.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-08T06:15:04.043Z] prd-centos7-docker-4c-2g-15057 does not seem to be running inside a container [2020-12-08T06:15:04.096Z] $ 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-384/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-384 -v /w/workspace/dry_go-mod-core-contracts_PR-384:/w/workspace/dry_go-mod-core-contracts_PR-384:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-384@tmp:/w/workspace/dry_go-mod-core-contracts_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-08T06:15:07.623Z] $ docker top 59a896bf43aab4728649af55636ed380f940ed72356bf5c332b45d876ce4ce97 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-08T06:15:08.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-08T06:15:08.591Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-08T06:15:08.913Z] + ls /var/log/sa-host [2020-12-08T06:15:08.913Z] + sadf -c /var/log/sa-host/sa08 [2020-12-08T06:15:08.913Z] file_magic: OK [2020-12-08T06:15:08.913Z] HZ: Using current value: 100 [2020-12-08T06:15:08.913Z] file_header: OK [2020-12-08T06:15:08.913Z] 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-08T06:15:08.913Z] Statistics: [2020-12-08T06:15:08.913Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-08T06:15:08.913Z] File successfully converted to sysstat format version 12.2.1 [2020-12-08T06:15:08.913Z] + sadf -c /var/log/sa-host/sa23 [2020-12-08T06:15:08.913Z] file_magic: OK [2020-12-08T06:15:08.913Z] HZ: Using current value: 100 [2020-12-08T06:15:08.913Z] file_header: OK [2020-12-08T06:15:08.913Z] 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-08T06:15:08.913Z] Statistics: [2020-12-08T06:15:08.913Z] Hnuu...uuuununununu... [2020-12-08T06:15:08.913Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-08T06:15:09.611Z] provisioning config files... [2020-12-08T06:15:09.629Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-384@tmp/config12356421646571432tmp [Pipeline] { [Pipeline] echo [2020-12-08T06:15:09.758Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T06:15:10.098Z] ---> create-netrc.sh [Pipeline] } [2020-12-08T06:15:10.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-08T06:15:10.388Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T06:15:10.726Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-08T06:15:10.754Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T06:15:11.091Z] ---> sudo-logs.sh [2020-12-08T06:15:11.092Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-08T06:15:11.127Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T06:15:11.480Z] ---> job-cost.sh [2020-12-08T06:15:11.481Z] lf-activate-venv: SKIPPING [2020-12-08T06:15:11.481Z] INFO: No Stack... [2020-12-08T06:15:12.874Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-08T06:15:13.137Z] INFO: Archiving Costs [Pipeline] echo [2020-12-08T06:15:13.178Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-08T06:15:13.517Z] ---> logs-deploy.sh [2020-12-08T06:15:13.517Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-384/1 [2020-12-08T06:15:13.517Z] INFO: archiving workspace using pattern(s): [2020-12-08T06:15:15.438Z] Archives upload complete. [2020-12-08T06:15:15.438Z] INFO: archiving logs to Nexus