Pull request #439 updated 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23940 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 40269f60b24749d8021cf4e86d148b2be79fbea2 Checking out Revision 40269f60b24749d8021cf4e86d148b2be79fbea2 (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 40269f60b24749d8021cf4e86d148b2be79fbea2 # timeout=10 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:57:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:57:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:57:37 ========================================================= 08:57:37 EdgeX Global Pipelines Version Info 08:57:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:57:38 ------------------- 08:57:38 stable info: 08:57:38 ------------------- 08:57:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:57:38 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:57:38 Message: update stable to v1.0.179 08:57:39 ------------------- 08:57:39 experimental info: 08:57:39 ------------------- 08:57:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:57:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:57:39 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:57:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 08:57:39 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 08:57:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:57:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 08:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:57:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40269f60b24749d8021cf4e86d148b2be79fbea2 [Pipeline] echo 08:57:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40269f6 [Pipeline] echo 08:57:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:57:43 + git log --format=format:%s -1 40269f60b24749d8021cf4e86d148b2be79fbea2 [Pipeline] echo 08:57:43 GIT_COMMIT: 40269f60b24749d8021cf4e86d148b2be79fbea2, Commit Message: Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD [Pipeline] echo 08:57:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:57:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:44 08:57:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:57:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:45 latest: Pulling from edgex-devops/git-semver 08:57:45 31603596830f: Pulling fs layer 08:57:45 2a8b12db71e7: Pulling fs layer 08:57:45 6ca5941a6612: Pulling fs layer 08:57:45 ecc8261a40a4: Pulling fs layer 08:57:45 ecc8261a40a4: Waiting 08:57:45 2a8b12db71e7: Verifying Checksum 08:57:45 2a8b12db71e7: Download complete 08:57:45 31603596830f: Download complete 08:57:45 ecc8261a40a4: Verifying Checksum 08:57:45 ecc8261a40a4: Download complete 08:57:45 6ca5941a6612: Verifying Checksum 08:57:45 6ca5941a6612: Download complete 08:57:45 31603596830f: Pull complete 08:57:45 2a8b12db71e7: Pull complete 08:57:46 6ca5941a6612: Pull complete 08:57:47 ecc8261a40a4: Pull complete 08:57:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:57:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:57:47 prd-centos7-docker-4c-2g-23940 does not seem to be running inside a container 08:57:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:57:49 $ docker top 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:57:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:50 [ssh-agent] Looking for ssh-agent implementation... 08:57:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:50 $ docker exec 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent 08:57:50 SSH_AUTH_SOCK=/tmp/ssh-egNaasnKSZu6/agent.11 08:57:50 SSH_AGENT_PID=16 08:57:50 Running ssh-add (command line suppressed) 08:57:51 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5830671483450067552.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5830671483450067552.key) 08:57:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:51 + git tag --points-at HEAD [Pipeline] } 08:57:51 $ docker exec --env ******** --env ******** 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent -k 08:57:51 unset SSH_AUTH_SOCK; 08:57:51 unset SSH_AGENT_PID; 08:57:51 echo Agent pid 16 killed; 08:57:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:57:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:51 [ssh-agent] Looking for ssh-agent implementation... 08:57:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:52 $ docker exec 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent 08:57:52 SSH_AUTH_SOCK=/tmp/ssh-0L7WXr8lzbPU/agent.44 08:57:52 SSH_AGENT_PID=50 08:57:52 Running ssh-add (command line suppressed) 08:57:52 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5738374587411205129.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5738374587411205129.key) 08:57:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:52 + git semver init 08:57:52 # -> Open(): unable to determine branch for HEAD 08:57:52 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git 08:57:52 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 08:57:52 # $SEMVER_REMOTE_NAME = origin 08:57:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:57:52 # $SEMVER_USER_NAME = edgex-jenkins 08:57:52 # $SEMVER_BRANCH = PR-439 08:57:52 # $SEMVER_TEMP = /tmp/semver-067358628 08:57:52 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 08:57:53 # '/tmp/semver-067358628' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' 08:57:53 # -> Force: false 08:57:53 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } 08:57:53 $ docker exec --env ******** --env ******** 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 ssh-agent -k 08:57:53 unset SSH_AUTH_SOCK; 08:57:53 unset SSH_AGENT_PID; 08:57:53 echo Agent pid 50 killed; 08:57:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:57:54 + git semver [Pipeline] } 08:57:54 $ docker stop --time=1 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 08:57:56 $ docker rm -f 779ecebc6a63ea81343c54b80f1692a37d5fe7af2aefbf1dbf21fb9b7ae15bd4 [Pipeline] // withDockerContainer [Pipeline] sh 08:57:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:57:57 Stashed 1 file(s) [Pipeline] echo 08:57:57 [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 08:58:12 Still waiting to schedule task 08:58:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:58:12 Still waiting to schedule task 08:58:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:00:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23941 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 09:00:01 Running in /w/workspace/go-mod-core-contracts/10 [Pipeline] { [Pipeline] checkout 09:00:07 using credential edgex-jenkins-ssh 09:00:07 Cloning the remote Git repository 09:00:07 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 09:00:07 > git init /w/workspace/go-mod-core-contracts/10 # timeout=10 09:00:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:00:07 > git --version # timeout=10 09:00:07 > git --version # 'git version 2.17.1' 09:00:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:00:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:00:10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:00:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:10 > 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:00:11 Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd 09:00:11 Merge succeeded, producing 93397af7d6d7305205c1788b74ce251da3e81a01 09:00:11 Checking out Revision 93397af7d6d7305205c1788b74ce251da3e81a01 (PR-439) 09:00:11 > git config core.sparsecheckout # timeout=10 09:00:11 > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 09:00:11 > git remote # timeout=10 09:00:11 > git config --get remote.origin.url # timeout=10 09:00:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:11 > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 09:00:11 > git rev-parse HEAD^{commit} # timeout=10 09:00:11 > git config core.sparsecheckout # timeout=10 09:00:11 > git checkout -f 93397af7d6d7305205c1788b74ce251da3e81a01 # timeout=10 09:00:16 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" 09:00:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 09:00:16 > git rev-list --no-walk a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 09:00:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:00:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:00:18 + + sudo service docker restarttrue 09:00:18 [Pipeline] unstash [Pipeline] echo 09:00:21 ========================================================= 09:00:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:00:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:00:22 + 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:00:23 Sending build context to Docker daemon 2.493MB 09:00:23 Step 1/7 : ARG BASE=golang:1.15-alpine 09:00:23 Step 2/7 : FROM ${BASE} 09:00:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:00:23 5f621e34cdf4: Pulling fs layer 09:00:23 a4357932f1b6: Pulling fs layer 09:00:23 18c013af1878: Pulling fs layer 09:00:23 00ac8860ef70: Pulling fs layer 09:00:23 63d7cb157983: Pulling fs layer 09:00:23 b116817d02f9: Pulling fs layer 09:00:23 745a02a5169b: Pulling fs layer 09:00:23 00ac8860ef70: Waiting 09:00:23 63d7cb157983: Waiting 09:00:23 b116817d02f9: Waiting 09:00:23 745a02a5169b: Waiting 09:00:23 18c013af1878: Verifying Checksum 09:00:23 18c013af1878: Download complete 09:00:23 a4357932f1b6: Verifying Checksum 09:00:23 a4357932f1b6: Download complete 09:00:23 63d7cb157983: Verifying Checksum 09:00:23 63d7cb157983: Download complete 09:00:23 b116817d02f9: Download complete 09:00:23 5f621e34cdf4: Verifying Checksum 09:00:23 5f621e34cdf4: Download complete 09:00:24 5f621e34cdf4: Pull complete 09:00:24 a4357932f1b6: Pull complete 09:00:25 18c013af1878: Pull complete 09:00:26 745a02a5169b: Verifying Checksum 09:00:26 745a02a5169b: Download complete 09:00:27 Running on prd-centos7-docker-4c-2g-23942 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 09:00:27 Running in /w/workspace/go-mod-core-contracts/10 [Pipeline] { [Pipeline] checkout 09:00:27 00ac8860ef70: Verifying Checksum 09:00:27 00ac8860ef70: Download complete 09:00:29 using credential edgex-jenkins-ssh 09:00:29 Cloning the remote Git repository 09:00:29 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 09:00:29 > git init /w/workspace/go-mod-core-contracts/10 # timeout=10 09:00:29 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:00:29 > git --version # timeout=10 09:00:29 > git --version # 'git version 2.24.3' 09:00:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:30 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:00:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:00:30 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:00:30 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:00:30 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:30 > 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:00:31 Merging remotes/origin/master commit 747e68f9da97596da4a07287b22afd0d9f009cce into PR head commit 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd 09:00:31 Merge succeeded, producing df521c6ffdd39b90274261692268aa7a1607a171 09:00:31 Checking out Revision df521c6ffdd39b90274261692268aa7a1607a171 (PR-439) 09:00:31 > git config core.sparsecheckout # timeout=10 09:00:31 > git checkout -f 19e94d0ca04aed94a43601ca7b2dbad2e6b91bcd # timeout=10 09:00:31 > git remote # timeout=10 09:00:31 > git config --get remote.origin.url # timeout=10 09:00:31 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:31 > git merge 747e68f9da97596da4a07287b22afd0d9f009cce # timeout=10 09:00:31 > git rev-parse HEAD^{commit} # timeout=10 09:00:31 > git config core.sparsecheckout # timeout=10 09:00:31 > git checkout -f df521c6ffdd39b90274261692268aa7a1607a171 # timeout=10 09:00:34 Commit message: "Merge commit '747e68f9da97596da4a07287b22afd0d9f009cce' into HEAD" 09:00:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:00:34 > git rev-list --no-walk a3acc39c8f2f17fd44d0d21f0ca5dcce02b4df10 # timeout=10 [Pipeline] sh 09:00:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:00:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:00:36 + sudo service docker restart 09:00:36 + true 09:00:36 Redirecting to /bin/systemctl restart docker.service 09:00:37 00ac8860ef70: Pull complete 09:00:37 63d7cb157983: Pull complete 09:00:37 b116817d02f9: Pull complete [Pipeline] unstash [Pipeline] echo 09:00:38 ========================================================= 09:00:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:00:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:00:38 + 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:00:39 Sending build context to Docker daemon 2.493MB 09:00:39 Step 1/7 : ARG BASE=golang:1.15-alpine 09:00:39 Step 2/7 : FROM ${BASE} 09:00:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:00:39 188c0c94c7c5: Pulling fs layer 09:00:39 0ef7d3d256c8: Pulling fs layer 09:00:39 de9db76c5a1d: Pulling fs layer 09:00:39 bca2f99d35d6: Pulling fs layer 09:00:39 93359f2a8cfa: Pulling fs layer 09:00:39 7c6f9722023f: Pulling fs layer 09:00:39 a35cf1a2eb13: Pulling fs layer 09:00:39 93359f2a8cfa: Waiting 09:00:39 7c6f9722023f: Waiting 09:00:39 a35cf1a2eb13: Waiting 09:00:39 bca2f99d35d6: Waiting 09:00:39 de9db76c5a1d: Verifying Checksum 09:00:39 de9db76c5a1d: Download complete 09:00:39 0ef7d3d256c8: Verifying Checksum 09:00:39 0ef7d3d256c8: Download complete 09:00:39 93359f2a8cfa: Download complete 09:00:39 7c6f9722023f: Verifying Checksum 09:00:39 7c6f9722023f: Download complete 09:00:39 188c0c94c7c5: Verifying Checksum 09:00:39 188c0c94c7c5: Download complete 09:00:39 188c0c94c7c5: Pull complete 09:00:39 0ef7d3d256c8: Pull complete 09:00:40 de9db76c5a1d: Pull complete 09:00:41 a35cf1a2eb13: Verifying Checksum 09:00:41 a35cf1a2eb13: Download complete 09:00:41 745a02a5169b: Pull complete 09:00:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:00:41 ---> b7e6874047d6 09:00:41 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:00:41 bca2f99d35d6: Verifying Checksum 09:00:41 bca2f99d35d6: Download complete 09:00:44 ---> Running in fb3b2a4ff9c3 09:00:44 Removing intermediate container fb3b2a4ff9c3 09:00:44 ---> b46333f81020 09:00:44 Step 4/7 : RUN apk add bash 09:00:44 ---> Running in 4c24fb746f65 09:00:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:00:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:00:47 bca2f99d35d6: Pull complete 09:00:47 93359f2a8cfa: Pull complete 09:00:47 7c6f9722023f: Pull complete 09:00:47 OK: 142 MiB in 39 packages 09:00:48 Removing intermediate container 4c24fb746f65 09:00:48 ---> 39d3ea967c73 09:00:48 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 09:00:48 ---> Running in b6b9ede91b24 09:00:49 Removing intermediate container b6b9ede91b24 09:00:49 ---> b4cba12692d4 09:00:49 Step 6/7 : COPY go.mod . 09:00:50 ---> bffab67e754f 09:00:50 Step 7/7 : RUN go mod download 09:00:50 ---> Running in 257039ecfae5 09:00:57 a35cf1a2eb13: Pull complete 09:00:57 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:00:57 ---> a62c8e92a672 09:00:57 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:00:57 ---> Running in ec5db7e356a0 09:00:57 Removing intermediate container ec5db7e356a0 09:00:57 ---> 772f3e93ae1b 09:00:57 Step 4/7 : RUN apk add bash 09:00:57 ---> Running in 1d08ed1dc9ba 09:00:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:00:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:00:57 OK: 166 MiB in 39 packages 09:00:58 Removing intermediate container 1d08ed1dc9ba 09:00:58 ---> ed58ab9ccfea 09:00:58 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 09:00:58 ---> Running in 89077586dd82 09:00:58 Removing intermediate container 89077586dd82 09:00:58 ---> 2cc14b34fac9 09:00:58 Step 6/7 : COPY go.mod . 09:00:59 ---> bd9a98a6d372 09:00:59 Step 7/7 : RUN go mod download 09:00:59 ---> Running in 89cd9e005882 09:01:05 Removing intermediate container 257039ecfae5 09:01:05 ---> 27d72f4da8e3 09:01:05 Successfully built 27d72f4da8e3 09:01:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:01:05 + docker inspect -f . ci-base-image-arm64 09:01:05 . [Pipeline] withDockerContainer 09:01:06 prd-ubuntu18.04-docker-arm64-4c-16g-23941 does not seem to be running inside a container 09:01:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:01:07 $ docker top 26887bc38b9452bcc177f5b420a6bcab38d4f0dfa7e5d9a65eeb5a5acb8d30a2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:08 + go version 09:01:08 go version go1.15.5 linux/arm64 [Pipeline] } 09:01:08 $ docker stop --time=1 26887bc38b9452bcc177f5b420a6bcab38d4f0dfa7e5d9a65eeb5a5acb8d30a2 09:01:10 $ docker rm -f 26887bc38b9452bcc177f5b420a6bcab38d4f0dfa7e5d9a65eeb5a5acb8d30a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:01:11 Removing intermediate container 89cd9e005882 09:01:11 ---> 8c1c956b621a 09:01:11 Successfully built 8c1c956b621a 09:01:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:01:11 + docker inspect -f . ci-base-image-arm64 09:01:11 . [Pipeline] withDockerContainer 09:01:11 + docker inspect -f . ci-base-image-x86_64 09:01:11 . 09:01:11 prd-ubuntu18.04-docker-arm64-4c-16g-23941 does not seem to be running inside a container 09:01:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:01:13 $ docker top cffdc1398ade717bd4bd6c133edcf8b0da6775c5d23830a88f109d57f5d88c88 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 09:01:13 prd-centos7-docker-4c-2g-23942 does not seem to be running inside a container 09:01:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:01:14 $ docker top df8b239f093126bbd2400cfd3640b5fa378a59d4d7990dc10a70f0145cecaa24 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 09:01:15 + go version 09:01:15 go version go1.15.5 linux/amd64 [Pipeline] } 09:01:15 $ docker stop --time=1 df8b239f093126bbd2400cfd3640b5fa378a59d4d7990dc10a70f0145cecaa24 09:01:15 + make test 09:01:15 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:01:16 $ docker rm -f df8b239f093126bbd2400cfd3640b5fa378a59d4d7990dc10a70f0145cecaa24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:01:17 + docker inspect -f . ci-base-image-x86_64 09:01:17 . [Pipeline] withDockerContainer 09:01:17 prd-centos7-docker-4c-2g-23942 does not seem to be running inside a container 09:01:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/10 -v /w/workspace/go-mod-core-contracts/10:/w/workspace/go-mod-core-contracts/10:rw,z -v /w/workspace/go-mod-core-contracts/10@tmp:/w/workspace/go-mod-core-contracts/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:01:18 $ docker top dc6f9cf2e61d6db6f84125efd857f404430f312eb31a503e8072e37cdd63feec -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:19 + make test 09:01:19 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:01:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 09:01:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.018s coverage: 85.7% of statements 09:01:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.021s coverage: 100.0% of statements 09:01:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.069s coverage: 45.4% of statements 09:01:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.008s coverage: 77.8% of statements 09:01:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 09:01:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.021s coverage: 26.3% of statements 09:01:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.043s coverage: 14.7% of statements 09:01:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.022s coverage: 100.0% of statements 09:01:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.024s coverage: 91.8% of statements 09:01:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 09:01:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 09:01:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.010s coverage: 100.0% of statements 09:01:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.008s coverage: 36.7% of statements 09:01:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.031s coverage: 63.0% of statements 09:01:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.024s coverage: 26.3% of statements 09:01:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.009s coverage: 15.4% of statements 09:01:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.022s coverage: 15.4% of statements 09:01:30 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.005s coverage: 14.3% of statements 09:01:30 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 09:01:32 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.095s coverage: 84.8% of statements 09:01:32 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 09:01:32 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 09:01:32 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 09:01:32 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.012s coverage: 33.2% of statements 09:01:32 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.027s coverage: 94.4% of statements 09:01:33 {"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:01:33 {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1611910893,"lastReported":1611910893,"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:01:33 baserequest: 09:01:33 requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 09:01:33 profile: 09:01:33 versionable: 09:01:33 apiversion: "" 09:01:33 id: "" 09:01:33 name: TestDeviceProfileName 09:01:33 manufacturer: TestManufacturer 09:01:33 description: TestDescription 09:01:33 model: TestModel 09:01:33 labels: [MODBUS, TEMP] 09:01:33 deviceResources: 09:01:33 - description: TestDescription 09:01:33 name: TestDeviceResourceName 09:01:33 tag: TestTag 09:01:33 properties: 09:01:33 type: Int16 09:01:33 readWrite: RW 09:01:33 attributes: 09:01:33 TestAttribute: TestAttributeValue 09:01:33 deviceCommands: 09:01:33 - name: TestProfileResource 09:01:33 get: 09:01:33 - deviceResource: TestDeviceResourceName 09:01:33 set: 09:01:33 - deviceResource: TestDeviceResourceName 09:01:33 coreCommands: 09:01:33 - name: TestProfileResource 09:01:33 get: true 09:01:33 put: true 09:01:33 09:01:33 {"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:01:33 {"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:01:33 {"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:01:33 --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) 09:01:33 --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) 09:01:33 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] 09:01:33 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' 09:01:33 09:01:33 goroutine 384 [running]: 09:01:33 testing.tRunner.func1.1(0x67eb60, 0xc0004dbba0) 09:01:33 /usr/local/go/src/testing/testing.go:1072 +0x30d 09:01:33 testing.tRunner.func1(0xc0004aa900) 09:01:33 /usr/local/go/src/testing/testing.go:1075 +0x41a 09:01:33 panic(0x67eb60, 0xc0004dbba0) 09:01:33 /usr/local/go/src/runtime/panic.go:969 +0x1b9 09:01:33 github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0xc0001054a0, 0x68ede6, 0x27, 0x68edb6, 0xe, 0x68edf0, 0x0, 0x67eb00, 0x68edc6, 0x48) 09:01:33 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xf25 09:01:33 github.com/go-playground/validator/v10.(*Validate).extractStructCache(0xc0001054a0, 0x6c7a00, 0xc000117e20, 0x99, 0x667b25, 0xc, 0x0) 09:01:33 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x439 09:01:33 github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0000b2120, 0x737f80, 0xc000126000, 0x6c7a00, 0xc000117e20, 0x99, 0x6c7a00, 0xc000117e20, 0x99, 0x73d420, ...) 09:01:33 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x9e5 09:01:33 github.com/go-playground/validator/v10.(*validate).traverseField(0xc0000b2120, 0x737f80, 0xc000126000, 0x6a8960, 0xc000117e10, 0x99, 0x6c7a00, 0xc000117e20, 0x99, 0xc000404340, ...) 09:01:33 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x3d0c 09:01:33 github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0000b2120, 0x737f80, 0xc000126000, 0x6a8960, 0xc000117e10, 0x99, 0x6a8960, 0xc000117e10, 0x99, 0x73d420, ...) 09:01:33 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x4e9 09:01:33 github.com/go-playground/validator/v10.(*Validate).StructCtx(0xc0001054a0, 0x737f80, 0xc000126000, 0x6a8960, 0xc000117e10, 0xc000034d10, 0x40d670) 09:01:33 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x38a 09:01:33 github.com/go-playground/validator/v10.(*Validate).Struct(...) 09:01:33 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 09:01:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x6a8960, 0xc000117e10, 0x6a8960, 0xc000117e10) 09:01:33 /w/workspace/go-mod-core-contracts/10/v2/validator.go:54 +0x74 09:01:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) 09:01:33 /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription.go:28 09:01:33 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0xc0004aa900) 09:01:33 /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription_test.go:149 +0xc8 09:01:33 testing.tRunner(0xc0004aa900, 0xc0004dba20) 09:01:33 /usr/local/go/src/testing/testing.go:1123 +0xef 09:01:33 created by testing.(*T).Run 09:01:33 /usr/local/go/src/testing/testing.go:1168 +0x2b3 09:01:33 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.037s 09:01:33 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.008s coverage: 100.0% of statements 09:01:33 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 09:01:33 FAIL 09:01:33 make: *** [Makefile:6: test] Error 1 [Pipeline] } 09:01:33 $ docker stop --time=1 dc6f9cf2e61d6db6f84125efd857f404430f312eb31a503e8072e37cdd63feec 09:01:35 $ docker rm -f dc6f9cf2e61d6db6f84125efd857f404430f312eb31a503e8072e37cdd63feec [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:01:37 Failed in branch amd64 09:01:37 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 09:01:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.049s coverage: 85.7% of statements 09:01:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.037s coverage: 100.0% of statements 09:01:41 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.048s coverage: 45.4% of statements 09:01:41 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.030s coverage: 77.8% of statements 09:01:41 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 09:01:42 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.078s coverage: 26.3% of statements 09:01:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.046s coverage: 14.7% of statements 09:01:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.027s coverage: 100.0% of statements 09:01:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.087s coverage: 91.8% of statements 09:01:44 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 09:01:44 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 09:01:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.040s coverage: 100.0% of statements 09:01:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.018s coverage: 36.7% of statements 09:01:50 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.114s coverage: 63.0% of statements 09:01:50 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.009s coverage: 26.3% of statements 09:01:50 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.042s coverage: 15.4% of statements 09:01:50 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.033s coverage: 15.4% of statements 09:01:50 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.030s coverage: 14.3% of statements 09:01:50 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 09:01:54 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.252s coverage: 84.8% of statements 09:01:54 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 09:01:54 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 09:01:54 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 09:01:54 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.068s coverage: 33.2% of statements 09:01:54 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.036s coverage: 94.4% of statements 09:01:55 {"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:01:55 {"requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1611910915,"lastReported":1611910915,"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:01:55 baserequest: 09:01:55 requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 09:01:55 profile: 09:01:55 versionable: 09:01:55 apiversion: "" 09:01:55 id: "" 09:01:55 name: TestDeviceProfileName 09:01:55 manufacturer: TestManufacturer 09:01:55 description: TestDescription 09:01:55 model: TestModel 09:01:55 labels: [MODBUS, TEMP] 09:01:55 deviceResources: 09:01:55 - description: TestDescription 09:01:55 name: TestDeviceResourceName 09:01:55 tag: TestTag 09:01:55 properties: 09:01:55 type: Int16 09:01:55 readWrite: RW 09:01:55 attributes: 09:01:55 TestAttribute: TestAttributeValue 09:01:55 deviceCommands: 09:01:55 - name: TestProfileResource 09:01:55 get: 09:01:55 - deviceResource: TestDeviceResourceName 09:01:55 set: 09:01:55 - deviceResource: TestDeviceResourceName 09:01:55 coreCommands: 09:01:55 - name: TestProfileResource 09:01:55 get: true 09:01:55 put: true 09:01:55 09:01:55 {"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:01:55 {"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:01:55 {"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:01:55 --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) 09:01:55 --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) 09:01:55 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' [recovered] 09:01:55 panic: Undefined validation function 'edgex-dto-autoevent-frequency' on field 'ResendInterval' 09:01:55 09:01:55 goroutine 397 [running]: 09:01:55 testing.tRunner.func1.1(0x242c00, 0x400010b3b0) 09:01:55 /usr/local/go/src/testing/testing.go:1072 +0x240 09:01:55 testing.tRunner.func1(0x4000083c80) 09:01:55 /usr/local/go/src/testing/testing.go:1075 +0x34c 09:01:55 panic(0x242c00, 0x400010b3b0) 09:01:55 /usr/local/go/src/runtime/panic.go:969 +0x15c 09:01:55 github.com/go-playground/validator/v10.(*Validate).parseFieldTagsRecursive(0x40001054a0, 0x252ee6, 0x27, 0x252eb6, 0xe, 0x252ef0, 0x0, 0x242c00, 0x252ec6, 0x48) 09:01:55 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:289 +0xcf0 09:01:55 github.com/go-playground/validator/v10.(*Validate).extractStructCache(0x40001054a0, 0x28b880, 0x40000a7ef0, 0x99, 0x22bb29, 0xc, 0x0) 09:01:55 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/cache.go:150 +0x328 09:01:55 github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013e5a0, 0x2fc000, 0x400011e000, 0x28b880, 0x40000a7ef0, 0x99, 0x28b880, 0x40000a7ef0, 0x99, 0x301300, ...) 09:01:55 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:37 +0x6f4 09:01:55 github.com/go-playground/validator/v10.(*validate).traverseField(0x400013e5a0, 0x2fc000, 0x400011e000, 0x26c8c0, 0x40000a7ee0, 0x99, 0x28b880, 0x40000a7ef0, 0x99, 0x400048e000, ...) 09:01:55 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:225 +0x2fbc 09:01:55 github.com/go-playground/validator/v10.(*validate).validateStruct(0x400013e5a0, 0x2fc000, 0x400011e000, 0x26c8c0, 0x40000a7ee0, 0x99, 0x26c8c0, 0x40000a7ee0, 0x99, 0x301300, ...) 09:01:55 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator.go:77 +0x320 09:01:55 github.com/go-playground/validator/v10.(*Validate).StructCtx(0x40001054a0, 0x2fc000, 0x400011e000, 0x26c8c0, 0x40000a7ee0, 0x26c8c0, 0x3a1c26) 09:01:55 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:304 +0x294 09:01:55 github.com/go-playground/validator/v10.(*Validate).Struct(...) 09:01:55 /go/pkg/mod/github.com/go-playground/validator/v10@v10.3.0/validator_instance.go:277 09:01:55 github.com/edgexfoundry/go-mod-core-contracts/v2/v2.Validate(0x26c8c0, 0x40000a7ee0, 0x26c8c0, 0x40000a7ee0) 09:01:55 /w/workspace/go-mod-core-contracts/10/v2/validator.go:54 +0x64 09:01:55 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.AddSubscriptionRequest.Validate(...) 09:01:55 /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription.go:28 09:01:55 github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests.TestAddSubscriptionRequest_Validate.func1(0x4000083c80) 09:01:55 /w/workspace/go-mod-core-contracts/10/v2/dtos/requests/subscription_test.go:149 +0xa0 09:01:55 testing.tRunner(0x4000083c80, 0x400010b210) 09:01:55 /usr/local/go/src/testing/testing.go:1123 +0xdc 09:01:55 created by testing.(*T).Run 09:01:55 /usr/local/go/src/testing/testing.go:1168 +0x244 09:01:55 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.150s 09:01:55 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.025s coverage: 100.0% of statements 09:01:55 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 09:01:55 FAIL 09:01:56 make: *** [Makefile:6: test] Error 1 [Pipeline] } 09:01:56 $ docker stop --time=1 cffdc1398ade717bd4bd6c133edcf8b0da6775c5d23830a88f109d57f5d88c88 09:01:58 $ docker rm -f cffdc1398ade717bd4bd6c133edcf8b0da6775c5d23830a88f109d57f5d88c88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:01:59 Failed in branch arm64 [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:02:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:02:03 ---> package-listing.sh 09:02:03 ++ facter osfamily 09:02:03 ++ tr '[:upper:]' '[:lower:]' 09:02:03 + OS_FAMILY=redhat 09:02:03 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 09:02:03 + START_PACKAGES=/tmp/packages_start.txt 09:02:03 + END_PACKAGES=/tmp/packages_end.txt 09:02:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:02:03 + PACKAGES=/tmp/packages_start.txt 09:02:03 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 09:02:03 + PACKAGES=/tmp/packages_end.txt 09:02:03 + case "${OS_FAMILY}" in 09:02:03 + rpm -qa 09:02:03 + sort 09:02:09 + '[' -f /tmp/packages_start.txt ']' 09:02:09 + '[' -f /tmp/packages_end.txt ']' 09:02:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:02:09 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 09:02:09 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ 09:02:09 + 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:02:09 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:02:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:02:09 09:02:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:02:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:02:10 alpine: Pulling from edgex-lftools-log-publisher 09:02:10 df20fa9351a1: Pulling fs layer 09:02:10 36b3adc4ff6f: Pulling fs layer 09:02:10 8ad3a11d3b57: Pulling fs layer 09:02:10 46f8f816bc3b: Pulling fs layer 09:02:10 93b61091891f: Pulling fs layer 09:02:10 93b9cdb0e59b: Pulling fs layer 09:02:10 5e14af77c1be: Pulling fs layer 09:02:10 01666e4c0597: Pulling fs layer 09:02:10 aa168da1d23b: Pulling fs layer 09:02:10 93b9cdb0e59b: Waiting 09:02:10 5e14af77c1be: Waiting 09:02:10 01666e4c0597: Waiting 09:02:10 aa168da1d23b: Waiting 09:02:10 46f8f816bc3b: Waiting 09:02:10 93b61091891f: Waiting 09:02:10 36b3adc4ff6f: Verifying Checksum 09:02:10 36b3adc4ff6f: Download complete 09:02:10 46f8f816bc3b: Verifying Checksum 09:02:10 46f8f816bc3b: Download complete 09:02:10 df20fa9351a1: Verifying Checksum 09:02:10 df20fa9351a1: Download complete 09:02:10 93b61091891f: Verifying Checksum 09:02:10 93b61091891f: Download complete 09:02:10 93b9cdb0e59b: Verifying Checksum 09:02:10 93b9cdb0e59b: Download complete 09:02:10 5e14af77c1be: Download complete 09:02:10 01666e4c0597: Verifying Checksum 09:02:10 01666e4c0597: Download complete 09:02:10 8ad3a11d3b57: Verifying Checksum 09:02:10 8ad3a11d3b57: Download complete 09:02:10 df20fa9351a1: Pull complete 09:02:11 36b3adc4ff6f: Pull complete 09:02:12 8ad3a11d3b57: Pull complete 09:02:12 46f8f816bc3b: Pull complete 09:02:12 93b61091891f: Pull complete 09:02:12 93b9cdb0e59b: Pull complete 09:02:12 aa168da1d23b: Verifying Checksum 09:02:12 aa168da1d23b: Download complete 09:02:12 5e14af77c1be: Pull complete 09:02:13 01666e4c0597: Pull complete 09:02:19 aa168da1d23b: Pull complete 09:02:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:02:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:02:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:02:20 prd-centos7-docker-4c-2g-23940 does not seem to be running inside a container 09:02:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:02:23 $ docker top 410d8bb8d27ee5b0298b5345bc89fb7b45f35046525c83d47b69917c360b4e86 -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:24 + touch /tmp/pre-build-complete [Pipeline] sh 09:02:24 + mkdir -p /var/log/sa [Pipeline] sh 09:02:24 + ls /var/log/sa-host 09:02:24 + sadf -c /var/log/sa-host/sa23 09:02:24 file_magic: OK 09:02:24 HZ: Using current value: 100 09:02:24 file_header: OK 09:02:24 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:02:24 Statistics: 09:02:24 Hnuu...uuuununununu... 09:02:24 File successfully converted to sysstat format version 12.2.1 09:02:24 + sadf -c /var/log/sa-host/sa29 09:02:24 file_magic: OK 09:02:24 HZ: Using current value: 100 09:02:24 file_header: OK 09:02:24 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:02:24 Statistics: 09:02:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:02:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:25 provisioning config files... 09:02:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config4493393831606675004tmp [Pipeline] { [Pipeline] echo 09:02:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:02:25 ---> create-netrc.sh [Pipeline] } 09:02:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:02:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:02:25 ---> python-tools-install.sh [Pipeline] echo 09:02:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:02:26 ---> sudo-logs.sh 09:02:26 Archiving 'sudo' log.. [Pipeline] echo 09:02:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:02:26 ---> job-cost.sh 09:02:26 lf-activate-venv: SKIPPING 09:02:26 INFO: No Stack... 09:02:27 INFO: Retrieving Pricing Info for: v1-standard-2 09:02:28 INFO: Archiving Costs [Pipeline] echo 09:02:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:02:28 ---> logs-deploy.sh 09:02:28 lf-activate-venv: SKIPPING 09:02:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/10 09:02:28 INFO: archiving workspace using pattern(s): 09:02:30 Archives upload complete. 09:02:30 INFO: archiving logs to Nexus