Pull request #393 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 26f7976e83e717d42c4728cdd25427477ce9fa1e rather than 8a3b8c97c8fe626248842458c0b0338eba8730e5 Obtained Jenkinsfile from 26f7976e83e717d42c4728cdd25427477ce9fa1e 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 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 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-393/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 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 > 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-393/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-15569 in /w/workspace/dry_go-mod-core-contracts_PR-393 [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-393 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit 8a3b8c97c8fe626248842458c0b0338eba8730e5 Merge succeeded, producing 8a3b8c97c8fe626248842458c0b0338eba8730e5 Checking out Revision 8a3b8c97c8fe626248842458c0b0338eba8730e5 (PR-393) > 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/393/head:refs/remotes/origin/PR-393 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a3b8c97c8fe626248842458c0b0338eba8730e5 # 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 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a3b8c97c8fe626248842458c0b0338eba8730e5 # timeout=10 Commit message: "feat(meta): Add V2 client for querying device profile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-11T08:01:34.876Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-11T08:01:35.239Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-11T08:01:35.471Z] ========================================================= [2020-12-11T08:01:35.471Z] EdgeX Global Pipelines Version Info [2020-12-11T08:01:35.471Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-11T08:01:37.019Z] ------------------- [2020-12-11T08:01:37.019Z] stable info: [2020-12-11T08:01:37.019Z] ------------------- [2020-12-11T08:01:37.019Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T08:01:37.019Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T08:01:37.019Z] Message: update stable to v1.0.172 [2020-12-11T08:01:37.967Z] ------------------- [2020-12-11T08:01:37.968Z] experimental info: [2020-12-11T08:01:37.968Z] ------------------- [2020-12-11T08:01:37.968Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T08:01:37.968Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T08:01:37.968Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-11T08:01:38.415Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-11T08:01:38.556Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-11T08:01:38.706Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-11T08:01:38.842Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-11T08:01:38.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-11T08:01:39.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-11T08:01:39.224Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-11T08:01:39.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-11T08:01:39.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-11T08:01:39.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-11T08:01:39.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-11T08:01:39.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-11T08:01:40.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-11T08:01:40.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-11T08:01:40.390Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T08:01:40.568Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T08:01:40.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T08:01:40.871Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T08:01:41.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-11T08:01:41.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-11T08:01:41.271Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-11T08:01:41.402Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-11T08:01:41.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-11T08:01:41.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-11T08:01:41.808Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-11T08:01:41.947Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-11T08:01:42.081Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-393 [Pipeline] echo [2020-12-11T08:01:42.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-393 [Pipeline] echo [2020-12-11T08:01:42.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-393 [Pipeline] echo [2020-12-11T08:01:42.500Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a3b8c97c8fe626248842458c0b0338eba8730e5 [Pipeline] echo [2020-12-11T08:01:42.636Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a3b8c9 [Pipeline] echo [2020-12-11T08:01:42.770Z] [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-11T08:01:43.746Z] + git log --format=format:%s -1 8a3b8c97c8fe626248842458c0b0338eba8730e5 [Pipeline] echo [2020-12-11T08:01:43.828Z] GIT_COMMIT: 8a3b8c97c8fe626248842458c0b0338eba8730e5, Commit Message: feat(meta): Add V2 client for querying device profile [Pipeline] echo [2020-12-11T08:01:43.901Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:01:44.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T08:01:45.244Z] [2020-12-11T08:01:45.244Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:01:45.632Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T08:01:45.632Z] latest: Pulling from edgex-devops/git-semver [2020-12-11T08:01:45.632Z] 31603596830f: Pulling fs layer [2020-12-11T08:01:45.632Z] 2a8b12db71e7: Pulling fs layer [2020-12-11T08:01:45.632Z] 6ca5941a6612: Pulling fs layer [2020-12-11T08:01:45.632Z] ecc8261a40a4: Pulling fs layer [2020-12-11T08:01:45.632Z] ecc8261a40a4: Waiting [2020-12-11T08:01:45.632Z] 2a8b12db71e7: Download complete [2020-12-11T08:01:45.898Z] 31603596830f: Download complete [2020-12-11T08:01:45.898Z] ecc8261a40a4: Verifying Checksum [2020-12-11T08:01:45.898Z] ecc8261a40a4: Download complete [2020-12-11T08:01:45.898Z] 6ca5941a6612: Verifying Checksum [2020-12-11T08:01:45.898Z] 6ca5941a6612: Download complete [2020-12-11T08:01:46.163Z] 31603596830f: Pull complete [2020-12-11T08:01:46.426Z] 2a8b12db71e7: Pull complete [2020-12-11T08:01:47.386Z] 6ca5941a6612: Pull complete [2020-12-11T08:01:47.387Z] ecc8261a40a4: Pull complete [2020-12-11T08:01:47.650Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-11T08:01:47.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T08:01:47.650Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-11T08:01:47.782Z] prd-centos7-docker-4c-2g-15569 does not seem to be running inside a container [2020-12-11T08:01:47.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-393 -v /w/workspace/dry_go-mod-core-contracts_PR-393:/w/workspace/dry_go-mod-core-contracts_PR-393:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-393@tmp:/w/workspace/dry_go-mod-core-contracts_PR-393@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-11T08:01:50.188Z] $ docker top 5bc7bad2731dc851a910020c29dc212ed6c600530d2bfb327b468d4d6e64b0ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T08:01:50.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T08:01:50.837Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T08:01:51.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T08:01:51.073Z] $ docker exec 5bc7bad2731dc851a910020c29dc212ed6c600530d2bfb327b468d4d6e64b0ee ssh-agent [2020-12-11T08:01:51.267Z] SSH_AUTH_SOCK=/tmp/ssh-eoBxfAQg0NWc/agent.11 [2020-12-11T08:01:51.267Z] SSH_AGENT_PID=17 [2020-12-11T08:01:51.282Z] Running ssh-add (command line suppressed) [2020-12-11T08:01:51.389Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-393@tmp/private_key_8938987818091861188.key (/w/workspace/dry_go-mod-core-contracts_PR-393@tmp/private_key_8938987818091861188.key) [2020-12-11T08:01:51.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T08:01:51.848Z] + git tag --points-at HEAD [Pipeline] } [2020-12-11T08:01:51.871Z] $ docker exec --env ******** --env ******** 5bc7bad2731dc851a910020c29dc212ed6c600530d2bfb327b468d4d6e64b0ee ssh-agent -k [2020-12-11T08:01:51.985Z] unset SSH_AUTH_SOCK; [2020-12-11T08:01:51.985Z] unset SSH_AGENT_PID; [2020-12-11T08:01:51.985Z] echo Agent pid 17 killed; [2020-12-11T08:01:52.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-11T08:01:52.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T08:01:52.281Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T08:01:52.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T08:01:52.451Z] $ docker exec 5bc7bad2731dc851a910020c29dc212ed6c600530d2bfb327b468d4d6e64b0ee ssh-agent [2020-12-11T08:01:52.624Z] SSH_AUTH_SOCK=/tmp/ssh-ukmIVZJSifio/agent.45 [2020-12-11T08:01:52.624Z] SSH_AGENT_PID=50 [2020-12-11T08:01:52.631Z] Running ssh-add (command line suppressed) [2020-12-11T08:01:52.737Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-393@tmp/private_key_4616393702141908420.key (/w/workspace/dry_go-mod-core-contracts_PR-393@tmp/private_key_4616393702141908420.key) [2020-12-11T08:01:52.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T08:01:53.204Z] + git semver init [2020-12-11T08:01:53.204Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T08:01:53.204Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-393/.git [2020-12-11T08:01:53.204Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-393 [2020-12-11T08:01:53.204Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T08:01:53.204Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T08:01:53.204Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T08:01:53.204Z] # $SEMVER_BRANCH = PR-393 [2020-12-11T08:01:53.205Z] # $SEMVER_TEMP = /tmp/semver-701326113 [2020-12-11T08:01:53.205Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-11T08:01:54.155Z] # '/tmp/semver-701326113' -> '/w/workspace/dry_go-mod-core-contracts_PR-393/.semver' [2020-12-11T08:01:54.155Z] # -> Force: false [2020-12-11T08:01:54.155Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-393/.semver [Pipeline] } [2020-12-11T08:01:54.167Z] $ docker exec --env ******** --env ******** 5bc7bad2731dc851a910020c29dc212ed6c600530d2bfb327b468d4d6e64b0ee ssh-agent -k [2020-12-11T08:01:54.285Z] unset SSH_AUTH_SOCK; [2020-12-11T08:01:54.285Z] unset SSH_AGENT_PID; [2020-12-11T08:01:54.285Z] echo Agent pid 50 killed; [2020-12-11T08:01:54.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T08:01:54.952Z] + git semver [Pipeline] } [2020-12-11T08:01:54.975Z] $ docker stop --time=1 5bc7bad2731dc851a910020c29dc212ed6c600530d2bfb327b468d4d6e64b0ee [2020-12-11T08:01:56.810Z] $ docker rm -f 5bc7bad2731dc851a910020c29dc212ed6c600530d2bfb327b468d4d6e64b0ee [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T08:01:57.361Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-11T08:01:57.835Z] Stashed 1 file(s) [Pipeline] echo [2020-12-11T08:01:57.856Z] [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-11T08:02:13.752Z] Still waiting to schedule task [2020-12-11T08:02:13.752Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-11T08:02:13.777Z] Still waiting to schedule task [2020-12-11T08:02:13.777Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-11T08:03:59.747Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15570 in /w/workspace/dry_go-mod-core-contracts_PR-393 [Pipeline] { [Pipeline] ws [2020-12-11T08:03:59.835Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-12-11T08:04:04.686Z] using credential edgex-jenkins-ssh [2020-12-11T08:04:04.749Z] Cloning the remote Git repository [2020-12-11T08:04:04.810Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T08:04:04.919Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-12-11T08:04:05.023Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T08:04:05.024Z] > git --version # timeout=10 [2020-12-11T08:04:05.044Z] > git --version # 'git version 2.17.1' [2020-12-11T08:04:05.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T08:04:05.106Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T08:04:06.890Z] Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit 8a3b8c97c8fe626248842458c0b0338eba8730e5 [2020-12-11T08:04:07.221Z] Merge succeeded, producing 8a3b8c97c8fe626248842458c0b0338eba8730e5 [2020-12-11T08:04:07.222Z] Checking out Revision 8a3b8c97c8fe626248842458c0b0338eba8730e5 (PR-393) [2020-12-11T08:04:06.132Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T08:04:06.151Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T08:04:06.178Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T08:04:06.218Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T08:04:06.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T08:04:06.234Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/393/head:refs/remotes/origin/PR-393 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T08:04:06.907Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T08:04:06.931Z] > git checkout -f 8a3b8c97c8fe626248842458c0b0338eba8730e5 # timeout=10 [2020-12-11T08:04:07.055Z] > git remote # timeout=10 [2020-12-11T08:04:07.076Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T08:04:07.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T08:04:07.149Z] > git merge 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 [2020-12-11T08:04:07.192Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T08:04:07.227Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T08:04:07.287Z] > git checkout -f 8a3b8c97c8fe626248842458c0b0338eba8730e5 # timeout=10 [2020-12-11T08:04:11.597Z] Commit message: "feat(meta): Add V2 client for querying device profile" [2020-12-11T08:04:11.649Z] > git --version # timeout=10 [2020-12-11T08:04:11.660Z] > git --version # 'git version 2.17.1' [2020-12-11T08:04:11.678Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T08:04:13.536Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-11T08:04:13.938Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T08:04:14.291Z] + sudo service docker+ restart [2020-12-11T08:04:14.291Z] true [Pipeline] unstash [Pipeline] echo [2020-12-11T08:04:16.552Z] ========================================================= [2020-12-11T08:04:16.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-11T08:04:16.552Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:04:16.971Z] + 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-11T08:04:17.961Z] Sending build context to Docker daemon 1.926MB [2020-12-11T08:04:17.961Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T08:04:17.961Z] Step 2/7 : FROM ${BASE} [2020-12-11T08:04:18.236Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-11T08:04:18.236Z] 5f621e34cdf4: Pulling fs layer [2020-12-11T08:04:18.236Z] a4357932f1b6: Pulling fs layer [2020-12-11T08:04:18.236Z] 18c013af1878: Pulling fs layer [2020-12-11T08:04:18.236Z] 00ac8860ef70: Pulling fs layer [2020-12-11T08:04:18.236Z] 63d7cb157983: Pulling fs layer [2020-12-11T08:04:18.236Z] b116817d02f9: Pulling fs layer [2020-12-11T08:04:18.236Z] 745a02a5169b: Pulling fs layer [2020-12-11T08:04:18.236Z] 00ac8860ef70: Waiting [2020-12-11T08:04:18.236Z] b116817d02f9: Waiting [2020-12-11T08:04:18.236Z] 63d7cb157983: Waiting [2020-12-11T08:04:18.236Z] 745a02a5169b: Waiting [2020-12-11T08:04:18.508Z] 18c013af1878: Verifying Checksum [2020-12-11T08:04:18.508Z] 18c013af1878: Download complete [2020-12-11T08:04:18.508Z] a4357932f1b6: Verifying Checksum [2020-12-11T08:04:18.508Z] a4357932f1b6: Download complete [2020-12-11T08:04:18.508Z] 63d7cb157983: Verifying Checksum [2020-12-11T08:04:18.508Z] 63d7cb157983: Download complete [2020-12-11T08:04:18.508Z] b116817d02f9: Verifying Checksum [2020-12-11T08:04:18.508Z] b116817d02f9: Download complete [2020-12-11T08:04:18.508Z] 5f621e34cdf4: Verifying Checksum [2020-12-11T08:04:18.508Z] 5f621e34cdf4: Download complete [2020-12-11T08:04:19.104Z] 5f621e34cdf4: Pull complete [2020-12-11T08:04:19.702Z] a4357932f1b6: Pull complete [2020-12-11T08:04:19.991Z] 18c013af1878: Pull complete [2020-12-11T08:04:20.973Z] 745a02a5169b: Verifying Checksum [2020-12-11T08:04:20.973Z] 745a02a5169b: Download complete [2020-12-11T08:04:22.423Z] 00ac8860ef70: Verifying Checksum [2020-12-11T08:04:22.423Z] 00ac8860ef70: Download complete [2020-12-11T08:04:32.602Z] 00ac8860ef70: Pull complete [2020-12-11T08:04:32.876Z] 63d7cb157983: Pull complete [2020-12-11T08:04:33.472Z] b116817d02f9: Pull complete [2020-12-11T08:04:36.886Z] 745a02a5169b: Pull complete [2020-12-11T08:04:36.886Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-11T08:04:36.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-11T08:04:36.886Z] ---> b7e6874047d6 [2020-12-11T08:04:36.886Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T08:04:40.299Z] ---> Running in e21e2ce5b696 [2020-12-11T08:04:40.299Z] Removing intermediate container e21e2ce5b696 [2020-12-11T08:04:40.299Z] ---> 2bfcc5d3c022 [2020-12-11T08:04:40.299Z] Step 4/7 : RUN apk add bash [2020-12-11T08:04:40.299Z] ---> Running in 16370a5f0eee [2020-12-11T08:04:41.758Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T08:04:42.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T08:04:43.788Z] OK: 142 MiB in 39 packages [2020-12-11T08:04:44.773Z] Removing intermediate container 16370a5f0eee [2020-12-11T08:04:44.774Z] ---> 950feb51260c [2020-12-11T08:04:44.774Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-11T08:04:45.048Z] ---> Running in 5bd508d872ca [2020-12-11T08:04:45.353Z] Running on prd-centos7-docker-4c-2g-15572 in /w/workspace/dry_go-mod-core-contracts_PR-393 [Pipeline] { [Pipeline] ws [2020-12-11T08:04:45.451Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-12-11T08:04:45.643Z] Removing intermediate container 5bd508d872ca [2020-12-11T08:04:45.643Z] ---> f1905693cda2 [2020-12-11T08:04:45.643Z] Step 6/7 : COPY go.mod . [2020-12-11T08:04:46.253Z] ---> 8be2e6f94c02 [2020-12-11T08:04:46.253Z] Step 7/7 : RUN go mod download [2020-12-11T08:04:46.253Z] ---> Running in 9735ad4c7069 [2020-12-11T08:04:47.946Z] using credential edgex-jenkins-ssh [2020-12-11T08:04:48.001Z] Cloning the remote Git repository [2020-12-11T08:04:47.438Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T08:04:47.510Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-12-11T08:04:47.571Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T08:04:47.571Z] > git --version # timeout=10 [2020-12-11T08:04:47.582Z] > git --version # 'git version 2.24.3' [2020-12-11T08:04:47.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T08:04:47.621Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T08:04:49.627Z] Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit 8a3b8c97c8fe626248842458c0b0338eba8730e5 [2020-12-11T08:04:49.739Z] Merge succeeded, producing 8a3b8c97c8fe626248842458c0b0338eba8730e5 [2020-12-11T08:04:49.739Z] Checking out Revision 8a3b8c97c8fe626248842458c0b0338eba8730e5 (PR-393) [2020-12-11T08:04:48.466Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T08:04:48.473Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T08:04:48.485Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T08:04:48.507Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T08:04:48.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T08:04:48.516Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/393/head:refs/remotes/origin/PR-393 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T08:04:49.178Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T08:04:49.188Z] > git checkout -f 8a3b8c97c8fe626248842458c0b0338eba8730e5 # timeout=10 [2020-12-11T08:04:49.254Z] > git remote # timeout=10 [2020-12-11T08:04:49.260Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T08:04:49.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T08:04:49.269Z] > git merge 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 [2020-12-11T08:04:49.280Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T08:04:49.292Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T08:04:49.297Z] > git checkout -f 8a3b8c97c8fe626248842458c0b0338eba8730e5 # timeout=10 [2020-12-11T08:04:53.266Z] Commit message: "feat(meta): Add V2 client for querying device profile" [2020-12-11T08:04:53.144Z] > git --version # timeout=10 [2020-12-11T08:04:53.150Z] > git --version # 'git version 2.24.3' [2020-12-11T08:04:53.155Z] fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T08:04:54.736Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-11T08:04:55.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T08:04:55.412Z] + true [2020-12-11T08:04:55.412Z] + sudo service docker restart [2020-12-11T08:04:55.412Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-11T08:04:56.603Z] ========================================================= [2020-12-11T08:04:56.603Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-11T08:04:56.603Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:04:57.015Z] + 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-11T08:04:57.281Z] Sending build context to Docker daemon 1.927MB [2020-12-11T08:04:57.281Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T08:04:57.281Z] Step 2/7 : FROM ${BASE} [2020-12-11T08:04:57.548Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-11T08:04:57.548Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T08:04:57.548Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T08:04:57.548Z] de9db76c5a1d: Pulling fs layer [2020-12-11T08:04:57.548Z] bca2f99d35d6: Pulling fs layer [2020-12-11T08:04:57.548Z] 93359f2a8cfa: Pulling fs layer [2020-12-11T08:04:57.548Z] 7c6f9722023f: Pulling fs layer [2020-12-11T08:04:57.548Z] a35cf1a2eb13: Pulling fs layer [2020-12-11T08:04:57.548Z] bca2f99d35d6: Waiting [2020-12-11T08:04:57.548Z] 93359f2a8cfa: Waiting [2020-12-11T08:04:57.548Z] 7c6f9722023f: Waiting [2020-12-11T08:04:57.548Z] a35cf1a2eb13: Waiting [2020-12-11T08:04:57.548Z] de9db76c5a1d: Verifying Checksum [2020-12-11T08:04:57.548Z] de9db76c5a1d: Download complete [2020-12-11T08:04:57.548Z] 0ef7d3d256c8: Download complete [2020-12-11T08:04:57.549Z] 93359f2a8cfa: Download complete [2020-12-11T08:04:57.549Z] 7c6f9722023f: Verifying Checksum [2020-12-11T08:04:57.549Z] 7c6f9722023f: Download complete [2020-12-11T08:04:57.549Z] 188c0c94c7c5: Verifying Checksum [2020-12-11T08:04:57.549Z] 188c0c94c7c5: Download complete [2020-12-11T08:04:57.813Z] 188c0c94c7c5: Pull complete [2020-12-11T08:04:58.080Z] 0ef7d3d256c8: Pull complete [2020-12-11T08:04:58.346Z] de9db76c5a1d: Pull complete [2020-12-11T08:04:59.744Z] a35cf1a2eb13: Verifying Checksum [2020-12-11T08:04:59.744Z] a35cf1a2eb13: Download complete [2020-12-11T08:05:00.009Z] bca2f99d35d6: Verifying Checksum [2020-12-11T08:05:00.009Z] bca2f99d35d6: Download complete [2020-12-11T08:05:01.375Z] Removing intermediate container 9735ad4c7069 [2020-12-11T08:05:01.375Z] ---> bd7a554a1d9d [2020-12-11T08:05:01.375Z] Successfully built bd7a554a1d9d [2020-12-11T08:05:01.375Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:05:01.752Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T08:05:01.752Z] . [Pipeline] withDockerContainer [2020-12-11T08:05:02.041Z] prd-ubuntu18.04-docker-arm64-4c-16g-15570 does not seem to be running inside a container [2020-12-11T08:05:02.120Z] $ 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-11T08:05:03.494Z] $ docker top ad7ac05a4371078a7736f7086cb1c91e6a878939daa46c95211eef6afb05c2f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T08:05:04.541Z] + go version [2020-12-11T08:05:04.541Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-11T08:05:04.568Z] $ docker stop --time=1 ad7ac05a4371078a7736f7086cb1c91e6a878939daa46c95211eef6afb05c2f0 [2020-12-11T08:05:06.372Z] $ docker rm -f ad7ac05a4371078a7736f7086cb1c91e6a878939daa46c95211eef6afb05c2f0 [2020-12-11T08:05:06.649Z] bca2f99d35d6: Pull complete [2020-12-11T08:05:06.649Z] 93359f2a8cfa: Pull complete [2020-12-11T08:05:06.649Z] 7c6f9722023f: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:05:07.730Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T08:05:07.730Z] . [Pipeline] withDockerContainer [2020-12-11T08:05:08.019Z] prd-ubuntu18.04-docker-arm64-4c-16g-15570 does not seem to be running inside a container [2020-12-11T08:05:08.096Z] $ 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-11T08:05:09.631Z] $ docker top a7c65ee46b99d76fc978971e8033cfb89d7b4f684d1be608fa2c09e3e1d6d598 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T08:05:10.735Z] + make test [2020-12-11T08:05:10.735Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T08:05:10.899Z] a35cf1a2eb13: Pull complete [2020-12-11T08:05:10.899Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-11T08:05:10.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-11T08:05:10.899Z] ---> a62c8e92a672 [2020-12-11T08:05:10.899Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T08:05:10.899Z] ---> Running in d06b2c087342 [2020-12-11T08:05:11.162Z] Removing intermediate container d06b2c087342 [2020-12-11T08:05:11.162Z] ---> 67fa13302551 [2020-12-11T08:05:11.162Z] Step 4/7 : RUN apk add bash [2020-12-11T08:05:11.162Z] ---> Running in ef2833f1fc96 [2020-12-11T08:05:11.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T08:05:12.698Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T08:05:12.963Z] OK: 166 MiB in 39 packages [2020-12-11T08:05:13.547Z] Removing intermediate container ef2833f1fc96 [2020-12-11T08:05:13.547Z] ---> 55eb610b7e84 [2020-12-11T08:05:13.547Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-11T08:05:13.547Z] ---> Running in 7b9d27573e63 [2020-12-11T08:05:13.814Z] Removing intermediate container 7b9d27573e63 [2020-12-11T08:05:13.814Z] ---> 474fb9ea6d6d [2020-12-11T08:05:13.814Z] Step 6/7 : COPY go.mod . [2020-12-11T08:05:14.083Z] ---> e5d15d2f1c5d [2020-12-11T08:05:14.083Z] Step 7/7 : RUN go mod download [2020-12-11T08:05:14.083Z] ---> Running in 6fcde18dcf15 [2020-12-11T08:05:26.375Z] Removing intermediate container 6fcde18dcf15 [2020-12-11T08:05:26.375Z] ---> 0a8d1debed0e [2020-12-11T08:05:26.375Z] Successfully built 0a8d1debed0e [2020-12-11T08:05:26.375Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:05:26.724Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T08:05:26.724Z] . [Pipeline] withDockerContainer [2020-12-11T08:05:26.862Z] prd-centos7-docker-4c-2g-15572 does not seem to be running inside a container [2020-12-11T08:05:26.906Z] $ 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-11T08:05:27.609Z] $ docker top 7d425eee783add414098cb273fccf4020f2f89a825de51565342e4f5942bd598 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T08:05:28.174Z] + go version [2020-12-11T08:05:28.174Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-11T08:05:28.194Z] $ docker stop --time=1 7d425eee783add414098cb273fccf4020f2f89a825de51565342e4f5942bd598 [2020-12-11T08:05:29.547Z] $ docker rm -f 7d425eee783add414098cb273fccf4020f2f89a825de51565342e4f5942bd598 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:05:30.756Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T08:05:30.756Z] . [Pipeline] withDockerContainer [2020-12-11T08:05:30.873Z] prd-centos7-docker-4c-2g-15572 does not seem to be running inside a container [2020-12-11T08:05:30.913Z] $ 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-11T08:05:31.527Z] $ docker top 55a17fd66281d16cec25058a0b5b6cbbf87c27b2062eef6d66e6e4d37be03dc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T08:05:32.091Z] + make test [2020-12-11T08:05:32.091Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T08:05:32.960Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-11T08:05:32.960Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.037s coverage: 85.7% of statements [2020-12-11T08:05:32.960Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.035s coverage: 100.0% of statements [2020-12-11T08:05:35.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.076s coverage: 45.4% of statements [2020-12-11T08:05:35.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.052s coverage: 77.8% of statements [2020-12-11T08:05:35.620Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-11T08:05:35.620Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.034s coverage: 6.6% of statements [2020-12-11T08:05:35.904Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.049s coverage: 14.7% of statements [2020-12-11T08:05:36.511Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.027s coverage: 100.0% of statements [2020-12-11T08:05:37.963Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.065s coverage: 91.8% of statements [2020-12-11T08:05:37.963Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-11T08:05:37.963Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-11T08:05:37.963Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.034s coverage: 100.0% of statements [2020-12-11T08:05:38.562Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.011s coverage: 47.8% of statements [2020-12-11T08:05:38.791Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-11T08:05:39.068Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.010s coverage: 85.7% of statements [2020-12-11T08:05:39.068Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.012s coverage: 100.0% of statements [2020-12-11T08:05:39.660Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.016s coverage: 45.4% of statements [2020-12-11T08:05:39.660Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.012s coverage: 77.8% of statements [2020-12-11T08:05:39.660Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-11T08:05:39.660Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.045s coverage: 6.6% of statements [2020-12-11T08:05:40.638Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.046s coverage: 14.7% of statements [2020-12-11T08:05:40.638Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.086s coverage: 100.0% of statements [2020-12-11T08:05:40.638Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.024s coverage: 91.8% of statements [2020-12-11T08:05:40.638Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-11T08:05:40.638Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-11T08:05:40.638Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.033s coverage: 100.0% of statements [2020-12-11T08:05:41.229Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.009s coverage: 47.8% of statements [2020-12-11T08:05:43.182Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.032s coverage: 63.0% of statements [2020-12-11T08:05:43.182Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.008s coverage: 26.3% of statements [2020-12-11T08:05:43.182Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.004s coverage: 15.4% of statements [2020-12-11T08:05:43.182Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.018s coverage: 15.4% of statements [2020-12-11T08:05:43.182Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.006s coverage: 14.3% of statements [2020-12-11T08:05:43.182Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-11T08:05:43.450Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.023s coverage: 82.3% of statements [2020-12-11T08:05:43.450Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-11T08:05:43.450Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-11T08:05:43.715Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.009s coverage: 29.9% of statements [2020-12-11T08:05:43.715Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.019s coverage: 100.0% of statements [2020-12-11T08:05:43.979Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.015s coverage: 94.4% of statements [2020-12-11T08:05:43.979Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements [2020-12-11T08:05:43.979Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-11T08:05:43.979Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T08:05:43.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.128s coverage: 63.0% of statements [2020-12-11T08:05:43.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.020s coverage: 26.3% of statements [2020-12-11T08:05:43.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.040s coverage: 15.4% of statements [2020-12-11T08:05:43.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.012s coverage: 15.4% of statements [2020-12-11T08:05:43.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.035s coverage: 14.3% of statements [2020-12-11T08:05:43.988Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-11T08:05:44.976Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.072s coverage: 82.3% of statements [2020-12-11T08:05:44.977Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-11T08:05:44.977Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-11T08:05:44.977Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.076s coverage: 29.9% of statements [2020-12-11T08:05:45.253Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.022s coverage: 100.0% of statements [2020-12-11T08:05:45.915Z] gofmt -l . [2020-12-11T08:05:45.916Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-11T08:05:45.949Z] $ docker stop --time=1 55a17fd66281d16cec25058a0b5b6cbbf87c27b2062eef6d66e6e4d37be03dc2 [2020-12-11T08:05:46.244Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.060s coverage: 94.4% of statements [2020-12-11T08:05:46.522Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.021s coverage: 100.0% of statements [2020-12-11T08:05:46.522Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-11T08:05:46.798Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T08:05:48.359Z] $ docker rm -f 55a17fd66281d16cec25058a0b5b6cbbf87c27b2062eef6d66e6e4d37be03dc2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T08:05:49.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T08:05:49.422Z] 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] } [2020-12-11T08:05:51.117Z] gofmt -l . [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-12-11T08:05:51.714Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [Pipeline] } [2020-12-11T08:05:52.337Z] $ docker stop --time=1 a7c65ee46b99d76fc978971e8033cfb89d7b4f684d1be608fa2c09e3e1d6d598 [2020-12-11T08:05:54.564Z] $ docker rm -f a7c65ee46b99d76fc978971e8033cfb89d7b4f684d1be608fa2c09e3e1d6d598 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T08:05:55.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T08:05:55.540Z] Warning: overwriting stash ‘coverage-report’ [2020-12-11T08:05:56.618Z] 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-11T08:05:59.293Z] provisioning config files... [2020-12-11T08:05:59.309Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-393@tmp/config5724697167433865263tmp [Pipeline] { [Pipeline] sh [2020-12-11T08:05:59.753Z] + set +x [2020-12-11T08:05:59.753Z] + curl -s https://codecov.io/bash [2020-12-11T08:05:59.753Z] + bash -s -- [2020-12-11T08:06:00.019Z] [2020-12-11T08:06:00.019Z] _____ _ [2020-12-11T08:06:00.019Z] / ____| | | [2020-12-11T08:06:00.019Z] | | ___ __| | ___ ___ _____ __ [2020-12-11T08:06:00.019Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-11T08:06:00.019Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-11T08:06:00.019Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-11T08:06:00.019Z] Bash-20201130-cc6d3fe [2020-12-11T08:06:00.019Z] [2020-12-11T08:06:00.019Z] [2020-12-11T08:06:00.019Z] ==> Jenkins CI detected. [2020-12-11T08:06:00.019Z] project root: . [2020-12-11T08:06:00.019Z] --> token set from env [2020-12-11T08:06:00.019Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-11T08:06:00.019Z] ==> Running gcov in . (disable via -X gcov) [2020-12-11T08:06:00.019Z] ==> Python coveragepy not found [2020-12-11T08:06:00.019Z] ==> Searching for coverage reports in: [2020-12-11T08:06:00.019Z] + . [2020-12-11T08:06:00.019Z] -> Found 1 reports [2020-12-11T08:06:00.019Z] ==> Detecting git/mercurial file structure [2020-12-11T08:06:00.019Z] ==> Reading reports [2020-12-11T08:06:00.019Z] + ./coverage.out bytes=109909 [2020-12-11T08:06:00.019Z] ==> Appending adjustments [2020-12-11T08:06:00.019Z] https://docs.codecov.io/docs/fixing-reports [2020-12-11T08:06:00.969Z] + Found adjustments [2020-12-11T08:06:00.969Z] ==> Gzipping contents [2020-12-11T08:06:00.969Z] 20K /tmp/codecov.vnuof9.gz [2020-12-11T08:06:00.969Z] ==> Uploading reports [2020-12-11T08:06:00.969Z] url: https://codecov.io [2020-12-11T08:06:00.969Z] query: branch=PR-393&commit=8a3b8c97c8fe626248842458c0b0338eba8730e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-393%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=393&job=&cmd_args= [2020-12-11T08:06:00.969Z] -> Pinging Codecov [2020-12-11T08:06:00.969Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-393&commit=8a3b8c97c8fe626248842458c0b0338eba8730e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-393%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=393&job=&cmd_args= [2020-12-11T08:06:01.549Z] -> Uploading to [2020-12-11T08:06:01.549Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-11/71470A77251A30514AAF9C0BB2E5B6CE/8a3b8c97c8fe626248842458c0b0338eba8730e5/d7fb93a9-a816-4165-ab60-22b88a6c9ce4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201211T080601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a5d09513ac20b7a3634c6ba1bd329dfe9b0a98300d3e55483c672c260bbba21 [2020-12-11T08:06:01.549Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-11T08:06:01.549Z] Dload Upload Total Spent Left Speed [2020-12-11T08:06:01.814Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17659 0 0 100 17659 0 38452 --:--:-- --:--:-- --:--:-- 38389 [2020-12-11T08:06:01.814Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/8a3b8c97c8fe626248842458c0b0338eba8730e5 [Pipeline] } [2020-12-11T08:06:01.840Z] 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-11T08:06:05.697Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T08:06:06.311Z] ---> package-listing.sh [2020-12-11T08:06:06.312Z] ++ facter osfamily [2020-12-11T08:06:06.312Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-11T08:06:06.312Z] + OS_FAMILY=redhat [2020-12-11T08:06:06.312Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-393 [2020-12-11T08:06:06.312Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-11T08:06:06.312Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-11T08:06:06.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-11T08:06:06.312Z] + PACKAGES=/tmp/packages_start.txt [2020-12-11T08:06:06.312Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-393 ']' [2020-12-11T08:06:06.312Z] + PACKAGES=/tmp/packages_end.txt [2020-12-11T08:06:06.312Z] + case "${OS_FAMILY}" in [2020-12-11T08:06:06.312Z] + rpm -qa [2020-12-11T08:06:06.312Z] + sort [2020-12-11T08:06:11.630Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-11T08:06:11.630Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-11T08:06:11.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-11T08:06:11.630Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-393 ']' [2020-12-11T08:06:11.630Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-393/archives/ [2020-12-11T08:06:11.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-393/archives/ [Pipeline] echo [2020-12-11T08:06:11.664Z] 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-393/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-11T08:06:11.980Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:06:12.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T08:06:12.326Z] [2020-12-11T08:06:12.326Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-11T08:06:12.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T08:06:12.727Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-11T08:06:12.727Z] df20fa9351a1: Pulling fs layer [2020-12-11T08:06:12.727Z] 36b3adc4ff6f: Pulling fs layer [2020-12-11T08:06:12.727Z] 8ad3a11d3b57: Pulling fs layer [2020-12-11T08:06:12.727Z] 46f8f816bc3b: Pulling fs layer [2020-12-11T08:06:12.728Z] 93b61091891f: Pulling fs layer [2020-12-11T08:06:12.728Z] 93b9cdb0e59b: Pulling fs layer [2020-12-11T08:06:12.728Z] 5e14af77c1be: Pulling fs layer [2020-12-11T08:06:12.728Z] 01666e4c0597: Pulling fs layer [2020-12-11T08:06:12.728Z] aa168da1d23b: Pulling fs layer [2020-12-11T08:06:12.728Z] 01666e4c0597: Waiting [2020-12-11T08:06:12.728Z] 93b9cdb0e59b: Waiting [2020-12-11T08:06:12.728Z] 5e14af77c1be: Waiting [2020-12-11T08:06:12.728Z] aa168da1d23b: Waiting [2020-12-11T08:06:12.728Z] 93b61091891f: Waiting [2020-12-11T08:06:12.728Z] 46f8f816bc3b: Waiting [2020-12-11T08:06:12.728Z] 36b3adc4ff6f: Verifying Checksum [2020-12-11T08:06:12.728Z] 36b3adc4ff6f: Download complete [2020-12-11T08:06:12.728Z] 46f8f816bc3b: Verifying Checksum [2020-12-11T08:06:12.728Z] 46f8f816bc3b: Download complete [2020-12-11T08:06:12.728Z] df20fa9351a1: Verifying Checksum [2020-12-11T08:06:12.994Z] 93b9cdb0e59b: Verifying Checksum [2020-12-11T08:06:12.994Z] 93b9cdb0e59b: Download complete [2020-12-11T08:06:12.994Z] 5e14af77c1be: Verifying Checksum [2020-12-11T08:06:12.994Z] 5e14af77c1be: Download complete [2020-12-11T08:06:12.994Z] 93b61091891f: Verifying Checksum [2020-12-11T08:06:12.994Z] 93b61091891f: Download complete [2020-12-11T08:06:12.994Z] 01666e4c0597: Verifying Checksum [2020-12-11T08:06:12.994Z] 01666e4c0597: Download complete [2020-12-11T08:06:12.994Z] 8ad3a11d3b57: Verifying Checksum [2020-12-11T08:06:12.994Z] 8ad3a11d3b57: Download complete [2020-12-11T08:06:13.261Z] df20fa9351a1: Pull complete [2020-12-11T08:06:13.544Z] 36b3adc4ff6f: Pull complete [2020-12-11T08:06:14.129Z] 8ad3a11d3b57: Pull complete [2020-12-11T08:06:14.394Z] 46f8f816bc3b: Pull complete [2020-12-11T08:06:15.360Z] aa168da1d23b: Verifying Checksum [2020-12-11T08:06:15.360Z] aa168da1d23b: Download complete [2020-12-11T08:06:15.622Z] 93b61091891f: Pull complete [2020-12-11T08:06:15.622Z] 93b9cdb0e59b: Pull complete [2020-12-11T08:06:15.887Z] 5e14af77c1be: Pull complete [2020-12-11T08:06:15.887Z] 01666e4c0597: Pull complete [2020-12-11T08:06:24.073Z] aa168da1d23b: Pull complete [2020-12-11T08:06:24.073Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-11T08:06:24.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T08:06:24.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-11T08:06:24.352Z] prd-centos7-docker-4c-2g-15569 does not seem to be running inside a container [2020-12-11T08:06:24.397Z] $ 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-393/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-393 -v /w/workspace/dry_go-mod-core-contracts_PR-393:/w/workspace/dry_go-mod-core-contracts_PR-393:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-393@tmp:/w/workspace/dry_go-mod-core-contracts_PR-393@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-11T08:06:27.711Z] $ docker top 37d3e6079f2be3a7a203bc7001f0d0db9cae2f50898cf3242107d30f3728ae50 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T08:06:28.272Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-11T08:06:28.600Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-11T08:06:28.927Z] + ls /var/log/sa-host [2020-12-11T08:06:28.927Z] + sadf -c /var/log/sa-host/sa11 [2020-12-11T08:06:28.927Z] file_magic: OK [2020-12-11T08:06:28.927Z] HZ: Using current value: 100 [2020-12-11T08:06:28.927Z] file_header: OK [2020-12-11T08:06:28.927Z] 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-11T08:06:28.927Z] Statistics: [2020-12-11T08:06:28.927Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-11T08:06:28.927Z] File successfully converted to sysstat format version 12.2.1 [2020-12-11T08:06:28.927Z] + sadf -c /var/log/sa-host/sa23 [2020-12-11T08:06:28.927Z] file_magic: OK [2020-12-11T08:06:28.927Z] HZ: Using current value: 100 [2020-12-11T08:06:28.927Z] file_header: OK [2020-12-11T08:06:28.927Z] 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-11T08:06:28.927Z] Statistics: [2020-12-11T08:06:28.927Z] Hnuu...uuuununununu... [2020-12-11T08:06:28.927Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-11T08:06:29.690Z] provisioning config files... [2020-12-11T08:06:29.708Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-393@tmp/config6917367822040955744tmp [Pipeline] { [Pipeline] echo [2020-12-11T08:06:29.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T08:06:30.209Z] ---> create-netrc.sh [Pipeline] } [2020-12-11T08:06:30.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-11T08:06:30.467Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T08:06:30.804Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-11T08:06:30.836Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T08:06:31.172Z] ---> sudo-logs.sh [2020-12-11T08:06:31.172Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-11T08:06:31.223Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T08:06:31.566Z] ---> job-cost.sh [2020-12-11T08:06:31.566Z] lf-activate-venv: SKIPPING [2020-12-11T08:06:31.566Z] INFO: No Stack... [2020-12-11T08:06:32.518Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-11T08:06:33.095Z] INFO: Archiving Costs [Pipeline] echo [2020-12-11T08:06:33.131Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T08:06:33.472Z] ---> logs-deploy.sh [2020-12-11T08:06:33.472Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-393/1 [2020-12-11T08:06:33.472Z] INFO: archiving workspace using pattern(s): [2020-12-11T08:06:35.399Z] Archives upload complete. [2020-12-11T08:06:35.399Z] INFO: archiving logs to Nexus