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 [2021-10-13T14:20:24.174Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-13T14:20:24.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-13T14:20:24.223Z] ========================================================= [2021-10-13T14:20:24.223Z] EdgeX Global Pipelines Version Info [2021-10-13T14:20:24.223Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:20:25.345Z] ------------------- [2021-10-13T14:20:25.345Z] stable info: [2021-10-13T14:20:25.345Z] ------------------- [2021-10-13T14:20:25.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-13T14:20:25.345Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-13T14:20:25.345Z] Message: update stable to v1.0.209 [2021-10-13T14:20:26.294Z] ------------------- [2021-10-13T14:20:26.294Z] experimental info: [2021-10-13T14:20:26.294Z] ------------------- [2021-10-13T14:20:26.294Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-13T14:20:26.294Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-13T14:20:26.294Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-13T14:20:26.386Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-10-13T14:20:26.399Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-10-13T14:20:26.418Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-13T14:20:26.432Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-13T14:20:26.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-13T14:20:26.455Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-13T14:20:26.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-13T14:20:26.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-13T14:20:26.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-13T14:20:26.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-13T14:20:26.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-13T14:20:26.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-10-13T14:20:26.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-13T14:20:26.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-13T14:20:26.555Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T14:20:26.566Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T14:20:26.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T14:20:26.589Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-13T14:20:26.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-13T14:20:26.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-13T14:20:26.621Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-13T14:20:26.632Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-13T14:20:26.646Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-13T14:20:26.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-13T14:20:26.668Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-13T14:20:26.681Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-13T14:20:26.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-670 [Pipeline] echo [2021-10-13T14:20:26.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-670 [Pipeline] echo [2021-10-13T14:20:26.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-670 [Pipeline] echo [2021-10-13T14:20:26.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [Pipeline] echo [2021-10-13T14:20:26.742Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 454282a [Pipeline] echo [2021-10-13T14:20:26.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-13T14:20:27.145Z] + git log --format=format:%s -1 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [Pipeline] echo [2021-10-13T14:20:27.178Z] GIT_COMMIT: 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed, Commit Message: feat(data): Add totalCount field into MultiReadingsResponse DTO [Pipeline] echo [2021-10-13T14:20:27.187Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:20:27.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T14:20:27.634Z] [2021-10-13T14:20:27.634Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:20:27.958Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T14:20:27.958Z] latest: Pulling from edgex-devops/git-semver [2021-10-13T14:20:27.958Z] a0d0a0d46f8b: Pulling fs layer [2021-10-13T14:20:27.958Z] 3e5f54012d9b: Pulling fs layer [2021-10-13T14:20:27.958Z] 4c7163046ea9: Pulling fs layer [2021-10-13T14:20:27.958Z] 0c2d73faf560: Pulling fs layer [2021-10-13T14:20:27.958Z] 0c2d73faf560: Waiting [2021-10-13T14:20:27.958Z] 3e5f54012d9b: Verifying Checksum [2021-10-13T14:20:27.958Z] 3e5f54012d9b: Download complete [2021-10-13T14:20:28.220Z] a0d0a0d46f8b: Verifying Checksum [2021-10-13T14:20:28.220Z] a0d0a0d46f8b: Download complete [2021-10-13T14:20:28.220Z] 4c7163046ea9: Verifying Checksum [2021-10-13T14:20:28.220Z] 4c7163046ea9: Download complete [2021-10-13T14:20:28.220Z] 0c2d73faf560: Verifying Checksum [2021-10-13T14:20:28.220Z] 0c2d73faf560: Download complete [2021-10-13T14:20:28.220Z] a0d0a0d46f8b: Pull complete [2021-10-13T14:20:28.484Z] 3e5f54012d9b: Pull complete [2021-10-13T14:20:28.747Z] 4c7163046ea9: Pull complete [2021-10-13T14:20:28.747Z] 0c2d73faf560: Pull complete [2021-10-13T14:20:28.747Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-13T14:20:28.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-13T14:20:28.747Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-13T14:20:28.823Z] prd-centos7-docker-4c-2g-1069 does not seem to be running inside a container [2021-10-13T14:20:28.865Z] $ 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 [2021-10-13T14:20:29.422Z] $ docker top 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-13T14:20:29.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-13T14:20:29.524Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-13T14:20:29.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-13T14:20:29.631Z] $ docker exec 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent [2021-10-13T14:20:29.734Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdfOMaG/agent.14 [2021-10-13T14:20:29.734Z] SSH_AGENT_PID=20 [2021-10-13T14:20:29.742Z] Running ssh-add (command line suppressed) [2021-10-13T14:20:29.840Z] 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) [2021-10-13T14:20:29.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-13T14:20:30.159Z] + git tag --points-at HEAD [Pipeline] } [2021-10-13T14:20:30.170Z] $ docker exec --env ******** --env ******** 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent -k [2021-10-13T14:20:30.255Z] unset SSH_AUTH_SOCK; [2021-10-13T14:20:30.255Z] unset SSH_AGENT_PID; [2021-10-13T14:20:30.255Z] echo Agent pid 20 killed; [2021-10-13T14:20:30.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-13T14:20:30.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-13T14:20:30.296Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-13T14:20:30.397Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-13T14:20:30.399Z] $ docker exec 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent [2021-10-13T14:20:30.503Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDgAJDb/agent.55 [2021-10-13T14:20:30.503Z] SSH_AGENT_PID=62 [2021-10-13T14:20:30.508Z] Running ssh-add (command line suppressed) [2021-10-13T14:20:30.607Z] 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) [2021-10-13T14:20:30.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-13T14:20:30.913Z] + git semver init [2021-10-13T14:20:30.913Z] # -> Open(): unable to determine branch for HEAD [2021-10-13T14:20:30.913Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-670/.git [2021-10-13T14:20:30.913Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-670 [2021-10-13T14:20:30.913Z] # $SEMVER_REMOTE_NAME = origin [2021-10-13T14:20:30.913Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-13T14:20:30.913Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-13T14:20:30.913Z] # $SEMVER_BRANCH = PR-670 [2021-10-13T14:20:30.913Z] # $SEMVER_TEMP = /tmp/semver-272681521 [2021-10-13T14:20:30.913Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-10-13T14:20:31.853Z] # '/tmp/semver-272681521' -> '/w/workspace/dry_go-mod-core-contracts_PR-670/.semver' [2021-10-13T14:20:31.853Z] # -> Force: false [2021-10-13T14:20:31.853Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-670/.semver [Pipeline] } [2021-10-13T14:20:31.862Z] $ docker exec --env ******** --env ******** 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 ssh-agent -k [2021-10-13T14:20:31.959Z] unset SSH_AUTH_SOCK; [2021-10-13T14:20:31.960Z] unset SSH_AGENT_PID; [2021-10-13T14:20:31.960Z] echo Agent pid 62 killed; [2021-10-13T14:20:31.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-13T14:20:32.272Z] + git semver [Pipeline] } [2021-10-13T14:20:32.284Z] $ docker stop --time=1 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 [2021-10-13T14:20:33.515Z] $ docker rm -f 28250bd2477124ef441888d3afdfd85f2dba990fb4e56bd5fde1149eec266785 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-13T14:20:33.864Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-13T14:20:34.119Z] Stashed 1 file(s) [Pipeline] echo [2021-10-13T14:20:34.122Z] [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-10-13T14:20:49.281Z] Still waiting to schedule task [2021-10-13T14:20:49.281Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-13T14:20:49.282Z] Still waiting to schedule task [2021-10-13T14:20:49.282Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1068’ [2021-10-13T14:22:52.335Z] Running on prd-centos7-docker-4c-2g-1070 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] ws [2021-10-13T14:22:52.347Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2021-10-13T14:22:52.442Z] Selected Git installation does not exist. Using Default [2021-10-13T14:22:52.442Z] The recommended git tool is: NONE [2021-10-13T14:22:54.646Z] using credential edgex-jenkins-ssh [2021-10-13T14:22:54.656Z] Cloning the remote Git repository [2021-10-13T14:22:53.945Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-13T14:22:53.999Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2021-10-13T14:22:54.031Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-13T14:22:54.032Z] > git --version # timeout=10 [2021-10-13T14:22:54.043Z] > git --version # 'git version 2.24.4' [2021-10-13T14:22:54.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T14:22:54.070Z] [INFO] Currently running in a labeled security context [2021-10-13T14:22:54.070Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T14:22:54.071Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/3@tmp/jenkins-gitclient-ssh3156487663903368170.key [2021-10-13T14:22:54.093Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T14:22:55.051Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-13T14:22:55.062Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T14:22:55.076Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-13T14:22:55.097Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-13T14:22:55.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T14:22:55.098Z] [INFO] Currently running in a labeled security context [2021-10-13T14:22:55.098Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T14:22:55.099Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/3@tmp/jenkins-gitclient-ssh1267989063815441604.key [2021-10-13T14:22:55.105Z] > 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 [2021-10-13T14:22:56.446Z] Merging remotes/origin/main commit dfcc36c5a5befe0a1977696dfde3713f959ecc3e into PR head commit 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [2021-10-13T14:22:56.558Z] Merge succeeded, producing 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [2021-10-13T14:22:56.559Z] Checking out Revision 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed (PR-670) [2021-10-13T14:22:55.725Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T14:22:55.733Z] > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 [2021-10-13T14:22:55.776Z] > git remote # timeout=10 [2021-10-13T14:22:55.784Z] > git config --get remote.origin.url # timeout=10 [2021-10-13T14:22:55.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T14:22:55.797Z] [INFO] Currently running in a labeled security context [2021-10-13T14:22:55.797Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-13T14:22:55.797Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/3@tmp/jenkins-gitclient-ssh1204366794195426959.key [2021-10-13T14:22:55.805Z] > git merge dfcc36c5a5befe0a1977696dfde3713f959ecc3e # timeout=10 [2021-10-13T14:22:55.815Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-13T14:22:55.830Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T14:22:55.834Z] > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 [2021-10-13T14:23:00.005Z] 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 [2021-10-13T14:23:00.728Z] ========================================================= [2021-10-13T14:23:00.728Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-13T14:23:00.728Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-13T14:23:01.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-13T14:23:01.108Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-13T14:23:01.108Z] 4e9f2cdf4387: Pulling fs layer [2021-10-13T14:23:01.108Z] 57d31006c564: Pulling fs layer [2021-10-13T14:23:01.108Z] bd5ccded8296: Pulling fs layer [2021-10-13T14:23:01.108Z] 304dd3a0f381: Pulling fs layer [2021-10-13T14:23:01.108Z] d37cda54a23b: Pulling fs layer [2021-10-13T14:23:01.108Z] bae75c0f2455: Pulling fs layer [2021-10-13T14:23:01.108Z] 806579b3d29a: Pulling fs layer [2021-10-13T14:23:01.108Z] c77eb801bf70: Pulling fs layer [2021-10-13T14:23:01.108Z] 6d0567d44e1a: Pulling fs layer [2021-10-13T14:23:01.108Z] 304dd3a0f381: Waiting [2021-10-13T14:23:01.108Z] d37cda54a23b: Waiting [2021-10-13T14:23:01.108Z] bae75c0f2455: Waiting [2021-10-13T14:23:01.108Z] 806579b3d29a: Waiting [2021-10-13T14:23:01.108Z] c77eb801bf70: Waiting [2021-10-13T14:23:01.108Z] 6d0567d44e1a: Waiting [2021-10-13T14:23:01.108Z] bd5ccded8296: Verifying Checksum [2021-10-13T14:23:01.108Z] bd5ccded8296: Download complete [2021-10-13T14:23:01.108Z] 57d31006c564: Verifying Checksum [2021-10-13T14:23:01.108Z] 57d31006c564: Download complete [2021-10-13T14:23:01.381Z] d37cda54a23b: Verifying Checksum [2021-10-13T14:23:01.381Z] d37cda54a23b: Download complete [2021-10-13T14:23:01.381Z] bae75c0f2455: Verifying Checksum [2021-10-13T14:23:01.381Z] bae75c0f2455: Download complete [2021-10-13T14:23:01.381Z] 806579b3d29a: Verifying Checksum [2021-10-13T14:23:01.381Z] 806579b3d29a: Download complete [2021-10-13T14:23:01.381Z] 4e9f2cdf4387: Verifying Checksum [2021-10-13T14:23:01.381Z] 4e9f2cdf4387: Download complete [2021-10-13T14:23:01.381Z] c77eb801bf70: Verifying Checksum [2021-10-13T14:23:01.381Z] c77eb801bf70: Download complete [2021-10-13T14:23:01.650Z] 4e9f2cdf4387: Pull complete [2021-10-13T14:23:01.914Z] 57d31006c564: Pull complete [2021-10-13T14:23:01.914Z] bd5ccded8296: Pull complete [2021-10-13T14:23:01.914Z] 304dd3a0f381: Verifying Checksum [2021-10-13T14:23:01.914Z] 304dd3a0f381: Download complete [2021-10-13T14:23:02.178Z] 6d0567d44e1a: Verifying Checksum [2021-10-13T14:23:02.178Z] 6d0567d44e1a: Download complete [2021-10-13T14:23:06.418Z] 304dd3a0f381: Pull complete [2021-10-13T14:23:06.418Z] d37cda54a23b: Pull complete [2021-10-13T14:23:06.418Z] bae75c0f2455: Pull complete [2021-10-13T14:23:06.418Z] 806579b3d29a: Pull complete [2021-10-13T14:23:06.418Z] c77eb801bf70: Pull complete [2021-10-13T14:23:08.347Z] 6d0567d44e1a: Pull complete [2021-10-13T14:23:08.609Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-13T14:23:08.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-13T14:23:08.609Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-13T14:23:08.935Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:23:09.236Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-13T14:23:09.236Z] . [Pipeline] withDockerContainer [2021-10-13T14:23:09.307Z] prd-centos7-docker-4c-2g-1070 does not seem to be running inside a container [2021-10-13T14:23:09.349Z] $ 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 [2021-10-13T14:23:11.667Z] $ docker top db32ae277d9408ee6c2b7a2c8b877a147731d7218dc48d9b3202c8cf5ca393d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T14:23:12.046Z] + go version [2021-10-13T14:23:12.046Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-13T14:23:12.056Z] $ docker stop --time=1 db32ae277d9408ee6c2b7a2c8b877a147731d7218dc48d9b3202c8cf5ca393d7 [2021-10-13T14:23:13.267Z] $ docker rm -f db32ae277d9408ee6c2b7a2c8b877a147731d7218dc48d9b3202c8cf5ca393d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:23:13.769Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-13T14:23:13.769Z] . [Pipeline] withDockerContainer [2021-10-13T14:23:13.833Z] prd-centos7-docker-4c-2g-1070 does not seem to be running inside a container [2021-10-13T14:23:13.887Z] $ 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 [2021-10-13T14:23:14.288Z] $ docker top a932a07520f4afd5ec097e2f78a5e4cf4c16b62ac9947871383af7388606bd24 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-13T14:23:14.657Z] + make test [2021-10-13T14:23:14.657Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-13T14:23:16.063Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-13T14:23:16.063Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-13T14:23:16.063Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-13T14:23:16.063Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-13T14:23:16.063Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-13T14:23:16.063Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-13T14:23:16.063Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-13T14:23:16.063Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-13T14:23:16.063Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-13T14:23:16.063Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-13T14:23:16.063Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-13T14:23:16.063Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-13T14:23:16.063Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-13T14:23:16.063Z] go: downloading golang.org/x/text v0.3.6 [2021-10-13T14:23:16.334Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-13T14:23:16.334Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-13T14:23:17.750Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-10-13T14:23:27.846Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.062s coverage: 83.5% of statements [2021-10-13T14:23:27.846Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-10-13T14:23:27.846Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-10-13T14:23:27.846Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-10-13T14:23:27.846Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.006s coverage: 26.3% of statements [2021-10-13T14:23:27.846Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-10-13T14:23:28.432Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.012s coverage: 47.1% of statements [2021-10-13T14:23:28.432Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.012s coverage: 90.5% of statements [2021-10-13T14:23:29.015Z] {"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"}}}} [2021-10-13T14:23:29.015Z] {"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}} [2021-10-13T14:23:29.015Z] {"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"}} [2021-10-13T14:23:29.015Z] {"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"}} [2021-10-13T14:23:29.015Z] --- FAIL: Test_AddEventReqToEventModels (0.00s) [2021-10-13T14:23:29.015Z] --- FAIL: Test_AddEventReqToEventModels/valid_AddEventRequest (0.00s) [2021-10-13T14:23:29.015Z] event_test.go:315: [2021-10-13T14:23:29.015Z] Error Trace: event_test.go:315 [2021-10-13T14:23:29.015Z] Error: Not equal: [2021-10-13T14:23:29.015Z] 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"}} [2021-10-13T14:23:29.015Z] 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"}} [2021-10-13T14:23:29.015Z] [2021-10-13T14:23:29.015Z] Diff: [2021-10-13T14:23:29.015Z] --- Expected [2021-10-13T14:23:29.015Z] +++ Actual [2021-10-13T14:23:29.015Z] @@ -9,3 +9,3 @@ [2021-10-13T14:23:29.015Z] BaseReading: (models.BaseReading) { [2021-10-13T14:23:29.015Z] - Id: (string) "", [2021-10-13T14:23:29.015Z] + Id: (string) (len=36) "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", [2021-10-13T14:23:29.015Z] Origin: (int64) 1587540776, [2021-10-13T14:23:29.015Z] Test: Test_AddEventReqToEventModels/valid_AddEventRequest [2021-10-13T14:23:29.015Z] Messages: AddEventReqToEventModel did not result in expected Event model. [2021-10-13T14:23:29.015Z] {"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"}]}} [2021-10-13T14:23:29.015Z] FAIL [2021-10-13T14:23:29.015Z] coverage: 86.2% of statements [2021-10-13T14:23:29.015Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.030s [2021-10-13T14:23:29.015Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 59.5% of statements [2021-10-13T14:23:29.280Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.004s coverage: 36.1% of statements [2021-10-13T14:23:29.542Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.007s coverage: 48.7% of statements [2021-10-13T14:23:29.542Z] FAIL [2021-10-13T14:23:29.542Z] make: *** [Makefile:9: test] Error 1 [Pipeline] } [2021-10-13T14:23:29.556Z] $ docker stop --time=1 a932a07520f4afd5ec097e2f78a5e4cf4c16b62ac9947871383af7388606bd24 [2021-10-13T14:23:31.253Z] $ 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 [2021-10-13T14:23:32.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T14:23:32.228Z] [2021-10-13T14:23:32.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:23:32.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T14:23:32.539Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-13T14:23:32.539Z] b4d181a07f80: Pulling fs layer [2021-10-13T14:23:32.539Z] a1111a8f2ec3: Pulling fs layer [2021-10-13T14:23:32.539Z] ed53099fbce6: Pulling fs layer [2021-10-13T14:23:32.539Z] dc539afda2c1: Pulling fs layer [2021-10-13T14:23:32.539Z] 77bc0d833cb6: Pulling fs layer [2021-10-13T14:23:32.540Z] 9065ff56babe: Pulling fs layer [2021-10-13T14:23:32.540Z] d287ab97295c: Pulling fs layer [2021-10-13T14:23:32.540Z] dc539afda2c1: Waiting [2021-10-13T14:23:32.540Z] 77bc0d833cb6: Waiting [2021-10-13T14:23:32.540Z] d287ab97295c: Waiting [2021-10-13T14:23:32.540Z] 9065ff56babe: Waiting [2021-10-13T14:23:32.540Z] a1111a8f2ec3: Verifying Checksum [2021-10-13T14:23:32.540Z] a1111a8f2ec3: Download complete [2021-10-13T14:23:32.540Z] dc539afda2c1: Verifying Checksum [2021-10-13T14:23:32.540Z] dc539afda2c1: Download complete [2021-10-13T14:23:32.808Z] ed53099fbce6: Verifying Checksum [2021-10-13T14:23:32.808Z] ed53099fbce6: Download complete [2021-10-13T14:23:32.808Z] 9065ff56babe: Verifying Checksum [2021-10-13T14:23:32.808Z] 9065ff56babe: Download complete [2021-10-13T14:23:32.808Z] 77bc0d833cb6: Verifying Checksum [2021-10-13T14:23:32.808Z] 77bc0d833cb6: Download complete [2021-10-13T14:23:32.808Z] b4d181a07f80: Verifying Checksum [2021-10-13T14:23:32.808Z] b4d181a07f80: Download complete [2021-10-13T14:23:33.381Z] d287ab97295c: Verifying Checksum [2021-10-13T14:23:33.381Z] d287ab97295c: Download complete [2021-10-13T14:23:34.342Z] b4d181a07f80: Pull complete [2021-10-13T14:23:34.342Z] a1111a8f2ec3: Pull complete [2021-10-13T14:23:34.928Z] ed53099fbce6: Pull complete [2021-10-13T14:23:34.928Z] dc539afda2c1: Pull complete [2021-10-13T14:23:35.191Z] 77bc0d833cb6: Pull complete [2021-10-13T14:23:35.191Z] 9065ff56babe: Pull complete [2021-10-13T14:23:40.501Z] d287ab97295c: Pull complete [2021-10-13T14:23:40.501Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-13T14:23:40.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T14:23:40.501Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-13T14:23:40.564Z] prd-centos7-docker-4c-2g-1070 does not seem to be running inside a container [2021-10-13T14:23:40.604Z] $ 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 [2021-10-13T14:23:42.922Z] $ docker top 6991abef72a1a9b00b9fdd7204fcea99886bd726b1c6e41a1693a08d189935da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:23:43.395Z] ---> job-cost.sh [2021-10-13T14:23:43.395Z] lf-activate-venv: SKIPPING [2021-10-13T14:23:43.395Z] INFO: No Stack... [2021-10-13T14:24:05.359Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-13T14:24:20.260Z] ERROR: Pricing API returned invalid json [2021-10-13T14:24:20.260Z] INFO: Archiving Costs [Pipeline] sh [2021-10-13T14:24:20.556Z] + cut -d, -f6 [2021-10-13T14:24:20.557Z] + cat /w/workspace/go-mod-core-contracts/3/archives/cost.csv [Pipeline] lock [2021-10-13T14:24:20.587Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [2021-10-13T14:24:20.595Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] did not exist. Created. [2021-10-13T14:24:20.595Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-13T14:24:20.902Z] + echo total: 0.0 [Pipeline] stash [2021-10-13T14:24:21.085Z] Stashed 1 file(s) [Pipeline] } [2021-10-13T14:24:21.091Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-13T14:24:21.108Z] $ docker stop --time=1 6991abef72a1a9b00b9fdd7204fcea99886bd726b1c6e41a1693a08d189935da [2021-10-13T14:24:22.237Z] $ 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] } [2021-10-13T14:24:22.674Z] Failed in branch amd64 [2021-10-13T14:27:02.585Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1072 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] ws [2021-10-13T14:27:02.596Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2021-10-13T14:27:02.908Z] Selected Git installation does not exist. Using Default [2021-10-13T14:27:02.908Z] The recommended git tool is: NONE [2021-10-13T14:27:08.962Z] using credential edgex-jenkins-ssh [2021-10-13T14:27:08.987Z] Cloning the remote Git repository [2021-10-13T14:27:09.057Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-13T14:27:09.159Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2021-10-13T14:27:09.252Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-13T14:27:09.253Z] > git --version # timeout=10 [2021-10-13T14:27:09.274Z] > git --version # 'git version 2.17.1' [2021-10-13T14:27:09.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T14:27:09.372Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T14:27:11.943Z] Merging remotes/origin/main commit dfcc36c5a5befe0a1977696dfde3713f959ecc3e into PR head commit 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [2021-10-13T14:27:10.932Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-13T14:27:10.952Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-13T14:27:10.987Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-13T14:27:11.022Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-13T14:27:11.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T14:27:11.036Z] > 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 [2021-10-13T14:27:12.201Z] Merge succeeded, producing 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed [2021-10-13T14:27:12.201Z] Checking out Revision 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed (PR-670) [2021-10-13T14:27:11.969Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T14:27:11.982Z] > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 [2021-10-13T14:27:12.112Z] > git remote # timeout=10 [2021-10-13T14:27:12.136Z] > git config --get remote.origin.url # timeout=10 [2021-10-13T14:27:12.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-13T14:27:12.164Z] > git merge dfcc36c5a5befe0a1977696dfde3713f959ecc3e # timeout=10 [2021-10-13T14:27:12.188Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-13T14:27:12.211Z] > git config core.sparsecheckout # timeout=10 [2021-10-13T14:27:12.231Z] > git checkout -f 454282af39a72cd59f9ed8d3b6f95a1ab725c7ed # timeout=10 [2021-10-13T14:27:16.686Z] 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 [2021-10-13T14:27:17.467Z] ========================================================= [2021-10-13T14:27:17.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-13T14:27:17.467Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-13T14:27:18.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-13T14:27:19.644Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-13T14:27:19.644Z] bbf911997326: Pulling fs layer [2021-10-13T14:27:19.644Z] 58ec367f63d7: Pulling fs layer [2021-10-13T14:27:19.644Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-13T14:27:19.644Z] fc5181fea5dc: Pulling fs layer [2021-10-13T14:27:19.644Z] 9c418107303f: Pulling fs layer [2021-10-13T14:27:19.644Z] 284eca6f2348: Pulling fs layer [2021-10-13T14:27:19.644Z] 842844d905b1: Pulling fs layer [2021-10-13T14:27:19.644Z] 901a3a57568e: Pulling fs layer [2021-10-13T14:27:19.644Z] 9c418107303f: Waiting [2021-10-13T14:27:19.644Z] 842844d905b1: Waiting [2021-10-13T14:27:19.644Z] 284eca6f2348: Waiting [2021-10-13T14:27:19.644Z] fc5181fea5dc: Waiting [2021-10-13T14:27:19.644Z] 901a3a57568e: Waiting [2021-10-13T14:27:19.644Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-13T14:27:19.644Z] 58ec367f63d7: Verifying Checksum [2021-10-13T14:27:19.644Z] 58ec367f63d7: Download complete [2021-10-13T14:27:19.644Z] 9c418107303f: Verifying Checksum [2021-10-13T14:27:19.644Z] 9c418107303f: Download complete [2021-10-13T14:27:19.644Z] 284eca6f2348: Download complete [2021-10-13T14:27:19.644Z] bbf911997326: Download complete [2021-10-13T14:27:19.644Z] 842844d905b1: Download complete [2021-10-13T14:27:20.654Z] bbf911997326: Pull complete [2021-10-13T14:27:21.276Z] 58ec367f63d7: Pull complete [2021-10-13T14:27:21.557Z] 1b4a6ffa7d45: Pull complete [2021-10-13T14:27:21.557Z] 901a3a57568e: Verifying Checksum [2021-10-13T14:27:21.557Z] 901a3a57568e: Download complete [2021-10-13T14:27:22.174Z] fc5181fea5dc: Verifying Checksum [2021-10-13T14:27:22.174Z] fc5181fea5dc: Download complete [2021-10-13T14:27:32.417Z] fc5181fea5dc: Pull complete [2021-10-13T14:27:32.417Z] 9c418107303f: Pull complete [2021-10-13T14:27:32.417Z] 284eca6f2348: Pull complete [2021-10-13T14:27:33.025Z] 842844d905b1: Pull complete [2021-10-13T14:27:38.492Z] 901a3a57568e: Pull complete [2021-10-13T14:27:38.772Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-13T14:27:38.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-13T14:27:38.772Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-13T14:27:39.208Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:27:39.575Z] + docker inspect -f . ci-base-image-arm64 [2021-10-13T14:27:39.575Z] . [Pipeline] withDockerContainer [2021-10-13T14:27:39.850Z] prd-ubuntu18.04-docker-arm64-4c-16g-1072 does not seem to be running inside a container [2021-10-13T14:27:39.972Z] $ 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 [2021-10-13T14:27:46.053Z] $ docker top 3e561cc2323d36650446d91c41396798797bce8b7e7ba3eeb23a7610da3f9066 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T14:27:47.078Z] + go version [2021-10-13T14:27:47.078Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-13T14:27:47.108Z] $ docker stop --time=1 3e561cc2323d36650446d91c41396798797bce8b7e7ba3eeb23a7610da3f9066 [2021-10-13T14:27:48.935Z] $ docker rm -f 3e561cc2323d36650446d91c41396798797bce8b7e7ba3eeb23a7610da3f9066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:27:49.668Z] + docker inspect -f . ci-base-image-arm64 [2021-10-13T14:27:49.668Z] . [Pipeline] withDockerContainer [2021-10-13T14:27:49.939Z] prd-ubuntu18.04-docker-arm64-4c-16g-1072 does not seem to be running inside a container [2021-10-13T14:27:50.051Z] $ 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 [2021-10-13T14:27:51.678Z] $ docker top 5ae2f2643f821392eac2dc4e7868241790f4f6131543b3757cfff1f399d99800 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-13T14:27:52.636Z] + make test [2021-10-13T14:27:52.636Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-13T14:27:55.288Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-13T14:27:55.288Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-13T14:27:55.288Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-13T14:27:55.288Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-13T14:27:55.288Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-13T14:27:55.288Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-13T14:27:55.568Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-13T14:27:55.568Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-13T14:27:55.568Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-13T14:27:55.568Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-13T14:27:55.568Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-13T14:27:55.568Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-13T14:27:55.568Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-13T14:27:55.568Z] go: downloading golang.org/x/text v0.3.6 [2021-10-13T14:27:55.568Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-13T14:27:55.846Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-13T14:28:00.230Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-10-13T14:28:33.192Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.410s coverage: 83.5% of statements [2021-10-13T14:28:33.192Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-10-13T14:28:33.192Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-10-13T14:28:33.192Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-10-13T14:28:33.192Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.066s coverage: 26.3% of statements [2021-10-13T14:28:33.192Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-10-13T14:28:36.654Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.083s coverage: 47.1% of statements [2021-10-13T14:28:36.654Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.122s coverage: 90.5% of statements [2021-10-13T14:28:37.269Z] {"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"}}}} [2021-10-13T14:28:37.269Z] {"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}} [2021-10-13T14:28:37.269Z] {"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"}} [2021-10-13T14:28:37.269Z] {"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"}} [2021-10-13T14:28:37.269Z] --- FAIL: Test_AddEventReqToEventModels (0.00s) [2021-10-13T14:28:37.269Z] --- FAIL: Test_AddEventReqToEventModels/valid_AddEventRequest (0.00s) [2021-10-13T14:28:37.269Z] event_test.go:315: [2021-10-13T14:28:37.269Z] Error Trace: event_test.go:315 [2021-10-13T14:28:37.269Z] Error: Not equal: [2021-10-13T14:28:37.269Z] 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"}} [2021-10-13T14:28:37.269Z] 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"}} [2021-10-13T14:28:37.269Z] [2021-10-13T14:28:37.269Z] Diff: [2021-10-13T14:28:37.269Z] --- Expected [2021-10-13T14:28:37.269Z] +++ Actual [2021-10-13T14:28:37.269Z] @@ -9,3 +9,3 @@ [2021-10-13T14:28:37.269Z] BaseReading: (models.BaseReading) { [2021-10-13T14:28:37.269Z] - Id: (string) "", [2021-10-13T14:28:37.269Z] + Id: (string) (len=36) "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc", [2021-10-13T14:28:37.269Z] Origin: (int64) 1587540776, [2021-10-13T14:28:37.269Z] Test: Test_AddEventReqToEventModels/valid_AddEventRequest [2021-10-13T14:28:37.269Z] Messages: AddEventReqToEventModel did not result in expected Event model. [2021-10-13T14:28:37.269Z] {"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"}]}} [2021-10-13T14:28:37.269Z] FAIL [2021-10-13T14:28:37.269Z] coverage: 86.2% of statements [2021-10-13T14:28:37.269Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.231s [2021-10-13T14:28:37.269Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.046s coverage: 59.5% of statements [2021-10-13T14:28:37.555Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.013s coverage: 36.1% of statements [2021-10-13T14:28:38.552Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.036s coverage: 48.7% of statements [2021-10-13T14:28:38.552Z] FAIL [2021-10-13T14:28:38.831Z] make: *** [Makefile:9: test] Error 1 [Pipeline] } [2021-10-13T14:28:38.868Z] $ docker stop --time=1 5ae2f2643f821392eac2dc4e7868241790f4f6131543b3757cfff1f399d99800 [2021-10-13T14:28:41.117Z] $ 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 [2021-10-13T14:28:43.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T14:28:43.595Z] [2021-10-13T14:28:43.595Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:28:43.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T14:28:44.250Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-13T14:28:44.250Z] 448f6bf000e3: Pulling fs layer [2021-10-13T14:28:44.250Z] f757da607395: Pulling fs layer [2021-10-13T14:28:44.250Z] 05883995daec: Pulling fs layer [2021-10-13T14:28:44.250Z] 8603b9c90790: Pulling fs layer [2021-10-13T14:28:44.250Z] 1560dd03e051: Pulling fs layer [2021-10-13T14:28:44.250Z] 27f5ce0e4adf: Pulling fs layer [2021-10-13T14:28:44.250Z] c2d8d7efcc4b: Pulling fs layer [2021-10-13T14:28:44.250Z] 8603b9c90790: Waiting [2021-10-13T14:28:44.250Z] 1560dd03e051: Waiting [2021-10-13T14:28:44.250Z] 27f5ce0e4adf: Waiting [2021-10-13T14:28:44.250Z] c2d8d7efcc4b: Waiting [2021-10-13T14:28:44.531Z] f757da607395: Verifying Checksum [2021-10-13T14:28:44.531Z] f757da607395: Download complete [2021-10-13T14:28:44.531Z] 05883995daec: Verifying Checksum [2021-10-13T14:28:44.531Z] 05883995daec: Download complete [2021-10-13T14:28:44.531Z] 8603b9c90790: Verifying Checksum [2021-10-13T14:28:44.531Z] 8603b9c90790: Download complete [2021-10-13T14:28:44.531Z] 27f5ce0e4adf: Download complete [2021-10-13T14:28:44.531Z] 1560dd03e051: Verifying Checksum [2021-10-13T14:28:44.531Z] 1560dd03e051: Download complete [2021-10-13T14:28:44.807Z] 448f6bf000e3: Verifying Checksum [2021-10-13T14:28:44.807Z] 448f6bf000e3: Download complete [2021-10-13T14:28:47.469Z] c2d8d7efcc4b: Verifying Checksum [2021-10-13T14:28:47.469Z] c2d8d7efcc4b: Download complete [2021-10-13T14:28:48.072Z] 448f6bf000e3: Pull complete [2021-10-13T14:28:48.674Z] f757da607395: Pull complete [2021-10-13T14:28:50.134Z] 05883995daec: Pull complete [2021-10-13T14:28:50.412Z] 8603b9c90790: Pull complete [2021-10-13T14:28:51.414Z] 1560dd03e051: Pull complete [2021-10-13T14:28:51.692Z] 27f5ce0e4adf: Pull complete [2021-10-13T14:29:06.861Z] c2d8d7efcc4b: Pull complete [2021-10-13T14:29:06.861Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-13T14:29:06.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-13T14:29:06.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-13T14:29:07.089Z] prd-ubuntu18.04-docker-arm64-4c-16g-1072 does not seem to be running inside a container [2021-10-13T14:29:07.190Z] $ 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 [2021-10-13T14:29:11.775Z] $ docker top 66b0cb935b8dbbc8c67413e41b43e2a6c74d767a373a07ab26b6a1546c9a4fff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:29:12.740Z] ---> job-cost.sh [2021-10-13T14:29:12.741Z] lf-activate-venv: SKIPPING [2021-10-13T14:29:12.741Z] INFO: No Stack... [2021-10-13T14:29:21.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-13T14:29:36.231Z] ERROR: Pricing API returned invalid json [2021-10-13T14:29:36.231Z] INFO: Archiving Costs [Pipeline] sh [2021-10-13T14:29:36.921Z] + cat /w/workspace/go-mod-core-contracts/3/archives/cost.csv [2021-10-13T14:29:36.921Z] + cut -d, -f6 [Pipeline] lock [2021-10-13T14:29:37.000Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [2021-10-13T14:29:37.006Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] did not exist. Created. [2021-10-13T14:29:37.006Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-13T14:29:37.757Z] /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 [2021-10-13T14:29:38.448Z] + echo total: 0.0 [Pipeline] stash [2021-10-13T14:29:38.473Z] Warning: overwriting stash ‘stack-cost’ [2021-10-13T14:29:39.143Z] Stashed 1 file(s) [Pipeline] } [2021-10-13T14:29:39.150Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-13T14:29:39.180Z] $ docker stop --time=1 66b0cb935b8dbbc8c67413e41b43e2a6c74d767a373a07ab26b6a1546c9a4fff [2021-10-13T14:29:40.849Z] $ 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] } [2021-10-13T14:29:41.573Z] 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 [2021-10-13T14:29:43.308Z] + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-670/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:29:43.604Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:29:44.170Z] ---> package-listing.sh [2021-10-13T14:29:44.170Z] ++ facter osfamily [2021-10-13T14:29:44.170Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-13T14:29:44.433Z] + OS_FAMILY=redhat [2021-10-13T14:29:44.433Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-670 [2021-10-13T14:29:44.433Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-13T14:29:44.433Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-13T14:29:44.433Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-13T14:29:44.433Z] + PACKAGES=/tmp/packages_start.txt [2021-10-13T14:29:44.433Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-670 ']' [2021-10-13T14:29:44.433Z] + PACKAGES=/tmp/packages_end.txt [2021-10-13T14:29:44.433Z] + case "${OS_FAMILY}" in [2021-10-13T14:29:44.433Z] + sort [2021-10-13T14:29:44.433Z] + rpm -qa [2021-10-13T14:29:45.013Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-13T14:29:45.013Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-13T14:29:45.013Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-13T14:29:45.013Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-670 ']' [2021-10-13T14:29:45.013Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-670/archives/ [2021-10-13T14:29:45.013Z] + 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 [2021-10-13T14:29:45.024Z] 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 [2021-10-13T14:29:45.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:29:45.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T14:29:45.873Z] [2021-10-13T14:29:45.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-13T14:29:46.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T14:29:46.176Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-13T14:29:46.176Z] b4d181a07f80: Pulling fs layer [2021-10-13T14:29:46.176Z] a1111a8f2ec3: Pulling fs layer [2021-10-13T14:29:46.176Z] ed53099fbce6: Pulling fs layer [2021-10-13T14:29:46.176Z] dc539afda2c1: Pulling fs layer [2021-10-13T14:29:46.176Z] 77bc0d833cb6: Pulling fs layer [2021-10-13T14:29:46.176Z] 9065ff56babe: Pulling fs layer [2021-10-13T14:29:46.176Z] d287ab97295c: Pulling fs layer [2021-10-13T14:29:46.176Z] dc539afda2c1: Waiting [2021-10-13T14:29:46.176Z] 77bc0d833cb6: Waiting [2021-10-13T14:29:46.176Z] 9065ff56babe: Waiting [2021-10-13T14:29:46.176Z] d287ab97295c: Waiting [2021-10-13T14:29:46.176Z] a1111a8f2ec3: Verifying Checksum [2021-10-13T14:29:46.176Z] a1111a8f2ec3: Download complete [2021-10-13T14:29:46.176Z] dc539afda2c1: Verifying Checksum [2021-10-13T14:29:46.176Z] dc539afda2c1: Download complete [2021-10-13T14:29:46.440Z] 77bc0d833cb6: Verifying Checksum [2021-10-13T14:29:46.440Z] 77bc0d833cb6: Download complete [2021-10-13T14:29:46.440Z] b4d181a07f80: Verifying Checksum [2021-10-13T14:29:46.440Z] b4d181a07f80: Download complete [2021-10-13T14:29:46.440Z] 9065ff56babe: Verifying Checksum [2021-10-13T14:29:46.440Z] 9065ff56babe: Download complete [2021-10-13T14:29:46.440Z] ed53099fbce6: Verifying Checksum [2021-10-13T14:29:46.440Z] ed53099fbce6: Download complete [2021-10-13T14:29:47.021Z] d287ab97295c: Verifying Checksum [2021-10-13T14:29:47.021Z] d287ab97295c: Download complete [2021-10-13T14:29:47.970Z] b4d181a07f80: Pull complete [2021-10-13T14:29:47.970Z] a1111a8f2ec3: Pull complete [2021-10-13T14:29:48.550Z] ed53099fbce6: Pull complete [2021-10-13T14:29:48.550Z] dc539afda2c1: Pull complete [2021-10-13T14:29:48.815Z] 77bc0d833cb6: Pull complete [2021-10-13T14:29:48.815Z] 9065ff56babe: Pull complete [2021-10-13T14:29:54.162Z] d287ab97295c: Pull complete [2021-10-13T14:29:54.162Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-13T14:29:54.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-13T14:29:54.162Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-13T14:29:54.224Z] prd-centos7-docker-4c-2g-1069 does not seem to be running inside a container [2021-10-13T14:29:54.257Z] $ 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 [2021-10-13T14:29:56.442Z] $ docker top 8fa824f0ec1ff859f5d6dd1ebfb9d95b4f2440c0e501936fc0aa7bb703150682 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-13T14:29:56.820Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-13T14:29:57.117Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-13T14:29:57.412Z] + ls /var/log/sa-host [2021-10-13T14:29:57.412Z] + sadf -c /var/log/sa-host/sa13 [2021-10-13T14:29:57.412Z] file_magic: OK [2021-10-13T14:29:57.412Z] HZ: Using current value: 100 [2021-10-13T14:29:57.412Z] file_header: OK [2021-10-13T14:29:57.412Z] 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-10-13T14:29:57.412Z] Statistics: [2021-10-13T14:29:57.412Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-13T14:29:57.412Z] File successfully converted to sysstat format version 12.0.3 [2021-10-13T14:29:57.412Z] + sadf -c /var/log/sa-host/sa30 [2021-10-13T14:29:57.412Z] file_magic: OK [2021-10-13T14:29:57.412Z] HZ: Using current value: 100 [2021-10-13T14:29:57.412Z] file_header: OK [2021-10-13T14:29:57.412Z] 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-10-13T14:29:57.412Z] Statistics: [2021-10-13T14:29:57.412Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-13T14:29:57.412Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-13T14:29:57.517Z] provisioning config files... [2021-10-13T14:29:57.528Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/config2360237905334351160tmp [Pipeline] { [Pipeline] echo [2021-10-13T14:29:57.544Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:29:57.835Z] ---> create-netrc.sh [Pipeline] } [2021-10-13T14:29:57.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:29:58.172Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-13T14:29:58.180Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:29:58.462Z] ---> sudo-logs.sh [2021-10-13T14:29:58.462Z] Archiving 'sudo' log.. [2021-10-13T14:29:58.462Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1069.novalocal: Name or service not known [2021-10-13T14:29:58.462Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1069.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-13T14:29:58.505Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:29:58.794Z] ---> job-cost.sh [2021-10-13T14:29:58.794Z] lf-activate-venv: SKIPPING [2021-10-13T14:29:58.794Z] DEBUG: total: 0.0 [2021-10-13T14:29:58.794Z] INFO: Retrieving Stack Cost... [2021-10-13T14:29:59.733Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-13T14:30:17.845Z] ERROR: Pricing API returned invalid json [2021-10-13T14:30:17.845Z] INFO: Archiving Costs [Pipeline] echo [2021-10-13T14:30:17.858Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-13T14:30:18.160Z] ---> logs-deploy.sh [2021-10-13T14:30:18.160Z] lf-activate-venv: SKIPPING [2021-10-13T14:30:18.160Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-670/3 [2021-10-13T14:30:18.160Z] INFO: archiving workspace using pattern(s): [2021-10-13T14:30:18.734Z] Archives upload complete. [2021-10-13T14:30:18.997Z] INFO: archiving logs to Nexus