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 09:23:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:29 ========================================================= 09:23:29 EdgeX Global Pipelines Version Info 09:23:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 40269f60b24749d8021cf4e86d148b2be79fbea2 # timeout=10 09:23:31 ------------------- 09:23:31 stable info: 09:23:31 ------------------- 09:23:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:31 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:23:31 Message: update stable to v1.0.179 09:23:32 ------------------- 09:23:32 experimental info: 09:23:32 ------------------- 09:23:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:32 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:23:32 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:23:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:23:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:23:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 09:23:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 09:23:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 09:23:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38d9eb37a18e8c627722459648eae7226c2d87a7 [Pipeline] echo 09:23:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38d9eb3 [Pipeline] echo 09:23:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:37 + git log --format=format:%s -1 38d9eb37a18e8c627722459648eae7226c2d87a7 [Pipeline] echo 09:23:37 GIT_COMMIT: 38d9eb37a18e8c627722459648eae7226c2d87a7, Commit Message: Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD [Pipeline] echo 09:23:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:23:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:38 09:23:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:23:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:39 latest: Pulling from edgex-devops/git-semver 09:23:39 31603596830f: Pulling fs layer 09:23:39 2a8b12db71e7: Pulling fs layer 09:23:39 6ca5941a6612: Pulling fs layer 09:23:39 ecc8261a40a4: Pulling fs layer 09:23:39 ecc8261a40a4: Waiting 09:23:39 2a8b12db71e7: Verifying Checksum 09:23:39 2a8b12db71e7: Download complete 09:23:40 31603596830f: Download complete 09:23:40 6ca5941a6612: Verifying Checksum 09:23:40 6ca5941a6612: Download complete 09:23:40 ecc8261a40a4: Verifying Checksum 09:23:40 ecc8261a40a4: Download complete 09:23:40 31603596830f: Pull complete 09:23:40 2a8b12db71e7: Pull complete 09:23:41 6ca5941a6612: Pull complete 09:23:42 ecc8261a40a4: Pull complete 09:23:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:23:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:23:42 prd-centos7-docker-4c-2g-23944 does not seem to be running inside a container 09:23:42 $ 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 09:23:44 $ docker top 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:44 [ssh-agent] Looking for ssh-agent implementation... 09:23:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:45 $ docker exec 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent 09:23:45 SSH_AUTH_SOCK=/tmp/ssh-Py3eBOUm6WuZ/agent.12 09:23:45 SSH_AGENT_PID=17 09:23:45 Running ssh-add (command line suppressed) 09:23:45 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) 09:23:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:46 + git tag --points-at HEAD [Pipeline] } 09:23:46 $ docker exec --env ******** --env ******** 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent -k 09:23:46 unset SSH_AUTH_SOCK; 09:23:46 unset SSH_AGENT_PID; 09:23:46 echo Agent pid 17 killed; 09:23:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:23:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:46 [ssh-agent] Looking for ssh-agent implementation... 09:23:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:47 $ docker exec 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent 09:23:47 SSH_AUTH_SOCK=/tmp/ssh-HyIthi7ZWQZV/agent.47 09:23:47 SSH_AGENT_PID=52 09:23:47 Running ssh-add (command line suppressed) 09:23:47 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) 09:23:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:47 + git semver init 09:23:47 # -> Open(): unable to determine branch for HEAD 09:23:47 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git 09:23:47 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 09:23:47 # $SEMVER_REMOTE_NAME = origin 09:23:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:23:47 # $SEMVER_USER_NAME = edgex-jenkins 09:23:47 # $SEMVER_BRANCH = PR-439 09:23:47 # $SEMVER_TEMP = /tmp/semver-328913982 09:23:47 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 09:23:48 # '/tmp/semver-328913982' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' 09:23:48 # -> Force: false 09:23:48 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } 09:23:48 $ docker exec --env ******** --env ******** 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 ssh-agent -k 09:23:49 unset SSH_AUTH_SOCK; 09:23:49 unset SSH_AGENT_PID; 09:23:49 echo Agent pid 52 killed; 09:23:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:49 + git semver [Pipeline] } 09:23:49 $ docker stop --time=1 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 09:23:51 $ docker rm -f 926cf76a4276585cf363706a99fc2617ef408262434905f72944d6983c7c3808 [Pipeline] // withDockerContainer [Pipeline] sh 09:23:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:23:53 Stashed 1 file(s) [Pipeline] echo 09:23:53 [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 09:24:09 Still waiting to schedule task 09:24:09 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-23944’ 09:24:09 Still waiting to schedule task 09:24:09 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:25:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23945 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 09:25:59 Running in /w/workspace/go-mod-core-contracts/11 [Pipeline] { [Pipeline] checkout 09:26:05 using credential edgex-jenkins-ssh 09:26:05 Cloning the remote Git repository 09:26:05 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 09:26:05 > git init /w/workspace/go-mod-core-contracts/11 # timeout=10 09:26:05 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:26:05 > git --version # timeout=10 09:26:05 > git --version # 'git version 2.17.1' 09:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:07 Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd 09:26:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:26:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:26:06 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:26:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:06 > 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 09:26:07 > git config core.sparsecheckout # timeout=10 09:26:07 > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 09:26:07 Merge succeeded, producing e32733b15d3a589267d340991bf7f79306344d86 09:26:07 Checking out Revision e32733b15d3a589267d340991bf7f79306344d86 (PR-439) 09:26:07 > git remote # timeout=10 09:26:07 > git config --get remote.origin.url # timeout=10 09:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:07 > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 09:26:07 > git rev-parse HEAD^{commit} # timeout=10 09:26:07 > git config core.sparsecheckout # timeout=10 09:26:07 > git checkout -f e32733b15d3a589267d340991bf7f79306344d86 # timeout=10 09:26:12 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" 09:26:12 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:26:12 > git rev-list --no-walk 40269f60b24749d8021cf4e86d148b2be79fbea2 # timeout=10 [Pipeline] sh 09:26:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:26:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:26:14 + sudo service docker restart 09:26:14 + true [Pipeline] unstash [Pipeline] echo 09:26:17 ========================================================= 09:26:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:26:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:26:18 + 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 . 09:26:19 Sending build context to Docker daemon 2.493MB 09:26:19 Step 1/7 : ARG BASE=golang:1.15-alpine 09:26:19 Step 2/7 : FROM ${BASE} 09:26:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:26:19 5f621e34cdf4: Pulling fs layer 09:26:19 a4357932f1b6: Pulling fs layer 09:26:19 18c013af1878: Pulling fs layer 09:26:19 00ac8860ef70: Pulling fs layer 09:26:19 63d7cb157983: Pulling fs layer 09:26:19 b116817d02f9: Pulling fs layer 09:26:19 745a02a5169b: Pulling fs layer 09:26:19 00ac8860ef70: Waiting 09:26:19 63d7cb157983: Waiting 09:26:19 b116817d02f9: Waiting 09:26:19 745a02a5169b: Waiting 09:26:19 18c013af1878: Download complete 09:26:19 a4357932f1b6: Download complete 09:26:19 63d7cb157983: Verifying Checksum 09:26:19 63d7cb157983: Download complete 09:26:19 b116817d02f9: Verifying Checksum 09:26:19 b116817d02f9: Download complete 09:26:19 5f621e34cdf4: Verifying Checksum 09:26:19 5f621e34cdf4: Download complete 09:26:20 5f621e34cdf4: Pull complete 09:26:21 a4357932f1b6: Pull complete 09:26:21 18c013af1878: Pull complete 09:26:22 745a02a5169b: Verifying Checksum 09:26:22 745a02a5169b: Download complete 09:26:23 00ac8860ef70: Verifying Checksum 09:26:23 00ac8860ef70: Download complete 09:26:33 00ac8860ef70: Pull complete 09:26:33 63d7cb157983: Pull complete 09:26:34 b116817d02f9: Pull complete 09:26:38 745a02a5169b: Pull complete 09:26:38 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:26:38 ---> b7e6874047d6 09:26:38 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:26:41 ---> Running in fa75db53fe48 09:26:41 Removing intermediate container fa75db53fe48 09:26:41 ---> 1c753aa123b9 09:26:41 Step 4/7 : RUN apk add bash 09:26:41 ---> Running in ee220f412fe0 09:26:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:26:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:26:44 OK: 142 MiB in 39 packages 09:26:45 Removing intermediate container ee220f412fe0 09:26:45 ---> 331d682a9e49 09:26:45 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 09:26:45 ---> Running in cb1b960fbab8 09:26:46 Removing intermediate container cb1b960fbab8 09:26:46 ---> bbad52a843b0 09:26:46 Step 6/7 : COPY go.mod . 09:26:47 ---> 0b8a0b6ffec6 09:26:47 Step 7/7 : RUN go mod download 09:26:47 ---> Running in d1961504078c 09:26:56 Running on prd-centos7-docker-4c-2g-23946 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 09:26:57 Running in /w/workspace/go-mod-core-contracts/11 [Pipeline] { [Pipeline] checkout 09:27:02 Removing intermediate container d1961504078c 09:27:02 ---> 67ff42c30fe3 09:27:02 Successfully built 67ff42c30fe3 09:27:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:27:02 using credential edgex-jenkins-ssh 09:27:02 Cloning the remote Git repository 09:27:02 + docker inspect -f . ci-base-image-arm64 09:27:02 . [Pipeline] withDockerContainer 09:27:02 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 09:27:02 prd-ubuntu18.04-docker-arm64-4c-16g-23945 does not seem to be running inside a container 09:27:02 $ 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 09:27:02 > git init /w/workspace/go-mod-core-contracts/11 # timeout=10 09:27:02 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:27:02 > git --version # timeout=10 09:27:02 > git --version # 'git version 2.24.3' 09:27:02 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:04 $ docker top 9b8c2138e2e6bcc5343d6475f80c278352925fa8d33848fe749e4a37bda6fccd -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:27:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:27:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:27:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:04 > 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 09:27:05 Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd 09:27:05 + go version 09:27:05 go version go1.15.5 linux/arm64 [Pipeline] } 09:27:05 $ docker stop --time=1 9b8c2138e2e6bcc5343d6475f80c278352925fa8d33848fe749e4a37bda6fccd 09:27:05 Merge succeeded, producing 087db5f959b37df5a221fc50a0d087de7cd697a4 09:27:05 Checking out Revision 087db5f959b37df5a221fc50a0d087de7cd697a4 (PR-439) 09:27:05 > git config core.sparsecheckout # timeout=10 09:27:05 > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 09:27:05 > git remote # timeout=10 09:27:05 > git config --get remote.origin.url # timeout=10 09:27:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:05 > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 09:27:05 > git rev-parse HEAD^{commit} # timeout=10 09:27:05 > git config core.sparsecheckout # timeout=10 09:27:05 > git checkout -f 087db5f959b37df5a221fc50a0d087de7cd697a4 # timeout=10 09:27:07 $ docker rm -f 9b8c2138e2e6bcc5343d6475f80c278352925fa8d33848fe749e4a37bda6fccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:27:08 + docker inspect -f . ci-base-image-arm64 09:27:08 . [Pipeline] withDockerContainer 09:27:08 prd-ubuntu18.04-docker-arm64-4c-16g-23945 does not seem to be running inside a container 09:27:08 $ 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 09:27:09 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" 09:27:09 First time build. Skipping changelog. 09:27:10 $ docker top c79228f52b6ea252ab361ef64ba8f723ea3ee6a6e7934adfb9907f28afda37a2 -eo pid,comm 09:27:09 > 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 09:27:11 + make test 09:27:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:27:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:27:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:27:13 + sudo service docker restart 09:27:13 + true 09:27:13 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 09:27:14 ========================================================= 09:27:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:27:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:27:15 + 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 . 09:27:16 Sending build context to Docker daemon 2.494MB 09:27:16 Step 1/7 : ARG BASE=golang:1.15-alpine 09:27:16 Step 2/7 : FROM ${BASE} 09:27:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:27:16 188c0c94c7c5: Pulling fs layer 09:27:16 0ef7d3d256c8: Pulling fs layer 09:27:16 de9db76c5a1d: Pulling fs layer 09:27:16 bca2f99d35d6: Pulling fs layer 09:27:16 93359f2a8cfa: Pulling fs layer 09:27:16 7c6f9722023f: Pulling fs layer 09:27:16 a35cf1a2eb13: Pulling fs layer 09:27:16 93359f2a8cfa: Waiting 09:27:16 7c6f9722023f: Waiting 09:27:16 bca2f99d35d6: Waiting 09:27:16 a35cf1a2eb13: Waiting 09:27:16 de9db76c5a1d: Verifying Checksum 09:27:16 de9db76c5a1d: Download complete 09:27:16 0ef7d3d256c8: Verifying Checksum 09:27:16 0ef7d3d256c8: Download complete 09:27:16 93359f2a8cfa: Verifying Checksum 09:27:16 93359f2a8cfa: Download complete 09:27:16 7c6f9722023f: Download complete 09:27:16 188c0c94c7c5: Verifying Checksum 09:27:16 188c0c94c7c5: Download complete 09:27:17 188c0c94c7c5: Pull complete 09:27:17 0ef7d3d256c8: Pull complete 09:27:17 de9db76c5a1d: Pull complete 09:27:19 a35cf1a2eb13: Verifying Checksum 09:27:19 a35cf1a2eb13: Download complete 09:27:20 bca2f99d35d6: Verifying Checksum 09:27:31 bca2f99d35d6: Pull complete 09:27:31 93359f2a8cfa: Pull complete 09:27:31 7c6f9722023f: Pull complete 09:27:33 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 09:27:35 a35cf1a2eb13: Pull complete 09:27:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:27:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:27:35 ---> a62c8e92a672 09:27:35 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:27:35 ---> Running in 99d2e0b042ff 09:27:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.027s coverage: 85.7% of statements 09:27:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.044s coverage: 100.0% of statements 09:27:36 Removing intermediate container 99d2e0b042ff 09:27:36 ---> 2fbc3bba9219 09:27:36 Step 4/7 : RUN apk add bash 09:27:36 ---> Running in b912e6e76677 09:27:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:27:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.060s coverage: 45.4% of statements 09:27:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.017s coverage: 77.8% of statements 09:27:37 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 09:27:38 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.028s coverage: 26.3% of statements 09:27:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:27:38 OK: 166 MiB in 39 packages 09:27:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.041s coverage: 14.7% of statements 09:27:39 Removing intermediate container b912e6e76677 09:27:39 ---> 49425d206825 09:27:39 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 09:27:39 ---> Running in aaca7efa372f 09:27:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.015s coverage: 100.0% of statements 09:27:39 Removing intermediate container aaca7efa372f 09:27:39 ---> 711659d9deca 09:27:39 Step 6/7 : COPY go.mod . 09:27:39 ---> 4b43e69dc091 09:27:39 Step 7/7 : RUN go mod download 09:27:40 ---> Running in f4e9184e994a 09:27:40 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.086s coverage: 91.8% of statements 09:27:40 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 09:27:40 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 09:27:40 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.033s coverage: 100.0% of statements 09:27:40 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.029s coverage: 36.7% of statements 09:27:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.118s coverage: 63.0% of statements 09:27:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.019s coverage: 26.3% of statements 09:27:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.034s coverage: 15.4% of statements 09:27:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.028s coverage: 15.4% of statements 09:27:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.026s coverage: 14.3% of statements 09:27:46 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 09:27:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.220s coverage: 84.8% of statements 09:27:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 09:27:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 09:27:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 09:27:50 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.034s coverage: 33.2% of statements 09:27:50 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.049s coverage: 94.4% of statements 09:27:52 {"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"}}}} 09:27:52 {"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}} 09:27:52 baserequest: 09:27:52 requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 09:27:52 profile: 09:27:52 versionable: 09:27:52 apiversion: "" 09:27:52 id: "" 09:27:52 name: TestDeviceProfileName 09:27:52 manufacturer: TestManufacturer 09:27:52 description: TestDescription 09:27:52 model: TestModel 09:27:52 labels: [MODBUS, TEMP] 09:27:52 deviceResources: 09:27:52 - description: TestDescription 09:27:52 name: TestDeviceResourceName 09:27:52 tag: TestTag 09:27:52 properties: 09:27:52 type: Int16 09:27:52 readWrite: RW 09:27:52 attributes: 09:27:52 TestAttribute: TestAttributeValue 09:27:52 deviceCommands: 09:27:52 - name: TestProfileResource 09:27:52 get: 09:27:52 - deviceResource: TestDeviceResourceName 09:27:52 set: 09:27:52 - deviceResource: TestDeviceResourceName 09:27:52 coreCommands: 09:27:52 - name: TestProfileResource 09:27:52 get: true 09:27:52 put: true 09:27:52 09:27:52 {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} 09:27:52 {"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"}} 09:27:52 {"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"}]}} 09:27:52 --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) 09:27:52 --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) 09:27:52 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] 09:27:52 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' 09:27:52 09:27:52 goroutine 381 [running]: 09:27:52 testing.tRunner.func1.1(0x242c00, 0x40004d5310) 09:27:52 /usr/local/go/src/testing/testing.go:1072 +0x240 09:27:52 testing.tRunner.func1(0x40004e4000) 09:27:52 /usr/local/go/src/testing/testing.go:1075 +0x34c 09:27:52 panic(0x242c00, 0x40004d5310) 09:27:52 /usr/local/go/src/runtime/panic.go:969 +0x15c 09:27:52 github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0x40001174a0, 0x252ee6, 0x27, 0x252eb6, 0xe, 0x252ef0, 0x0, 0x242c00, 0x252ec6, 0x48) 09:27:52 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xcf0 09:27:52 github.com/go-playground/validator/v10.(*Validate).extractStructCache(0x40001174a0, 0x28b880, 0x40004e32c0, 0x99, 0x22bb29, 0xc, 0x0) 09:27:52 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x328 09:27:52 github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013eea0, 0x2fc000, 0x4000112010, 0x28b880, 0x40004e32c0, 0x99, 0x28b880, 0x40004e32c0, 0x99, 0x301300, ...) 09:27:52 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x6f4 09:27:52 github.com/go-playground/validator/v10.(*validate).traverseField(0x400013eea0, 0x2fc000, 0x4000112010, 0x26c8c0, 0x40004e32b0, 0x99, 0x28b880, 0x40004e32c0, 0x99, 0x40002e51c0, ...) 09:27:52 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x2fbc 09:27:52 github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013eea0, 0x2fc000, 0x4000112010, 0x26c8c0, 0x40004e32b0, 0x99, 0x26c8c0, 0x40004e32b0, 0x99, 0x301300, ...) 09:27:52 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x320 09:27:52 github.com/go-playground/validator/v10.(*Validate).StructCtx(0x40001174a0, 0x2fc000, 0x4000112010, 0x26c8c0, 0x40004e32b0, 0x26c8c0, 0x3a1c26) 09:27:52 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x294 09:27:52 github.com/go-playground/validator/v10.(*Validate).Struct(...) 09:27:52 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 09:27:52 github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x26c8c0, 0x40004e32b0, 0x26c8c0, 0x40004e32b0) 09:27:52 /w/workspace/go-mod-core-contracts/11/v2/validator.go:54 +0x64 09:27:52 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) 09:27:52 /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription.go:28 09:27:52 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0x40004e4000) 09:27:52 /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription_test.go:149 +0xa0 09:27:52 testing.tRunner(0x40004e4000, 0x40004d5190) 09:27:52 /usr/local/go/src/testing/testing.go:1123 +0xdc 09:27:52 created by testing.(*T).Run 09:27:52 /usr/local/go/src/testing/testing.go:1168 +0x244 09:27:52 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.136s 09:27:52 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.022s coverage: 100.0% of statements 09:27:52 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 09:27:52 FAIL 09:27:52 make: *** [Makefile:6: test] Error 1 [Pipeline] } 09:27:52 $ docker stop --time=1 c79228f52b6ea252ab361ef64ba8f723ea3ee6a6e7934adfb9907f28afda37a2 09:27:54 $ docker rm -f c79228f52b6ea252ab361ef64ba8f723ea3ee6a6e7934adfb9907f28afda37a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 09:27:55 Removing intermediate container f4e9184e994a 09:27:55 ---> b8fc696a5411 09:27:55 Successfully built b8fc696a5411 09:27:55 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] } 09:27:56 + docker inspect -f . ci-base-image-x86_64 09:27:56 . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer 09:27:56 prd-centos7-docker-4c-2g-23946 does not seem to be running inside a container 09:27:56 $ 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 09:27:57 $ docker top c998b1113b6c92e8b3bc3440c56da66f9d020c284ba760a7dd1719da274301b4 -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:27:58 Failed in branch arm64 09:27:58 + go version 09:27:58 go version go1.15.5 linux/amd64 [Pipeline] } 09:27:58 $ docker stop --time=1 c998b1113b6c92e8b3bc3440c56da66f9d020c284ba760a7dd1719da274301b4 09:28:00 $ docker rm -f c998b1113b6c92e8b3bc3440c56da66f9d020c284ba760a7dd1719da274301b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:28:01 + docker inspect -f . ci-base-image-x86_64 09:28:01 . [Pipeline] withDockerContainer 09:28:01 prd-centos7-docker-4c-2g-23946 does not seem to be running inside a container 09:28:01 $ 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 09:28:02 $ docker top 22bab307be1fd079418fa396ff1d74875c4ae54ef5bf7990ee14038cb615f784 -eo pid,comm [Pipeline] { [Pipeline] sh 09:28:03 + make test 09:28:03 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:28:15 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 09:28:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.063s coverage: 85.7% of statements 09:28:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.096s coverage: 100.0% of statements 09:28:18 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.131s coverage: 45.4% of statements 09:28:18 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.033s coverage: 77.8% of statements 09:28:18 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 09:28:19 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.015s coverage: 26.3% of statements 09:28:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.041s coverage: 14.7% of statements 09:28:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.108s coverage: 100.0% of statements 09:28:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.101s coverage: 91.8% of statements 09:28:21 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 09:28:21 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 09:28:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.116s coverage: 100.0% of statements 09:28:22 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.012s coverage: 36.7% of statements 09:28:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.146s coverage: 63.0% of statements 09:28:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.020s coverage: 26.3% of statements 09:28:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.035s coverage: 15.4% of statements 09:28:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.028s coverage: 15.4% of statements 09:28:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.021s coverage: 14.3% of statements 09:28:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 09:28:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.138s coverage: 84.8% of statements 09:28:29 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 09:28:29 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 09:28:29 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 09:28:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.030s coverage: 33.2% of statements 09:28:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.011s coverage: 94.4% of statements 09:28:30 {"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"}}}} 09:28:30 {"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}} 09:28:30 baserequest: 09:28:30 requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 09:28:30 profile: 09:28:30 versionable: 09:28:30 apiversion: "" 09:28:30 id: "" 09:28:30 name: TestDeviceProfileName 09:28:30 manufacturer: TestManufacturer 09:28:30 description: TestDescription 09:28:30 model: TestModel 09:28:30 labels: [MODBUS, TEMP] 09:28:30 deviceResources: 09:28:30 - description: TestDescription 09:28:30 name: TestDeviceResourceName 09:28:30 tag: TestTag 09:28:30 properties: 09:28:30 type: Int16 09:28:30 readWrite: RW 09:28:30 attributes: 09:28:30 TestAttribute: TestAttributeValue 09:28:30 deviceCommands: 09:28:30 - name: TestProfileResource 09:28:30 get: 09:28:30 - deviceResource: TestDeviceResourceName 09:28:30 set: 09:28:30 - deviceResource: TestDeviceResourceName 09:28:30 coreCommands: 09:28:30 - name: TestProfileResource 09:28:30 get: true 09:28:30 put: true 09:28:30 09:28:30 {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} 09:28:30 {"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"}} 09:28:30 {"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"}]}} 09:28:30 --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) 09:28:30 --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) 09:28:30 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] 09:28:30 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' 09:28:30 09:28:30 goroutine 397 [running]: 09:28:30 testing.tRunner.func1.1(0x67eb60, 0xc0004b9680) 09:28:30 /usr/local/go/src/testing/testing.go:1072 +0x30d 09:28:30 testing.tRunner.func1(0xc00030a180) 09:28:30 /usr/local/go/src/testing/testing.go:1075 +0x41a 09:28:30 panic(0x67eb60, 0xc0004b9680) 09:28:30 /usr/local/go/src/runtime/panic.go:969 +0x1b9 09:28:30 github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0xc0000b14a0, 0x68ede6, 0x27, 0x68edb6, 0xe, 0x68edf0, 0x0, 0x67eb00, 0x68edc6, 0x48) 09:28:30 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xf25 09:28:30 github.com/go-playground/validator/v10.(*Validate).extractStructCache(0xc0000b14a0, 0x6c7a00, 0xc00009f600, 0x99, 0x667b25, 0xc, 0x0) 09:28:30 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x439 09:28:30 github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0004aa000, 0x737f80, 0xc0000ac010, 0x6c7a00, 0xc00009f600, 0x99, 0x6c7a00, 0xc00009f600, 0x99, 0x73d420, ...) 09:28:30 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x9e5 09:28:30 github.com/go-playground/validator/v10.(*validate).traverseField(0xc0004aa000, 0x737f80, 0xc0000ac010, 0x6a8960, 0xc00009f5f0, 0x99, 0x6c7a00, 0xc00009f600, 0x99, 0xc0002fa080, ...) 09:28:30 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x3d0c 09:28:30 github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0004aa000, 0x737f80, 0xc0000ac010, 0x6a8960, 0xc00009f5f0, 0x99, 0x6a8960, 0xc00009f5f0, 0x99, 0x73d420, ...) 09:28:30 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x4e9 09:28:30 github.com/go-playground/validator/v10.(*Validate).StructCtx(0xc0000b14a0, 0x737f80, 0xc0000ac010, 0x6a8960, 0xc00009f5f0, 0xc00003ad10, 0x40d670) 09:28:30 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x38a 09:28:30 github.com/go-playground/validator/v10.(*Validate).Struct(...) 09:28:30 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 09:28:30 github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x6a8960, 0xc00009f5f0, 0x6a8960, 0xc00009f5f0) 09:28:30 /w/workspace/go-mod-core-contracts/11/v2/validator.go:54 +0x74 09:28:30 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) 09:28:30 /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription.go:28 09:28:30 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0xc00030a180) 09:28:30 /w/workspace/go-mod-core-contracts/11/v2/dtos/requests/subscription_test.go:149 +0xc8 09:28:30 testing.tRunner(0xc00030a180, 0xc0004b9500) 09:28:30 /usr/local/go/src/testing/testing.go:1123 +0xef 09:28:30 created by testing.(*T).Run 09:28:30 /usr/local/go/src/testing/testing.go:1168 +0x2b3 09:28:30 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.062s 09:28:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.022s coverage: 100.0% of statements 09:28:30 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 09:28:30 FAIL 09:28:30 make: *** [Makefile:6: test] Error 1 [Pipeline] } 09:28:30 $ docker stop --time=1 22bab307be1fd079418fa396ff1d74875c4ae54ef5bf7990ee14038cb615f784 09:28:33 $ 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] } 09:28:35 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 09:28:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:28:38 ---> package-listing.sh 09:28:38 ++ facter osfamily 09:28:38 ++ tr '[:upper:]' '[:lower:]' 09:28:39 + OS_FAMILY=redhat 09:28:39 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 09:28:39 + START_PACKAGES=/tmp/packages_start.txt 09:28:39 + END_PACKAGES=/tmp/packages_end.txt 09:28:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:28:39 + PACKAGES=/tmp/packages_start.txt 09:28:39 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 09:28:39 + PACKAGES=/tmp/packages_end.txt 09:28:39 + case "${OS_FAMILY}" in 09:28:39 + rpm -qa 09:28:39 + sort 09:28:44 + '[' -f /tmp/packages_start.txt ']' 09:28:44 + '[' -f /tmp/packages_end.txt ']' 09:28:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:28:44 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 09:28:44 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ 09:28:44 + 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 09:28:44 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 09:28:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:28:45 09:28:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:28:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:28:45 alpine: Pulling from edgex-lftools-log-publisher 09:28:45 df20fa9351a1: Pulling fs layer 09:28:45 36b3adc4ff6f: Pulling fs layer 09:28:45 8ad3a11d3b57: Pulling fs layer 09:28:45 46f8f816bc3b: Pulling fs layer 09:28:45 93b61091891f: Pulling fs layer 09:28:45 93b9cdb0e59b: Pulling fs layer 09:28:45 5e14af77c1be: Pulling fs layer 09:28:45 01666e4c0597: Pulling fs layer 09:28:45 aa168da1d23b: Pulling fs layer 09:28:45 93b9cdb0e59b: Waiting 09:28:45 5e14af77c1be: Waiting 09:28:45 01666e4c0597: Waiting 09:28:45 aa168da1d23b: Waiting 09:28:45 46f8f816bc3b: Waiting 09:28:45 93b61091891f: Waiting 09:28:45 36b3adc4ff6f: Verifying Checksum 09:28:45 36b3adc4ff6f: Download complete 09:28:46 46f8f816bc3b: Verifying Checksum 09:28:46 46f8f816bc3b: Download complete 09:28:46 df20fa9351a1: Download complete 09:28:46 93b9cdb0e59b: Verifying Checksum 09:28:46 93b9cdb0e59b: Download complete 09:28:46 5e14af77c1be: Verifying Checksum 09:28:46 5e14af77c1be: Download complete 09:28:46 01666e4c0597: Verifying Checksum 09:28:46 01666e4c0597: Download complete 09:28:46 93b61091891f: Verifying Checksum 09:28:46 93b61091891f: Download complete 09:28:46 8ad3a11d3b57: Verifying Checksum 09:28:46 8ad3a11d3b57: Download complete 09:28:46 df20fa9351a1: Pull complete 09:28:46 36b3adc4ff6f: Pull complete 09:28:48 8ad3a11d3b57: Pull complete 09:28:48 46f8f816bc3b: Pull complete 09:28:49 93b61091891f: Pull complete 09:28:50 93b9cdb0e59b: Pull complete 09:28:50 5e14af77c1be: Pull complete 09:28:50 aa168da1d23b: Verifying Checksum 09:28:50 aa168da1d23b: Download complete 09:28:50 01666e4c0597: Pull complete 09:29:03 aa168da1d23b: Pull complete 09:29:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:29:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:29:03 prd-centos7-docker-4c-2g-23944 does not seem to be running inside a container 09:29:03 $ 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 09:29:07 $ docker top 31064660aff556a66e66301ed548b8e0409eaced39d7f28caa16870554840b95 -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:08 + touch /tmp/pre-build-complete [Pipeline] sh 09:29:08 + mkdir -p /var/log/sa [Pipeline] sh 09:29:08 + ls /var/log/sa-host 09:29:08 + sadf -c /var/log/sa-host/sa23 09:29:08 file_magic: OK 09:29:08 HZ: Using current value: 100 09:29:08 file_header: OK 09:29:08 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 09:29:08 Statistics: 09:29:08 Hnuu...uuuununununu... 09:29:08 File successfully converted to sysstat format version 12.2.1 09:29:08 + sadf -c /var/log/sa-host/sa29 09:29:08 file_magic: OK 09:29:08 HZ: Using current value: 100 09:29:08 file_header: OK 09:29:08 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 09:29:08 Statistics: 09:29:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:29:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:29:09 provisioning config files... 09:29:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config1555203886057690832tmp [Pipeline] { [Pipeline] echo 09:29:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:29:09 ---> create-netrc.sh [Pipeline] } 09:29:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:29:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:29:11 ---> python-tools-install.sh [Pipeline] echo 09:29:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:29:11 ---> sudo-logs.sh 09:29:11 Archiving 'sudo' log.. [Pipeline] echo 09:29:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:29:11 ---> job-cost.sh 09:29:11 lf-activate-venv: SKIPPING 09:29:11 INFO: No Stack... 09:29:13 INFO: Retrieving Pricing Info for: v1-standard-2 09:29:13 INFO: Archiving Costs [Pipeline] echo 09:29:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:29:14 ---> logs-deploy.sh 09:29:14 lf-activate-venv: SKIPPING 09:29:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/11 09:29:14 INFO: archiving workspace using pattern(s): 09:29:16 Archives upload complete. 09:29:16 INFO: archiving logs to Nexus