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 [2021-02-02T00:42:45.822Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-02T00:42:46.079Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T00:42:46.186Z] ========================================================= [2021-02-02T00:42:46.186Z] EdgeX Global Pipelines Version Info [2021-02-02T00:42:46.186Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:42:48.024Z] ------------------- [2021-02-02T00:42:48.024Z] stable info: [2021-02-02T00:42:48.024Z] ------------------- [2021-02-02T00:42:48.024Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T00:42:48.024Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T00:42:48.024Z] Message: update stable to v1.0.179 [2021-02-02T00:42:48.983Z] ------------------- [2021-02-02T00:42:48.983Z] experimental info: [2021-02-02T00:42:48.983Z] ------------------- [2021-02-02T00:42:48.983Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T00:42:48.983Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T00:42:48.983Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-02T00:42:49.332Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-02-02T00:42:49.424Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-02-02T00:42:49.513Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-02T00:42:49.602Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-02T00:42:49.702Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-02T00:42:49.803Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-02T00:42:49.906Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-02T00:42:50.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-02T00:42:50.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-02T00:42:50.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-02T00:42:50.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-02T00:42:50.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-02-02T00:42:50.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-02T00:42:50.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-02T00:42:50.830Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T00:42:50.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T00:42:51.090Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T00:42:51.205Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T00:42:51.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-02T00:42:51.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-02T00:42:51.475Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-02T00:42:51.561Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-02T00:42:51.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-02T00:42:51.735Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-02T00:42:51.822Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-02T00:42:51.926Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-02T00:42:52.018Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-02T00:42:52.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo [2021-02-02T00:42:52.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo [2021-02-02T00:42:52.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo [2021-02-02T00:42:52.401Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10c6e701a9b81821b8ff7a34f748e0f354bc0596 [Pipeline] echo [2021-02-02T00:42:52.605Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10c6e70 [Pipeline] echo [2021-02-02T00:42:52.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T00:42:53.412Z] + git log --format=format:%s -1 10c6e701a9b81821b8ff7a34f748e0f354bc0596 [Pipeline] echo [2021-02-02T00:42:53.462Z] GIT_COMMIT: 10c6e701a9b81821b8ff7a34f748e0f354bc0596, Commit Message: Merge commit '5330e7a1e14f4aae69f926f73cef49e9e128662d' into HEAD [Pipeline] echo [2021-02-02T00:42:53.507Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:42:54.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T00:42:54.421Z] [2021-02-02T00:42:54.421Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:42:54.781Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T00:42:54.782Z] latest: Pulling from edgex-devops/git-semver [2021-02-02T00:42:54.782Z] 31603596830f: Pulling fs layer [2021-02-02T00:42:54.782Z] 2a8b12db71e7: Pulling fs layer [2021-02-02T00:42:54.782Z] 6ca5941a6612: Pulling fs layer [2021-02-02T00:42:54.782Z] ecc8261a40a4: Pulling fs layer [2021-02-02T00:42:54.782Z] ecc8261a40a4: Waiting [2021-02-02T00:42:54.782Z] 2a8b12db71e7: Verifying Checksum [2021-02-02T00:42:54.782Z] 2a8b12db71e7: Download complete [2021-02-02T00:42:54.782Z] 31603596830f: Verifying Checksum [2021-02-02T00:42:54.782Z] 31603596830f: Download complete [2021-02-02T00:42:55.049Z] ecc8261a40a4: Verifying Checksum [2021-02-02T00:42:55.049Z] ecc8261a40a4: Download complete [2021-02-02T00:42:55.049Z] 6ca5941a6612: Verifying Checksum [2021-02-02T00:42:55.049Z] 6ca5941a6612: Download complete [2021-02-02T00:42:55.313Z] 31603596830f: Pull complete [2021-02-02T00:42:55.313Z] 2a8b12db71e7: Pull complete [2021-02-02T00:42:56.265Z] 6ca5941a6612: Pull complete [2021-02-02T00:42:56.527Z] ecc8261a40a4: Pull complete [2021-02-02T00:42:56.527Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-02T00:42:56.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T00:42:56.527Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-02T00:42:56.629Z] prd-centos7-docker-4c-2g-24466 does not seem to be running inside a container [2021-02-02T00:42:56.674Z] $ 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 [2021-02-02T00:42:58.853Z] $ docker top 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-02T00:42:59.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T00:42:59.130Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T00:42:59.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T00:42:59.372Z] $ docker exec 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent [2021-02-02T00:42:59.548Z] SSH_AUTH_SOCK=/tmp/ssh-BZE0aVGnORz2/agent.11 [2021-02-02T00:42:59.548Z] SSH_AGENT_PID=16 [2021-02-02T00:42:59.559Z] Running ssh-add (command line suppressed) [2021-02-02T00:42:59.677Z] 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) [2021-02-02T00:42:59.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T00:43:00.078Z] + git tag --points-at HEAD [Pipeline] } [2021-02-02T00:43:00.100Z] $ docker exec --env ******** --env ******** 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent -k [2021-02-02T00:43:00.208Z] unset SSH_AUTH_SOCK; [2021-02-02T00:43:00.208Z] unset SSH_AGENT_PID; [2021-02-02T00:43:00.209Z] echo Agent pid 16 killed; [2021-02-02T00:43:00.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-02T00:43:00.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T00:43:00.435Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T00:43:00.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T00:43:00.615Z] $ docker exec 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent [2021-02-02T00:43:00.776Z] SSH_AUTH_SOCK=/tmp/ssh-rUMNGyabT6Pu/agent.46 [2021-02-02T00:43:00.776Z] SSH_AGENT_PID=52 [2021-02-02T00:43:00.784Z] Running ssh-add (command line suppressed) [2021-02-02T00:43:00.904Z] 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) [2021-02-02T00:43:00.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T00:43:01.291Z] + git semver init [2021-02-02T00:43:01.291Z] # -> Open(): unable to determine branch for HEAD [2021-02-02T00:43:01.291Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git [2021-02-02T00:43:01.291Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 [2021-02-02T00:43:01.291Z] # $SEMVER_REMOTE_NAME = origin [2021-02-02T00:43:01.291Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-02T00:43:01.291Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-02T00:43:01.291Z] # $SEMVER_BRANCH = PR-439 [2021-02-02T00:43:01.291Z] # $SEMVER_TEMP = /tmp/semver-129101660 [2021-02-02T00:43:01.291Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-02-02T00:43:02.240Z] # '/tmp/semver-129101660' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' [2021-02-02T00:43:02.240Z] # -> Force: false [2021-02-02T00:43:02.240Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } [2021-02-02T00:43:02.253Z] $ docker exec --env ******** --env ******** 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 ssh-agent -k [2021-02-02T00:43:02.409Z] unset SSH_AUTH_SOCK; [2021-02-02T00:43:02.410Z] unset SSH_AGENT_PID; [2021-02-02T00:43:02.410Z] echo Agent pid 52 killed; [2021-02-02T00:43:02.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T00:43:02.932Z] + git semver [Pipeline] } [2021-02-02T00:43:02.948Z] $ docker stop --time=1 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 [2021-02-02T00:43:04.887Z] $ docker rm -f 29403b5d94ac133c65576402c98846bb9fb3cc13b1e18a4e7acd94cfa9d0db16 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T00:43:05.432Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-02T00:43:05.875Z] Stashed 1 file(s) [Pipeline] echo [2021-02-02T00:43:05.878Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-02T00:43:21.355Z] Still waiting to schedule task [2021-02-02T00:43:21.356Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-02T00:43:21.358Z] Still waiting to schedule task [2021-02-02T00:43:21.358Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-02T00:46:45.626Z] Running on prd-centos7-docker-4c-2g-24468 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-02-02T00:46:45.699Z] Running in /w/workspace/go-mod-core-contracts/16 [Pipeline] { [Pipeline] checkout [2021-02-02T00:46:48.055Z] using credential edgex-jenkins-ssh [2021-02-02T00:46:48.114Z] Cloning the remote Git repository [2021-02-02T00:46:48.144Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-02T00:46:48.211Z] > git init /w/workspace/go-mod-core-contracts/16 # timeout=10 [2021-02-02T00:46:48.272Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-02T00:46:48.272Z] > git --version # timeout=10 [2021-02-02T00:46:48.281Z] > git --version # 'git version 2.24.3' [2021-02-02T00:46:48.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:46:48.325Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T00:46:48.969Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-02T00:46:48.977Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T00:46:48.991Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-02T00:46:49.006Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-02T00:46:49.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:46:49.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T00:46:49.488Z] Merging remotes/origin/master commit 5330e7a1e14f4aae69f926f73cef49e9e128662d into PR head commit a36b3f4de17f3e1a96ecb644852db914eafb5d43 [2021-02-02T00:46:49.662Z] Merge succeeded, producing 8928882c57a9ea93ccbaefd6be2c3c5aef9d400f [2021-02-02T00:46:49.663Z] Checking out Revision 8928882c57a9ea93ccbaefd6be2c3c5aef9d400f (PR-439) [2021-02-02T00:46:49.502Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T00:46:49.508Z] > git checkout -f a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 [2021-02-02T00:46:49.591Z] > git remote # timeout=10 [2021-02-02T00:46:49.598Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T00:46:49.603Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:46:49.607Z] > git merge 5330e7a1e14f4aae69f926f73cef49e9e128662d # timeout=10 [2021-02-02T00:46:49.653Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T00:46:49.680Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T00:46:49.688Z] > git checkout -f 8928882c57a9ea93ccbaefd6be2c3c5aef9d400f # timeout=10 [2021-02-02T00:46:53.278Z] Commit message: "Merge commit '5330e7a1e14f4aae69f926f73cef49e9e128662d' into HEAD" [2021-02-02T00:46:53.281Z] > git rev-list --no-walk a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T00:46:54.547Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:46:54.875Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:46:55.176Z] + true [2021-02-02T00:46:55.176Z] + sudo service docker restart [2021-02-02T00:46:55.176Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-02T00:46:56.373Z] ========================================================= [2021-02-02T00:46:56.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-02T00:46:56.373Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:46:56.728Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-02T00:46:57.304Z] Sending build context to Docker daemon 2.558MB [2021-02-02T00:46:57.304Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-02T00:46:57.304Z] Step 2/7 : FROM ${BASE} [2021-02-02T00:46:57.304Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-02T00:46:57.304Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T00:46:57.304Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T00:46:57.304Z] de9db76c5a1d: Pulling fs layer [2021-02-02T00:46:57.304Z] bca2f99d35d6: Pulling fs layer [2021-02-02T00:46:57.304Z] 93359f2a8cfa: Pulling fs layer [2021-02-02T00:46:57.304Z] 7c6f9722023f: Pulling fs layer [2021-02-02T00:46:57.304Z] a35cf1a2eb13: Pulling fs layer [2021-02-02T00:46:57.304Z] 93359f2a8cfa: Waiting [2021-02-02T00:46:57.304Z] 7c6f9722023f: Waiting [2021-02-02T00:46:57.304Z] a35cf1a2eb13: Waiting [2021-02-02T00:46:57.304Z] bca2f99d35d6: Waiting [2021-02-02T00:46:57.304Z] de9db76c5a1d: Verifying Checksum [2021-02-02T00:46:57.304Z] de9db76c5a1d: Download complete [2021-02-02T00:46:57.304Z] 0ef7d3d256c8: Verifying Checksum [2021-02-02T00:46:57.304Z] 0ef7d3d256c8: Download complete [2021-02-02T00:46:57.567Z] 93359f2a8cfa: Verifying Checksum [2021-02-02T00:46:57.567Z] 93359f2a8cfa: Download complete [2021-02-02T00:46:57.567Z] 7c6f9722023f: Verifying Checksum [2021-02-02T00:46:57.567Z] 7c6f9722023f: Download complete [2021-02-02T00:46:58.149Z] 188c0c94c7c5: Verifying Checksum [2021-02-02T00:46:58.149Z] 188c0c94c7c5: Download complete [2021-02-02T00:46:58.411Z] 188c0c94c7c5: Pull complete [2021-02-02T00:46:58.411Z] 0ef7d3d256c8: Pull complete [2021-02-02T00:46:58.674Z] de9db76c5a1d: Pull complete [2021-02-02T00:47:01.266Z] a35cf1a2eb13: Verifying Checksum [2021-02-02T00:47:01.266Z] a35cf1a2eb13: Download complete [2021-02-02T00:47:02.234Z] bca2f99d35d6: Verifying Checksum [2021-02-02T00:47:02.234Z] bca2f99d35d6: Download complete [2021-02-02T00:47:07.612Z] bca2f99d35d6: Pull complete [2021-02-02T00:47:07.612Z] 93359f2a8cfa: Pull complete [2021-02-02T00:47:07.612Z] 7c6f9722023f: Pull complete [2021-02-02T00:47:14.272Z] a35cf1a2eb13: Pull complete [2021-02-02T00:47:14.272Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-02T00:47:14.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-02T00:47:14.272Z] ---> a62c8e92a672 [2021-02-02T00:47:14.272Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-02T00:47:14.548Z] ---> Running in 9eafb69793bd [2021-02-02T00:47:14.548Z] Removing intermediate container 9eafb69793bd [2021-02-02T00:47:14.548Z] ---> 46ac6daebd36 [2021-02-02T00:47:14.548Z] Step 4/7 : RUN apk add bash [2021-02-02T00:47:14.846Z] ---> Running in 151b019dbba7 [2021-02-02T00:47:15.447Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T00:47:16.023Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T00:47:16.976Z] OK: 166 MiB in 39 packages [2021-02-02T00:47:17.552Z] Removing intermediate container 151b019dbba7 [2021-02-02T00:47:17.553Z] ---> 9bda1267db99 [2021-02-02T00:47:17.553Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-02T00:47:17.553Z] ---> Running in 0e26cafbbd98 [2021-02-02T00:47:17.815Z] Removing intermediate container 0e26cafbbd98 [2021-02-02T00:47:17.815Z] ---> d1d17e326467 [2021-02-02T00:47:17.815Z] Step 6/7 : COPY go.mod . [2021-02-02T00:47:18.077Z] ---> a538afd707ff [2021-02-02T00:47:18.077Z] Step 7/7 : RUN go mod download [2021-02-02T00:47:18.077Z] ---> Running in accfa4cec022 [2021-02-02T00:47:30.362Z] Removing intermediate container accfa4cec022 [2021-02-02T00:47:30.362Z] ---> 51c78eb76431 [2021-02-02T00:47:30.362Z] Successfully built 51c78eb76431 [2021-02-02T00:47:30.362Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:47:30.693Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T00:47:30.693Z] . [Pipeline] withDockerContainer [2021-02-02T00:47:30.824Z] prd-centos7-docker-4c-2g-24468 does not seem to be running inside a container [2021-02-02T00:47:30.885Z] $ 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 [2021-02-02T00:47:31.692Z] $ docker top fb47b1e8e4e271ac4fae0f63112ee5a2b577e65da43dcdf791a122744588ab22 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:47:32.293Z] + go version [2021-02-02T00:47:32.293Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-02T00:47:32.327Z] $ docker stop --time=1 fb47b1e8e4e271ac4fae0f63112ee5a2b577e65da43dcdf791a122744588ab22 [2021-02-02T00:47:34.195Z] $ docker rm -f fb47b1e8e4e271ac4fae0f63112ee5a2b577e65da43dcdf791a122744588ab22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:47:35.116Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T00:47:35.116Z] . [Pipeline] withDockerContainer [2021-02-02T00:47:35.282Z] prd-centos7-docker-4c-2g-24468 does not seem to be running inside a container [2021-02-02T00:47:35.398Z] $ 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 [2021-02-02T00:47:36.124Z] $ docker top 0c7310cdfdbdff001cfbee9ee3dbf89b27a9b31e87bcd84474aa0ce3f0234db7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:47:36.673Z] + make test [2021-02-02T00:47:36.673Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-02T00:47:43.401Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-02T00:47:44.020Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.026s coverage: 85.7% of statements [2021-02-02T00:47:44.020Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.024s coverage: 100.0% of statements [2021-02-02T00:47:44.020Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.027s coverage: 45.4% of statements [2021-02-02T00:47:44.020Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.025s coverage: 77.8% of statements [2021-02-02T00:47:44.020Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-02T00:47:44.624Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.018s coverage: 26.3% of statements [2021-02-02T00:47:45.220Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.013s coverage: 14.7% of statements [2021-02-02T00:47:45.220Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.007s coverage: 100.0% of statements [2021-02-02T00:47:45.487Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.045s coverage: 91.8% of statements [2021-02-02T00:47:45.487Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-02T00:47:45.487Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-02T00:47:45.487Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.010s coverage: 100.0% of statements [2021-02-02T00:47:45.760Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.018s coverage: 36.7% of statements [2021-02-02T00:47:47.736Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.027s coverage: 63.0% of statements [2021-02-02T00:47:47.736Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.005s coverage: 26.3% of statements [2021-02-02T00:47:47.736Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.006s coverage: 15.4% of statements [2021-02-02T00:47:47.736Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.045s coverage: 15.4% of statements [2021-02-02T00:47:47.736Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.016s coverage: 14.3% of statements [2021-02-02T00:47:47.736Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-02T00:47:49.697Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.154s coverage: 84.8% of statements [2021-02-02T00:47:49.697Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-02T00:47:49.697Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-02T00:47:49.697Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-02T00:47:49.697Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.028s coverage: 49.2% of statements [2021-02-02T00:47:49.697Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.011s coverage: 94.7% of statements [2021-02-02T00:47:49.963Z] {"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"}}}} [2021-02-02T00:47:49.964Z] {"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}} [2021-02-02T00:47:49.964Z] baserequest: [2021-02-02T00:47:49.964Z] versionable: [2021-02-02T00:47:49.964Z] apiversion: v2 [2021-02-02T00:47:49.964Z] requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T00:47:49.964Z] profile: [2021-02-02T00:47:49.964Z] versionable: [2021-02-02T00:47:49.964Z] apiversion: v2 [2021-02-02T00:47:49.964Z] id: "" [2021-02-02T00:47:49.964Z] name: TestDeviceProfileName [2021-02-02T00:47:49.964Z] manufacturer: TestManufacturer [2021-02-02T00:47:49.964Z] description: TestDescription [2021-02-02T00:47:49.964Z] model: TestModel [2021-02-02T00:47:49.964Z] labels: [MODBUS, TEMP] [2021-02-02T00:47:49.964Z] deviceResources: [2021-02-02T00:47:49.964Z] - description: TestDescription [2021-02-02T00:47:49.964Z] name: TestDeviceResourceName [2021-02-02T00:47:49.964Z] tag: TestTag [2021-02-02T00:47:49.964Z] properties: [2021-02-02T00:47:49.964Z] type: Int16 [2021-02-02T00:47:49.964Z] readWrite: RW [2021-02-02T00:47:49.964Z] attributes: [2021-02-02T00:47:49.964Z] TestAttribute: TestAttributeValue [2021-02-02T00:47:49.964Z] deviceCommands: [2021-02-02T00:47:49.964Z] - name: TestProfileResource [2021-02-02T00:47:49.964Z] get: [2021-02-02T00:47:49.964Z] - deviceResource: TestDeviceResourceName [2021-02-02T00:47:49.964Z] set: [2021-02-02T00:47:49.964Z] - deviceResource: TestDeviceResourceName [2021-02-02T00:47:49.964Z] coreCommands: [2021-02-02T00:47:49.964Z] - name: TestProfileResource [2021-02-02T00:47:49.964Z] get: true [2021-02-02T00:47:49.964Z] put: true [2021-02-02T00:47:49.964Z] [2021-02-02T00:47:49.964Z] {"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"}} [2021-02-02T00:47:49.964Z] {"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"}} [2021-02-02T00:47:49.964Z] {"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"}]}} [2021-02-02T00:47:49.964Z] --- FAIL: TestAddSubscriptionRequest_Validate (0.00s) [2021-02-02T00:47:49.964Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:150: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:150 [2021-02-02T00:47:49.964Z] Error: Not equal: [2021-02-02T00:47:49.964Z] expected: false [2021-02-02T00:47:49.964Z] actual : true [2021-02-02T00:47:49.964Z] Test: TestAddSubscriptionRequest_Validate/valid [2021-02-02T00:47:49.964Z] Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:47:49.964Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:150: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:150 [2021-02-02T00:47:49.964Z] Error: Not equal: [2021-02-02T00:47:49.964Z] expected: false [2021-02-02T00:47:49.964Z] actual : true [2021-02-02T00:47:49.964Z] Test: TestAddSubscriptionRequest_Validate/valid,_no_request_ID [2021-02-02T00:47:49.964Z] Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:47:49.964Z] --- FAIL: TestAddSubscription_UnmarshalJSON (0.00s) [2021-02-02T00:47:49.964Z] --- FAIL: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:175: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:175 [2021-02-02T00:47:49.964Z] Error: Received unexpected error: [2021-02-02T00:47:49.964Z] AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required [2021-02-02T00:47:49.964Z] Test: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success [2021-02-02T00:47:49.964Z] --- FAIL: TestUpdateSubscriptionRequest_Validate (0.00s) [2021-02-02T00:47:49.964Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:268: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:268 [2021-02-02T00:47:49.964Z] Error: Not equal: [2021-02-02T00:47:49.964Z] expected: false [2021-02-02T00:47:49.964Z] actual : true [2021-02-02T00:47:49.964Z] Test: TestUpdateSubscriptionRequest_Validate/valid [2021-02-02T00:47:49.964Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:47:49.964Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:268: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:268 [2021-02-02T00:47:49.964Z] Error: Not equal: [2021-02-02T00:47:49.964Z] expected: false [2021-02-02T00:47:49.964Z] actual : true [2021-02-02T00:47:49.964Z] Test: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID [2021-02-02T00:47:49.964Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:47:49.964Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_ID (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:268: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:268 [2021-02-02T00:47:49.964Z] Error: Not equal: [2021-02-02T00:47:49.964Z] expected: false [2021-02-02T00:47:49.964Z] actual : true [2021-02-02T00:47:49.964Z] Test: TestUpdateSubscriptionRequest_Validate/valid,_only_ID [2021-02-02T00:47:49.964Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:47:49.964Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_name (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:268: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:268 [2021-02-02T00:47:49.964Z] Error: Not equal: [2021-02-02T00:47:49.964Z] expected: false [2021-02-02T00:47:49.964Z] actual : true [2021-02-02T00:47:49.964Z] Test: TestUpdateSubscriptionRequest_Validate/valid,_only_name [2021-02-02T00:47:49.964Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:47:49.964Z] --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON (0.00s) [2021-02-02T00:47:49.964Z] --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success (0.00s) [2021-02-02T00:47:49.964Z] subscription_test.go:293: [2021-02-02T00:47:49.964Z] Error Trace: subscription_test.go:293 [2021-02-02T00:47:49.964Z] Error: Received unexpected error: [2021-02-02T00:47:49.964Z] UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required [2021-02-02T00:47:49.964Z] Test: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success [2021-02-02T00:47:49.964Z] FAIL [2021-02-02T00:47:49.964Z] coverage: 88.7% of statements [2021-02-02T00:47:49.964Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.045s [2021-02-02T00:47:49.964Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.008s coverage: 100.0% of statements [2021-02-02T00:47:49.964Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-02T00:47:49.964Z] FAIL [2021-02-02T00:47:49.964Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-02T00:47:49.984Z] $ docker stop --time=1 0c7310cdfdbdff001cfbee9ee3dbf89b27a9b31e87bcd84474aa0ce3f0234db7 [2021-02-02T00:47:52.386Z] $ 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] } [2021-02-02T00:47:54.295Z] Failed in branch amd64 [2021-02-02T00:48:22.665Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24469 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws [2021-02-02T00:48:22.728Z] Running in /w/workspace/go-mod-core-contracts/16 [Pipeline] { [Pipeline] checkout [2021-02-02T00:48:28.786Z] using credential edgex-jenkins-ssh [2021-02-02T00:48:28.846Z] Cloning the remote Git repository [2021-02-02T00:48:28.909Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-02T00:48:29.057Z] > git init /w/workspace/go-mod-core-contracts/16 # timeout=10 [2021-02-02T00:48:29.195Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-02T00:48:29.196Z] > git --version # timeout=10 [2021-02-02T00:48:29.220Z] > git --version # 'git version 2.17.1' [2021-02-02T00:48:29.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:48:29.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T00:48:31.282Z] Merging remotes/origin/master commit 5330e7a1e14f4aae69f926f73cef49e9e128662d into PR head commit a36b3f4de17f3e1a96ecb644852db914eafb5d43 [2021-02-02T00:48:30.484Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-02T00:48:30.522Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T00:48:30.554Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-02T00:48:30.595Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-02T00:48:30.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:48:30.609Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T00:48:31.304Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T00:48:31.321Z] > git checkout -f a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 [2021-02-02T00:48:31.514Z] > git remote # timeout=10 [2021-02-02T00:48:31.549Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T00:48:31.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T00:48:31.629Z] > git merge 5330e7a1e14f4aae69f926f73cef49e9e128662d # timeout=10 [2021-02-02T00:48:31.802Z] Merge succeeded, producing 6a708856e218d805b6cedaa9ca86e5e7e92b7319 [2021-02-02T00:48:31.802Z] Checking out Revision 6a708856e218d805b6cedaa9ca86e5e7e92b7319 (PR-439) [2021-02-02T00:48:31.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T00:48:31.808Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T00:48:31.833Z] > git checkout -f 6a708856e218d805b6cedaa9ca86e5e7e92b7319 # timeout=10 [2021-02-02T00:48:36.314Z] Commit message: "Merge commit '5330e7a1e14f4aae69f926f73cef49e9e128662d' into HEAD" [2021-02-02T00:48:36.321Z] > git rev-list --no-walk a36b3f4de17f3e1a96ecb644852db914eafb5d43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T00:48:37.898Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:48:38.330Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T00:48:38.686Z] + sudo service docker restart [2021-02-02T00:48:38.686Z] + true [Pipeline] unstash [Pipeline] echo [2021-02-02T00:48:41.021Z] ========================================================= [2021-02-02T00:48:41.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-02T00:48:41.021Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:48:41.419Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-02T00:48:42.438Z] Sending build context to Docker daemon 2.558MB [2021-02-02T00:48:42.438Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-02T00:48:42.438Z] Step 2/7 : FROM ${BASE} [2021-02-02T00:48:43.062Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-02T00:48:43.062Z] 5f621e34cdf4: Pulling fs layer [2021-02-02T00:48:43.062Z] a4357932f1b6: Pulling fs layer [2021-02-02T00:48:43.062Z] 18c013af1878: Pulling fs layer [2021-02-02T00:48:43.062Z] 00ac8860ef70: Pulling fs layer [2021-02-02T00:48:43.062Z] 63d7cb157983: Pulling fs layer [2021-02-02T00:48:43.062Z] b116817d02f9: Pulling fs layer [2021-02-02T00:48:43.062Z] 745a02a5169b: Pulling fs layer [2021-02-02T00:48:43.062Z] 00ac8860ef70: Waiting [2021-02-02T00:48:43.062Z] 63d7cb157983: Waiting [2021-02-02T00:48:43.062Z] 745a02a5169b: Waiting [2021-02-02T00:48:43.062Z] b116817d02f9: Waiting [2021-02-02T00:48:43.062Z] 18c013af1878: Verifying Checksum [2021-02-02T00:48:43.062Z] 18c013af1878: Download complete [2021-02-02T00:48:43.062Z] a4357932f1b6: Verifying Checksum [2021-02-02T00:48:43.062Z] a4357932f1b6: Download complete [2021-02-02T00:48:43.062Z] 63d7cb157983: Download complete [2021-02-02T00:48:43.062Z] b116817d02f9: Verifying Checksum [2021-02-02T00:48:43.062Z] b116817d02f9: Download complete [2021-02-02T00:48:43.341Z] 5f621e34cdf4: Verifying Checksum [2021-02-02T00:48:43.341Z] 5f621e34cdf4: Download complete [2021-02-02T00:48:44.338Z] 5f621e34cdf4: Pull complete [2021-02-02T00:48:44.952Z] a4357932f1b6: Pull complete [2021-02-02T00:48:45.230Z] 18c013af1878: Pull complete [2021-02-02T00:48:45.512Z] 745a02a5169b: Verifying Checksum [2021-02-02T00:48:45.512Z] 745a02a5169b: Download complete [2021-02-02T00:48:46.982Z] 00ac8860ef70: Verifying Checksum [2021-02-02T00:48:46.982Z] 00ac8860ef70: Download complete [2021-02-02T00:48:57.361Z] 00ac8860ef70: Pull complete [2021-02-02T00:48:57.361Z] 63d7cb157983: Pull complete [2021-02-02T00:48:57.654Z] b116817d02f9: Pull complete [2021-02-02T00:49:01.187Z] 745a02a5169b: Pull complete [2021-02-02T00:49:01.506Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-02T00:49:01.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-02T00:49:01.506Z] ---> b7e6874047d6 [2021-02-02T00:49:01.506Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-02T00:49:04.304Z] ---> Running in a61815dbb6a0 [2021-02-02T00:49:04.926Z] Removing intermediate container a61815dbb6a0 [2021-02-02T00:49:04.926Z] ---> cddbf1618984 [2021-02-02T00:49:04.926Z] Step 4/7 : RUN apk add bash [2021-02-02T00:49:04.926Z] ---> Running in 4a3c0256429b [2021-02-02T00:49:06.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T00:49:07.003Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T00:49:08.028Z] OK: 142 MiB in 39 packages [2021-02-02T00:49:09.187Z] Removing intermediate container 4a3c0256429b [2021-02-02T00:49:09.187Z] ---> 128f4d7643be [2021-02-02T00:49:09.187Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-02T00:49:09.494Z] ---> Running in 632ceca82d2f [2021-02-02T00:49:09.782Z] Removing intermediate container 632ceca82d2f [2021-02-02T00:49:09.782Z] ---> 330a740ce360 [2021-02-02T00:49:09.782Z] Step 6/7 : COPY go.mod . [2021-02-02T00:49:10.476Z] ---> 23a27b8079dd [2021-02-02T00:49:10.476Z] Step 7/7 : RUN go mod download [2021-02-02T00:49:10.756Z] ---> Running in b9fdad1f2f46 [2021-02-02T00:49:26.428Z] Removing intermediate container b9fdad1f2f46 [2021-02-02T00:49:26.428Z] ---> c938611964aa [2021-02-02T00:49:26.428Z] Successfully built c938611964aa [2021-02-02T00:49:26.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:49:26.890Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T00:49:26.890Z] . [Pipeline] withDockerContainer [2021-02-02T00:49:27.194Z] prd-ubuntu18.04-docker-arm64-4c-16g-24469 does not seem to be running inside a container [2021-02-02T00:49:27.292Z] $ 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 [2021-02-02T00:49:29.016Z] $ docker top cb98735f06ecb8c3401cbdc711aaa46c8acf1c6cf3c97e3cddfcb5e048ba34dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:49:30.106Z] + go version [2021-02-02T00:49:30.106Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-02T00:49:30.139Z] $ docker stop --time=1 cb98735f06ecb8c3401cbdc711aaa46c8acf1c6cf3c97e3cddfcb5e048ba34dc [2021-02-02T00:49:32.150Z] $ docker rm -f cb98735f06ecb8c3401cbdc711aaa46c8acf1c6cf3c97e3cddfcb5e048ba34dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:49:33.326Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T00:49:33.326Z] . [Pipeline] withDockerContainer [2021-02-02T00:49:33.632Z] prd-ubuntu18.04-docker-arm64-4c-16g-24469 does not seem to be running inside a container [2021-02-02T00:49:33.790Z] $ 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 [2021-02-02T00:49:35.371Z] $ docker top 531d15c7ec93b696a82da3e03b8be21b79381e1b2a9c7416816ab86200e53344 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:49:36.420Z] + make test [2021-02-02T00:49:36.420Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-02T00:50:03.277Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-02T00:50:03.913Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.059s coverage: 85.7% of statements [2021-02-02T00:50:03.913Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.025s coverage: 100.0% of statements [2021-02-02T00:50:05.920Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.035s coverage: 45.4% of statements [2021-02-02T00:50:05.920Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.037s coverage: 77.8% of statements [2021-02-02T00:50:05.920Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-02T00:50:07.390Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.022s coverage: 26.3% of statements [2021-02-02T00:50:08.395Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.045s coverage: 14.7% of statements [2021-02-02T00:50:08.395Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.040s coverage: 100.0% of statements [2021-02-02T00:50:09.871Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.092s coverage: 91.8% of statements [2021-02-02T00:50:09.871Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-02T00:50:09.871Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-02T00:50:09.871Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.037s coverage: 100.0% of statements [2021-02-02T00:50:09.871Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.038s coverage: 36.7% of statements [2021-02-02T00:50:15.348Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.090s coverage: 63.0% of statements [2021-02-02T00:50:15.348Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.047s coverage: 26.3% of statements [2021-02-02T00:50:15.348Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.040s coverage: 15.4% of statements [2021-02-02T00:50:15.348Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.041s coverage: 15.4% of statements [2021-02-02T00:50:15.348Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.021s coverage: 14.3% of statements [2021-02-02T00:50:15.348Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-02T00:50:20.816Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.337s coverage: 84.8% of statements [2021-02-02T00:50:20.816Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-02T00:50:20.816Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-02T00:50:20.816Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-02T00:50:21.116Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.131s coverage: 49.2% of statements [2021-02-02T00:50:21.116Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.052s coverage: 94.7% of statements [2021-02-02T00:50:23.154Z] {"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"}}}} [2021-02-02T00:50:23.154Z] {"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}} [2021-02-02T00:50:23.154Z] baserequest: [2021-02-02T00:50:23.154Z] versionable: [2021-02-02T00:50:23.154Z] apiversion: v2 [2021-02-02T00:50:23.154Z] requestid: 82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T00:50:23.154Z] profile: [2021-02-02T00:50:23.154Z] versionable: [2021-02-02T00:50:23.154Z] apiversion: v2 [2021-02-02T00:50:23.154Z] id: "" [2021-02-02T00:50:23.154Z] name: TestDeviceProfileName [2021-02-02T00:50:23.154Z] manufacturer: TestManufacturer [2021-02-02T00:50:23.154Z] description: TestDescription [2021-02-02T00:50:23.154Z] model: TestModel [2021-02-02T00:50:23.154Z] labels: [MODBUS, TEMP] [2021-02-02T00:50:23.154Z] deviceResources: [2021-02-02T00:50:23.154Z] - description: TestDescription [2021-02-02T00:50:23.154Z] name: TestDeviceResourceName [2021-02-02T00:50:23.154Z] tag: TestTag [2021-02-02T00:50:23.154Z] properties: [2021-02-02T00:50:23.154Z] type: Int16 [2021-02-02T00:50:23.154Z] readWrite: RW [2021-02-02T00:50:23.154Z] attributes: [2021-02-02T00:50:23.154Z] TestAttribute: TestAttributeValue [2021-02-02T00:50:23.154Z] deviceCommands: [2021-02-02T00:50:23.154Z] - name: TestProfileResource [2021-02-02T00:50:23.154Z] get: [2021-02-02T00:50:23.154Z] - deviceResource: TestDeviceResourceName [2021-02-02T00:50:23.154Z] set: [2021-02-02T00:50:23.154Z] - deviceResource: TestDeviceResourceName [2021-02-02T00:50:23.154Z] coreCommands: [2021-02-02T00:50:23.154Z] - name: TestProfileResource [2021-02-02T00:50:23.154Z] get: true [2021-02-02T00:50:23.154Z] put: true [2021-02-02T00:50:23.154Z] [2021-02-02T00:50:23.154Z] {"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"}} [2021-02-02T00:50:23.154Z] {"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"}} [2021-02-02T00:50:23.154Z] {"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"}]}} [2021-02-02T00:50:23.154Z] --- FAIL: TestAddSubscriptionRequest_Validate (0.01s) [2021-02-02T00:50:23.154Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid (0.00s) [2021-02-02T00:50:23.154Z] subscription_test.go:150: [2021-02-02T00:50:23.154Z] Error Trace: subscription_test.go:150 [2021-02-02T00:50:23.154Z] Error: Not equal: [2021-02-02T00:50:23.154Z] expected: false [2021-02-02T00:50:23.154Z] actual : true [2021-02-02T00:50:23.155Z] Test: TestAddSubscriptionRequest_Validate/valid [2021-02-02T00:50:23.155Z] Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:50:23.155Z] --- FAIL: TestAddSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) [2021-02-02T00:50:23.155Z] subscription_test.go:150: [2021-02-02T00:50:23.155Z] Error Trace: subscription_test.go:150 [2021-02-02T00:50:23.155Z] Error: Not equal: [2021-02-02T00:50:23.155Z] expected: false [2021-02-02T00:50:23.155Z] actual : true [2021-02-02T00:50:23.155Z] Test: TestAddSubscriptionRequest_Validate/valid,_no_request_ID [2021-02-02T00:50:23.155Z] Messages: Unexpected AddSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:50:23.155Z] --- FAIL: TestAddSubscription_UnmarshalJSON (0.00s) [2021-02-02T00:50:23.155Z] --- FAIL: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success (0.00s) [2021-02-02T00:50:23.155Z] subscription_test.go:175: [2021-02-02T00:50:23.155Z] Error Trace: subscription_test.go:175 [2021-02-02T00:50:23.155Z] Error: Received unexpected error: [2021-02-02T00:50:23.155Z] AddSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; AddSubscriptionRequest.Subscription.Versionable.ApiVersion field is required [2021-02-02T00:50:23.155Z] Test: TestAddSubscription_UnmarshalJSON/unmarshal_AddSubscriptionRequest_with_success [2021-02-02T00:50:23.155Z] --- FAIL: TestUpdateSubscriptionRequest_Validate (0.01s) [2021-02-02T00:50:23.155Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid (0.00s) [2021-02-02T00:50:23.155Z] subscription_test.go:268: [2021-02-02T00:50:23.155Z] Error Trace: subscription_test.go:268 [2021-02-02T00:50:23.155Z] Error: Not equal: [2021-02-02T00:50:23.155Z] expected: false [2021-02-02T00:50:23.155Z] actual : true [2021-02-02T00:50:23.155Z] Test: TestUpdateSubscriptionRequest_Validate/valid [2021-02-02T00:50:23.155Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:50:23.155Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID (0.00s) [2021-02-02T00:50:23.155Z] subscription_test.go:268: [2021-02-02T00:50:23.155Z] Error Trace: subscription_test.go:268 [2021-02-02T00:50:23.155Z] Error: Not equal: [2021-02-02T00:50:23.155Z] expected: false [2021-02-02T00:50:23.155Z] actual : true [2021-02-02T00:50:23.155Z] Test: TestUpdateSubscriptionRequest_Validate/valid,_no_request_ID [2021-02-02T00:50:23.155Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:50:23.155Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_ID (0.00s) [2021-02-02T00:50:23.155Z] subscription_test.go:268: [2021-02-02T00:50:23.155Z] Error Trace: subscription_test.go:268 [2021-02-02T00:50:23.155Z] Error: Not equal: [2021-02-02T00:50:23.155Z] expected: false [2021-02-02T00:50:23.155Z] actual : true [2021-02-02T00:50:23.155Z] Test: TestUpdateSubscriptionRequest_Validate/valid,_only_ID [2021-02-02T00:50:23.155Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:50:23.155Z] --- FAIL: TestUpdateSubscriptionRequest_Validate/valid,_only_name (0.00s) [2021-02-02T00:50:23.155Z] subscription_test.go:268: [2021-02-02T00:50:23.155Z] Error Trace: subscription_test.go:268 [2021-02-02T00:50:23.155Z] Error: Not equal: [2021-02-02T00:50:23.155Z] expected: false [2021-02-02T00:50:23.155Z] actual : true [2021-02-02T00:50:23.155Z] Test: TestUpdateSubscriptionRequest_Validate/valid,_only_name [2021-02-02T00:50:23.155Z] Messages: Unexpected updateSubscriptionRequest validation result.%!(EXTRA errors.CommonEdgeX=UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required) [2021-02-02T00:50:23.155Z] --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON (0.00s) [2021-02-02T00:50:23.155Z] --- FAIL: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success (0.00s) [2021-02-02T00:50:23.155Z] subscription_test.go:293: [2021-02-02T00:50:23.155Z] Error Trace: subscription_test.go:293 [2021-02-02T00:50:23.155Z] Error: Received unexpected error: [2021-02-02T00:50:23.155Z] UpdateSubscriptionRequest.BaseRequest.Versionable.ApiVersion field is required; UpdateSubscriptionRequest.Subscription.Versionable.ApiVersion field is required [2021-02-02T00:50:23.155Z] Test: TestUpdateSubscriptionRequest_UnmarshalJSON/unmarshal_UpdateSubscriptionRequest_with_success [2021-02-02T00:50:23.155Z] FAIL [2021-02-02T00:50:23.155Z] coverage: 88.7% of statements [2021-02-02T00:50:23.155Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.180s [2021-02-02T00:50:23.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.027s coverage: 100.0% of statements [2021-02-02T00:50:23.155Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-02T00:50:23.155Z] FAIL [2021-02-02T00:50:23.760Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-02T00:50:23.795Z] $ docker stop --time=1 531d15c7ec93b696a82da3e03b8be21b79381e1b2a9c7416816ab86200e53344 [2021-02-02T00:50:26.241Z] $ 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] } [2021-02-02T00:50:28.092Z] 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 [2021-02-02T00:50:31.239Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:50:31.812Z] ---> package-listing.sh [2021-02-02T00:50:31.812Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-02T00:50:31.812Z] ++ facter osfamily [2021-02-02T00:50:31.812Z] + OS_FAMILY=redhat [2021-02-02T00:50:31.812Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 [2021-02-02T00:50:31.812Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-02T00:50:31.812Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-02T00:50:31.812Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-02T00:50:31.812Z] + PACKAGES=/tmp/packages_start.txt [2021-02-02T00:50:31.812Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-02-02T00:50:31.812Z] + PACKAGES=/tmp/packages_end.txt [2021-02-02T00:50:31.812Z] + case "${OS_FAMILY}" in [2021-02-02T00:50:31.812Z] + rpm -qa [2021-02-02T00:50:31.812Z] + sort [2021-02-02T00:50:37.129Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-02T00:50:37.129Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-02T00:50:37.129Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-02T00:50:37.129Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' [2021-02-02T00:50:37.129Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [2021-02-02T00:50:37.129Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [Pipeline] echo [2021-02-02T00:50:37.155Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-02T00:50:37.481Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:50:37.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T00:50:37.818Z] [2021-02-02T00:50:37.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-02T00:50:38.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T00:50:38.170Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-02T00:50:38.170Z] df20fa9351a1: Pulling fs layer [2021-02-02T00:50:38.170Z] 36b3adc4ff6f: Pulling fs layer [2021-02-02T00:50:38.170Z] 8ad3a11d3b57: Pulling fs layer [2021-02-02T00:50:38.170Z] 46f8f816bc3b: Pulling fs layer [2021-02-02T00:50:38.170Z] 93b61091891f: Pulling fs layer [2021-02-02T00:50:38.170Z] 93b9cdb0e59b: Pulling fs layer [2021-02-02T00:50:38.170Z] 5e14af77c1be: Pulling fs layer [2021-02-02T00:50:38.170Z] 01666e4c0597: Pulling fs layer [2021-02-02T00:50:38.170Z] aa168da1d23b: Pulling fs layer [2021-02-02T00:50:38.170Z] 46f8f816bc3b: Waiting [2021-02-02T00:50:38.170Z] 93b61091891f: Waiting [2021-02-02T00:50:38.170Z] 93b9cdb0e59b: Waiting [2021-02-02T00:50:38.170Z] 5e14af77c1be: Waiting [2021-02-02T00:50:38.170Z] 01666e4c0597: Waiting [2021-02-02T00:50:38.170Z] aa168da1d23b: Waiting [2021-02-02T00:50:38.170Z] 36b3adc4ff6f: Verifying Checksum [2021-02-02T00:50:38.170Z] 36b3adc4ff6f: Download complete [2021-02-02T00:50:38.170Z] 46f8f816bc3b: Verifying Checksum [2021-02-02T00:50:38.170Z] 46f8f816bc3b: Download complete [2021-02-02T00:50:38.438Z] 93b61091891f: Download complete [2021-02-02T00:50:38.438Z] 93b9cdb0e59b: Verifying Checksum [2021-02-02T00:50:38.438Z] 93b9cdb0e59b: Download complete [2021-02-02T00:50:38.438Z] 5e14af77c1be: Verifying Checksum [2021-02-02T00:50:38.438Z] 5e14af77c1be: Download complete [2021-02-02T00:50:38.438Z] 01666e4c0597: Download complete [2021-02-02T00:50:38.438Z] df20fa9351a1: Verifying Checksum [2021-02-02T00:50:38.438Z] df20fa9351a1: Download complete [2021-02-02T00:50:38.438Z] 8ad3a11d3b57: Verifying Checksum [2021-02-02T00:50:38.438Z] 8ad3a11d3b57: Download complete [2021-02-02T00:50:39.016Z] df20fa9351a1: Pull complete [2021-02-02T00:50:39.016Z] 36b3adc4ff6f: Pull complete [2021-02-02T00:50:39.975Z] 8ad3a11d3b57: Pull complete [2021-02-02T00:50:40.549Z] aa168da1d23b: Verifying Checksum [2021-02-02T00:50:40.549Z] aa168da1d23b: Download complete [2021-02-02T00:50:40.549Z] 46f8f816bc3b: Pull complete [2021-02-02T00:50:41.142Z] 93b61091891f: Pull complete [2021-02-02T00:50:41.142Z] 93b9cdb0e59b: Pull complete [2021-02-02T00:50:41.142Z] 5e14af77c1be: Pull complete [2021-02-02T00:50:41.410Z] 01666e4c0597: Pull complete [2021-02-02T00:50:48.055Z] aa168da1d23b: Pull complete [2021-02-02T00:50:48.055Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-02T00:50:48.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T00:50:48.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-02T00:50:48.228Z] prd-centos7-docker-4c-2g-24466 does not seem to be running inside a container [2021-02-02T00:50:48.296Z] $ 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 [2021-02-02T00:50:51.495Z] $ docker top 1aa95872b46c91c4ff54f3ca14c78e19a3cf9100dbd6bb5185f6fe1f79a04374 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T00:50:52.033Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-02T00:50:52.341Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-02T00:50:52.680Z] + ls /var/log/sa-host [2021-02-02T00:50:52.680Z] + sadf -c /var/log/sa-host/sa02 [2021-02-02T00:50:52.680Z] file_magic: OK [2021-02-02T00:50:52.680Z] HZ: Using current value: 100 [2021-02-02T00:50:52.680Z] file_header: OK [2021-02-02T00:50:52.680Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-02T00:50:52.680Z] Statistics: [2021-02-02T00:50:52.680Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-02T00:50:52.680Z] File successfully converted to sysstat format version 12.2.1 [2021-02-02T00:50:52.680Z] + sadf -c /var/log/sa-host/sa23 [2021-02-02T00:50:52.680Z] file_magic: OK [2021-02-02T00:50:52.680Z] HZ: Using current value: 100 [2021-02-02T00:50:52.680Z] file_header: OK [2021-02-02T00:50:52.680Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-02T00:50:52.680Z] Statistics: [2021-02-02T00:50:52.680Z] Hnuu...uuuununununu... [2021-02-02T00:50:52.680Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-02T00:50:52.884Z] provisioning config files... [2021-02-02T00:50:52.906Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config447360731361305489tmp [Pipeline] { [Pipeline] echo [2021-02-02T00:50:52.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:50:53.287Z] ---> create-netrc.sh [Pipeline] } [2021-02-02T00:50:53.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-02T00:50:53.395Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:50:53.694Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-02T00:50:53.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:50:53.998Z] ---> sudo-logs.sh [2021-02-02T00:50:53.998Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-02T00:50:54.009Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:50:54.323Z] ---> job-cost.sh [2021-02-02T00:50:54.323Z] lf-activate-venv: SKIPPING [2021-02-02T00:50:54.323Z] INFO: No Stack... [2021-02-02T00:50:55.268Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-02T00:50:55.843Z] INFO: Archiving Costs [Pipeline] echo [2021-02-02T00:50:55.856Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T00:50:56.154Z] ---> logs-deploy.sh [2021-02-02T00:50:56.154Z] lf-activate-venv: SKIPPING [2021-02-02T00:50:56.154Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/16 [2021-02-02T00:50:56.154Z] INFO: archiving workspace using pattern(s): [2021-02-02T00:50:58.076Z] Archives upload complete. [2021-02-02T00:50:58.076Z] INFO: archiving logs to Nexus