Pull request #670 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed+dfcc36c5a5befe0a1977696dfde3713f959ecc3e (cd7e88c05b6a281856ebaa452aacb5daa90639a9) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7757710101753901817.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1560768321641147815.key > 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 f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-670/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-670/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh884484522235872040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3873158809545838119.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-670/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-670/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6210435439267660412.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1063’ Running on prd-centos7-docker-4c-2g-1069 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-670 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/jenkins-gitclient-ssh858912460369147577.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/jenkins-gitclient-ssh8802669222575531560.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dfcc36c5a5befe0a1977696dfde3713f959ecc3e into PR head commit 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed Merge succeeded, producing 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed Checking out Revision 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed (PR-670) > git config core.sparsecheckout # timeout=10 > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/jenkins-gitclient-ssh1621340538306579253.key > git merge dfcc36c5a5befe0a1977696dfde3713f959ecc3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 Commit message: "feat(data): Add totalCount field into MultiReadingsResponse DTO" > git rev-list --no-walk 5bc4462e686dab29ce69ae53a58fae73e5cf23a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:20:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:20:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:20:24 ========================================================= 14:20:24 EdgeX Global Pipelines Version Info 14:20:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:20:25 ------------------- 14:20:25 stable info: 14:20:25 ------------------- 14:20:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:20:25 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 14:20:25 Message: update stable to v1.0.209 14:20:26 ------------------- 14:20:26 experimental info: 14:20:26 ------------------- 14:20:26 Commited By: **** collab-it+edgex@linuxfoundation.org 14:20:26 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 14:20:26 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-670 [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-670 [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-670 [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 454282a [Pipeline] echo 14:20:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:20:27 + git log --format=format:%s -1 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [Pipeline] echo 14:20:27 GIT_COMMIT: 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed, Commit Message: feat(data): Add totalCount field into MultiReadingsResponse DTO [Pipeline] echo 14:20:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:20:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:20:27 14:20:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:20:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:20:27 latest: Pulling from edgex-devops/git-semver 14:20:27 a0d0a0d46f8b: Pulling fs layer 14:20:27 3e5f54012d9b: Pulling fs layer 14:20:27 4c7163046ea9: Pulling fs layer 14:20:27 0c2d73faf560: Pulling fs layer 14:20:27 0c2d73faf560: Waiting 14:20:27 3e5f54012d9b: Verifying Checksum 14:20:27 3e5f54012d9b: Download complete 14:20:28 a0d0a0d46f8b: Verifying Checksum 14:20:28 a0d0a0d46f8b: Download complete 14:20:28 4c7163046ea9: Verifying Checksum 14:20:28 4c7163046ea9: Download complete 14:20:28 0c2d73faf560: Verifying Checksum 14:20:28 0c2d73faf560: Download complete 14:20:28 a0d0a0d46f8b: Pull complete 14:20:28 3e5f54012d9b: Pull complete 14:20:28 4c7163046ea9: Pull complete 14:20:28 0c2d73faf560: Pull complete 14:20:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:20:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:20:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:20:28 prd-centos7-docker-4c-2g-1069 does not seem to be running inside a container 14:20:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-670 -v /w/workspace/dry_go-mod-core-contracts_PR-670:/w/workspace/dry_go-mod-core-contracts_PR-670:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-670@tmp:/w/workspace/dry_go-mod-core-contracts_PR-670@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 14:20:29 $ docker top 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:20:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:20:29 [ssh-agent] Looking for ssh-agent implementation... 14:20:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:20:29 $ docker exec 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent 14:20:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdfOMaG/agent.14 14:20:29 SSH_AGENT_PID=20 14:20:29 Running ssh-add (command line suppressed) 14:20:29 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_3257140007622096214.key (/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_3257140007622096214.key) 14:20:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:20:30 + git tag --points-at HEAD [Pipeline] } 14:20:30 $ docker exec --env ******** --env ******** 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent -k 14:20:30 unset SSH_AUTH_SOCK; 14:20:30 unset SSH_AGENT_PID; 14:20:30 echo Agent pid 20 killed; 14:20:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:20:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:20:30 [ssh-agent] Looking for ssh-agent implementation... 14:20:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:20:30 $ docker exec 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent 14:20:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDgAJDb/agent.55 14:20:30 SSH_AGENT_PID=62 14:20:30 Running ssh-add (command line suppressed) 14:20:30 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_2312359778894486566.key (/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_2312359778894486566.key) 14:20:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:20:30 + git semver init 14:20:30 # -> Open(): unable to determine branch for HEAD 14:20:30 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-670/.git 14:20:30 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-670 14:20:30 # $SEMVER_REMOTE_NAME = origin 14:20:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:20:30 # $SEMVER_USER_NAME = edgex-jenkins 14:20:30 # $SEMVER_BRANCH = PR-670 14:20:30 # $SEMVER_TEMP = /tmp/semver-272681521 14:20:30 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 14:20:31 # '/tmp/semver-272681521' -> '/w/workspace/dry_go-mod-core-contracts_PR-670/.semver' 14:20:31 # -> Force: false 14:20:31 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-670/.semver [Pipeline] } 14:20:31 $ docker exec --env ******** --env ******** 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent -k 14:20:31 unset SSH_AUTH_SOCK; 14:20:31 unset SSH_AGENT_PID; 14:20:31 echo Agent pid 62 killed; 14:20:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:20:32 + git semver [Pipeline] } 14:20:32 $ docker stop --time=1 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 14:20:33 $ docker rm -f 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 [Pipeline] // withDockerContainer [Pipeline] sh 14:20:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:20:34 Stashed 1 file(s) [Pipeline] echo 14:20:34 [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 14:20:49 Still waiting to schedule task 14:20:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:20:49 Still waiting to schedule task 14:20:49 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1068’ 14:22:52 Running on prd-centos7-docker-4c-2g-1070 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] ws 14:22:52 Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout 14:22:52 Selected Git installation does not exist. Using Default 14:22:52 The recommended git tool is: NONE 14:22:54 using credential edgex-jenkins-ssh 14:22:54 Cloning the remote Git repository 14:22:53 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:22:53 > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 14:22:54 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:22:54 > git --version # timeout=10 14:22:54 > git --version # 'git version 2.24.4' 14:22:54 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:54 [INFO] Currently running in a labeled security context 14:22:54 [INFO] Currently SELinux is 'enforcing' on the host 14:22:54 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/3@tmp/jenkins-gitclient-ssh3156487663903368170.key 14:22:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:55 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:22:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:55 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:22:55 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:22:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:55 [INFO] Currently running in a labeled security context 14:22:55 [INFO] Currently SELinux is 'enforcing' on the host 14:22:55 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/3@tmp/jenkins-gitclient-ssh1267989063815441604.key 14:22:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:22:56 Merging remotes/origin/main commit dfcc36c5a5befe0a1977696dfde3713f959ecc3e into PR head commit 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed 14:22:56 Merge succeeded, producing 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed 14:22:56 Checking out Revision 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed (PR-670) 14:22:55 > git config core.sparsecheckout # timeout=10 14:22:55 > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 14:22:55 > git remote # timeout=10 14:22:55 > git config --get remote.origin.url # timeout=10 14:22:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:55 [INFO] Currently running in a labeled security context 14:22:55 [INFO] Currently SELinux is 'enforcing' on the host 14:22:55 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/3@tmp/jenkins-gitclient-ssh1204366794195426959.key 14:22:55 > git merge dfcc36c5a5befe0a1977696dfde3713f959ecc3e # timeout=10 14:22:55 > git rev-parse HEAD^{commit} # timeout=10 14:22:55 > git config core.sparsecheckout # timeout=10 14:22:55 > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 14:23:00 Commit message: "feat(data): Add totalCount field into MultiReadingsResponse DTO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:23:00 ========================================================= 14:23:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:23:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 14:23:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:23:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:23:01 4e9f2cdf4387: Pulling fs layer 14:23:01 57d31006c564: Pulling fs layer 14:23:01 bd5ccded8296: Pulling fs layer 14:23:01 304dd3a0f381: Pulling fs layer 14:23:01 d37cda54a23b: Pulling fs layer 14:23:01 bae75c0f2455: Pulling fs layer 14:23:01 806579b3d29a: Pulling fs layer 14:23:01 c77eb801bf70: Pulling fs layer 14:23:01 6d0567d44e1a: Pulling fs layer 14:23:01 304dd3a0f381: Waiting 14:23:01 d37cda54a23b: Waiting 14:23:01 bae75c0f2455: Waiting 14:23:01 806579b3d29a: Waiting 14:23:01 c77eb801bf70: Waiting 14:23:01 6d0567d44e1a: Waiting 14:23:01 bd5ccded8296: Verifying Checksum 14:23:01 bd5ccded8296: Download complete 14:23:01 57d31006c564: Verifying Checksum 14:23:01 57d31006c564: Download complete 14:23:01 d37cda54a23b: Verifying Checksum 14:23:01 d37cda54a23b: Download complete 14:23:01 bae75c0f2455: Verifying Checksum 14:23:01 bae75c0f2455: Download complete 14:23:01 806579b3d29a: Verifying Checksum 14:23:01 806579b3d29a: Download complete 14:23:01 4e9f2cdf4387: Verifying Checksum 14:23:01 4e9f2cdf4387: Download complete 14:23:01 c77eb801bf70: Verifying Checksum 14:23:01 c77eb801bf70: Download complete 14:23:01 4e9f2cdf4387: Pull complete 14:23:01 57d31006c564: Pull complete 14:23:01 bd5ccded8296: Pull complete 14:23:01 304dd3a0f381: Verifying Checksum 14:23:01 304dd3a0f381: Download complete 14:23:02 6d0567d44e1a: Verifying Checksum 14:23:02 6d0567d44e1a: Download complete 14:23:06 304dd3a0f381: Pull complete 14:23:06 d37cda54a23b: Pull complete 14:23:06 bae75c0f2455: Pull complete 14:23:06 806579b3d29a: Pull complete 14:23:06 c77eb801bf70: Pull complete 14:23:08 6d0567d44e1a: Pull complete 14:23:08 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 14:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:23:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 14:23:08 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 14:23:09 + docker inspect -f . ci-base-image-x86_64 14:23:09 . [Pipeline] withDockerContainer 14:23:09 prd-centos7-docker-4c-2g-1070 does not seem to be running inside a container 14:23:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:23:11 $ docker top db32ae277d9408ee6c2b7a2c8b877a147731d7218dc48d9b3202c8cf5ca393d7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:23:12 + go version 14:23:12 go version go1.16.8 linux/amd64 [Pipeline] } 14:23:12 $ docker stop --time=1 db32ae277d9408ee6c2b7a2c8b877a147731d7218dc48d9b3202c8cf5ca393d7 14:23:13 $ docker rm -f db32ae277d9408ee6c2b7a2c8b877a147731d7218dc48d9b3202c8cf5ca393d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:23:13 + docker inspect -f . ci-base-image-x86_64 14:23:13 . [Pipeline] withDockerContainer 14:23:13 prd-centos7-docker-4c-2g-1070 does not seem to be running inside a container 14:23:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:23:14 $ docker top a932a07520f4afd5ec097e2f78a5e4cf4c16b62ac9947871383af7388606bd24 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:23:14 + make test 14:23:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:23:16 go: downloading github.com/google/uuid v1.3.0 14:23:16 go: downloading github.com/stretchr/testify v1.7.0 14:23:16 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 14:23:16 go: downloading github.com/go-kit/kit v0.11.0 14:23:16 go: downloading github.com/go-playground/validator/v10 v10.9.0 14:23:16 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 14:23:16 go: downloading github.com/davecgh/go-spew v1.1.1 14:23:16 go: downloading github.com/pmezard/go-difflib v1.0.0 14:23:16 go: downloading github.com/stretchr/objx v0.1.1 14:23:16 go: downloading github.com/x448/float16 v0.8.4 14:23:16 go: downloading github.com/leodido/go-urn v1.2.1 14:23:16 go: downloading github.com/go-playground/universal-translator v0.18.0 14:23:16 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 14:23:16 go: downloading golang.org/x/text v0.3.6 14:23:16 go: downloading github.com/go-logfmt/logfmt v0.5.0 14:23:16 go: downloading github.com/go-playground/locales v0.14.0 14:23:17 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 14:23:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.062s coverage: 83.5% of statements 14:23:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 14:23:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 14:23:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 14:23:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.006s coverage: 26.3% of statements 14:23:27 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 14:23:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.012s coverage: 47.1% of statements 14:23:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.012s coverage: 90.5% of statements 14:23:29 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} 14:23:29 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1634135008,"lastReported":1634135008,"serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"notify":null}} 14:23:29 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} 14:23:29 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","description":null,"lastConnected":null,"lastReported":null,"baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} 14:23:29 --- FAIL: Test_AddEventReqToEventModels (0.00s) 14:23:29 --- FAIL: Test_AddEventReqToEventModels/valid_AddEventRequest (0.00s) 14:23:29 event_test.go:315: 14:23:29 Error Trace: event_test.go:315 14:23:29 Error: Not equal: 14:23:29 expected: models.Event{Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", DeviceName:"TestDevice", ProfileName:"TestDeviceProfileName", SourceName:"TestSourceName", Origin:1587540776, Readings:[]models.Reading{models.SimpleReading{BaseReading:models.BaseReading{Id:"", Origin:1587540776, DeviceName:"TestDevice", ResourceName:"TestDeviceResourceName", ProfileName:"TestDeviceProfileName", ValueType:"Uint8"}, Value:"45"}}, Tags:map[string]interface {}{"GatewayId":"Houston-0001"}} 14:23:29 actual : models.Event{Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", DeviceName:"TestDevice", ProfileName:"TestDeviceProfileName", SourceName:"TestSourceName", Origin:1587540776, Readings:[]models.Reading{models.SimpleReading{BaseReading:models.BaseReading{Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Origin:1587540776, DeviceName:"TestDevice", ResourceName:"TestDeviceResourceName", ProfileName:"TestDeviceProfileName", ValueType:"Uint8"}, Value:"45"}}, Tags:map[string]interface {}{"GatewayId":"Houston-0001"}} 14:23:29 14:23:29 Diff: 14:23:29 --- Expected 14:23:29 +++ Actual 14:23:29 @@ -9,3 +9,3 @@ 14:23:29 BaseReading: (models.BaseReading) { 14:23:29 - Id: (string) "", 14:23:29 + Id: (string) (len=36) "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", 14:23:29 Origin: (int64) 1587540776, 14:23:29 Test: Test_AddEventReqToEventModels/valid_AddEventRequest 14:23:29 Messages: AddEventReqToEventModel did not result in expected Event model. 14:23:29 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profileName":"TestDeviceProfileName","serviceName":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}]}} 14:23:29 FAIL 14:23:29 coverage: 86.2% of statements 14:23:29 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.030s 14:23:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 59.5% of statements 14:23:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.004s coverage: 36.1% of statements 14:23:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.007s coverage: 48.7% of statements 14:23:29 FAIL 14:23:29 make: *** [Makefile:9: test] Error 1 [Pipeline] } 14:23:29 $ docker stop --time=1 a932a07520f4afd5ec097e2f78a5e4cf4c16b62ac9947871383af7388606bd24 14:23:31 $ docker rm -f a932a07520f4afd5ec097e2f78a5e4cf4c16b62ac9947871383af7388606bd24 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:23:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:23:32 14:23:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:23:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:23:32 latest: Pulling from edgex-lftools-log-publisher 14:23:32 b4d181a07f80: Pulling fs layer 14:23:32 a1111a8f2ec3: Pulling fs layer 14:23:32 ed53099fbce6: Pulling fs layer 14:23:32 dc539afda2c1: Pulling fs layer 14:23:32 77bc0d833cb6: Pulling fs layer 14:23:32 9065ff56babe: Pulling fs layer 14:23:32 d287ab97295c: Pulling fs layer 14:23:32 dc539afda2c1: Waiting 14:23:32 77bc0d833cb6: Waiting 14:23:32 d287ab97295c: Waiting 14:23:32 9065ff56babe: Waiting 14:23:32 a1111a8f2ec3: Verifying Checksum 14:23:32 a1111a8f2ec3: Download complete 14:23:32 dc539afda2c1: Verifying Checksum 14:23:32 dc539afda2c1: Download complete 14:23:32 ed53099fbce6: Verifying Checksum 14:23:32 ed53099fbce6: Download complete 14:23:32 9065ff56babe: Verifying Checksum 14:23:32 9065ff56babe: Download complete 14:23:32 77bc0d833cb6: Verifying Checksum 14:23:32 77bc0d833cb6: Download complete 14:23:32 b4d181a07f80: Verifying Checksum 14:23:32 b4d181a07f80: Download complete 14:23:33 d287ab97295c: Verifying Checksum 14:23:33 d287ab97295c: Download complete 14:23:34 b4d181a07f80: Pull complete 14:23:34 a1111a8f2ec3: Pull complete 14:23:34 ed53099fbce6: Pull complete 14:23:34 dc539afda2c1: Pull complete 14:23:35 77bc0d833cb6: Pull complete 14:23:35 9065ff56babe: Pull complete 14:23:40 d287ab97295c: Pull complete 14:23:40 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:23:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:23:40 prd-centos7-docker-4c-2g-1070 does not seem to be running inside a container 14:23:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:23:42 $ docker top 6991abef72a1a9b00b9fdd7204fcea99886bd726b1c6e41a1693a08d189935da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:43 ---> job-cost.sh 14:23:43 lf-activate-venv: SKIPPING 14:23:43 INFO: No Stack... 14:24:05 INFO: Retrieving Pricing Info for: v3-standard-2 14:24:20 ERROR: Pricing API returned invalid json 14:24:20 INFO: Archiving Costs [Pipeline] sh 14:24:20 + cut -d, -f6 14:24:20 + cat /w/workspace/go-mod-core-contracts/3/archives/cost.csv [Pipeline] lock 14:24:20 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] 14:24:20 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] did not exist. Created. 14:24:20 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:24:20 + echo total: 0.0 [Pipeline] stash 14:24:21 Stashed 1 file(s) [Pipeline] } 14:24:21 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:24:21 $ docker stop --time=1 6991abef72a1a9b00b9fdd7204fcea99886bd726b1c6e41a1693a08d189935da 14:24:22 $ docker rm -f 6991abef72a1a9b00b9fdd7204fcea99886bd726b1c6e41a1693a08d189935da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:24:22 Failed in branch amd64 14:27:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1072 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] ws 14:27:02 Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout 14:27:02 Selected Git installation does not exist. Using Default 14:27:02 The recommended git tool is: NONE 14:27:08 using credential edgex-jenkins-ssh 14:27:08 Cloning the remote Git repository 14:27:09 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:27:09 > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 14:27:09 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:27:09 > git --version # timeout=10 14:27:09 > git --version # 'git version 2.17.1' 14:27:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:11 Merging remotes/origin/main commit dfcc36c5a5befe0a1977696dfde3713f959ecc3e into PR head commit 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed 14:27:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:27:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:27:11 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:27:11 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:27:12 Merge succeeded, producing 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed 14:27:12 Checking out Revision 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed (PR-670) 14:27:11 > git config core.sparsecheckout # timeout=10 14:27:11 > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 14:27:12 > git remote # timeout=10 14:27:12 > git config --get remote.origin.url # timeout=10 14:27:12 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:12 > git merge dfcc36c5a5befe0a1977696dfde3713f959ecc3e # timeout=10 14:27:12 > git rev-parse HEAD^{commit} # timeout=10 14:27:12 > git config core.sparsecheckout # timeout=10 14:27:12 > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 14:27:16 Commit message: "feat(data): Add totalCount field into MultiReadingsResponse DTO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:27:17 ========================================================= 14:27:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:27:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 14:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:27:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:27:19 bbf911997326: Pulling fs layer 14:27:19 58ec367f63d7: Pulling fs layer 14:27:19 1b4a6ffa7d45: Pulling fs layer 14:27:19 fc5181fea5dc: Pulling fs layer 14:27:19 9c418107303f: Pulling fs layer 14:27:19 284eca6f2348: Pulling fs layer 14:27:19 842844d905b1: Pulling fs layer 14:27:19 901a3a57568e: Pulling fs layer 14:27:19 9c418107303f: Waiting 14:27:19 842844d905b1: Waiting 14:27:19 284eca6f2348: Waiting 14:27:19 fc5181fea5dc: Waiting 14:27:19 901a3a57568e: Waiting 14:27:19 1b4a6ffa7d45: Verifying Checksum 14:27:19 58ec367f63d7: Verifying Checksum 14:27:19 58ec367f63d7: Download complete 14:27:19 9c418107303f: Verifying Checksum 14:27:19 9c418107303f: Download complete 14:27:19 284eca6f2348: Download complete 14:27:19 bbf911997326: Download complete 14:27:19 842844d905b1: Download complete 14:27:20 bbf911997326: Pull complete 14:27:21 58ec367f63d7: Pull complete 14:27:21 1b4a6ffa7d45: Pull complete 14:27:21 901a3a57568e: Verifying Checksum 14:27:21 901a3a57568e: Download complete 14:27:22 fc5181fea5dc: Verifying Checksum 14:27:22 fc5181fea5dc: Download complete 14:27:32 fc5181fea5dc: Pull complete 14:27:32 9c418107303f: Pull complete 14:27:32 284eca6f2348: Pull complete 14:27:33 842844d905b1: Pull complete 14:27:38 901a3a57568e: Pull complete 14:27:38 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 14:27:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:27:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 14:27:39 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 14:27:39 + docker inspect -f . ci-base-image-arm64 14:27:39 . [Pipeline] withDockerContainer 14:27:39 prd-ubuntu18.04-docker-arm64-4c-16g-1072 does not seem to be running inside a container 14:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:27:46 $ docker top 3e561cc2323d36650446d91c41396798797bce8b7e7ba3eeb23a7610da3f9066 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:47 + go version 14:27:47 go version go1.16.8 linux/arm64 [Pipeline] } 14:27:47 $ docker stop --time=1 3e561cc2323d36650446d91c41396798797bce8b7e7ba3eeb23a7610da3f9066 14:27:48 $ docker rm -f 3e561cc2323d36650446d91c41396798797bce8b7e7ba3eeb23a7610da3f9066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:27:49 + docker inspect -f . ci-base-image-arm64 14:27:49 . [Pipeline] withDockerContainer 14:27:49 prd-ubuntu18.04-docker-arm64-4c-16g-1072 does not seem to be running inside a container 14:27:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:27:51 $ docker top 5ae2f2643f821392eac2dc4e7868241790f4f6131543b3757cfff1f399d99800 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:27:52 + make test 14:27:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:27:55 go: downloading github.com/google/uuid v1.3.0 14:27:55 go: downloading github.com/go-kit/kit v0.11.0 14:27:55 go: downloading github.com/stretchr/testify v1.7.0 14:27:55 go: downloading github.com/go-playground/validator/v10 v10.9.0 14:27:55 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 14:27:55 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 14:27:55 go: downloading github.com/davecgh/go-spew v1.1.1 14:27:55 go: downloading github.com/pmezard/go-difflib v1.0.0 14:27:55 go: downloading github.com/stretchr/objx v0.1.1 14:27:55 go: downloading github.com/x448/float16 v0.8.4 14:27:55 go: downloading github.com/go-playground/universal-translator v0.18.0 14:27:55 go: downloading github.com/leodido/go-urn v1.2.1 14:27:55 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 14:27:55 go: downloading golang.org/x/text v0.3.6 14:27:55 go: downloading github.com/go-logfmt/logfmt v0.5.0 14:27:55 go: downloading github.com/go-playground/locales v0.14.0 14:28:00 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 14:28:33 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.410s coverage: 83.5% of statements 14:28:33 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 14:28:33 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 14:28:33 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 14:28:33 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.066s coverage: 26.3% of statements 14:28:33 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 14:28:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.083s coverage: 47.1% of statements 14:28:36 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.122s coverage: 90.5% of statements 14:28:37 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} 14:28:37 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","lastConnected":1634135317,"lastReported":1634135317,"serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"notify":null}} 14:28:37 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} 14:28:37 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","description":null,"lastConnected":null,"lastReported":null,"baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} 14:28:37 --- FAIL: Test_AddEventReqToEventModels (0.00s) 14:28:37 --- FAIL: Test_AddEventReqToEventModels/valid_AddEventRequest (0.00s) 14:28:37 event_test.go:315: 14:28:37 Error Trace: event_test.go:315 14:28:37 Error: Not equal: 14:28:37 expected: models.Event{Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", DeviceName:"TestDevice", ProfileName:"TestDeviceProfileName", SourceName:"TestSourceName", Origin:1587540776, Readings:[]models.Reading{models.SimpleReading{BaseReading:models.BaseReading{Id:"", Origin:1587540776, DeviceName:"TestDevice", ResourceName:"TestDeviceResourceName", ProfileName:"TestDeviceProfileName", ValueType:"Uint8"}, Value:"45"}}, Tags:map[string]interface {}{"GatewayId":"Houston-0001"}} 14:28:37 actual : models.Event{Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", DeviceName:"TestDevice", ProfileName:"TestDeviceProfileName", SourceName:"TestSourceName", Origin:1587540776, Readings:[]models.Reading{models.SimpleReading{BaseReading:models.BaseReading{Id:"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", Origin:1587540776, DeviceName:"TestDevice", ResourceName:"TestDeviceResourceName", ProfileName:"TestDeviceProfileName", ValueType:"Uint8"}, Value:"45"}}, Tags:map[string]interface {}{"GatewayId":"Houston-0001"}} 14:28:37 14:28:37 Diff: 14:28:37 --- Expected 14:28:37 +++ Actual 14:28:37 @@ -9,3 +9,3 @@ 14:28:37 BaseReading: (models.BaseReading) { 14:28:37 - Id: (string) "", 14:28:37 + Id: (string) (len=36) "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", 14:28:37 Origin: (int64) 1587540776, 14:28:37 Test: Test_AddEventReqToEventModels/valid_AddEventRequest 14:28:37 Messages: AddEventReqToEventModel did not result in expected Event model. 14:28:37 {"apiVersion":"v2","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","provisionWatcher":{"name":"TestWatcher","labels":["TEST","TEMP"],"identifiers":{"address":"localhost","port":"3[0-9]{2}"},"blockingIdentifiers":{"port":["397","398","399"]},"profileName":"TestDeviceProfileName","serviceName":"TestDeviceServiceName","adminState":"LOCKED","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}]}} 14:28:37 FAIL 14:28:37 coverage: 86.2% of statements 14:28:37 FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.231s 14:28:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.046s coverage: 59.5% of statements 14:28:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.013s coverage: 36.1% of statements 14:28:38 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.036s coverage: 48.7% of statements 14:28:38 FAIL 14:28:38 make: *** [Makefile:9: test] Error 1 [Pipeline] } 14:28:38 $ docker stop --time=1 5ae2f2643f821392eac2dc4e7868241790f4f6131543b3757cfff1f399d99800 14:28:41 $ docker rm -f 5ae2f2643f821392eac2dc4e7868241790f4f6131543b3757cfff1f399d99800 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:28:43 14:28:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:28:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:28:44 arm64: Pulling from edgex-lftools-log-publisher 14:28:44 448f6bf000e3: Pulling fs layer 14:28:44 f757da607395: Pulling fs layer 14:28:44 05883995daec: Pulling fs layer 14:28:44 8603b9c90790: Pulling fs layer 14:28:44 1560dd03e051: Pulling fs layer 14:28:44 27f5ce0e4adf: Pulling fs layer 14:28:44 c2d8d7efcc4b: Pulling fs layer 14:28:44 8603b9c90790: Waiting 14:28:44 1560dd03e051: Waiting 14:28:44 27f5ce0e4adf: Waiting 14:28:44 c2d8d7efcc4b: Waiting 14:28:44 f757da607395: Verifying Checksum 14:28:44 f757da607395: Download complete 14:28:44 05883995daec: Verifying Checksum 14:28:44 05883995daec: Download complete 14:28:44 8603b9c90790: Verifying Checksum 14:28:44 8603b9c90790: Download complete 14:28:44 27f5ce0e4adf: Download complete 14:28:44 1560dd03e051: Verifying Checksum 14:28:44 1560dd03e051: Download complete 14:28:44 448f6bf000e3: Verifying Checksum 14:28:44 448f6bf000e3: Download complete 14:28:47 c2d8d7efcc4b: Verifying Checksum 14:28:47 c2d8d7efcc4b: Download complete 14:28:48 448f6bf000e3: Pull complete 14:28:48 f757da607395: Pull complete 14:28:50 05883995daec: Pull complete 14:28:50 8603b9c90790: Pull complete 14:28:51 1560dd03e051: Pull complete 14:28:51 27f5ce0e4adf: Pull complete 14:29:06 c2d8d7efcc4b: Pull complete 14:29:06 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:29:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:29:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:29:07 prd-ubuntu18.04-docker-arm64-4c-16g-1072 does not seem to be running inside a container 14:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:29:11 $ docker top 66b0cb935b8dbbc8c67413e41b43e2a6c74d767a373a07ab26b6a1546c9a4fff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:12 ---> job-cost.sh 14:29:12 lf-activate-venv: SKIPPING 14:29:12 INFO: No Stack... 14:29:21 INFO: Retrieving Pricing Info for: v3-standard-4 14:29:36 ERROR: Pricing API returned invalid json 14:29:36 INFO: Archiving Costs [Pipeline] sh 14:29:36 + cat /w/workspace/go-mod-core-contracts/3/archives/cost.csv 14:29:36 + cut -d, -f6 [Pipeline] lock 14:29:37 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] 14:29:37 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] did not exist. Created. 14:29:37 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:29:37 /w/workspace/go-mod-core-contracts/3@tmp/durable-c12ed986/script.sh: 1: /w/workspace/go-mod-core-contracts/3@tmp/durable-c12ed986/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:29:38 + echo total: 0.0 [Pipeline] stash 14:29:38 Warning: overwriting stash ‘stack-cost’ 14:29:39 Stashed 1 file(s) [Pipeline] } 14:29:39 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:29:39 $ docker stop --time=1 66b0cb935b8dbbc8c67413e41b43e2a6c74d767a373a07ab26b6a1546c9a4fff 14:29:40 $ docker rm -f 66b0cb935b8dbbc8c67413e41b43e2a6c74d767a373a07ab26b6a1546c9a4fff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:29:41 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] { (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] sh 14:29:43 + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-670/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:29:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:29:44 ---> package-listing.sh 14:29:44 ++ facter osfamily 14:29:44 ++ tr '[:upper:]' '[:lower:]' 14:29:44 + OS_FAMILY=redhat 14:29:44 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-670 14:29:44 + START_PACKAGES=/tmp/packages_start.txt 14:29:44 + END_PACKAGES=/tmp/packages_end.txt 14:29:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:29:44 + PACKAGES=/tmp/packages_start.txt 14:29:44 + '[' /w/workspace/dry_go-mod-core-contracts_PR-670 ']' 14:29:44 + PACKAGES=/tmp/packages_end.txt 14:29:44 + case "${OS_FAMILY}" in 14:29:44 + sort 14:29:44 + rpm -qa 14:29:45 + '[' -f /tmp/packages_start.txt ']' 14:29:45 + '[' -f /tmp/packages_end.txt ']' 14:29:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:29:45 + '[' /w/workspace/dry_go-mod-core-contracts_PR-670 ']' 14:29:45 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-670/archives/ 14:29:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-670/archives/ [Pipeline] echo 14:29:45 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-670/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:29:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:29:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:29:45 14:29:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:29:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:29:46 latest: Pulling from edgex-lftools-log-publisher 14:29:46 b4d181a07f80: Pulling fs layer 14:29:46 a1111a8f2ec3: Pulling fs layer 14:29:46 ed53099fbce6: Pulling fs layer 14:29:46 dc539afda2c1: Pulling fs layer 14:29:46 77bc0d833cb6: Pulling fs layer 14:29:46 9065ff56babe: Pulling fs layer 14:29:46 d287ab97295c: Pulling fs layer 14:29:46 dc539afda2c1: Waiting 14:29:46 77bc0d833cb6: Waiting 14:29:46 9065ff56babe: Waiting 14:29:46 d287ab97295c: Waiting 14:29:46 a1111a8f2ec3: Verifying Checksum 14:29:46 a1111a8f2ec3: Download complete 14:29:46 dc539afda2c1: Verifying Checksum 14:29:46 dc539afda2c1: Download complete 14:29:46 77bc0d833cb6: Verifying Checksum 14:29:46 77bc0d833cb6: Download complete 14:29:46 b4d181a07f80: Verifying Checksum 14:29:46 b4d181a07f80: Download complete 14:29:46 9065ff56babe: Verifying Checksum 14:29:46 9065ff56babe: Download complete 14:29:46 ed53099fbce6: Verifying Checksum 14:29:46 ed53099fbce6: Download complete 14:29:47 d287ab97295c: Verifying Checksum 14:29:47 d287ab97295c: Download complete 14:29:47 b4d181a07f80: Pull complete 14:29:47 a1111a8f2ec3: Pull complete 14:29:48 ed53099fbce6: Pull complete 14:29:48 dc539afda2c1: Pull complete 14:29:48 77bc0d833cb6: Pull complete 14:29:48 9065ff56babe: Pull complete 14:29:54 d287ab97295c: Pull complete 14:29:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:29:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:29:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:29:54 prd-centos7-docker-4c-2g-1069 does not seem to be running inside a container 14:29:54 $ 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-670/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-670 -v /w/workspace/dry_go-mod-core-contracts_PR-670:/w/workspace/dry_go-mod-core-contracts_PR-670:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-670@tmp:/w/workspace/dry_go-mod-core-contracts_PR-670@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:latest cat 14:29:56 $ docker top 8fa824f0ec1ff859f5d6dd1ebfb9d95b4f2440c0e501936fc0aa7bb703150682 -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:56 + touch /tmp/pre-build-complete [Pipeline] sh 14:29:57 + mkdir -p /var/log/sysstat [Pipeline] sh 14:29:57 + ls /var/log/sa-host 14:29:57 + sadf -c /var/log/sa-host/sa13 14:29:57 file_magic: OK 14:29:57 HZ: Using current value: 100 14:29:57 file_header: OK 14:29:57 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 14:29:57 Statistics: 14:29:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:29:57 File successfully converted to sysstat format version 12.0.3 14:29:57 + sadf -c /var/log/sa-host/sa30 14:29:57 file_magic: OK 14:29:57 HZ: Using current value: 100 14:29:57 file_header: OK 14:29:57 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 14:29:57 Statistics: 14:29:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:29:57 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:57 provisioning config files... 14:29:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/config2360237905334351160tmp [Pipeline] { [Pipeline] echo 14:29:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:29:57 ---> create-netrc.sh [Pipeline] } 14:29:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:29:58 ---> python-tools-install.sh [Pipeline] echo 14:29:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:29:58 ---> sudo-logs.sh 14:29:58 Archiving 'sudo' log.. 14:29:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1069.novalocal: Name or service not known 14:29:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1069.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:29:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:29:58 ---> job-cost.sh 14:29:58 lf-activate-venv: SKIPPING 14:29:58 DEBUG: total: 0.0 14:29:58 INFO: Retrieving Stack Cost... 14:29:59 INFO: Retrieving Pricing Info for: v3-standard-2 14:30:17 ERROR: Pricing API returned invalid json 14:30:17 INFO: Archiving Costs [Pipeline] echo 14:30:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:30:18 ---> logs-deploy.sh 14:30:18 lf-activate-venv: SKIPPING 14:30:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-670/3 14:30:18 INFO: archiving workspace using pattern(s): 14:30:18 Archives upload complete. 14:30:18 INFO: archiving logs to Nexus