Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 5330e7a1e14f4aae69f926f73cef49e9e128662d rather than a36b3f4de17f3e1a96ecb644852db914eafb5d43 Obtained Jenkinsfile from 5330e7a1e14f4aae69f926f73cef49e9e128662d 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-24466 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-439 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5330e7a1e14f4aae69f926f73cef49e9e128662d into PR head commit a36b3f4de17f3e1a96ecb644852db914eafb5d43 Merge succeeded, producing 10c6e701a9b81821b8ff7a34f748e0f354bc0596 Checking out Revision 10c6e701a9b81821b8ff7a34f748e0f354bc0596 (PR-439) > git config core.sparsecheckout # timeout=10 > git checkout -f a36b3f4de17f3e1a96ecb644852db914eafb5d43 # 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 5330e7a1e14f4aae69f926f73cef49e9e128662d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10c6e701a9b81821b8ff7a34f748e0f354bc0596 # timeout=10 Commit message: "Merge commit '5330e7a1e14f4aae69f926f73cef49e9e128662d' into HEAD" > git rev-list --no-walk a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:42:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:46 ========================================================= 00:42:46 EdgeX Global Pipelines Version Info 00:42:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:48 ------------------- 00:42:48 stable info: 00:42:48 ------------------- 00:42:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:48 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:42:48 Message: update stable to v1.0.179 00:42:48 ------------------- 00:42:48 experimental info: 00:42:48 ------------------- 00:42:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:48 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:42:48 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:42:51 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:42:52 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 00:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 00:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 00:42:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10c6e701a9b81821b8ff7a34f748e0f354bc0596 [Pipeline] echo 00:42:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10c6e70 [Pipeline] echo 00:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:53 + git log --format=format:%s -1 10c6e701a9b81821b8ff7a34f748e0f354bc0596 [Pipeline] echo 00:42:53 GIT_COMMIT: 10c6e701a9b81821b8ff7a34f748e0f354bc0596, Commit Message: Merge commit '5330e7a1e14f4aae69f926f73cef49e9e128662d' into HEAD [Pipeline] echo 00:42:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:54 00:42:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:42:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:54 latest: Pulling from edgex-devops/git-semver 00:42:54 31603596830f: Pulling fs layer 00:42:54 2a8b12db71e7: Pulling fs layer 00:42:54 6ca5941a6612: Pulling fs layer 00:42:54 ecc8261a40a4: Pulling fs layer 00:42:54 ecc8261a40a4: Waiting 00:42:54 2a8b12db71e7: Verifying Checksum 00:42:54 2a8b12db71e7: Download complete 00:42:54 31603596830f: Verifying Checksum 00:42:54 31603596830f: Download complete 00:42:55 ecc8261a40a4: Verifying Checksum 00:42:55 ecc8261a40a4: Download complete 00:42:55 6ca5941a6612: Verifying Checksum 00:42:55 6ca5941a6612: Download complete 00:42:55 31603596830f: Pull complete 00:42:55 2a8b12db71e7: Pull complete 00:42:56 6ca5941a6612: Pull complete 00:42:56 ecc8261a40a4: Pull complete 00:42:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:42:56 prd-centos7-docker-4c-2g-24466 does not seem to be running inside a container 00:42:56 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:42:58 $ docker top 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:59 [ssh-agent] Looking for ssh-agent implementation... 00:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:59 $ docker exec 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent 00:42:59 SSH_AUTH_SOCK=/tmp/ssh-BZE0aVGnORz2/agent.11 00:42:59 SSH_AGENT_PID=16 00:42:59 Running ssh-add (command line suppressed) 00:42:59 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_193641238518180448.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_193641238518180448.key) 00:42:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:00 + git tag --points-at HEAD [Pipeline] } 00:43:00 $ docker exec --env ******** --env ******** 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent -k 00:43:00 unset SSH_AUTH_SOCK; 00:43:00 unset SSH_AGENT_PID; 00:43:00 echo Agent pid 16 killed; 00:43:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:00 [ssh-agent] Looking for ssh-agent implementation... 00:43:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:00 $ docker exec 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent 00:43:00 SSH_AUTH_SOCK=/tmp/ssh-rUMNGyabT6Pu/agent.46 00:43:00 SSH_AGENT_PID=52 00:43:00 Running ssh-add (command line suppressed) 00:43:00 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_4025438500498319579.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_4025438500498319579.key) 00:43:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:01 + git semver init 00:43:01 # -> Open(): unable to determine branch for HEAD 00:43:01 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git 00:43:01 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 00:43:01 # $SEMVER_REMOTE_NAME = origin 00:43:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:43:01 # $SEMVER_USER_NAME = edgex-jenkins 00:43:01 # $SEMVER_BRANCH = PR-439 00:43:01 # $SEMVER_TEMP = /tmp/semver-129101660 00:43:01 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 00:43:02 # '/tmp/semver-129101660' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' 00:43:02 # -> Force: false 00:43:02 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } 00:43:02 $ docker exec --env ******** --env ******** 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent -k 00:43:02 unset SSH_AUTH_SOCK; 00:43:02 unset SSH_AGENT_PID; 00:43:02 echo Agent pid 52 killed; 00:43:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:02 + git semver [Pipeline] } 00:43:02 $ docker stop --time=1 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 00:43:04 $ docker rm -f 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:05 Stashed 1 file(s) [Pipeline] echo 00:43:05 [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 00:43:21 Still waiting to schedule task 00:43:21 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:43:21 Still waiting to schedule task 00:43:21 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:46:45 Running on prd-centos7-docker-4c-2g-24468 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 00:46:45 Running in /w/workspace/go-mod-core-contracts/16 [Pipeline] { [Pipeline] checkout 00:46:48 using credential edgex-jenkins-ssh 00:46:48 Cloning the remote Git repository 00:46:48 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:48 > git init /w/workspace/go-mod-core-contracts/16 # timeout=10 00:46:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:48 > git --version # timeout=10 00:46:48 > git --version # 'git version 2.24.3' 00:46:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:49 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:49 > 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 00:46:49 Merging remotes/origin/master commit 5330e7a1e14f4aae69f926f73cef49e9e128662d into PR head commit a36b3f4de17f3e1a96ecb644852db914eafb5d43 00:46:49 Merge succeeded, producing 8928882c57a9ea93ccbaefd6be2c3c5aef9d400f 00:46:49 Checking out Revision 8928882c57a9ea93ccbaefd6be2c3c5aef9d400f (PR-439) 00:46:49 > git config core.sparsecheckout # timeout=10 00:46:49 > git checkout -f a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 00:46:49 > git remote # timeout=10 00:46:49 > git config --get remote.origin.url # timeout=10 00:46:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:49 > git merge 5330e7a1e14f4aae69f926f73cef49e9e128662d # timeout=10 00:46:49 > git rev-parse HEAD^{commit} # timeout=10 00:46:49 > git config core.sparsecheckout # timeout=10 00:46:49 > git checkout -f 8928882c57a9ea93ccbaefd6be2c3c5aef9d400f # timeout=10 00:46:53 Commit message: "Merge commit '5330e7a1e14f4aae69f926f73cef49e9e128662d' into HEAD" 00:46:53 > git rev-list --no-walk a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:54 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:46:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:46:55 + true 00:46:55 + sudo service docker restart 00:46:55 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:46:56 ========================================================= 00:46:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:46:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:46:56 + 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 . 00:46:57 Sending build context to Docker daemon 2.558MB 00:46:57 Step 1/7 : ARG BASE=golang:1.15-alpine 00:46:57 Step 2/7 : FROM ${BASE} 00:46:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:46:57 188c0c94c7c5: Pulling fs layer 00:46:57 0ef7d3d256c8: Pulling fs layer 00:46:57 de9db76c5a1d: Pulling fs layer 00:46:57 bca2f99d35d6: Pulling fs layer 00:46:57 93359f2a8cfa: Pulling fs layer 00:46:57 7c6f9722023f: Pulling fs layer 00:46:57 a35cf1a2eb13: Pulling fs layer 00:46:57 93359f2a8cfa: Waiting 00:46:57 7c6f9722023f: Waiting 00:46:57 a35cf1a2eb13: Waiting 00:46:57 bca2f99d35d6: Waiting 00:46:57 de9db76c5a1d: Verifying Checksum 00:46:57 de9db76c5a1d: Download complete 00:46:57 0ef7d3d256c8: Verifying Checksum 00:46:57 0ef7d3d256c8: Download complete 00:46:57 93359f2a8cfa: Verifying Checksum 00:46:57 93359f2a8cfa: Download complete 00:46:57 7c6f9722023f: Verifying Checksum 00:46:57 7c6f9722023f: Download complete 00:46:58 188c0c94c7c5: Verifying Checksum 00:46:58 188c0c94c7c5: Download complete 00:46:58 188c0c94c7c5: Pull complete 00:46:58 0ef7d3d256c8: Pull complete 00:46:58 de9db76c5a1d: Pull complete 00:47:01 a35cf1a2eb13: Verifying Checksum 00:47:01 a35cf1a2eb13: Download complete 00:47:02 bca2f99d35d6: Verifying Checksum 00:47:02 bca2f99d35d6: Download complete 00:47:07 bca2f99d35d6: Pull complete 00:47:07 93359f2a8cfa: Pull complete 00:47:07 7c6f9722023f: Pull complete 00:47:14 a35cf1a2eb13: Pull complete 00:47:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:47:14 ---> a62c8e92a672 00:47:14 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:47:14 ---> Running in 9eafb69793bd 00:47:14 Removing intermediate container 9eafb69793bd 00:47:14 ---> 46ac6daebd36 00:47:14 Step 4/7 : RUN apk add bash 00:47:14 ---> Running in 151b019dbba7 00:47:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:47:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:47:16 OK: 166 MiB in 39 packages 00:47:17 Removing intermediate container 151b019dbba7 00:47:17 ---> 9bda1267db99 00:47:17 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:47:17 ---> Running in 0e26cafbbd98 00:47:17 Removing intermediate container 0e26cafbbd98 00:47:17 ---> d1d17e326467 00:47:17 Step 6/7 : COPY go.mod . 00:47:18 ---> a538afd707ff 00:47:18 Step 7/7 : RUN go mod download 00:47:18 ---> Running in accfa4cec022 00:47:30 Removing intermediate container accfa4cec022 00:47:30 ---> 51c78eb76431 00:47:30 Successfully built 51c78eb76431 00:47:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:47:30 + docker inspect -f . ci-base-image-x86_64 00:47:30 . [Pipeline] withDockerContainer 00:47:30 prd-centos7-docker-4c-2g-24468 does not seem to be running inside a container 00:47:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/16 -v /w/workspace/go-mod-core-contracts/16:/w/workspace/go-mod-core-contracts/16:rw,z -v /w/workspace/go-mod-core-contracts/16@tmp:/w/workspace/go-mod-core-contracts/16@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 00:47:31 $ docker top fb47b1e8e4e271ac4fae0f63112ee5a2b577e65da43dcdf791a122744588ab22 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:32 + go version 00:47:32 go version go1.15.5 linux/amd64 [Pipeline] } 00:47:32 $ docker stop --time=1 fb47b1e8e4e271ac4fae0f63112ee5a2b577e65da43dcdf791a122744588ab22 00:47:34 $ docker rm -f fb47b1e8e4e271ac4fae0f63112ee5a2b577e65da43dcdf791a122744588ab22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:47:35 + docker inspect -f . ci-base-image-x86_64 00:47:35 . [Pipeline] withDockerContainer 00:47:35 prd-centos7-docker-4c-2g-24468 does not seem to be running inside a container 00:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/16 -v /w/workspace/go-mod-core-contracts/16:/w/workspace/go-mod-core-contracts/16:rw,z -v /w/workspace/go-mod-core-contracts/16@tmp:/w/workspace/go-mod-core-contracts/16@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 00:47:36 $ docker top 0c7310cdfdbdff001cfbee9ee3dbf89b27a9b31e87bcd84474aa0ce3f0234db7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:36 + make test 00:47:36 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:47:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 00:47:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.026s coverage: 85.7% of statements 00:47:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.024s coverage: 100.0% of statements 00:47:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.027s coverage: 45.4% of statements 00:47:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.025s coverage: 77.8% of statements 00:47:44 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 00:47:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.018s coverage: 26.3% of statements 00:47:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.013s coverage: 14.7% of statements 00:47:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.007s coverage: 100.0% of statements 00:47:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.045s coverage: 91.8% of statements 00:47:45 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 00:47:45 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 00:47:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.010s coverage: 100.0% of statements 00:47:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.018s coverage: 36.7% of statements 00:47:47 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.027s coverage: 63.0% of statements 00:47:47 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.005s coverage: 26.3% of statements 00:47:47 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.006s coverage: 15.4% of statements 00:47:47 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.045s coverage: 15.4% of statements 00:47:47 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.016s coverage: 14.3% of statements 00:47:47 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 00:47:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.154s coverage: 84.8% of statements 00:47:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 00:47:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 00:47:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 00:47:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.028s coverage: 49.2% of statements 00:47:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.011s coverage: 94.7% of statements 00:47:49 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"apiVersion":"v2","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"}}}} 00:47:49 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1612226869,"lastReported":1612226869,"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}} 00:47:49 baserequest: 00:47:49 versionable: 00:47:49 apiversion: v2 00:47:49 requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 00:47:49 profile: 00:47:49 versionable: 00:47:49 apiversion: v2 00:47:49 id: "" 00:47:49 name: TestDeviceProfileName 00:47:49 manufacturer: TestManufacturer 00:47:49 description: TestDescription 00:47:49 model: TestModel 00:47:49 labels: [MODBUS, TEMP] 00:47:49 deviceResources: 00:47:49 - description: TestDescription 00:47:49 name: TestDeviceResourceName 00:47:49 tag: TestTag 00:47:49 properties: 00:47:49 type: Int16 00:47:49 readWrite: RW 00:47:49 attributes: 00:47:49 TestAttribute: TestAttributeValue 00:47:49 deviceCommands: 00:47:49 - name: TestProfileResource 00:47:49 get: 00:47:49 - deviceResource: TestDeviceResourceName 00:47:49 set: 00:47:49 - deviceResource: TestDeviceResourceName 00:47:49 coreCommands: 00:47:49 - name: TestProfileResource 00:47:49 get: true 00:47:49 put: true 00:47:49 00:47:49 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"apiVersion":"v2","name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} 00:47:49 {"apiVersion":"v2","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"}} 00:47:49 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"apiVersion":"v2","name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profileName":"TestDeviceProfileName","serviceName":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}]}} 00:47:49 --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) 00:47:49 --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) 00:47:49 subscription_test.go:150: 00:47:49 Error Trace: subscription_test.go:150 00:47:49 Error: Not equal: 00:47:49 expected: false 00:47:49 actual : true 00:47:49 Test: TestAddSubscriptionRequest_Validate/valid 00:47:49 Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:47:49 --- FAIL: TestAddSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) 00:47:49 subscription_test.go:150: 00:47:49 Error Trace: subscription_test.go:150 00:47:49 Error: Not equal: 00:47:49 expected: false 00:47:49 actual : true 00:47:49 Test: TestAddSubscriptionRequest_Validate/valid,_no_request_ID 00:47:49 Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:47:49 --- FAIL: TestAddSubscription_UnmarshalJSON (0.00s) 00:47:49 --- FAIL: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success (0.00s) 00:47:49 subscription_test.go:175: 00:47:49 Error Trace: subscription_test.go:175 00:47:49 Error: Received unexpected error: 00:47:49 AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required 00:47:49 Test: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success 00:47:49 --- FAIL: TestUpdateSubscriptionRequest_Validate (0.00s) 00:47:49 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid (0.00s) 00:47:49 subscription_test.go:268: 00:47:49 Error Trace: subscription_test.go:268 00:47:49 Error: Not equal: 00:47:49 expected: false 00:47:49 actual : true 00:47:49 Test: TestUpdateSubscriptionRequest_Validate/valid 00:47:49 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:47:49 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) 00:47:49 subscription_test.go:268: 00:47:49 Error Trace: subscription_test.go:268 00:47:49 Error: Not equal: 00:47:49 expected: false 00:47:49 actual : true 00:47:49 Test: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID 00:47:49 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:47:49 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_ID (0.00s) 00:47:49 subscription_test.go:268: 00:47:49 Error Trace: subscription_test.go:268 00:47:49 Error: Not equal: 00:47:49 expected: false 00:47:49 actual : true 00:47:49 Test: TestUpdateSubscriptionRequest_Validate/valid,_only_ID 00:47:49 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:47:49 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_name (0.00s) 00:47:49 subscription_test.go:268: 00:47:49 Error Trace: subscription_test.go:268 00:47:49 Error: Not equal: 00:47:49 expected: false 00:47:49 actual : true 00:47:49 Test: TestUpdateSubscriptionRequest_Validate/valid,_only_name 00:47:49 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:47:49 --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON (0.00s) 00:47:49 --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success (0.00s) 00:47:49 subscription_test.go:293: 00:47:49 Error Trace: subscription_test.go:293 00:47:49 Error: Received unexpected error: 00:47:49 UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required 00:47:49 Test: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success 00:47:49 FAIL 00:47:49 coverage: 88.7% of statements 00:47:49 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.045s 00:47:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.008s coverage: 100.0% of statements 00:47:49 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 00:47:49 FAIL 00:47:49 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:47:49 $ docker stop --time=1 0c7310cdfdbdff001cfbee9ee3dbf89b27a9b31e87bcd84474aa0ce3f0234db7 00:47:52 $ docker rm -f 0c7310cdfdbdff001cfbee9ee3dbf89b27a9b31e87bcd84474aa0ce3f0234db7 [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] } 00:47:54 Failed in branch amd64 00:48:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24469 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 00:48:22 Running in /w/workspace/go-mod-core-contracts/16 [Pipeline] { [Pipeline] checkout 00:48:28 using credential edgex-jenkins-ssh 00:48:28 Cloning the remote Git repository 00:48:28 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:48:29 > git init /w/workspace/go-mod-core-contracts/16 # timeout=10 00:48:29 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:48:29 > git --version # timeout=10 00:48:29 > git --version # 'git version 2.17.1' 00:48:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:31 Merging remotes/origin/master commit 5330e7a1e14f4aae69f926f73cef49e9e128662d into PR head commit a36b3f4de17f3e1a96ecb644852db914eafb5d43 00:48:30 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:48:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:30 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:48:30 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:48:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:30 > 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 00:48:31 > git config core.sparsecheckout # timeout=10 00:48:31 > git checkout -f a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 00:48:31 > git remote # timeout=10 00:48:31 > git config --get remote.origin.url # timeout=10 00:48:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:31 > git merge 5330e7a1e14f4aae69f926f73cef49e9e128662d # timeout=10 00:48:31 Merge succeeded, producing 6a708856e218d805b6cedaa9ca86e5e7e92b7319 00:48:31 Checking out Revision 6a708856e218d805b6cedaa9ca86e5e7e92b7319 (PR-439) 00:48:31 > git rev-parse HEAD^{commit} # timeout=10 00:48:31 > git config core.sparsecheckout # timeout=10 00:48:31 > git checkout -f 6a708856e218d805b6cedaa9ca86e5e7e92b7319 # timeout=10 00:48:36 Commit message: "Merge commit '5330e7a1e14f4aae69f926f73cef49e9e128662d' into HEAD" 00:48:36 > git rev-list --no-walk a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:48:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:48:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:48:38 + sudo service docker restart 00:48:38 + true [Pipeline] unstash [Pipeline] echo 00:48:41 ========================================================= 00:48:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:48:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:48:41 + 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 . 00:48:42 Sending build context to Docker daemon 2.558MB 00:48:42 Step 1/7 : ARG BASE=golang:1.15-alpine 00:48:42 Step 2/7 : FROM ${BASE} 00:48:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:48:43 5f621e34cdf4: Pulling fs layer 00:48:43 a4357932f1b6: Pulling fs layer 00:48:43 18c013af1878: Pulling fs layer 00:48:43 00ac8860ef70: Pulling fs layer 00:48:43 63d7cb157983: Pulling fs layer 00:48:43 b116817d02f9: Pulling fs layer 00:48:43 745a02a5169b: Pulling fs layer 00:48:43 00ac8860ef70: Waiting 00:48:43 63d7cb157983: Waiting 00:48:43 745a02a5169b: Waiting 00:48:43 b116817d02f9: Waiting 00:48:43 18c013af1878: Verifying Checksum 00:48:43 18c013af1878: Download complete 00:48:43 a4357932f1b6: Verifying Checksum 00:48:43 a4357932f1b6: Download complete 00:48:43 63d7cb157983: Download complete 00:48:43 b116817d02f9: Verifying Checksum 00:48:43 b116817d02f9: Download complete 00:48:43 5f621e34cdf4: Verifying Checksum 00:48:43 5f621e34cdf4: Download complete 00:48:44 5f621e34cdf4: Pull complete 00:48:44 a4357932f1b6: Pull complete 00:48:45 18c013af1878: Pull complete 00:48:45 745a02a5169b: Verifying Checksum 00:48:45 745a02a5169b: Download complete 00:48:46 00ac8860ef70: Verifying Checksum 00:48:46 00ac8860ef70: Download complete 00:48:57 00ac8860ef70: Pull complete 00:48:57 63d7cb157983: Pull complete 00:48:57 b116817d02f9: Pull complete 00:49:01 745a02a5169b: Pull complete 00:49:01 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:49:01 ---> b7e6874047d6 00:49:01 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:49:04 ---> Running in a61815dbb6a0 00:49:04 Removing intermediate container a61815dbb6a0 00:49:04 ---> cddbf1618984 00:49:04 Step 4/7 : RUN apk add bash 00:49:04 ---> Running in 4a3c0256429b 00:49:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:49:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:49:08 OK: 142 MiB in 39 packages 00:49:09 Removing intermediate container 4a3c0256429b 00:49:09 ---> 128f4d7643be 00:49:09 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:49:09 ---> Running in 632ceca82d2f 00:49:09 Removing intermediate container 632ceca82d2f 00:49:09 ---> 330a740ce360 00:49:09 Step 6/7 : COPY go.mod . 00:49:10 ---> 23a27b8079dd 00:49:10 Step 7/7 : RUN go mod download 00:49:10 ---> Running in b9fdad1f2f46 00:49:26 Removing intermediate container b9fdad1f2f46 00:49:26 ---> c938611964aa 00:49:26 Successfully built c938611964aa 00:49:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:49:26 + docker inspect -f . ci-base-image-arm64 00:49:26 . [Pipeline] withDockerContainer 00:49:27 prd-ubuntu18.04-docker-arm64-4c-16g-24469 does not seem to be running inside a container 00:49:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/16 -v /w/workspace/go-mod-core-contracts/16:/w/workspace/go-mod-core-contracts/16:rw,z -v /w/workspace/go-mod-core-contracts/16@tmp:/w/workspace/go-mod-core-contracts/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:29 $ docker top cb98735f06ecb8c3401cbdc711aaa46c8acf1c6cf3c97e3cddfcb5e048ba34dc -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:30 + go version 00:49:30 go version go1.15.5 linux/arm64 [Pipeline] } 00:49:30 $ docker stop --time=1 cb98735f06ecb8c3401cbdc711aaa46c8acf1c6cf3c97e3cddfcb5e048ba34dc 00:49:32 $ docker rm -f cb98735f06ecb8c3401cbdc711aaa46c8acf1c6cf3c97e3cddfcb5e048ba34dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:49:33 + docker inspect -f . ci-base-image-arm64 00:49:33 . [Pipeline] withDockerContainer 00:49:33 prd-ubuntu18.04-docker-arm64-4c-16g-24469 does not seem to be running inside a container 00:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/16 -v /w/workspace/go-mod-core-contracts/16:/w/workspace/go-mod-core-contracts/16:rw,z -v /w/workspace/go-mod-core-contracts/16@tmp:/w/workspace/go-mod-core-contracts/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:35 $ docker top 531d15c7ec93b696a82da3e03b8be21b79381e1b2a9c7416816ab86200e53344 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:36 + make test 00:49:36 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:50:03 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 00:50:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.059s coverage: 85.7% of statements 00:50:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.025s coverage: 100.0% of statements 00:50:05 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.035s coverage: 45.4% of statements 00:50:05 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.037s coverage: 77.8% of statements 00:50:05 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 00:50:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.022s coverage: 26.3% of statements 00:50:08 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.045s coverage: 14.7% of statements 00:50:08 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.040s coverage: 100.0% of statements 00:50:09 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.092s coverage: 91.8% of statements 00:50:09 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] 00:50:09 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] 00:50:09 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.037s coverage: 100.0% of statements 00:50:09 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.038s coverage: 36.7% of statements 00:50:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.090s coverage: 63.0% of statements 00:50:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.047s coverage: 26.3% of statements 00:50:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.040s coverage: 15.4% of statements 00:50:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.041s coverage: 15.4% of statements 00:50:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.021s coverage: 14.3% of statements 00:50:15 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] 00:50:20 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.337s coverage: 84.8% of statements 00:50:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] 00:50:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] 00:50:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] 00:50:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.131s coverage: 49.2% of statements 00:50:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.052s coverage: 94.7% of statements 00:50:23 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"apiVersion":"v2","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"}}}} 00:50:23 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1612227022,"lastReported":1612227022,"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}} 00:50:23 baserequest: 00:50:23 versionable: 00:50:23 apiversion: v2 00:50:23 requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 00:50:23 profile: 00:50:23 versionable: 00:50:23 apiversion: v2 00:50:23 id: "" 00:50:23 name: TestDeviceProfileName 00:50:23 manufacturer: TestManufacturer 00:50:23 description: TestDescription 00:50:23 model: TestModel 00:50:23 labels: [MODBUS, TEMP] 00:50:23 deviceResources: 00:50:23 - description: TestDescription 00:50:23 name: TestDeviceResourceName 00:50:23 tag: TestTag 00:50:23 properties: 00:50:23 type: Int16 00:50:23 readWrite: RW 00:50:23 attributes: 00:50:23 TestAttribute: TestAttributeValue 00:50:23 deviceCommands: 00:50:23 - name: TestProfileResource 00:50:23 get: 00:50:23 - deviceResource: TestDeviceResourceName 00:50:23 set: 00:50:23 - deviceResource: TestDeviceResourceName 00:50:23 coreCommands: 00:50:23 - name: TestProfileResource 00:50:23 get: true 00:50:23 put: true 00:50:23 00:50:23 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"apiVersion":"v2","name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} 00:50:23 {"apiVersion":"v2","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"}} 00:50:23 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"apiVersion":"v2","name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profileName":"TestDeviceProfileName","serviceName":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"frequency":"300ms","onChange":true,"resource":"TestDevice"}]}} 00:50:23 --- FAIL: TestAddSubscriptionRequest_Validate (0.01s) 00:50:23 --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) 00:50:23 subscription_test.go:150: 00:50:23 Error Trace: subscription_test.go:150 00:50:23 Error: Not equal: 00:50:23 expected: false 00:50:23 actual : true 00:50:23 Test: TestAddSubscriptionRequest_Validate/valid 00:50:23 Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:50:23 --- FAIL: TestAddSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) 00:50:23 subscription_test.go:150: 00:50:23 Error Trace: subscription_test.go:150 00:50:23 Error: Not equal: 00:50:23 expected: false 00:50:23 actual : true 00:50:23 Test: TestAddSubscriptionRequest_Validate/valid,_no_request_ID 00:50:23 Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:50:23 --- FAIL: TestAddSubscription_UnmarshalJSON (0.00s) 00:50:23 --- FAIL: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success (0.00s) 00:50:23 subscription_test.go:175: 00:50:23 Error Trace: subscription_test.go:175 00:50:23 Error: Received unexpected error: 00:50:23 AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required 00:50:23 Test: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success 00:50:23 --- FAIL: TestUpdateSubscriptionRequest_Validate (0.01s) 00:50:23 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid (0.00s) 00:50:23 subscription_test.go:268: 00:50:23 Error Trace: subscription_test.go:268 00:50:23 Error: Not equal: 00:50:23 expected: false 00:50:23 actual : true 00:50:23 Test: TestUpdateSubscriptionRequest_Validate/valid 00:50:23 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:50:23 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) 00:50:23 subscription_test.go:268: 00:50:23 Error Trace: subscription_test.go:268 00:50:23 Error: Not equal: 00:50:23 expected: false 00:50:23 actual : true 00:50:23 Test: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID 00:50:23 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:50:23 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_ID (0.00s) 00:50:23 subscription_test.go:268: 00:50:23 Error Trace: subscription_test.go:268 00:50:23 Error: Not equal: 00:50:23 expected: false 00:50:23 actual : true 00:50:23 Test: TestUpdateSubscriptionRequest_Validate/valid,_only_ID 00:50:23 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:50:23 --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_name (0.00s) 00:50:23 subscription_test.go:268: 00:50:23 Error Trace: subscription_test.go:268 00:50:23 Error: Not equal: 00:50:23 expected: false 00:50:23 actual : true 00:50:23 Test: TestUpdateSubscriptionRequest_Validate/valid,_only_name 00:50:23 Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) 00:50:23 --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON (0.00s) 00:50:23 --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success (0.00s) 00:50:23 subscription_test.go:293: 00:50:23 Error Trace: subscription_test.go:293 00:50:23 Error: Received unexpected error: 00:50:23 UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required 00:50:23 Test: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success 00:50:23 FAIL 00:50:23 coverage: 88.7% of statements 00:50:23 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.180s 00:50:23 ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.027s coverage: 100.0% of statements 00:50:23 ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] 00:50:23 FAIL 00:50:23 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:50:23 $ docker stop --time=1 531d15c7ec93b696a82da3e03b8be21b79381e1b2a9c7416816ab86200e53344 00:50:26 $ docker rm -f 531d15c7ec93b696a82da3e03b8be21b79381e1b2a9c7416816ab86200e53344 [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] } 00:50:28 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 00:50:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:50:31 ---> package-listing.sh 00:50:31 ++ tr '[:upper:]' '[:lower:]' 00:50:31 ++ facter osfamily 00:50:31 + OS_FAMILY=redhat 00:50:31 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 00:50:31 + START_PACKAGES=/tmp/packages_start.txt 00:50:31 + END_PACKAGES=/tmp/packages_end.txt 00:50:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:50:31 + PACKAGES=/tmp/packages_start.txt 00:50:31 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 00:50:31 + PACKAGES=/tmp/packages_end.txt 00:50:31 + case "${OS_FAMILY}" in 00:50:31 + rpm -qa 00:50:31 + sort 00:50:37 + '[' -f /tmp/packages_start.txt ']' 00:50:37 + '[' -f /tmp/packages_end.txt ']' 00:50:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:50:37 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 00:50:37 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ 00:50:37 + 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 00:50:37 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 00:50:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:50:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:50:37 00:50:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:50:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:50:38 alpine: Pulling from edgex-lftools-log-publisher 00:50:38 df20fa9351a1: Pulling fs layer 00:50:38 36b3adc4ff6f: Pulling fs layer 00:50:38 8ad3a11d3b57: Pulling fs layer 00:50:38 46f8f816bc3b: Pulling fs layer 00:50:38 93b61091891f: Pulling fs layer 00:50:38 93b9cdb0e59b: Pulling fs layer 00:50:38 5e14af77c1be: Pulling fs layer 00:50:38 01666e4c0597: Pulling fs layer 00:50:38 aa168da1d23b: Pulling fs layer 00:50:38 46f8f816bc3b: Waiting 00:50:38 93b61091891f: Waiting 00:50:38 93b9cdb0e59b: Waiting 00:50:38 5e14af77c1be: Waiting 00:50:38 01666e4c0597: Waiting 00:50:38 aa168da1d23b: Waiting 00:50:38 36b3adc4ff6f: Verifying Checksum 00:50:38 36b3adc4ff6f: Download complete 00:50:38 46f8f816bc3b: Verifying Checksum 00:50:38 46f8f816bc3b: Download complete 00:50:38 93b61091891f: Download complete 00:50:38 93b9cdb0e59b: Verifying Checksum 00:50:38 93b9cdb0e59b: Download complete 00:50:38 5e14af77c1be: Verifying Checksum 00:50:38 5e14af77c1be: Download complete 00:50:38 01666e4c0597: Download complete 00:50:38 df20fa9351a1: Verifying Checksum 00:50:38 df20fa9351a1: Download complete 00:50:38 8ad3a11d3b57: Verifying Checksum 00:50:38 8ad3a11d3b57: Download complete 00:50:39 df20fa9351a1: Pull complete 00:50:39 36b3adc4ff6f: Pull complete 00:50:39 8ad3a11d3b57: Pull complete 00:50:40 aa168da1d23b: Verifying Checksum 00:50:40 aa168da1d23b: Download complete 00:50:40 46f8f816bc3b: Pull complete 00:50:41 93b61091891f: Pull complete 00:50:41 93b9cdb0e59b: Pull complete 00:50:41 5e14af77c1be: Pull complete 00:50:41 01666e4c0597: Pull complete 00:50:48 aa168da1d23b: Pull complete 00:50:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:50:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:50:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:50:48 prd-centos7-docker-4c-2g-24466 does not seem to be running inside a container 00:50:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:50:51 $ docker top 1aa95872b46c91c4ff54f3ca14c78e19a3cf9100dbd6bb5185f6fe1f79a04374 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:52 + touch /tmp/pre-build-complete [Pipeline] sh 00:50:52 + mkdir -p /var/log/sa [Pipeline] sh 00:50:52 + ls /var/log/sa-host 00:50:52 + sadf -c /var/log/sa-host/sa02 00:50:52 file_magic: OK 00:50:52 HZ: Using current value: 100 00:50:52 file_header: OK 00:50:52 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 00:50:52 Statistics: 00:50:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:50:52 File successfully converted to sysstat format version 12.2.1 00:50:52 + sadf -c /var/log/sa-host/sa23 00:50:52 file_magic: OK 00:50:52 HZ: Using current value: 100 00:50:52 file_header: OK 00:50:52 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 00:50:52 Statistics: 00:50:52 Hnuu...uuuununununu... 00:50:52 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:52 provisioning config files... 00:50:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config447360731361305489tmp [Pipeline] { [Pipeline] echo 00:50:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:50:53 ---> create-netrc.sh [Pipeline] } 00:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:50:53 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:50:53 ---> python-tools-install.sh [Pipeline] echo 00:50:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:50:53 ---> sudo-logs.sh 00:50:53 Archiving 'sudo' log.. [Pipeline] echo 00:50:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:50:54 ---> job-cost.sh 00:50:54 lf-activate-venv: SKIPPING 00:50:54 INFO: No Stack... 00:50:55 INFO: Retrieving Pricing Info for: v1-standard-2 00:50:55 INFO: Archiving Costs [Pipeline] echo 00:50:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:50:56 ---> logs-deploy.sh 00:50:56 lf-activate-venv: SKIPPING 00:50:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/16 00:50:56 INFO: archiving workspace using pattern(s): 00:50:58 Archives upload complete. 00:50:58 INFO: archiving logs to Nexus 00:50:59 ---> uname -a: 00:50:59 Linux prd-centos7-docker-4c-2g-24466.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:50:59 00:50:59 00:50:59 ---> lscpu: 00:50:59 Architecture: x86_64 00:50:59 CPU op-mode(s): 32-bit, 64-bit 00:50:59 Byte Order: Little Endian 00:50:59 Address sizes: 40 bits physical, 48 bits virtual 00:50:59 CPU(s): 4 00:50:59 On-line CPU(s) list: 0-3 00:50:59 Thread(s) per core: 1 00:50:59 Core(s) per socket: 1 00:50:59 Socket(s): 4 00:50:59 NUMA node(s): 1 00:50:59 Vendor ID: GenuineIntel 00:50:59 CPU family: 6 00:50:59 Model: 44 00:50:59 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:50:59 Stepping: 1 00:50:59 CPU MHz: 2933.442 00:50:59 BogoMIPS: 5866.88 00:50:59 Virtualization: VT-x 00:50:59 Hypervisor vendor: KVM 00:50:59 Virtualization type: full 00:50:59 L1d cache: 128 KiB 00:50:59 L1i cache: 128 KiB 00:50:59 L2 cache: 16 MiB 00:50:59 L3 cache: 64 MiB 00:50:59 NUMA node0 CPU(s): 0-3 00:50:59 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:50:59 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:50:59 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:50:59 Vulnerability Meltdown: Mitigation; PTI 00:50:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:50:59 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:50:59 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:50:59 Vulnerability Srbds: Not affected 00:50:59 Vulnerability Tsx async abort: Not affected 00:50:59 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 00:50:59 00:50:59 00:50:59 ---> nproc: 00:50:59 4 00:50:59 00:50:59 00:50:59 ---> df -h: 00:50:59 Filesystem Size Used Available Use% Mounted on 00:50:59 overlay 50.0G 7.3G 42.7G 15% / 00:50:59 tmpfs 64.0M 0 64.0M 0% /dev 00:50:59 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:50:59 shm 64.0M 0 64.0M 0% /dev/shm 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dry_go-mod-core-contracts_PR-439 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dry_go-mod-core-contracts_PR-439@tmp 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:50:59 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:50:59 00:50:59 00:50:59 ---> free -m: 00:50:59 total used free shared buff/cache available 00:50:59 Mem: 1837 704 85 0 1046 1028 00:50:59 Swap: 1023 0 1023 00:50:59 00:50:59 00:50:59 ---> ip addr: 00:50:59 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:50:59 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:50:59 inet 127.0.0.1/8 scope host lo 00:50:59 valid_lft forever preferred_lft forever 00:50:59 inet6 ::1/128 scope host 00:50:59 valid_lft forever preferred_lft forever 00:50:59 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:50:59 link/ether fa:16:3e:8c:54:c7 brd ff:ff:ff:ff:ff:ff 00:50:59 inet 10.30.122.98/23 brd 10.30.123.255 scope global dynamic eth0 00:50:59 valid_lft 85875sec preferred_lft 85875sec 00:50:59 inet6 fe80::f816:3eff:fe8c:54c7/64 scope link 00:50:59 valid_lft forever preferred_lft forever 00:50:59 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:50:59 link/ether 02:42:06:b6:66:2e brd ff:ff:ff:ff:ff:ff 00:50:59 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:50:59 valid_lft forever preferred_lft forever 00:50:59 inet6 fe80::42:6ff:feb6:662e/64 scope link 00:50:59 valid_lft forever preferred_lft forever 00:50:59 00:50:59 00:50:59 ---> sar -b -r -n DEV: 00:50:59 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/02/21 _x86_64_ (4 CPU) 00:50:59 00:50:59 00:42:02 LINUX RESTART (4 CPU) 00:50:59 00:50:59 00:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:50:59 00:44:01 7.99 0.47 7.52 0.00 36.88 229.66 0.00 00:50:59 00:45:01 0.30 0.00 0.30 0.00 0.00 4.11 0.00 00:50:59 00:46:01 0.20 0.00 0.20 0.00 0.00 1.75 0.00 00:50:59 00:47:01 0.40 0.00 0.40 0.00 0.00 5.61 0.00 00:50:59 00:48:01 0.22 0.00 0.22 0.00 0.00 4.01 0.00 00:50:59 00:49:01 0.42 0.00 0.42 0.00 0.00 6.50 0.00 00:50:59 00:50:01 0.30 0.00 0.30 0.00 0.00 4.31 0.00 00:50:59 Average: 1.41 0.07 1.34 0.00 5.28 36.65 0.00 00:50:59 00:50:59 00:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:50:59 00:44:01 158756 0 578248 30.73 2620 1141920 1103108 37.65 400176 1122028 20 00:50:59 00:45:01 161548 0 575448 30.58 2620 1141928 1076344 36.73 398668 1120684 8 00:50:59 00:46:01 160000 0 576992 30.67 2620 1141932 1076344 36.73 399812 1121292 8 00:50:59 00:47:01 159396 0 577596 30.70 2620 1141932 1076452 36.74 404652 1117148 20 00:50:59 00:48:01 158092 0 578892 30.77 2620 1141940 1076452 36.74 410036 1113180 8 00:50:59 00:49:01 158300 0 578680 30.76 2620 1141944 1076452 36.74 411972 1111128 12 00:50:59 00:50:01 159060 0 577916 30.71 2620 1141948 1076344 36.73 411248 1111124 8 00:50:59 Average: 159307 0 577682 30.70 2620 1141935 1080214 36.87 405223 1116655 12 00:50:59 00:50:59 00:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:50:59 00:44:01 eth0 17.09 13.58 30.27 4.01 0.00 0.00 0.00 0.00 00:50:59 00:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:44:01 docker0 4.64 3.53 0.36 17.24 0.00 0.00 0.00 0.00 00:50:59 00:45:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:50:59 00:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:46:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:50:59 00:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:47:01 eth0 1.28 0.35 0.33 0.20 0.00 0.00 0.00 0.00 00:50:59 00:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:48:01 eth0 1.05 0.35 0.41 0.08 0.00 0.00 0.00 0.00 00:50:59 00:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:49:01 eth0 0.46 0.27 0.27 0.20 0.00 0.00 0.00 0.00 00:50:59 00:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:50:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:50:59 00:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 00:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 Average: eth0 2.89 2.12 4.48 0.65 0.00 0.00 0.00 0.00 00:50:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:59 Average: docker0 0.67 0.51 0.05 2.47 0.00 0.00 0.00 0.00 00:50:59 00:50:59 00:50:59 ---> sar -P ALL: 00:50:59 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/02/21 _x86_64_ (4 CPU) 00:50:59 00:50:59 00:42:02 LINUX RESTART (4 CPU) 00:50:59 00:50:59 00:43:01 CPU %user %nice %system %iowait %steal %idle 00:50:59 00:44:01 all 0.73 0.00 0.38 0.20 0.01 98.69 00:50:59 00:44:01 0 1.12 0.00 0.48 0.02 0.00 98.38 00:50:59 00:44:01 1 0.62 0.00 0.45 0.32 0.02 98.60 00:50:59 00:44:01 2 0.65 0.00 0.20 0.43 0.00 98.72 00:50:59 00:44:01 3 0.52 0.00 0.37 0.05 0.02 99.05 00:50:59 00:45:01 all 0.14 0.00 0.04 0.00 0.00 99.82 00:50:59 00:45:01 0 0.47 0.00 0.02 0.00 0.00 99.52 00:50:59 00:45:01 1 0.05 0.00 0.05 0.00 0.00 99.90 00:50:59 00:45:01 2 0.02 0.00 0.05 0.00 0.00 99.93 00:50:59 00:45:01 3 0.02 0.00 0.05 0.00 0.00 99.93 00:50:59 00:46:01 all 0.16 0.00 0.03 0.00 0.00 99.80 00:50:59 00:46:01 0 0.50 0.00 0.05 0.00 0.00 99.45 00:50:59 00:46:01 1 0.07 0.00 0.02 0.00 0.02 99.90 00:50:59 00:46:01 2 0.05 0.00 0.05 0.00 0.00 99.90 00:50:59 00:46:01 3 0.03 0.00 0.02 0.00 0.00 99.95 00:50:59 00:47:01 all 0.19 0.00 0.04 0.00 0.00 99.77 00:50:59 00:47:01 0 0.53 0.00 0.03 0.00 0.00 99.43 00:50:59 00:47:01 1 0.12 0.00 0.05 0.00 0.00 99.83 00:50:59 00:47:01 2 0.07 0.00 0.03 0.00 0.02 99.88 00:50:59 00:47:01 3 0.03 0.00 0.05 0.00 0.00 99.92 00:50:59 00:48:01 all 0.19 0.00 0.06 0.00 0.00 99.75 00:50:59 00:48:01 0 0.55 0.00 0.05 0.00 0.02 99.38 00:50:59 00:48:01 1 0.08 0.00 0.07 0.00 0.00 99.85 00:50:59 00:48:01 2 0.05 0.00 0.07 0.00 0.00 99.88 00:50:59 00:48:01 3 0.07 0.00 0.05 0.00 0.00 99.88 00:50:59 00:49:01 all 0.16 0.00 0.04 0.00 0.00 99.81 00:50:59 00:49:01 0 0.19 0.00 0.07 0.00 0.00 99.75 00:50:59 00:49:01 1 0.37 0.00 0.03 0.00 0.00 99.59 00:50:59 00:49:01 2 0.03 0.00 0.02 0.00 0.00 99.95 00:50:59 00:49:01 3 0.03 0.00 0.03 0.00 0.00 99.93 00:50:59 00:50:01 all 0.17 0.00 0.03 0.00 0.00 99.80 00:50:59 00:50:01 0 0.05 0.00 0.02 0.00 0.00 99.93 00:50:59 00:50:01 1 0.55 0.00 0.03 0.00 0.00 99.42 00:50:59 00:50:01 2 0.05 0.00 0.05 0.00 0.00 99.90 00:50:59 00:50:01 3 0.03 0.00 0.03 0.00 0.00 99.93 00:50:59 Average: all 0.25 0.00 0.09 0.03 0.00 99.63 00:50:59 Average: 0 0.49 0.00 0.10 0.00 0.00 99.41 00:50:59 Average: 1 0.27 0.00 0.10 0.05 0.00 99.58 00:50:59 Average: 2 0.13 0.00 0.07 0.06 0.00 99.74 00:50:59 Average: 3 0.10 0.00 0.09 0.01 0.00 99.80 00:50:59 00:50:59 00:50:59