Branch indexing 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 FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 54f28d0a70278177a8b305144294465241040660 rather than 7c782f36c5867f8658ac833bc6fb906e247c8941 Obtained Jenkinsfile from 54f28d0a70278177a8b305144294465241040660 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22954 in /w/workspace/dry_go-mod-core-contracts_PR-439 [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-439 # 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/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 54f28d0a70278177a8b305144294465241040660 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 Merge succeeded, producing a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 Checking out Revision a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 (PR-439) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 54f28d0a70278177a8b305144294465241040660 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 # timeout=10 Commit message: "Merge commit '54f28d0a70278177a8b305144294465241040660' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-27T00:41:20.703Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T00:41:20.968Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T00:41:21.060Z] ========================================================= [2021-01-27T00:41:21.060Z] EdgeX Global Pipelines Version Info [2021-01-27T00:41:21.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6095dacf2b962ac75a7425c389430e6e31a4716a # timeout=10 [2021-01-27T00:41:23.193Z] ------------------- [2021-01-27T00:41:23.193Z] stable info: [2021-01-27T00:41:23.193Z] ------------------- [2021-01-27T00:41:23.193Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T00:41:23.193Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T00:41:23.193Z] Message: update stable to v1.0.179 [2021-01-27T00:41:24.147Z] ------------------- [2021-01-27T00:41:24.147Z] experimental info: [2021-01-27T00:41:24.147Z] ------------------- [2021-01-27T00:41:24.147Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T00:41:24.147Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T00:41:24.147Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T00:41:24.413Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-27T00:41:24.505Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-27T00:41:24.593Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T00:41:24.678Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T00:41:24.764Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T00:41:24.851Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T00:41:24.938Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T00:41:25.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T00:41:25.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-27T00:41:25.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T00:41:25.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T00:41:25.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-27T00:41:25.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T00:41:25.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T00:41:25.743Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T00:41:25.870Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T00:41:25.976Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T00:41:26.060Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T00:41:26.145Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T00:41:26.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T00:41:26.314Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-27T00:41:26.421Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-27T00:41:26.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T00:41:26.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T00:41:26.718Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-27T00:41:26.805Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T00:41:26.891Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T00:41:26.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo [2021-01-27T00:41:27.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo [2021-01-27T00:41:27.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo [2021-01-27T00:41:27.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 [Pipeline] echo [2021-01-27T00:41:27.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3acc39 [Pipeline] echo [2021-01-27T00:41:27.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T00:41:28.114Z] + git log --format=format:%s -1 a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 [Pipeline] echo [2021-01-27T00:41:28.192Z] GIT_COMMIT: a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10, Commit Message: Merge commit '54f28d0a70278177a8b305144294465241040660' into HEAD [Pipeline] echo [2021-01-27T00:41:28.234Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:41:28.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T00:41:29.134Z] [2021-01-27T00:41:29.134Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:41:29.477Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T00:41:29.477Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T00:41:29.477Z] 31603596830f: Pulling fs layer [2021-01-27T00:41:29.477Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T00:41:29.477Z] 6ca5941a6612: Pulling fs layer [2021-01-27T00:41:29.477Z] ecc8261a40a4: Pulling fs layer [2021-01-27T00:41:29.477Z] ecc8261a40a4: Waiting [2021-01-27T00:41:29.477Z] 2a8b12db71e7: Download complete [2021-01-27T00:41:29.746Z] 31603596830f: Verifying Checksum [2021-01-27T00:41:29.746Z] 31603596830f: Download complete [2021-01-27T00:41:29.746Z] 6ca5941a6612: Verifying Checksum [2021-01-27T00:41:29.746Z] 6ca5941a6612: Download complete [2021-01-27T00:41:30.009Z] ecc8261a40a4: Verifying Checksum [2021-01-27T00:41:30.009Z] ecc8261a40a4: Download complete [2021-01-27T00:41:30.273Z] 31603596830f: Pull complete [2021-01-27T00:41:30.273Z] 2a8b12db71e7: Pull complete [2021-01-27T00:41:31.234Z] 6ca5941a6612: Pull complete [2021-01-27T00:41:31.496Z] ecc8261a40a4: Pull complete [2021-01-27T00:41:31.496Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T00:41:31.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T00:41:31.497Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T00:41:31.619Z] prd-centos7-docker-4c-2g-22954 does not seem to be running inside a container [2021-01-27T00:41:31.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@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:10004/edgex-devops/git-semver:latest cat [2021-01-27T00:41:34.354Z] $ docker top ea8f898a11dba6ead86fc95ac12f0de4a7b83a333ecdad282412a99634b8cb91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T00:41:34.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T00:41:34.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T00:41:34.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T00:41:34.975Z] $ docker exec ea8f898a11dba6ead86fc95ac12f0de4a7b83a333ecdad282412a99634b8cb91 ssh-agent [2021-01-27T00:41:35.162Z] SSH_AUTH_SOCK=/tmp/ssh-NpHPs8aIW2lk/agent.11 [2021-01-27T00:41:35.162Z] SSH_AGENT_PID=16 [2021-01-27T00:41:35.180Z] Running ssh-add (command line suppressed) [2021-01-27T00:41:35.315Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_8380012663072126389.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_8380012663072126389.key) [2021-01-27T00:41:35.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T00:41:35.720Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T00:41:35.746Z] $ docker exec --env ******** --env ******** ea8f898a11dba6ead86fc95ac12f0de4a7b83a333ecdad282412a99634b8cb91 ssh-agent -k [2021-01-27T00:41:35.876Z] unset SSH_AUTH_SOCK; [2021-01-27T00:41:35.876Z] unset SSH_AGENT_PID; [2021-01-27T00:41:35.876Z] echo Agent pid 16 killed; [2021-01-27T00:41:35.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T00:41:36.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T00:41:36.069Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T00:41:36.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T00:41:36.253Z] $ docker exec ea8f898a11dba6ead86fc95ac12f0de4a7b83a333ecdad282412a99634b8cb91 ssh-agent [2021-01-27T00:41:36.425Z] SSH_AUTH_SOCK=/tmp/ssh-6GdrvdZceizg/agent.44 [2021-01-27T00:41:36.425Z] SSH_AGENT_PID=50 [2021-01-27T00:41:36.433Z] Running ssh-add (command line suppressed) [2021-01-27T00:41:36.592Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_6667158577900923649.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_6667158577900923649.key) [2021-01-27T00:41:36.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T00:41:37.007Z] + git semver init [2021-01-27T00:41:37.007Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T00:41:37.007Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git [2021-01-27T00:41:37.007Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-27T00:41:37.007Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T00:41:37.007Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T00:41:37.007Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T00:41:37.007Z] # $SEMVER_BRANCH = PR-439 [2021-01-27T00:41:37.007Z] # $SEMVER_TEMP = /tmp/semver-205753390 [2021-01-27T00:41:37.007Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-27T00:41:37.587Z] # '/tmp/semver-205753390' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' [2021-01-27T00:41:37.587Z] # -> Force: false [2021-01-27T00:41:37.587Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } [2021-01-27T00:41:37.602Z] $ docker exec --env ******** --env ******** ea8f898a11dba6ead86fc95ac12f0de4a7b83a333ecdad282412a99634b8cb91 ssh-agent -k [2021-01-27T00:41:37.727Z] unset SSH_AUTH_SOCK; [2021-01-27T00:41:37.727Z] unset SSH_AGENT_PID; [2021-01-27T00:41:37.727Z] echo Agent pid 50 killed; [2021-01-27T00:41:37.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T00:41:38.302Z] + git semver [Pipeline] } [2021-01-27T00:41:38.323Z] $ docker stop --time=1 ea8f898a11dba6ead86fc95ac12f0de4a7b83a333ecdad282412a99634b8cb91 [2021-01-27T00:41:40.159Z] $ docker rm -f ea8f898a11dba6ead86fc95ac12f0de4a7b83a333ecdad282412a99634b8cb91 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T00:41:40.689Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T00:41:41.375Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T00:41:41.378Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-27T00:41:42.230Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22946 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-27T00:41:42.288Z] Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] checkout [2021-01-27T00:41:47.554Z] using credential edgex-jenkins-ssh [2021-01-27T00:41:47.620Z] Cloning the remote Git repository [2021-01-27T00:41:47.698Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T00:41:47.822Z] > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 [2021-01-27T00:41:47.933Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T00:41:47.934Z] > git --version # timeout=10 [2021-01-27T00:41:47.964Z] > git --version # 'git version 2.17.1' [2021-01-27T00:41:47.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T00:41:48.056Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T00:41:49.820Z] Merging remotes/origin/master commit 54f28d0a70278177a8b305144294465241040660 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 [2021-01-27T00:41:49.068Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T00:41:49.088Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T00:41:49.113Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T00:41:49.146Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T00:41:49.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T00:41:49.160Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T00:41:49.843Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T00:41:49.865Z] > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 [2021-01-27T00:41:50.279Z] Merge succeeded, producing d17a5f2002809b58d17de12f8595b8271957e411 [2021-01-27T00:41:50.279Z] Checking out Revision d17a5f2002809b58d17de12f8595b8271957e411 (PR-439) [2021-01-27T00:41:50.015Z] > git remote # timeout=10 [2021-01-27T00:41:50.035Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T00:41:50.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T00:41:50.068Z] > git merge 54f28d0a70278177a8b305144294465241040660 # timeout=10 [2021-01-27T00:41:50.265Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T00:41:50.290Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T00:41:50.306Z] > git checkout -f d17a5f2002809b58d17de12f8595b8271957e411 # timeout=10 [2021-01-27T00:41:54.749Z] Commit message: "Merge commit '54f28d0a70278177a8b305144294465241040660' into HEAD" [2021-01-27T00:41:54.771Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T00:41:54.760Z] > git rev-list --no-walk 6095dacf2b962ac75a7425c389430e6e31a4716a # timeout=10 [2021-01-27T00:41:56.286Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T00:41:56.720Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T00:41:56.956Z] Still waiting to schedule task [2021-01-27T00:41:56.956Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-27T00:41:57.069Z] + sudo service docker restart [2021-01-27T00:41:57.069Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-27T00:41:59.357Z] ========================================================= [2021-01-27T00:41:59.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T00:41:59.357Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:41:59.747Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-27T00:42:00.733Z] Sending build context to Docker daemon 2.419MB [2021-01-27T00:42:00.733Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-27T00:42:00.733Z] Step 2/7 : FROM ${BASE} [2021-01-27T00:42:01.330Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T00:42:01.330Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T00:42:01.330Z] a4357932f1b6: Pulling fs layer [2021-01-27T00:42:01.330Z] 18c013af1878: Pulling fs layer [2021-01-27T00:42:01.330Z] 00ac8860ef70: Pulling fs layer [2021-01-27T00:42:01.330Z] 63d7cb157983: Pulling fs layer [2021-01-27T00:42:01.330Z] b116817d02f9: Pulling fs layer [2021-01-27T00:42:01.330Z] 745a02a5169b: Pulling fs layer [2021-01-27T00:42:01.330Z] 63d7cb157983: Waiting [2021-01-27T00:42:01.330Z] 745a02a5169b: Waiting [2021-01-27T00:42:01.330Z] b116817d02f9: Waiting [2021-01-27T00:42:01.330Z] 00ac8860ef70: Waiting [2021-01-27T00:42:01.330Z] 18c013af1878: Download complete [2021-01-27T00:42:01.330Z] a4357932f1b6: Verifying Checksum [2021-01-27T00:42:01.330Z] a4357932f1b6: Download complete [2021-01-27T00:42:01.330Z] 63d7cb157983: Verifying Checksum [2021-01-27T00:42:01.330Z] 63d7cb157983: Download complete [2021-01-27T00:42:01.330Z] b116817d02f9: Download complete [2021-01-27T00:42:01.330Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T00:42:01.330Z] 5f621e34cdf4: Download complete [2021-01-27T00:42:01.940Z] 5f621e34cdf4: Pull complete [2021-01-27T00:42:02.929Z] a4357932f1b6: Pull complete [2021-01-27T00:42:03.208Z] 18c013af1878: Pull complete [2021-01-27T00:42:04.205Z] 745a02a5169b: Verifying Checksum [2021-01-27T00:42:04.205Z] 745a02a5169b: Download complete [2021-01-27T00:42:05.198Z] 00ac8860ef70: Verifying Checksum [2021-01-27T00:42:05.198Z] 00ac8860ef70: Download complete [2021-01-27T00:42:15.374Z] 00ac8860ef70: Pull complete [2021-01-27T00:42:15.374Z] 63d7cb157983: Pull complete [2021-01-27T00:42:15.374Z] b116817d02f9: Pull complete [2021-01-27T00:42:19.706Z] 745a02a5169b: Pull complete [2021-01-27T00:42:19.706Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T00:42:19.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T00:42:19.706Z] ---> b7e6874047d6 [2021-01-27T00:42:19.706Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-27T00:42:23.124Z] ---> Running in f2e5dd7b8a70 [2021-01-27T00:42:23.124Z] Removing intermediate container f2e5dd7b8a70 [2021-01-27T00:42:23.124Z] ---> 81656693798f [2021-01-27T00:42:23.124Z] Step 4/7 : RUN apk add bash [2021-01-27T00:42:23.124Z] ---> Running in f6e4eff183c4 [2021-01-27T00:42:24.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T00:42:25.539Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T00:42:26.515Z] OK: 142 MiB in 39 packages [2021-01-27T00:42:27.955Z] Removing intermediate container f6e4eff183c4 [2021-01-27T00:42:27.955Z] ---> f8172b284450 [2021-01-27T00:42:27.955Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-27T00:42:27.955Z] ---> Running in 309ef5f9b1cb [2021-01-27T00:42:28.550Z] Removing intermediate container 309ef5f9b1cb [2021-01-27T00:42:28.550Z] ---> 2c8367c6a5b6 [2021-01-27T00:42:28.550Z] Step 6/7 : COPY go.mod . [2021-01-27T00:42:29.152Z] ---> 59500f39fb30 [2021-01-27T00:42:29.152Z] Step 7/7 : RUN go mod download [2021-01-27T00:42:29.431Z] ---> Running in 0a4d8d4f12d4 [2021-01-27T00:42:44.536Z] Removing intermediate container 0a4d8d4f12d4 [2021-01-27T00:42:44.536Z] ---> 6c730417ea5e [2021-01-27T00:42:44.536Z] Successfully built 6c730417ea5e [2021-01-27T00:42:44.536Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:42:44.891Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T00:42:44.891Z] . [Pipeline] withDockerContainer [2021-01-27T00:42:45.195Z] prd-ubuntu18.04-docker-arm64-4c-16g-22946 does not seem to be running inside a container [2021-01-27T00:42:45.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T00:42:47.318Z] $ docker top 1910708ff2566481f6acc5dbf2421bf024f457cf05c97ebf5e644c6a2ab5687d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T00:42:48.446Z] + go version [2021-01-27T00:42:48.446Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T00:42:48.474Z] $ docker stop --time=1 1910708ff2566481f6acc5dbf2421bf024f457cf05c97ebf5e644c6a2ab5687d [2021-01-27T00:42:50.481Z] $ docker rm -f 1910708ff2566481f6acc5dbf2421bf024f457cf05c97ebf5e644c6a2ab5687d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:42:51.555Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T00:42:51.555Z] . [Pipeline] withDockerContainer [2021-01-27T00:42:51.804Z] prd-ubuntu18.04-docker-arm64-4c-16g-22946 does not seem to be running inside a container [2021-01-27T00:42:51.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T00:42:53.349Z] $ docker top ed9e1e717d4e13bcc88b7f4e5a66387c3b1a18a1f1972050f0bc3d23d1840569 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T00:42:54.408Z] + make test [2021-01-27T00:42:54.408Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-27T00:42:54.680Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors [2021-01-27T00:42:54.680Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos [2021-01-27T00:42:54.680Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [2021-01-27T00:42:54.680Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 [2021-01-27T00:42:54.951Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:42:55.544Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:42:55.544Z] go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:42:55.544Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:42:55.544Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:42:56.524Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/clients/interfaces) [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-27T00:42:56.524Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/models) [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-27T00:42:56.524Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/clients/interfaces) [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-27T00:42:56.524Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/models) [2021-01-27T00:42:56.524Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-27T00:42:56.524Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-27T00:42:56.556Z] $ docker stop --time=1 ed9e1e717d4e13bcc88b7f4e5a66387c3b1a18a1f1972050f0bc3d23d1840569 [2021-01-27T00:42:58.609Z] $ docker rm -f ed9e1e717d4e13bcc88b7f4e5a66387c3b1a18a1f1972050f0bc3d23d1840569 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-27T00:43:00.100Z] Failed in branch arm64 [2021-01-27T00:55:25.628Z] Running on prd-centos7-docker-4c-2g-23292 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-27T00:55:25.733Z] Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] checkout [2021-01-27T00:55:33.456Z] using credential edgex-jenkins-ssh [2021-01-27T00:55:33.513Z] Cloning the remote Git repository [2021-01-27T00:55:33.573Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T00:55:33.670Z] > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 [2021-01-27T00:55:33.847Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T00:55:33.847Z] > git --version # timeout=10 [2021-01-27T00:55:33.869Z] > git --version # 'git version 2.24.3' [2021-01-27T00:55:33.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T00:55:33.919Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T00:55:49.938Z] Merging remotes/origin/master commit 54f28d0a70278177a8b305144294465241040660 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 [2021-01-27T00:55:50.338Z] Merge succeeded, producing 6b065ade43d17173d8ef04d2112e67c6e0089c54 [2021-01-27T00:55:50.339Z] Checking out Revision 6b065ade43d17173d8ef04d2112e67c6e0089c54 (PR-439) [2021-01-27T00:55:49.254Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T00:55:49.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T00:55:49.308Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-27T00:55:49.323Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-27T00:55:49.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T00:55:49.332Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T00:55:49.961Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T00:55:49.975Z] > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 [2021-01-27T00:55:50.094Z] > git remote # timeout=10 [2021-01-27T00:55:50.124Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T00:55:50.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T00:55:50.151Z] > git merge 54f28d0a70278177a8b305144294465241040660 # timeout=10 [2021-01-27T00:55:50.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T00:55:50.344Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T00:55:50.352Z] > git checkout -f 6b065ade43d17173d8ef04d2112e67c6e0089c54 # timeout=10 [2021-01-27T00:55:54.933Z] Commit message: "Merge commit '54f28d0a70278177a8b305144294465241040660' into HEAD" [2021-01-27T00:55:54.975Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-01-27T00:55:54.941Z] > git rev-list --no-walk 6095dacf2b962ac75a7425c389430e6e31a4716a # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T00:55:56.873Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T00:55:57.277Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T00:55:57.624Z] + sudo service docker restart [2021-01-27T00:55:57.624Z] + true [2021-01-27T00:55:57.624Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-27T00:55:59.877Z] ========================================================= [2021-01-27T00:55:59.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T00:55:59.877Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:56:00.348Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-27T00:56:01.465Z] Sending build context to Docker daemon 2.42MB [2021-01-27T00:56:01.816Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-27T00:56:01.816Z] Step 2/7 : FROM ${BASE} [2021-01-27T00:56:02.255Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T00:56:02.255Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T00:56:02.255Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T00:56:02.255Z] de9db76c5a1d: Pulling fs layer [2021-01-27T00:56:02.255Z] bca2f99d35d6: Pulling fs layer [2021-01-27T00:56:02.255Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T00:56:02.255Z] 7c6f9722023f: Pulling fs layer [2021-01-27T00:56:02.255Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T00:56:02.255Z] bca2f99d35d6: Waiting [2021-01-27T00:56:02.255Z] 93359f2a8cfa: Waiting [2021-01-27T00:56:02.255Z] 7c6f9722023f: Waiting [2021-01-27T00:56:02.255Z] a35cf1a2eb13: Waiting [2021-01-27T00:56:02.255Z] de9db76c5a1d: Verifying Checksum [2021-01-27T00:56:02.255Z] de9db76c5a1d: Download complete [2021-01-27T00:56:03.254Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T00:56:03.254Z] 0ef7d3d256c8: Download complete [2021-01-27T00:56:03.254Z] 93359f2a8cfa: Download complete [2021-01-27T00:56:03.254Z] 7c6f9722023f: Verifying Checksum [2021-01-27T00:56:03.254Z] 7c6f9722023f: Download complete [2021-01-27T00:56:03.897Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T00:56:03.897Z] 188c0c94c7c5: Download complete [2021-01-27T00:56:04.553Z] 188c0c94c7c5: Pull complete [2021-01-27T00:56:04.869Z] 0ef7d3d256c8: Pull complete [2021-01-27T00:56:05.139Z] de9db76c5a1d: Pull complete [2021-01-27T00:56:08.721Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T00:56:08.721Z] a35cf1a2eb13: Download complete [2021-01-27T00:56:10.230Z] bca2f99d35d6: Verifying Checksum [2021-01-27T00:56:10.230Z] bca2f99d35d6: Download complete [2021-01-27T00:56:22.852Z] bca2f99d35d6: Pull complete [2021-01-27T00:56:22.852Z] 93359f2a8cfa: Pull complete [2021-01-27T00:56:22.852Z] 7c6f9722023f: Pull complete [2021-01-27T00:56:28.370Z] a35cf1a2eb13: Pull complete [2021-01-27T00:56:28.370Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T00:56:28.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T00:56:28.370Z] ---> a62c8e92a672 [2021-01-27T00:56:28.370Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-27T00:56:28.370Z] ---> Running in d7d432595bc2 [2021-01-27T00:56:28.370Z] Removing intermediate container d7d432595bc2 [2021-01-27T00:56:28.370Z] ---> 627be4d57095 [2021-01-27T00:56:28.370Z] Step 4/7 : RUN apk add bash [2021-01-27T00:56:28.370Z] ---> Running in a160cbf032f3 [2021-01-27T00:56:29.352Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T00:56:29.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T00:56:30.552Z] OK: 166 MiB in 39 packages [2021-01-27T00:56:31.601Z] Removing intermediate container a160cbf032f3 [2021-01-27T00:56:31.601Z] ---> d9afe001459c [2021-01-27T00:56:31.601Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-27T00:56:31.601Z] ---> Running in a01d17b780d9 [2021-01-27T00:56:31.887Z] Removing intermediate container a01d17b780d9 [2021-01-27T00:56:31.887Z] ---> de5437aa8d13 [2021-01-27T00:56:31.887Z] Step 6/7 : COPY go.mod . [2021-01-27T00:56:32.174Z] ---> c3e00fa49aab [2021-01-27T00:56:32.174Z] Step 7/7 : RUN go mod download [2021-01-27T00:56:32.174Z] ---> Running in 0833e3acd247 [2021-01-27T00:56:47.376Z] Removing intermediate container 0833e3acd247 [2021-01-27T00:56:47.376Z] ---> 6c03bbea0731 [2021-01-27T00:56:47.376Z] Successfully built 6c03bbea0731 [2021-01-27T00:56:47.649Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:56:48.082Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T00:56:48.082Z] . [Pipeline] withDockerContainer [2021-01-27T00:56:48.461Z] prd-centos7-docker-4c-2g-23292 does not seem to be running inside a container [2021-01-27T00:56:49.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T00:56:50.454Z] $ docker top 3dc454313adfb0b5e1d5d164a56c061f0fb1a6c7db67748369d8a51beb8d5c77 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T00:56:51.377Z] + go version [2021-01-27T00:56:51.377Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T00:56:51.399Z] $ docker stop --time=1 3dc454313adfb0b5e1d5d164a56c061f0fb1a6c7db67748369d8a51beb8d5c77 [2021-01-27T00:56:52.860Z] $ docker rm -f 3dc454313adfb0b5e1d5d164a56c061f0fb1a6c7db67748369d8a51beb8d5c77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:56:53.963Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T00:56:53.963Z] . [Pipeline] withDockerContainer [2021-01-27T00:56:54.110Z] prd-centos7-docker-4c-2g-23292 does not seem to be running inside a container [2021-01-27T00:56:54.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-27T00:56:55.412Z] $ docker top b92c349eea1060bc834b61ef15b0bb04e89bd24cddcad7753733801e24f76f93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T00:56:55.984Z] + make test [2021-01-27T00:56:55.984Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-27T00:56:56.269Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos [2021-01-27T00:56:56.269Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors [2021-01-27T00:56:56.269Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 [2021-01-27T00:56:56.270Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [2021-01-27T00:56:58.888Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:56:59.866Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:56:59.866Z] go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:56:59.866Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:56:59.866Z] go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-01-27T00:57:01.880Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/clients/interfaces) [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-27T00:57:01.880Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/models) [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-27T00:57:01.880Z] clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/clients/interfaces) [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) [2021-01-27T00:57:01.880Z] clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/6/models) [2021-01-27T00:57:01.880Z] github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) [2021-01-27T00:57:01.880Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-27T00:57:01.913Z] $ docker stop --time=1 b92c349eea1060bc834b61ef15b0bb04e89bd24cddcad7753733801e24f76f93 [2021-01-27T00:57:04.401Z] $ docker rm -f b92c349eea1060bc834b61ef15b0bb04e89bd24cddcad7753733801e24f76f93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-27T00:57:06.012Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-27T00:57:08.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T00:57:09.427Z] ---> package-listing.sh [2021-01-27T00:57:09.427Z] ++ facter osfamily [2021-01-27T00:57:09.427Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T00:57:09.427Z] + OS_FAMILY=redhat [2021-01-27T00:57:09.427Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-27T00:57:09.427Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T00:57:09.427Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T00:57:09.427Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T00:57:09.427Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T00:57:09.427Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-27T00:57:09.427Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T00:57:09.427Z] + case "${OS_FAMILY}" in [2021-01-27T00:57:09.427Z] + rpm -qa [2021-01-27T00:57:09.427Z] + sort [2021-01-27T00:57:14.778Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T00:57:14.778Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T00:57:14.778Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T00:57:14.778Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-27T00:57:14.778Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [2021-01-27T00:57:14.778Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [Pipeline] echo [2021-01-27T00:57:14.794Z] 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-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T00:57:15.091Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:57:15.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T00:57:15.398Z] [2021-01-27T00:57:15.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T00:57:15.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T00:57:15.758Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T00:57:15.758Z] df20fa9351a1: Pulling fs layer [2021-01-27T00:57:15.758Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T00:57:15.758Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T00:57:15.758Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T00:57:15.758Z] 93b61091891f: Pulling fs layer [2021-01-27T00:57:15.758Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T00:57:15.758Z] 5e14af77c1be: Pulling fs layer [2021-01-27T00:57:15.758Z] 01666e4c0597: Pulling fs layer [2021-01-27T00:57:15.758Z] aa168da1d23b: Pulling fs layer [2021-01-27T00:57:15.758Z] 93b9cdb0e59b: Waiting [2021-01-27T00:57:15.758Z] 5e14af77c1be: Waiting [2021-01-27T00:57:15.758Z] 01666e4c0597: Waiting [2021-01-27T00:57:15.758Z] aa168da1d23b: Waiting [2021-01-27T00:57:15.758Z] 46f8f816bc3b: Waiting [2021-01-27T00:57:15.758Z] 93b61091891f: Waiting [2021-01-27T00:57:15.758Z] 36b3adc4ff6f: Download complete [2021-01-27T00:57:15.758Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T00:57:15.758Z] 46f8f816bc3b: Download complete [2021-01-27T00:57:15.758Z] df20fa9351a1: Verifying Checksum [2021-01-27T00:57:15.758Z] df20fa9351a1: Download complete [2021-01-27T00:57:15.758Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T00:57:15.758Z] 93b9cdb0e59b: Download complete [2021-01-27T00:57:15.758Z] 93b61091891f: Verifying Checksum [2021-01-27T00:57:15.758Z] 93b61091891f: Download complete [2021-01-27T00:57:16.022Z] 5e14af77c1be: Download complete [2021-01-27T00:57:16.022Z] 01666e4c0597: Verifying Checksum [2021-01-27T00:57:16.022Z] 01666e4c0597: Download complete [2021-01-27T00:57:16.292Z] df20fa9351a1: Pull complete [2021-01-27T00:57:16.292Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T00:57:16.292Z] 8ad3a11d3b57: Download complete [2021-01-27T00:57:16.559Z] 36b3adc4ff6f: Pull complete [2021-01-27T00:57:17.971Z] aa168da1d23b: Verifying Checksum [2021-01-27T00:57:17.971Z] aa168da1d23b: Download complete [2021-01-27T00:57:18.235Z] 8ad3a11d3b57: Pull complete [2021-01-27T00:57:18.500Z] 46f8f816bc3b: Pull complete [2021-01-27T00:57:18.763Z] 93b61091891f: Pull complete [2021-01-27T00:57:18.763Z] 93b9cdb0e59b: Pull complete [2021-01-27T00:57:19.026Z] 5e14af77c1be: Pull complete [2021-01-27T00:57:19.026Z] 01666e4c0597: Pull complete [2021-01-27T00:57:25.651Z] aa168da1d23b: Pull complete [2021-01-27T00:57:25.651Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T00:57:25.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T00:57:25.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T00:57:25.858Z] prd-centos7-docker-4c-2g-22954 does not seem to be running inside a container [2021-01-27T00:57:25.912Z] $ 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-439/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-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-27T00:57:29.585Z] $ docker top df6f29f6aba97d2321493f79a977ab000856326e1044ca48974777348db12666 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T00:57:30.180Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T00:57:30.483Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T00:57:30.788Z] + ls /var/log/sa-host [2021-01-27T00:57:30.788Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T00:57:30.788Z] file_magic: OK [2021-01-27T00:57:30.788Z] HZ: Using current value: 100 [2021-01-27T00:57:30.788Z] file_header: OK [2021-01-27T00:57:30.788Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T00:57:30.788Z] Statistics: [2021-01-27T00:57:30.788Z] Hnuu...uuuununununu... [2021-01-27T00:57:30.788Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T00:57:30.788Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T00:57:30.788Z] file_magic: OK [2021-01-27T00:57:30.788Z] HZ: Using current value: 100 [2021-01-27T00:57:30.788Z] file_header: OK [2021-01-27T00:57:30.788Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-27T00:57:30.788Z] Statistics: [2021-01-27T00:57:30.789Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T00:57:30.789Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T00:57:31.005Z] provisioning config files... [2021-01-27T00:57:31.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config5552374815399090865tmp [Pipeline] { [Pipeline] echo [2021-01-27T00:57:31.146Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T00:57:31.453Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T00:57:31.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T00:57:31.555Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T00:57:31.860Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T00:57:31.876Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T00:57:32.180Z] ---> sudo-logs.sh [2021-01-27T00:57:32.180Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T00:57:32.198Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T00:57:32.507Z] ---> job-cost.sh [2021-01-27T00:57:32.507Z] lf-activate-venv: SKIPPING [2021-01-27T00:57:32.507Z] INFO: No Stack... [2021-01-27T00:57:33.915Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T00:57:34.177Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T00:57:34.191Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T00:57:34.500Z] ---> logs-deploy.sh [2021-01-27T00:57:34.500Z] lf-activate-venv: SKIPPING [2021-01-27T00:57:34.500Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/6 [2021-01-27T00:57:34.500Z] INFO: archiving workspace using pattern(s): [2021-01-27T00:57:36.425Z] Archives upload complete. [2021-01-27T00:57:36.687Z] INFO: archiving logs to Nexus [2021-01-27T00:57:37.634Z] ---> uname -a: [2021-01-27T00:57:37.634Z] Linux prd-centos7-docker-4c-2g-22954.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-27T00:57:37.634Z] [2021-01-27T00:57:37.634Z] [2021-01-27T00:57:37.634Z] ---> lscpu: [2021-01-27T00:57:37.634Z] Architecture: x86_64 [2021-01-27T00:57:37.634Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-27T00:57:37.634Z] Byte Order: Little Endian [2021-01-27T00:57:37.634Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-27T00:57:37.634Z] CPU(s): 4 [2021-01-27T00:57:37.634Z] On-line CPU(s) list: 0-3 [2021-01-27T00:57:37.634Z] Thread(s) per core: 1 [2021-01-27T00:57:37.634Z] Core(s) per socket: 1 [2021-01-27T00:57:37.634Z] Socket(s): 4 [2021-01-27T00:57:37.634Z] NUMA node(s): 1 [2021-01-27T00:57:37.634Z] Vendor ID: GenuineIntel [2021-01-27T00:57:37.634Z] CPU family: 6 [2021-01-27T00:57:37.634Z] Model: 44 [2021-01-27T00:57:37.634Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-27T00:57:37.634Z] Stepping: 1 [2021-01-27T00:57:37.634Z] CPU MHz: 2933.442 [2021-01-27T00:57:37.634Z] BogoMIPS: 5866.88 [2021-01-27T00:57:37.634Z] Virtualization: VT-x [2021-01-27T00:57:37.634Z] Hypervisor vendor: KVM [2021-01-27T00:57:37.634Z] Virtualization type: full [2021-01-27T00:57:37.634Z] L1d cache: 128 KiB [2021-01-27T00:57:37.634Z] L1i cache: 128 KiB [2021-01-27T00:57:37.634Z] L2 cache: 16 MiB [2021-01-27T00:57:37.634Z] L3 cache: 64 MiB [2021-01-27T00:57:37.634Z] NUMA node0 CPU(s): 0-3 [2021-01-27T00:57:37.634Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-27T00:57:37.634Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-27T00:57:37.634Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-27T00:57:37.634Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-27T00:57:37.634Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-27T00:57:37.634Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-27T00:57:37.634Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-27T00:57:37.634Z] Vulnerability Srbds: Not affected [2021-01-27T00:57:37.634Z] Vulnerability Tsx async abort: Not affected [2021-01-27T00:57:37.634Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-27T00:57:37.634Z] [2021-01-27T00:57:37.634Z] [2021-01-27T00:57:37.634Z] ---> nproc: [2021-01-27T00:57:37.634Z] 4 [2021-01-27T00:57:37.634Z] [2021-01-27T00:57:37.634Z] [2021-01-27T00:57:37.634Z] ---> df -h: [2021-01-27T00:57:37.634Z] Filesystem Size Used Available Use% Mounted on [2021-01-27T00:57:37.634Z] overlay 50.0G 6.9G 43.1G 14% / [2021-01-27T00:57:37.634Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-27T00:57:37.634Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-27T00:57:37.634Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-27T00:57:37.634Z] /dev/vda1 50.0G 6.9G 43.1G 14% /facter-os [2021-01-27T00:57:37.634Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf [2021-01-27T00:57:37.634Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname [2021-01-27T00:57:37.634Z] /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts [2021-01-27T00:57:37.634Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/auth.log [2021-01-27T00:57:37.635Z] /dev/vda1 50.0G 6.9G 43.1G 14% /run/cloud-init/result.json [2021-01-27T00:57:37.635Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-27T00:57:37.635Z] /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dry_go-mod-core-contracts_PR-439@tmp [2021-01-27T00:57:37.635Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa-host [2021-01-27T00:57:37.635Z] /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/secure [2021-01-27T00:57:37.635Z] [2021-01-27T00:57:37.635Z] [2021-01-27T00:57:37.635Z] ---> free -m: [2021-01-27T00:57:37.635Z] total used free shared buff/cache available [2021-01-27T00:57:37.635Z] Mem: 1837 687 97 0 1052 1045 [2021-01-27T00:57:37.635Z] Swap: 1023 0 1023 [2021-01-27T00:57:37.635Z] [2021-01-27T00:57:37.635Z] [2021-01-27T00:57:37.635Z] ---> ip addr: [2021-01-27T00:57:37.635Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-01-27T00:57:37.635Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-01-27T00:57:37.635Z] inet 127.0.0.1/8 scope host lo [2021-01-27T00:57:37.635Z] valid_lft forever preferred_lft forever [2021-01-27T00:57:37.635Z] inet6 ::1/128 scope host [2021-01-27T00:57:37.635Z] valid_lft forever preferred_lft forever [2021-01-27T00:57:37.635Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-01-27T00:57:37.635Z] link/ether fa:16:3e:aa:12:88 brd ff:ff:ff:ff:ff:ff [2021-01-27T00:57:37.635Z] inet 10.30.123.231/23 brd 10.30.123.255 scope global dynamic eth0 [2021-01-27T00:57:37.635Z] valid_lft 85387sec preferred_lft 85387sec [2021-01-27T00:57:37.635Z] inet6 fe80::f816:3eff:feaa:1288/64 scope link [2021-01-27T00:57:37.635Z] valid_lft forever preferred_lft forever [2021-01-27T00:57:37.635Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-01-27T00:57:37.635Z] link/ether 02:42:a9:aa:6b:42 brd ff:ff:ff:ff:ff:ff [2021-01-27T00:57:37.635Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-01-27T00:57:37.635Z] valid_lft forever preferred_lft forever [2021-01-27T00:57:37.635Z] inet6 fe80::42:a9ff:feaa:6b42/64 scope link [2021-01-27T00:57:37.635Z] valid_lft forever preferred_lft forever [2021-01-27T00:57:37.635Z] [2021-01-27T00:57:37.635Z]