FelixTing commented: recheck 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 747e68f9da97596da4a07287b22afd0d9f009cce rather than 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd Obtained Jenkinsfile from 747e68f9da97596da4a07287b22afd0d9f009cce 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 Running on prd-centos7-docker-4c-2g-23944 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 Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd Merge succeeded, producing 38d9eb37a18e8c627722459648eae7226c2d87a7 Checking out Revision 38d9eb37a18e8c627722459648eae7226c2d87a7 (PR-439) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # 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 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38d9eb37a18e8c627722459648eae7226c2d87a7 # timeout=10 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-29T09:23:28.785Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-29T09:23:29.122Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-29T09:23:29.288Z] ========================================================= [2021-01-29T09:23:29.288Z] EdgeX Global Pipelines Version Info [2021-01-29T09:23:29.288Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 40269f60b24749d8021cf4e86d148b2be79fbea2 # timeout=10 [2021-01-29T09:23:31.981Z] ------------------- [2021-01-29T09:23:31.981Z] stable info: [2021-01-29T09:23:31.981Z] ------------------- [2021-01-29T09:23:31.981Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T09:23:31.981Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T09:23:31.981Z] Message: update stable to v1.0.179 [2021-01-29T09:23:32.589Z] ------------------- [2021-01-29T09:23:32.589Z] experimental info: [2021-01-29T09:23:32.589Z] ------------------- [2021-01-29T09:23:32.589Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-29T09:23:32.589Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-29T09:23:32.589Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-29T09:23:32.915Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-29T09:23:33.028Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-29T09:23:33.145Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-29T09:23:33.272Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-29T09:23:33.384Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-29T09:23:33.501Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-29T09:23:33.610Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-29T09:23:33.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-29T09:23:33.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-29T09:23:33.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-29T09:23:34.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-29T09:23:34.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-29T09:23:34.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-29T09:23:34.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-29T09:23:34.507Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T09:23:34.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T09:23:34.712Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T09:23:34.830Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-29T09:23:34.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-29T09:23:35.057Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-29T09:23:35.164Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-29T09:23:35.264Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-29T09:23:35.373Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-29T09:23:35.502Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-29T09:23:35.599Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-29T09:23:35.696Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-29T09:23:35.788Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-29T09:23:35.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo [2021-01-29T09:23:35.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo [2021-01-29T09:23:36.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo [2021-01-29T09:23:36.204Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38d9eb37a18e8c627722459648eae7226c2d87a7 [Pipeline] echo [2021-01-29T09:23:36.298Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38d9eb3 [Pipeline] echo [2021-01-29T09:23:36.391Z] [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-29T09:23:37.148Z] + git log --format=format:%s -1 38d9eb37a18e8c627722459648eae7226c2d87a7 [Pipeline] echo [2021-01-29T09:23:37.277Z] GIT_COMMIT: 38d9eb37a18e8c627722459648eae7226c2d87a7, Commit Message: Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD [Pipeline] echo [2021-01-29T09:23:37.323Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:23:38.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T09:23:38.943Z] [2021-01-29T09:23:38.943Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:23:39.410Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T09:23:39.684Z] latest: Pulling from edgex-devops/git-semver [2021-01-29T09:23:39.684Z] 31603596830f: Pulling fs layer [2021-01-29T09:23:39.684Z] 2a8b12db71e7: Pulling fs layer [2021-01-29T09:23:39.684Z] 6ca5941a6612: Pulling fs layer [2021-01-29T09:23:39.684Z] ecc8261a40a4: Pulling fs layer [2021-01-29T09:23:39.684Z] ecc8261a40a4: Waiting [2021-01-29T09:23:39.684Z] 2a8b12db71e7: Verifying Checksum [2021-01-29T09:23:39.684Z] 2a8b12db71e7: Download complete [2021-01-29T09:23:40.007Z] 31603596830f: Download complete [2021-01-29T09:23:40.007Z] 6ca5941a6612: Verifying Checksum [2021-01-29T09:23:40.007Z] 6ca5941a6612: Download complete [2021-01-29T09:23:40.007Z] ecc8261a40a4: Verifying Checksum [2021-01-29T09:23:40.007Z] ecc8261a40a4: Download complete [2021-01-29T09:23:40.607Z] 31603596830f: Pull complete [2021-01-29T09:23:40.607Z] 2a8b12db71e7: Pull complete [2021-01-29T09:23:41.598Z] 6ca5941a6612: Pull complete [2021-01-29T09:23:42.179Z] ecc8261a40a4: Pull complete [2021-01-29T09:23:42.179Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-29T09:23:42.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-29T09:23:42.179Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-29T09:23:42.325Z] prd-centos7-docker-4c-2g-23944 does not seem to be running inside a container [2021-01-29T09:23:42.399Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-29T09:23:44.575Z] $ docker top 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-29T09:23:44.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T09:23:44.939Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T09:23:45.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T09:23:45.345Z] $ docker exec 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent [2021-01-29T09:23:45.661Z] SSH_AUTH_SOCK=/tmp/ssh-Py3eBOUm6WuZ/agent.12 [2021-01-29T09:23:45.661Z] SSH_AGENT_PID=17 [2021-01-29T09:23:45.696Z] Running ssh-add (command line suppressed) [2021-01-29T09:23:45.886Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_1148212299165333400.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_1148212299165333400.key) [2021-01-29T09:23:45.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T09:23:46.322Z] + git tag --points-at HEAD [Pipeline] } [2021-01-29T09:23:46.348Z] $ docker exec --env ******** --env ******** 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent -k [2021-01-29T09:23:46.508Z] unset SSH_AUTH_SOCK; [2021-01-29T09:23:46.509Z] unset SSH_AGENT_PID; [2021-01-29T09:23:46.509Z] echo Agent pid 17 killed; [2021-01-29T09:23:46.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-29T09:23:46.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-29T09:23:46.731Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-29T09:23:47.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-29T09:23:47.010Z] $ docker exec 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent [2021-01-29T09:23:47.291Z] SSH_AUTH_SOCK=/tmp/ssh-HyIthi7ZWQZV/agent.47 [2021-01-29T09:23:47.291Z] SSH_AGENT_PID=52 [2021-01-29T09:23:47.303Z] Running ssh-add (command line suppressed) [2021-01-29T09:23:47.473Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5878728625054889585.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5878728625054889585.key) [2021-01-29T09:23:47.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-29T09:23:47.896Z] + git semver init [2021-01-29T09:23:47.896Z] # -> Open(): unable to determine branch for HEAD [2021-01-29T09:23:47.896Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git [2021-01-29T09:23:47.896Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-29T09:23:47.896Z] # $SEMVER_REMOTE_NAME = origin [2021-01-29T09:23:47.896Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-29T09:23:47.896Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-29T09:23:47.896Z] # $SEMVER_BRANCH = PR-439 [2021-01-29T09:23:47.896Z] # $SEMVER_TEMP = /tmp/semver-328913982 [2021-01-29T09:23:47.896Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-29T09:23:48.905Z] # '/tmp/semver-328913982' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' [2021-01-29T09:23:48.905Z] # -> Force: false [2021-01-29T09:23:48.905Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } [2021-01-29T09:23:48.926Z] $ docker exec --env ******** --env ******** 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent -k [2021-01-29T09:23:49.136Z] unset SSH_AUTH_SOCK; [2021-01-29T09:23:49.137Z] unset SSH_AGENT_PID; [2021-01-29T09:23:49.137Z] echo Agent pid 52 killed; [2021-01-29T09:23:49.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-29T09:23:49.725Z] + git semver [Pipeline] } [2021-01-29T09:23:49.760Z] $ docker stop --time=1 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 [2021-01-29T09:23:51.755Z] $ docker rm -f 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-29T09:23:52.339Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-29T09:23:53.579Z] Stashed 1 file(s) [Pipeline] echo [2021-01-29T09:23:53.581Z] [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-29T09:24:09.283Z] Still waiting to schedule task [2021-01-29T09:24:09.283Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-23944’ [2021-01-29T09:24:09.286Z] Still waiting to schedule task [2021-01-29T09:24:09.286Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-29T09:25:59.549Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23945 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-29T09:25:59.683Z] Running in /w/workspace/go-mod-core-contracts/11 [Pipeline] { [Pipeline] checkout [2021-01-29T09:26:05.194Z] using credential edgex-jenkins-ssh [2021-01-29T09:26:05.257Z] Cloning the remote Git repository [2021-01-29T09:26:05.304Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:26:05.423Z] > git init /w/workspace/go-mod-core-contracts/11 # timeout=10 [2021-01-29T09:26:05.523Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:26:05.524Z] > git --version # timeout=10 [2021-01-29T09:26:05.545Z] > git --version # 'git version 2.17.1' [2021-01-29T09:26:05.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:26:05.612Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:26:07.457Z] Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd [2021-01-29T09:26:06.673Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:26:06.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:26:06.735Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:26:06.778Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:26:06.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:26:06.790Z] > 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-29T09:26:07.467Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:26:07.490Z] > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 [2021-01-29T09:26:07.851Z] Merge succeeded, producing e32733b15d3a589267d340991bf7f79306344d86 [2021-01-29T09:26:07.852Z] Checking out Revision e32733b15d3a589267d340991bf7f79306344d86 (PR-439) [2021-01-29T09:26:07.634Z] > git remote # timeout=10 [2021-01-29T09:26:07.655Z] > git config --get remote.origin.url # timeout=10 [2021-01-29T09:26:07.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:26:07.690Z] > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 [2021-01-29T09:26:07.819Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-29T09:26:07.846Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:26:07.860Z] > git checkout -f e32733b15d3a589267d340991bf7f79306344d86 # timeout=10 [2021-01-29T09:26:12.405Z] Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" [2021-01-29T09:26:12.430Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-29T09:26:12.401Z] > git rev-list --no-walk 40269f60b24749d8021cf4e86d148b2be79fbea2 # timeout=10 [Pipeline] sh [2021-01-29T09:26:14.237Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:26:14.653Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:26:14.995Z] + sudo service docker restart [2021-01-29T09:26:14.995Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-29T09:26:17.991Z] ========================================================= [2021-01-29T09:26:17.991Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-29T09:26:17.991Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:26:18.369Z] + 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-29T09:26:19.356Z] Sending build context to Docker daemon 2.493MB [2021-01-29T09:26:19.356Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-29T09:26:19.356Z] Step 2/7 : FROM ${BASE} [2021-01-29T09:26:19.954Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-29T09:26:19.954Z] 5f621e34cdf4: Pulling fs layer [2021-01-29T09:26:19.954Z] a4357932f1b6: Pulling fs layer [2021-01-29T09:26:19.954Z] 18c013af1878: Pulling fs layer [2021-01-29T09:26:19.954Z] 00ac8860ef70: Pulling fs layer [2021-01-29T09:26:19.954Z] 63d7cb157983: Pulling fs layer [2021-01-29T09:26:19.954Z] b116817d02f9: Pulling fs layer [2021-01-29T09:26:19.954Z] 745a02a5169b: Pulling fs layer [2021-01-29T09:26:19.954Z] 00ac8860ef70: Waiting [2021-01-29T09:26:19.954Z] 63d7cb157983: Waiting [2021-01-29T09:26:19.954Z] b116817d02f9: Waiting [2021-01-29T09:26:19.954Z] 745a02a5169b: Waiting [2021-01-29T09:26:19.954Z] 18c013af1878: Download complete [2021-01-29T09:26:19.954Z] a4357932f1b6: Download complete [2021-01-29T09:26:19.954Z] 63d7cb157983: Verifying Checksum [2021-01-29T09:26:19.954Z] 63d7cb157983: Download complete [2021-01-29T09:26:19.954Z] b116817d02f9: Verifying Checksum [2021-01-29T09:26:19.954Z] b116817d02f9: Download complete [2021-01-29T09:26:19.954Z] 5f621e34cdf4: Verifying Checksum [2021-01-29T09:26:19.954Z] 5f621e34cdf4: Download complete [2021-01-29T09:26:20.558Z] 5f621e34cdf4: Pull complete [2021-01-29T09:26:21.161Z] a4357932f1b6: Pull complete [2021-01-29T09:26:21.768Z] 18c013af1878: Pull complete [2021-01-29T09:26:22.373Z] 745a02a5169b: Verifying Checksum [2021-01-29T09:26:22.373Z] 745a02a5169b: Download complete [2021-01-29T09:26:23.807Z] 00ac8860ef70: Verifying Checksum [2021-01-29T09:26:23.807Z] 00ac8860ef70: Download complete [2021-01-29T09:26:33.993Z] 00ac8860ef70: Pull complete [2021-01-29T09:26:33.993Z] 63d7cb157983: Pull complete [2021-01-29T09:26:34.265Z] b116817d02f9: Pull complete [2021-01-29T09:26:38.591Z] 745a02a5169b: Pull complete [2021-01-29T09:26:38.591Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-29T09:26:38.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-29T09:26:38.591Z] ---> b7e6874047d6 [2021-01-29T09:26:38.591Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-29T09:26:41.218Z] ---> Running in fa75db53fe48 [2021-01-29T09:26:41.218Z] Removing intermediate container fa75db53fe48 [2021-01-29T09:26:41.218Z] ---> 1c753aa123b9 [2021-01-29T09:26:41.218Z] Step 4/7 : RUN apk add bash [2021-01-29T09:26:41.218Z] ---> Running in ee220f412fe0 [2021-01-29T09:26:42.655Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-29T09:26:43.633Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-29T09:26:44.616Z] OK: 142 MiB in 39 packages [2021-01-29T09:26:45.598Z] Removing intermediate container ee220f412fe0 [2021-01-29T09:26:45.598Z] ---> 331d682a9e49 [2021-01-29T09:26:45.598Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-29T09:26:45.874Z] ---> Running in cb1b960fbab8 [2021-01-29T09:26:46.469Z] Removing intermediate container cb1b960fbab8 [2021-01-29T09:26:46.469Z] ---> bbad52a843b0 [2021-01-29T09:26:46.469Z] Step 6/7 : COPY go.mod . [2021-01-29T09:26:47.066Z] ---> 0b8a0b6ffec6 [2021-01-29T09:26:47.066Z] Step 7/7 : RUN go mod download [2021-01-29T09:26:47.066Z] ---> Running in d1961504078c [2021-01-29T09:26:56.869Z] Running on prd-centos7-docker-4c-2g-23946 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-01-29T09:26:57.005Z] Running in /w/workspace/go-mod-core-contracts/11 [Pipeline] { [Pipeline] checkout [2021-01-29T09:27:02.172Z] Removing intermediate container d1961504078c [2021-01-29T09:27:02.172Z] ---> 67ff42c30fe3 [2021-01-29T09:27:02.172Z] Successfully built 67ff42c30fe3 [2021-01-29T09:27:02.172Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:27:02.233Z] using credential edgex-jenkins-ssh [2021-01-29T09:27:02.315Z] Cloning the remote Git repository [2021-01-29T09:27:02.520Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T09:27:02.520Z] . [Pipeline] withDockerContainer [2021-01-29T09:27:02.410Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:27:02.796Z] prd-ubuntu18.04-docker-arm64-4c-16g-23945 does not seem to be running inside a container [2021-01-29T09:27:02.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/11 -v /w/workspace/go-mod-core-contracts/11:/w/workspace/go-mod-core-contracts/11:rw,z -v /w/workspace/go-mod-core-contracts/11@tmp:/w/workspace/go-mod-core-contracts/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-29T09:27:02.546Z] > git init /w/workspace/go-mod-core-contracts/11 # timeout=10 [2021-01-29T09:27:02.664Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:27:02.665Z] > git --version # timeout=10 [2021-01-29T09:27:02.684Z] > git --version # 'git version 2.24.3' [2021-01-29T09:27:02.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:27:02.738Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:27:04.396Z] $ docker top 9b8c2138e2e6bcc5343d6475f80c278352925fa8d33848fe749e4a37bda6fccd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T09:27:04.560Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:27:04.585Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-29T09:27:04.615Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-29T09:27:04.667Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-29T09:27:04.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:27:04.675Z] > 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-29T09:27:05.256Z] Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd [2021-01-29T09:27:05.443Z] + go version [2021-01-29T09:27:05.444Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-29T09:27:05.458Z] $ docker stop --time=1 9b8c2138e2e6bcc5343d6475f80c278352925fa8d33848fe749e4a37bda6fccd [2021-01-29T09:27:05.532Z] Merge succeeded, producing 087db5f959b37df5a221fc50a0d087de7cd697a4 [2021-01-29T09:27:05.532Z] Checking out Revision 087db5f959b37df5a221fc50a0d087de7cd697a4 (PR-439) [2021-01-29T09:27:05.270Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:27:05.288Z] > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 [2021-01-29T09:27:05.368Z] > git remote # timeout=10 [2021-01-29T09:27:05.374Z] > git config --get remote.origin.url # timeout=10 [2021-01-29T09:27:05.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-29T09:27:05.402Z] > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 [2021-01-29T09:27:05.511Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-29T09:27:05.539Z] > git config core.sparsecheckout # timeout=10 [2021-01-29T09:27:05.553Z] > git checkout -f 087db5f959b37df5a221fc50a0d087de7cd697a4 # timeout=10 [2021-01-29T09:27:07.489Z] $ docker rm -f 9b8c2138e2e6bcc5343d6475f80c278352925fa8d33848fe749e4a37bda6fccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:27:08.569Z] + docker inspect -f . ci-base-image-arm64 [2021-01-29T09:27:08.570Z] . [Pipeline] withDockerContainer [2021-01-29T09:27:08.836Z] prd-ubuntu18.04-docker-arm64-4c-16g-23945 does not seem to be running inside a container [2021-01-29T09:27:08.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/11 -v /w/workspace/go-mod-core-contracts/11:/w/workspace/go-mod-core-contracts/11:rw,z -v /w/workspace/go-mod-core-contracts/11@tmp:/w/workspace/go-mod-core-contracts/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-29T09:27:09.802Z] Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" [2021-01-29T09:27:09.856Z] First time build. Skipping changelog. [2021-01-29T09:27:10.568Z] $ docker top c79228f52b6ea252ab361ef64ba8f723ea3ee6a6e7934adfb9907f28afda37a2 -eo pid,comm [2021-01-29T09:27:09.812Z] > git rev-list --no-walk 40269f60b24749d8021cf4e86d148b2be79fbea2 # timeout=10 [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-29T09:27:11.607Z] + make test [2021-01-29T09:27:11.608Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-29T09:27:12.289Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:27:12.727Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-29T09:27:13.068Z] + sudo service docker restart [2021-01-29T09:27:13.068Z] + true [2021-01-29T09:27:13.068Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-29T09:27:14.736Z] ========================================================= [2021-01-29T09:27:14.736Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-29T09:27:14.736Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:27:15.120Z] + 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-29T09:27:16.634Z] Sending build context to Docker daemon 2.494MB [2021-01-29T09:27:16.634Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-29T09:27:16.634Z] Step 2/7 : FROM ${BASE} [2021-01-29T09:27:16.634Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-29T09:27:16.634Z] 188c0c94c7c5: Pulling fs layer [2021-01-29T09:27:16.634Z] 0ef7d3d256c8: Pulling fs layer [2021-01-29T09:27:16.634Z] de9db76c5a1d: Pulling fs layer [2021-01-29T09:27:16.634Z] bca2f99d35d6: Pulling fs layer [2021-01-29T09:27:16.634Z] 93359f2a8cfa: Pulling fs layer [2021-01-29T09:27:16.634Z] 7c6f9722023f: Pulling fs layer [2021-01-29T09:27:16.634Z] a35cf1a2eb13: Pulling fs layer [2021-01-29T09:27:16.634Z] 93359f2a8cfa: Waiting [2021-01-29T09:27:16.634Z] 7c6f9722023f: Waiting [2021-01-29T09:27:16.634Z] bca2f99d35d6: Waiting [2021-01-29T09:27:16.634Z] a35cf1a2eb13: Waiting [2021-01-29T09:27:16.634Z] de9db76c5a1d: Verifying Checksum [2021-01-29T09:27:16.634Z] de9db76c5a1d: Download complete [2021-01-29T09:27:16.634Z] 0ef7d3d256c8: Verifying Checksum [2021-01-29T09:27:16.634Z] 0ef7d3d256c8: Download complete [2021-01-29T09:27:16.634Z] 93359f2a8cfa: Verifying Checksum [2021-01-29T09:27:16.634Z] 93359f2a8cfa: Download complete [2021-01-29T09:27:16.634Z] 7c6f9722023f: Download complete [2021-01-29T09:27:16.634Z] 188c0c94c7c5: Verifying Checksum [2021-01-29T09:27:16.634Z] 188c0c94c7c5: Download complete [2021-01-29T09:27:17.254Z] 188c0c94c7c5: Pull complete [2021-01-29T09:27:17.542Z] 0ef7d3d256c8: Pull complete [2021-01-29T09:27:17.816Z] de9db76c5a1d: Pull complete [2021-01-29T09:27:19.864Z] a35cf1a2eb13: Verifying Checksum [2021-01-29T09:27:19.864Z] a35cf1a2eb13: Download complete [2021-01-29T09:27:20.889Z] bca2f99d35d6: Verifying Checksum [2021-01-29T09:27:31.185Z] bca2f99d35d6: Pull complete [2021-01-29T09:27:31.185Z] 93359f2a8cfa: Pull complete [2021-01-29T09:27:31.185Z] 7c6f9722023f: Pull complete [2021-01-29T09:27:33.823Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-29T09:27:35.516Z] a35cf1a2eb13: Pull complete [2021-01-29T09:27:35.516Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-29T09:27:35.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-29T09:27:35.516Z] ---> a62c8e92a672 [2021-01-29T09:27:35.516Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-29T09:27:35.516Z] ---> Running in 99d2e0b042ff [2021-01-29T09:27:35.818Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.027s coverage: 85.7% of statements [2021-01-29T09:27:35.818Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.044s coverage: 100.0% of statements [2021-01-29T09:27:36.182Z] Removing intermediate container 99d2e0b042ff [2021-01-29T09:27:36.182Z] ---> 2fbc3bba9219 [2021-01-29T09:27:36.182Z] Step 4/7 : RUN apk add bash [2021-01-29T09:27:36.182Z] ---> Running in b912e6e76677 [2021-01-29T09:27:37.167Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-29T09:27:37.825Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.060s coverage: 45.4% of statements [2021-01-29T09:27:37.825Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.017s coverage: 77.8% of statements [2021-01-29T09:27:37.825Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-29T09:27:38.102Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.028s coverage: 26.3% of statements [2021-01-29T09:27:38.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-29T09:27:38.751Z] OK: 166 MiB in 39 packages [2021-01-29T09:27:39.092Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.041s coverage: 14.7% of statements [2021-01-29T09:27:39.364Z] Removing intermediate container b912e6e76677 [2021-01-29T09:27:39.364Z] ---> 49425d206825 [2021-01-29T09:27:39.364Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-29T09:27:39.364Z] ---> Running in aaca7efa372f [2021-01-29T09:27:39.374Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.015s coverage: 100.0% of statements [2021-01-29T09:27:39.646Z] Removing intermediate container aaca7efa372f [2021-01-29T09:27:39.646Z] ---> 711659d9deca [2021-01-29T09:27:39.646Z] Step 6/7 : COPY go.mod . [2021-01-29T09:27:39.923Z] ---> 4b43e69dc091 [2021-01-29T09:27:39.923Z] Step 7/7 : RUN go mod download [2021-01-29T09:27:40.199Z] ---> Running in f4e9184e994a [2021-01-29T09:27:40.379Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.086s coverage: 91.8% of statements [2021-01-29T09:27:40.380Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-29T09:27:40.380Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-29T09:27:40.380Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.033s coverage: 100.0% of statements [2021-01-29T09:27:40.660Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.029s coverage: 36.7% of statements [2021-01-29T09:27:46.107Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.118s coverage: 63.0% of statements [2021-01-29T09:27:46.107Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.019s coverage: 26.3% of statements [2021-01-29T09:27:46.107Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.034s coverage: 15.4% of statements [2021-01-29T09:27:46.107Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.028s coverage: 15.4% of statements [2021-01-29T09:27:46.107Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.026s coverage: 14.3% of statements [2021-01-29T09:27:46.107Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-29T09:27:49.524Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.220s coverage: 84.8% of statements [2021-01-29T09:27:49.524Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-29T09:27:49.524Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-29T09:27:49.524Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-29T09:27:50.142Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.034s coverage: 33.2% of statements [2021-01-29T09:27:50.142Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.049s coverage: 94.4% of statements [2021-01-29T09:27:52.123Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} [2021-01-29T09:27:52.123Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1611912471,"lastReported":1611912471,"serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"notify":null}} [2021-01-29T09:27:52.123Z] baserequest: [2021-01-29T09:27:52.123Z] requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-01-29T09:27:52.123Z] profile: [2021-01-29T09:27:52.123Z] versionable: [2021-01-29T09:27:52.123Z] apiversion: "" [2021-01-29T09:27:52.123Z] id: "" [2021-01-29T09:27:52.123Z] name: TestDeviceProfileName [2021-01-29T09:27:52.123Z] manufacturer: TestManufacturer [2021-01-29T09:27:52.123Z] description: TestDescription [2021-01-29T09:27:52.123Z] model: TestModel [2021-01-29T09:27:52.123Z] labels: [MODBUS, TEMP] [2021-01-29T09:27:52.123Z] deviceResources: [2021-01-29T09:27:52.123Z] - description: TestDescription [2021-01-29T09:27:52.123Z] name: TestDeviceResourceName [2021-01-29T09:27:52.123Z] tag: TestTag [2021-01-29T09:27:52.123Z] properties: [2021-01-29T09:27:52.123Z] type: Int16 [2021-01-29T09:27:52.123Z] readWrite: RW [2021-01-29T09:27:52.123Z] attributes: [2021-01-29T09:27:52.123Z] TestAttribute: TestAttributeValue [2021-01-29T09:27:52.123Z] deviceCommands: [2021-01-29T09:27:52.123Z] - name: TestProfileResource [2021-01-29T09:27:52.123Z] get: [2021-01-29T09:27:52.123Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:27:52.123Z] set: [2021-01-29T09:27:52.123Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:27:52.123Z] coreCommands: [2021-01-29T09:27:52.123Z] - name: TestProfileResource [2021-01-29T09:27:52.123Z] get: true [2021-01-29T09:27:52.123Z] put: true [2021-01-29T09:27:52.123Z] [2021-01-29T09:27:52.123Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} [2021-01-29T09:27:52.123Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} [2021-01-29T09:27:52.123Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profile":"TestDeviceProfileName","service":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}]}} [2021-01-29T09:27:52.123Z] --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) [2021-01-29T09:27:52.123Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) [2021-01-29T09:27:52.123Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] [2021-01-29T09:27:52.123Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [2021-01-29T09:27:52.123Z] [2021-01-29T09:27:52.123Z] goroutine 381 [running]: [2021-01-29T09:27:52.123Z] testing.tRunner.func1.1(0x242c00, 0x40004d5310) [2021-01-29T09:27:52.123Z] /usr/local/go/src/testing/testing.go:1072 +0x240 [2021-01-29T09:27:52.123Z] testing.tRunner.func1(0x40004e4000) [2021-01-29T09:27:52.123Z] /usr/local/go/src/testing/testing.go:1075 +0x34c [2021-01-29T09:27:52.123Z] panic(0x242c00, 0x40004d5310) [2021-01-29T09:27:52.123Z] /usr/local/go/src/runtime/panic.go:969 +0x15c [2021-01-29T09:27:52.123Z] github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0x40001174a0, 0x252ee6, 0x27, 0x252eb6, 0xe, 0x252ef0, 0x0, 0x242c00, 0x252ec6, 0x48) [2021-01-29T09:27:52.123Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xcf0 [2021-01-29T09:27:52.123Z] github.com/go-playground/validator/v10.(*Validate).extractStructCache(0x40001174a0, 0x28b880, 0x40004e32c0, 0x99, 0x22bb29, 0xc, 0x0) [2021-01-29T09:27:52.123Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x328 [2021-01-29T09:27:52.123Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013eea0, 0x2fc000, 0x4000112010, 0x28b880, 0x40004e32c0, 0x99, 0x28b880, 0x40004e32c0, 0x99, 0x301300, ...) [2021-01-29T09:27:52.123Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x6f4 [2021-01-29T09:27:52.123Z] github.com/go-playground/validator/v10.(*validate).traverseField(0x400013eea0, 0x2fc000, 0x4000112010, 0x26c8c0, 0x40004e32b0, 0x99, 0x28b880, 0x40004e32c0, 0x99, 0x40002e51c0, ...) [2021-01-29T09:27:52.123Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x2fbc [2021-01-29T09:27:52.123Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013eea0, 0x2fc000, 0x4000112010, 0x26c8c0, 0x40004e32b0, 0x99, 0x26c8c0, 0x40004e32b0, 0x99, 0x301300, ...) [2021-01-29T09:27:52.123Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x320 [2021-01-29T09:27:52.123Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0x40001174a0, 0x2fc000, 0x4000112010, 0x26c8c0, 0x40004e32b0, 0x26c8c0, 0x3a1c26) [2021-01-29T09:27:52.123Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x294 [2021-01-29T09:27:52.123Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2021-01-29T09:27:52.123Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 [2021-01-29T09:27:52.123Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x26c8c0, 0x40004e32b0, 0x26c8c0, 0x40004e32b0) [2021-01-29T09:27:52.123Z] /w/workspace/go-mod-core-contracts/11/v2/validator.go:54 +0x64 [2021-01-29T09:27:52.123Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) [2021-01-29T09:27:52.123Z] /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription.go:28 [2021-01-29T09:27:52.123Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0x40004e4000) [2021-01-29T09:27:52.123Z] /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription_test.go:149 +0xa0 [2021-01-29T09:27:52.123Z] testing.tRunner(0x40004e4000, 0x40004d5190) [2021-01-29T09:27:52.123Z] /usr/local/go/src/testing/testing.go:1123 +0xdc [2021-01-29T09:27:52.123Z] created by testing.(*T).Run [2021-01-29T09:27:52.123Z] /usr/local/go/src/testing/testing.go:1168 +0x244 [2021-01-29T09:27:52.123Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.136s [2021-01-29T09:27:52.123Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.022s coverage: 100.0% of statements [2021-01-29T09:27:52.123Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-29T09:27:52.123Z] FAIL [2021-01-29T09:27:52.394Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-29T09:27:52.429Z] $ docker stop --time=1 c79228f52b6ea252ab361ef64ba8f723ea3ee6a6e7934adfb9907f28afda37a2 [2021-01-29T09:27:54.709Z] $ docker rm -f c79228f52b6ea252ab361ef64ba8f723ea3ee6a6e7934adfb9907f28afda37a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-29T09:27:55.484Z] Removing intermediate container f4e9184e994a [2021-01-29T09:27:55.485Z] ---> b8fc696a5411 [2021-01-29T09:27:55.485Z] Successfully built b8fc696a5411 [2021-01-29T09:27:55.485Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-29T09:27:56.020Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T09:27:56.020Z] . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer [2021-01-29T09:27:56.631Z] prd-centos7-docker-4c-2g-23946 does not seem to be running inside a container [2021-01-29T09:27:56.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/11 -v /w/workspace/go-mod-core-contracts/11:/w/workspace/go-mod-core-contracts/11:rw,z -v /w/workspace/go-mod-core-contracts/11@tmp:/w/workspace/go-mod-core-contracts/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-29T09:27:57.855Z] $ docker top c998b1113b6c92e8b3bc3440c56da66f9d020c284ba760a7dd1719da274301b4 -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-29T09:27:58.392Z] Failed in branch arm64 [2021-01-29T09:27:58.491Z] + go version [2021-01-29T09:27:58.491Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-29T09:27:58.528Z] $ docker stop --time=1 c998b1113b6c92e8b3bc3440c56da66f9d020c284ba760a7dd1719da274301b4 [2021-01-29T09:28:00.118Z] $ docker rm -f c998b1113b6c92e8b3bc3440c56da66f9d020c284ba760a7dd1719da274301b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:28:01.106Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-29T09:28:01.106Z] . [Pipeline] withDockerContainer [2021-01-29T09:28:01.274Z] prd-centos7-docker-4c-2g-23946 does not seem to be running inside a container [2021-01-29T09:28:01.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/11 -v /w/workspace/go-mod-core-contracts/11:/w/workspace/go-mod-core-contracts/11:rw,z -v /w/workspace/go-mod-core-contracts/11@tmp:/w/workspace/go-mod-core-contracts/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-29T09:28:02.504Z] $ docker top 22bab307be1fd079418fa396ff1d74875c4ae54ef5bf7990ee14038cb615f784 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T09:28:03.170Z] + make test [2021-01-29T09:28:03.170Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-29T09:28:15.940Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-29T09:28:16.581Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.063s coverage: 85.7% of statements [2021-01-29T09:28:16.581Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.096s coverage: 100.0% of statements [2021-01-29T09:28:18.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.131s coverage: 45.4% of statements [2021-01-29T09:28:18.724Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.033s coverage: 77.8% of statements [2021-01-29T09:28:18.724Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-29T09:28:19.343Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.015s coverage: 26.3% of statements [2021-01-29T09:28:21.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.041s coverage: 14.7% of statements [2021-01-29T09:28:21.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.108s coverage: 100.0% of statements [2021-01-29T09:28:21.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.101s coverage: 91.8% of statements [2021-01-29T09:28:21.100Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-29T09:28:21.100Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-29T09:28:21.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.116s coverage: 100.0% of statements [2021-01-29T09:28:22.255Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.012s coverage: 36.7% of statements [2021-01-29T09:28:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.146s coverage: 63.0% of statements [2021-01-29T09:28:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.020s coverage: 26.3% of statements [2021-01-29T09:28:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.035s coverage: 15.4% of statements [2021-01-29T09:28:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.028s coverage: 15.4% of statements [2021-01-29T09:28:27.898Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.021s coverage: 14.3% of statements [2021-01-29T09:28:27.898Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-29T09:28:29.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.138s coverage: 84.8% of statements [2021-01-29T09:28:29.988Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-29T09:28:29.988Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-29T09:28:29.988Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-01-29T09:28:29.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.030s coverage: 33.2% of statements [2021-01-29T09:28:29.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.011s coverage: 94.4% of statements [2021-01-29T09:28:30.585Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} [2021-01-29T09:28:30.585Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1611912510,"lastReported":1611912510,"serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"notify":null}} [2021-01-29T09:28:30.585Z] baserequest: [2021-01-29T09:28:30.585Z] requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-01-29T09:28:30.585Z] profile: [2021-01-29T09:28:30.585Z] versionable: [2021-01-29T09:28:30.585Z] apiversion: "" [2021-01-29T09:28:30.585Z] id: "" [2021-01-29T09:28:30.585Z] name: TestDeviceProfileName [2021-01-29T09:28:30.585Z] manufacturer: TestManufacturer [2021-01-29T09:28:30.585Z] description: TestDescription [2021-01-29T09:28:30.585Z] model: TestModel [2021-01-29T09:28:30.585Z] labels: [MODBUS, TEMP] [2021-01-29T09:28:30.585Z] deviceResources: [2021-01-29T09:28:30.585Z] - description: TestDescription [2021-01-29T09:28:30.585Z] name: TestDeviceResourceName [2021-01-29T09:28:30.585Z] tag: TestTag [2021-01-29T09:28:30.585Z] properties: [2021-01-29T09:28:30.585Z] type: Int16 [2021-01-29T09:28:30.585Z] readWrite: RW [2021-01-29T09:28:30.585Z] attributes: [2021-01-29T09:28:30.585Z] TestAttribute: TestAttributeValue [2021-01-29T09:28:30.585Z] deviceCommands: [2021-01-29T09:28:30.585Z] - name: TestProfileResource [2021-01-29T09:28:30.585Z] get: [2021-01-29T09:28:30.585Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:28:30.585Z] set: [2021-01-29T09:28:30.585Z] - deviceResource: TestDeviceResourceName [2021-01-29T09:28:30.585Z] coreCommands: [2021-01-29T09:28:30.585Z] - name: TestProfileResource [2021-01-29T09:28:30.585Z] get: true [2021-01-29T09:28:30.585Z] put: true [2021-01-29T09:28:30.585Z] [2021-01-29T09:28:30.585Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} [2021-01-29T09:28:30.585Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} [2021-01-29T09:28:30.585Z] {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profile":"TestDeviceProfileName","service":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}]}} [2021-01-29T09:28:30.585Z] --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) [2021-01-29T09:28:30.585Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) [2021-01-29T09:28:30.585Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] [2021-01-29T09:28:30.585Z] panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [2021-01-29T09:28:30.585Z] [2021-01-29T09:28:30.585Z] goroutine 397 [running]: [2021-01-29T09:28:30.585Z] testing.tRunner.func1.1(0x67eb60, 0xc0004b9680) [2021-01-29T09:28:30.585Z] /usr/local/go/src/testing/testing.go:1072 +0x30d [2021-01-29T09:28:30.585Z] testing.tRunner.func1(0xc00030a180) [2021-01-29T09:28:30.585Z] /usr/local/go/src/testing/testing.go:1075 +0x41a [2021-01-29T09:28:30.585Z] panic(0x67eb60, 0xc0004b9680) [2021-01-29T09:28:30.585Z] /usr/local/go/src/runtime/panic.go:969 +0x1b9 [2021-01-29T09:28:30.585Z] github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0xc0000b14a0, 0x68ede6, 0x27, 0x68edb6, 0xe, 0x68edf0, 0x0, 0x67eb00, 0x68edc6, 0x48) [2021-01-29T09:28:30.585Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xf25 [2021-01-29T09:28:30.585Z] github.com/go-playground/validator/v10.(*Validate).extractStructCache(0xc0000b14a0, 0x6c7a00, 0xc00009f600, 0x99, 0x667b25, 0xc, 0x0) [2021-01-29T09:28:30.585Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x439 [2021-01-29T09:28:30.585Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0004aa000, 0x737f80, 0xc0000ac010, 0x6c7a00, 0xc00009f600, 0x99, 0x6c7a00, 0xc00009f600, 0x99, 0x73d420, ...) [2021-01-29T09:28:30.585Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x9e5 [2021-01-29T09:28:30.585Z] github.com/go-playground/validator/v10.(*validate).traverseField(0xc0004aa000, 0x737f80, 0xc0000ac010, 0x6a8960, 0xc00009f5f0, 0x99, 0x6c7a00, 0xc00009f600, 0x99, 0xc0002fa080, ...) [2021-01-29T09:28:30.585Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x3d0c [2021-01-29T09:28:30.585Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0004aa000, 0x737f80, 0xc0000ac010, 0x6a8960, 0xc00009f5f0, 0x99, 0x6a8960, 0xc00009f5f0, 0x99, 0x73d420, ...) [2021-01-29T09:28:30.585Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x4e9 [2021-01-29T09:28:30.585Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0xc0000b14a0, 0x737f80, 0xc0000ac010, 0x6a8960, 0xc00009f5f0, 0xc00003ad10, 0x40d670) [2021-01-29T09:28:30.585Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x38a [2021-01-29T09:28:30.585Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2021-01-29T09:28:30.585Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 [2021-01-29T09:28:30.585Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x6a8960, 0xc00009f5f0, 0x6a8960, 0xc00009f5f0) [2021-01-29T09:28:30.585Z] /w/workspace/go-mod-core-contracts/11/v2/validator.go:54 +0x74 [2021-01-29T09:28:30.585Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) [2021-01-29T09:28:30.585Z] /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription.go:28 [2021-01-29T09:28:30.585Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0xc00030a180) [2021-01-29T09:28:30.585Z] /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription_test.go:149 +0xc8 [2021-01-29T09:28:30.585Z] testing.tRunner(0xc00030a180, 0xc0004b9500) [2021-01-29T09:28:30.585Z] /usr/local/go/src/testing/testing.go:1123 +0xef [2021-01-29T09:28:30.585Z] created by testing.(*T).Run [2021-01-29T09:28:30.585Z] /usr/local/go/src/testing/testing.go:1168 +0x2b3 [2021-01-29T09:28:30.585Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.062s [2021-01-29T09:28:30.585Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.022s coverage: 100.0% of statements [2021-01-29T09:28:30.585Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-29T09:28:30.585Z] FAIL [2021-01-29T09:28:30.856Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-29T09:28:30.891Z] $ docker stop --time=1 22bab307be1fd079418fa396ff1d74875c4ae54ef5bf7990ee14038cb615f784 [2021-01-29T09:28:33.589Z] $ docker rm -f 22bab307be1fd079418fa396ff1d74875c4ae54ef5bf7990ee14038cb615f784 [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-29T09:28:35.383Z] 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-29T09:28:38.214Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:28:38.834Z] ---> package-listing.sh [2021-01-29T09:28:38.834Z] ++ facter osfamily [2021-01-29T09:28:38.834Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-29T09:28:39.104Z] + OS_FAMILY=redhat [2021-01-29T09:28:39.104Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 [2021-01-29T09:28:39.104Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-29T09:28:39.104Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-29T09:28:39.104Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-29T09:28:39.104Z] + PACKAGES=/tmp/packages_start.txt [2021-01-29T09:28:39.104Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-29T09:28:39.104Z] + PACKAGES=/tmp/packages_end.txt [2021-01-29T09:28:39.104Z] + case "${OS_FAMILY}" in [2021-01-29T09:28:39.104Z] + rpm -qa [2021-01-29T09:28:39.104Z] + sort [2021-01-29T09:28:44.468Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-29T09:28:44.468Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-29T09:28:44.468Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-29T09:28:44.468Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-01-29T09:28:44.468Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [2021-01-29T09:28:44.468Z] + 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-29T09:28:44.488Z] 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-29T09:28:44.812Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:28:45.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T09:28:45.404Z] [2021-01-29T09:28:45.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-29T09:28:45.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T09:28:45.790Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-29T09:28:45.790Z] df20fa9351a1: Pulling fs layer [2021-01-29T09:28:45.790Z] 36b3adc4ff6f: Pulling fs layer [2021-01-29T09:28:45.790Z] 8ad3a11d3b57: Pulling fs layer [2021-01-29T09:28:45.790Z] 46f8f816bc3b: Pulling fs layer [2021-01-29T09:28:45.790Z] 93b61091891f: Pulling fs layer [2021-01-29T09:28:45.790Z] 93b9cdb0e59b: Pulling fs layer [2021-01-29T09:28:45.790Z] 5e14af77c1be: Pulling fs layer [2021-01-29T09:28:45.790Z] 01666e4c0597: Pulling fs layer [2021-01-29T09:28:45.790Z] aa168da1d23b: Pulling fs layer [2021-01-29T09:28:45.790Z] 93b9cdb0e59b: Waiting [2021-01-29T09:28:45.790Z] 5e14af77c1be: Waiting [2021-01-29T09:28:45.790Z] 01666e4c0597: Waiting [2021-01-29T09:28:45.790Z] aa168da1d23b: Waiting [2021-01-29T09:28:45.790Z] 46f8f816bc3b: Waiting [2021-01-29T09:28:45.790Z] 93b61091891f: Waiting [2021-01-29T09:28:45.790Z] 36b3adc4ff6f: Verifying Checksum [2021-01-29T09:28:45.790Z] 36b3adc4ff6f: Download complete [2021-01-29T09:28:46.062Z] 46f8f816bc3b: Verifying Checksum [2021-01-29T09:28:46.062Z] 46f8f816bc3b: Download complete [2021-01-29T09:28:46.062Z] df20fa9351a1: Download complete [2021-01-29T09:28:46.062Z] 93b9cdb0e59b: Verifying Checksum [2021-01-29T09:28:46.062Z] 93b9cdb0e59b: Download complete [2021-01-29T09:28:46.062Z] 5e14af77c1be: Verifying Checksum [2021-01-29T09:28:46.062Z] 5e14af77c1be: Download complete [2021-01-29T09:28:46.062Z] 01666e4c0597: Verifying Checksum [2021-01-29T09:28:46.062Z] 01666e4c0597: Download complete [2021-01-29T09:28:46.062Z] 93b61091891f: Verifying Checksum [2021-01-29T09:28:46.062Z] 93b61091891f: Download complete [2021-01-29T09:28:46.347Z] 8ad3a11d3b57: Verifying Checksum [2021-01-29T09:28:46.347Z] 8ad3a11d3b57: Download complete [2021-01-29T09:28:46.658Z] df20fa9351a1: Pull complete [2021-01-29T09:28:46.957Z] 36b3adc4ff6f: Pull complete [2021-01-29T09:28:48.452Z] 8ad3a11d3b57: Pull complete [2021-01-29T09:28:48.727Z] 46f8f816bc3b: Pull complete [2021-01-29T09:28:49.740Z] 93b61091891f: Pull complete [2021-01-29T09:28:50.024Z] 93b9cdb0e59b: Pull complete [2021-01-29T09:28:50.342Z] 5e14af77c1be: Pull complete [2021-01-29T09:28:50.611Z] aa168da1d23b: Verifying Checksum [2021-01-29T09:28:50.611Z] aa168da1d23b: Download complete [2021-01-29T09:28:50.612Z] 01666e4c0597: Pull complete [2021-01-29T09:29:03.109Z] aa168da1d23b: Pull complete [2021-01-29T09:29:03.109Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-29T09:29:03.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-29T09:29:03.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-29T09:29:03.632Z] prd-centos7-docker-4c-2g-23944 does not seem to be running inside a container [2021-01-29T09:29:03.719Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-29T09:29:07.528Z] $ docker top 31064660aff556a66e66301ed548b8e0409eaced39d7f28caa16870554840b95 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-29T09:29:08.079Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-29T09:29:08.413Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-29T09:29:08.747Z] + ls /var/log/sa-host [2021-01-29T09:29:08.747Z] + sadf -c /var/log/sa-host/sa23 [2021-01-29T09:29:08.747Z] file_magic: OK [2021-01-29T09:29:08.747Z] HZ: Using current value: 100 [2021-01-29T09:29:08.747Z] file_header: OK [2021-01-29T09:29:08.747Z] 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-29T09:29:08.747Z] Statistics: [2021-01-29T09:29:08.747Z] Hnuu...uuuununununu... [2021-01-29T09:29:08.747Z] File successfully converted to sysstat format version 12.2.1 [2021-01-29T09:29:08.747Z] + sadf -c /var/log/sa-host/sa29 [2021-01-29T09:29:08.747Z] file_magic: OK [2021-01-29T09:29:08.747Z] HZ: Using current value: 100 [2021-01-29T09:29:08.747Z] file_header: OK [2021-01-29T09:29:08.747Z] 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-29T09:29:08.747Z] Statistics: [2021-01-29T09:29:08.747Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-29T09:29:08.747Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-29T09:29:09.399Z] provisioning config files... [2021-01-29T09:29:09.426Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config1555203886057690832tmp [Pipeline] { [Pipeline] echo [2021-01-29T09:29:09.526Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:29:09.921Z] ---> create-netrc.sh [Pipeline] } [2021-01-29T09:29:10.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-29T09:29:10.343Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:29:11.007Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-29T09:29:11.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:29:11.377Z] ---> sudo-logs.sh [2021-01-29T09:29:11.377Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-29T09:29:11.395Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:29:11.714Z] ---> job-cost.sh [2021-01-29T09:29:11.715Z] lf-activate-venv: SKIPPING [2021-01-29T09:29:11.715Z] INFO: No Stack... [2021-01-29T09:29:13.661Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-29T09:29:13.938Z] INFO: Archiving Costs [Pipeline] echo [2021-01-29T09:29:13.967Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-29T09:29:14.297Z] ---> logs-deploy.sh [2021-01-29T09:29:14.297Z] lf-activate-venv: SKIPPING [2021-01-29T09:29:14.297Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/11 [2021-01-29T09:29:14.297Z] INFO: archiving workspace using pattern(s): [2021-01-29T09:29:16.898Z] Archives upload complete. [2021-01-29T09:29:16.898Z] INFO: archiving logs to Nexus