Pull request #651 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e2f5233bcdabedf9add171cb3cf618e8de7cdcdb+490a96143ed88d263d0e9894a43bf3751025c41b (a1cc31a5c637b778c0a3dcfd61af8d85b673712e) Running in Durability level: MAX_SURVIVABILITY 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-ssh2262643943071229135.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 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-ssh2493581443114353072.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-651/workspace@libs/edgex-global-pipelines # timeout=10 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-651/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8041368206539471176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-651/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4191785141899262098.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7983047704559256565.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-651/workspace@libs/lf-pipelines # timeout=10 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-651/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7440657192226984237.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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_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 ‘prd-centos7-docker-4c-2g-2785’ is offline Running on prd-centos7-docker-4c-2g-3296 in /w/workspace/dry_go-mod-core-contracts_PR-651 [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-651 # 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-651@tmp/jenkins-gitclient-ssh4194807953469086234.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 490a96143ed88d263d0e9894a43bf3751025c41b into PR head commit e2f5233bcdabedf9add171cb3cf618e8de7cdcdb Merge succeeded, producing e2f5233bcdabedf9add171cb3cf618e8de7cdcdb Checking out Revision e2f5233bcdabedf9add171cb3cf618e8de7cdcdb (PR-651) > 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-651@tmp/jenkins-gitclient-ssh2183430595237522028.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/651/head:refs/remotes/origin/PR-651 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2f5233bcdabedf9add171cb3cf618e8de7cdcdb # 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-651@tmp/jenkins-gitclient-ssh5921251453362895943.key > git merge 490a96143ed88d263d0e9894a43bf3751025c41b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2f5233bcdabedf9add171cb3cf618e8de7cdcdb # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-19T21:05:49.928Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-19T21:05:50.161Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-19T21:05:50.272Z] ========================================================= [2021-07-19T21:05:50.272Z] EdgeX Global Pipelines Version Info [2021-07-19T21:05:50.272Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:05:51.803Z] ------------------- [2021-07-19T21:05:51.804Z] stable info: [2021-07-19T21:05:51.804Z] ------------------- [2021-07-19T21:05:51.804Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-19T21:05:51.804Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-19T21:05:51.804Z] Message: update stable to v1.0.197 [2021-07-19T21:05:52.391Z] ------------------- [2021-07-19T21:05:52.391Z] experimental info: [2021-07-19T21:05:52.391Z] ------------------- [2021-07-19T21:05:52.391Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-19T21:05:52.391Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-19T21:05:52.391Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-19T21:05:52.699Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-07-19T21:05:52.752Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-07-19T21:05:52.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-19T21:05:52.858Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-19T21:05:52.922Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-19T21:05:53.015Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-19T21:05:53.109Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-19T21:05:53.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-19T21:05:53.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-19T21:05:53.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-19T21:05:53.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-19T21:05:53.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-07-19T21:05:53.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-19T21:05:53.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-19T21:05:53.587Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-19T21:05:53.640Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-19T21:05:53.698Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-19T21:05:53.754Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-19T21:05:53.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-19T21:05:53.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-19T21:05:53.926Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-19T21:05:53.978Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-19T21:05:54.081Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-19T21:05:54.147Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-19T21:05:54.218Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-19T21:05:54.298Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-19T21:05:54.376Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-651 [Pipeline] echo [2021-07-19T21:05:54.463Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-651 [Pipeline] echo [2021-07-19T21:05:54.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-651 [Pipeline] echo [2021-07-19T21:05:54.629Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2f5233bcdabedf9add171cb3cf618e8de7cdcdb [Pipeline] echo [2021-07-19T21:05:54.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2f5233 [Pipeline] echo [2021-07-19T21:05:54.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-19T21:05:55.682Z] + git log --format=format:%s -1 e2f5233bcdabedf9add171cb3cf618e8de7cdcdb [Pipeline] echo [2021-07-19T21:05:55.765Z] GIT_COMMIT: e2f5233bcdabedf9add171cb3cf618e8de7cdcdb, Commit Message: build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 [Pipeline] echo [2021-07-19T21:05:55.806Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:05:56.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-19T21:05:56.876Z] [2021-07-19T21:05:56.876Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:05:57.266Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-19T21:05:57.535Z] latest: Pulling from edgex-devops/git-semver [2021-07-19T21:05:57.535Z] 31603596830f: Pulling fs layer [2021-07-19T21:05:57.535Z] b6dc333f4379: Pulling fs layer [2021-07-19T21:05:57.535Z] 3d9ef1400e77: Pulling fs layer [2021-07-19T21:05:57.535Z] fd332fbdc1db: Pulling fs layer [2021-07-19T21:05:57.535Z] fd332fbdc1db: Waiting [2021-07-19T21:05:57.535Z] b6dc333f4379: Verifying Checksum [2021-07-19T21:05:57.535Z] b6dc333f4379: Download complete [2021-07-19T21:05:57.806Z] 31603596830f: Verifying Checksum [2021-07-19T21:05:57.806Z] 31603596830f: Download complete [2021-07-19T21:05:58.075Z] fd332fbdc1db: Verifying Checksum [2021-07-19T21:05:58.075Z] fd332fbdc1db: Download complete [2021-07-19T21:05:58.075Z] 31603596830f: Pull complete [2021-07-19T21:05:58.075Z] b6dc333f4379: Pull complete [2021-07-19T21:05:58.345Z] 3d9ef1400e77: Verifying Checksum [2021-07-19T21:05:58.345Z] 3d9ef1400e77: Download complete [2021-07-19T21:05:58.931Z] 3d9ef1400e77: Pull complete [2021-07-19T21:05:58.931Z] fd332fbdc1db: Pull complete [2021-07-19T21:05:58.931Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-19T21:05:58.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-19T21:05:58.931Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-19T21:05:59.067Z] prd-centos7-docker-4c-2g-3296 does not seem to be running inside a container [2021-07-19T21:05:59.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-651 -v /w/workspace/dry_go-mod-core-contracts_PR-651:/w/workspace/dry_go-mod-core-contracts_PR-651:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-651@tmp:/w/workspace/dry_go-mod-core-contracts_PR-651@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-19T21:05:59.835Z] $ docker top 29be8fd8752e01ab27c2ac38b0a1a13044a01616311e420e3954d00964a2079e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-19T21:06:00.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-19T21:06:00.036Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-19T21:06:00.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-19T21:06:00.146Z] $ docker exec 29be8fd8752e01ab27c2ac38b0a1a13044a01616311e420e3954d00964a2079e ssh-agent [2021-07-19T21:06:00.273Z] SSH_AUTH_SOCK=/tmp/ssh-o92BsQJvicT1/agent.14 [2021-07-19T21:06:00.273Z] SSH_AGENT_PID=20 [2021-07-19T21:06:00.284Z] Running ssh-add (command line suppressed) [2021-07-19T21:06:00.375Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-651@tmp/private_key_5753231033013847051.key (/w/workspace/dry_go-mod-core-contracts_PR-651@tmp/private_key_5753231033013847051.key) [2021-07-19T21:06:00.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-19T21:06:00.758Z] + git tag --points-at HEAD [Pipeline] } [2021-07-19T21:06:00.786Z] $ docker exec --env ******** --env ******** 29be8fd8752e01ab27c2ac38b0a1a13044a01616311e420e3954d00964a2079e ssh-agent -k [2021-07-19T21:06:00.880Z] unset SSH_AUTH_SOCK; [2021-07-19T21:06:00.881Z] unset SSH_AGENT_PID; [2021-07-19T21:06:00.881Z] echo Agent pid 20 killed; [2021-07-19T21:06:00.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-19T21:06:00.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-19T21:06:00.988Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-19T21:06:01.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-19T21:06:01.106Z] $ docker exec 29be8fd8752e01ab27c2ac38b0a1a13044a01616311e420e3954d00964a2079e ssh-agent [2021-07-19T21:06:01.227Z] SSH_AUTH_SOCK=/tmp/ssh-VcX0yBHlTQRH/agent.53 [2021-07-19T21:06:01.228Z] SSH_AGENT_PID=59 [2021-07-19T21:06:01.236Z] Running ssh-add (command line suppressed) [2021-07-19T21:06:01.333Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-651@tmp/private_key_5755172463706689087.key (/w/workspace/dry_go-mod-core-contracts_PR-651@tmp/private_key_5755172463706689087.key) [2021-07-19T21:06:01.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-19T21:06:01.726Z] + git semver init [2021-07-19T21:06:01.726Z] # -> Open(): unable to determine branch for HEAD [2021-07-19T21:06:01.726Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-651/.git [2021-07-19T21:06:01.726Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-651 [2021-07-19T21:06:01.726Z] # $SEMVER_REMOTE_NAME = origin [2021-07-19T21:06:01.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-19T21:06:01.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-19T21:06:01.726Z] # $SEMVER_BRANCH = PR-651 [2021-07-19T21:06:01.726Z] # $SEMVER_TEMP = /tmp/semver-003358525 [2021-07-19T21:06:01.726Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-07-19T21:06:02.692Z] # '/tmp/semver-003358525' -> '/w/workspace/dry_go-mod-core-contracts_PR-651/.semver' [2021-07-19T21:06:02.692Z] # -> Force: false [2021-07-19T21:06:02.692Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-651/.semver [Pipeline] } [2021-07-19T21:06:02.712Z] $ docker exec --env ******** --env ******** 29be8fd8752e01ab27c2ac38b0a1a13044a01616311e420e3954d00964a2079e ssh-agent -k [2021-07-19T21:06:02.816Z] unset SSH_AUTH_SOCK; [2021-07-19T21:06:02.817Z] unset SSH_AGENT_PID; [2021-07-19T21:06:02.817Z] echo Agent pid 59 killed; [2021-07-19T21:06:02.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-19T21:06:03.356Z] + git semver [Pipeline] } [2021-07-19T21:06:03.438Z] $ docker stop --time=1 29be8fd8752e01ab27c2ac38b0a1a13044a01616311e420e3954d00964a2079e [2021-07-19T21:06:04.674Z] $ docker rm -f 29be8fd8752e01ab27c2ac38b0a1a13044a01616311e420e3954d00964a2079e [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-19T21:06:05.116Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-19T21:06:05.535Z] Stashed 1 file(s) [Pipeline] echo [2021-07-19T21:06:05.592Z] [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-07-19T21:06:21.169Z] Still waiting to schedule task [2021-07-19T21:06:21.169Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-19T21:06:21.194Z] Still waiting to schedule task [2021-07-19T21:06:21.195Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-19T21:08:29.910Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3297 in /w/workspace/dry_go-mod-core-contracts_PR-651 [Pipeline] { [Pipeline] ws [2021-07-19T21:08:30.012Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-07-19T21:08:30.277Z] Selected Git installation does not exist. Using Default [2021-07-19T21:08:30.277Z] The recommended git tool is: NONE [2021-07-19T21:08:35.631Z] using credential edgex-jenkins-ssh [2021-07-19T21:08:35.650Z] Cloning the remote Git repository [2021-07-19T21:08:35.698Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-19T21:08:35.893Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-07-19T21:08:36.073Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-19T21:08:36.074Z] > git --version # timeout=10 [2021-07-19T21:08:36.112Z] > git --version # 'git version 2.17.1' [2021-07-19T21:08:36.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-19T21:08:36.204Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-19T21:08:37.585Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-19T21:08:37.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-19T21:08:37.630Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-19T21:08:37.664Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-19T21:08:37.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-19T21:08:37.681Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/651/head:refs/remotes/origin/PR-651 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-19T21:08:38.315Z] Merging remotes/origin/main commit 490a96143ed88d263d0e9894a43bf3751025c41b into PR head commit e2f5233bcdabedf9add171cb3cf618e8de7cdcdb [2021-07-19T21:08:38.562Z] Merge succeeded, producing e2f5233bcdabedf9add171cb3cf618e8de7cdcdb [2021-07-19T21:08:38.563Z] Checking out Revision e2f5233bcdabedf9add171cb3cf618e8de7cdcdb (PR-651) [2021-07-19T21:08:38.329Z] > git config core.sparsecheckout # timeout=10 [2021-07-19T21:08:38.342Z] > git checkout -f e2f5233bcdabedf9add171cb3cf618e8de7cdcdb # timeout=10 [2021-07-19T21:08:38.457Z] > git remote # timeout=10 [2021-07-19T21:08:38.482Z] > git config --get remote.origin.url # timeout=10 [2021-07-19T21:08:38.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-19T21:08:38.512Z] > git merge 490a96143ed88d263d0e9894a43bf3751025c41b # timeout=10 [2021-07-19T21:08:38.540Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-19T21:08:38.565Z] > git config core.sparsecheckout # timeout=10 [2021-07-19T21:08:38.582Z] > git checkout -f e2f5233bcdabedf9add171cb3cf618e8de7cdcdb # timeout=10 [2021-07-19T21:08:42.880Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [2021-07-19T21:08:42.934Z] > git --version # timeout=10 [2021-07-19T21:08:42.944Z] > git --version # 'git version 2.17.1' [2021-07-19T21:08:42.957Z] fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-07-19T21:08:44.059Z] ========================================================= [2021-07-19T21:08:44.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-19T21:08:44.059Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:08:44.658Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-19T21:08:46.123Z] Sending build context to Docker daemon 2.913MB [2021-07-19T21:08:46.123Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-19T21:08:46.123Z] Step 2/7 : FROM ${BASE} [2021-07-19T21:08:46.725Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-19T21:08:46.725Z] 595b0fe564bb: Pulling fs layer [2021-07-19T21:08:46.725Z] 24495759ef45: Pulling fs layer [2021-07-19T21:08:46.725Z] d148012ef14d: Pulling fs layer [2021-07-19T21:08:46.725Z] cb65c68fc2e2: Pulling fs layer [2021-07-19T21:08:46.725Z] 093eec477d81: Pulling fs layer [2021-07-19T21:08:46.725Z] a6d5b2bbb924: Pulling fs layer [2021-07-19T21:08:46.725Z] 2446dc1eb7d3: Pulling fs layer [2021-07-19T21:08:46.725Z] 596795e73e0f: Pulling fs layer [2021-07-19T21:08:46.725Z] cb65c68fc2e2: Waiting [2021-07-19T21:08:46.725Z] 093eec477d81: Waiting [2021-07-19T21:08:46.725Z] a6d5b2bbb924: Waiting [2021-07-19T21:08:46.725Z] 2446dc1eb7d3: Waiting [2021-07-19T21:08:46.725Z] 596795e73e0f: Waiting [2021-07-19T21:08:46.725Z] d148012ef14d: Download complete [2021-07-19T21:08:46.725Z] 24495759ef45: Verifying Checksum [2021-07-19T21:08:46.725Z] 24495759ef45: Download complete [2021-07-19T21:08:47.003Z] 093eec477d81: Verifying Checksum [2021-07-19T21:08:47.003Z] 093eec477d81: Download complete [2021-07-19T21:08:47.003Z] a6d5b2bbb924: Verifying Checksum [2021-07-19T21:08:47.003Z] a6d5b2bbb924: Download complete [2021-07-19T21:08:47.003Z] 2446dc1eb7d3: Download complete [2021-07-19T21:08:47.003Z] 595b0fe564bb: Download complete [2021-07-19T21:08:47.607Z] 595b0fe564bb: Pull complete [2021-07-19T21:08:48.211Z] 24495759ef45: Pull complete [2021-07-19T21:08:48.814Z] d148012ef14d: Pull complete [2021-07-19T21:08:50.282Z] 596795e73e0f: Verifying Checksum [2021-07-19T21:08:50.282Z] 596795e73e0f: Download complete [2021-07-19T21:08:51.267Z] cb65c68fc2e2: Verifying Checksum [2021-07-19T21:08:51.267Z] cb65c68fc2e2: Download complete [2021-07-19T21:09:01.447Z] cb65c68fc2e2: Pull complete [2021-07-19T21:09:01.447Z] 093eec477d81: Pull complete [2021-07-19T21:09:01.726Z] a6d5b2bbb924: Pull complete [2021-07-19T21:09:02.003Z] 2446dc1eb7d3: Pull complete [2021-07-19T21:09:06.323Z] 596795e73e0f: Pull complete [2021-07-19T21:09:06.323Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-19T21:09:06.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-19T21:09:06.323Z] ---> d9e956139c92 [2021-07-19T21:09:06.323Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-19T21:09:08.995Z] ---> Running in 0915f99b848b [2021-07-19T21:09:09.599Z] Removing intermediate container 0915f99b848b [2021-07-19T21:09:09.599Z] ---> 993f9d058acb [2021-07-19T21:09:09.599Z] Step 4/7 : RUN apk add bash [2021-07-19T21:09:09.872Z] ---> Running in 621c775eefad [2021-07-19T21:09:11.316Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-19T21:09:11.617Z] Running on prd-centos7-docker-4c-2g-3298 in /w/workspace/dry_go-mod-core-contracts_PR-651 [Pipeline] { [Pipeline] ws [2021-07-19T21:09:11.684Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-07-19T21:09:11.864Z] Selected Git installation does not exist. Using Default [2021-07-19T21:09:11.865Z] The recommended git tool is: NONE [2021-07-19T21:09:12.293Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-19T21:09:13.292Z] OK: 138 MiB in 40 packages [2021-07-19T21:09:14.758Z] Removing intermediate container 621c775eefad [2021-07-19T21:09:14.758Z] ---> 92804f9cc3ca [2021-07-19T21:09:14.758Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-19T21:09:14.758Z] ---> Running in cf200d5ea971 [2021-07-19T21:09:15.202Z] using credential edgex-jenkins-ssh [2021-07-19T21:09:15.229Z] Cloning the remote Git repository [2021-07-19T21:09:15.361Z] Removing intermediate container cf200d5ea971 [2021-07-19T21:09:15.361Z] ---> d58ea7effcf7 [2021-07-19T21:09:15.361Z] Step 6/7 : COPY go.mod . [2021-07-19T21:09:15.962Z] ---> 585823f3a152 [2021-07-19T21:09:15.962Z] Step 7/7 : RUN go mod download [2021-07-19T21:09:16.234Z] ---> Running in f24c7fdcdd5b [2021-07-19T21:09:15.253Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-19T21:09:15.325Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-07-19T21:09:15.359Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-19T21:09:15.359Z] > git --version # timeout=10 [2021-07-19T21:09:15.370Z] > git --version # 'git version 2.24.4' [2021-07-19T21:09:15.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-19T21:09:15.398Z] [INFO] Currently running in a labeled security context [2021-07-19T21:09:15.398Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-19T21:09:15.399Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh5954062437925118944.key [2021-07-19T21:09:15.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-19T21:09:16.207Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-19T21:09:16.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-19T21:09:16.228Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-19T21:09:16.241Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-19T21:09:16.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-19T21:09:16.242Z] [INFO] Currently running in a labeled security context [2021-07-19T21:09:16.243Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-19T21:09:16.243Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh7042830397527285610.key [2021-07-19T21:09:16.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/651/head:refs/remotes/origin/PR-651 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-19T21:09:16.707Z] Merging remotes/origin/main commit 490a96143ed88d263d0e9894a43bf3751025c41b into PR head commit e2f5233bcdabedf9add171cb3cf618e8de7cdcdb [2021-07-19T21:09:16.809Z] Merge succeeded, producing e2f5233bcdabedf9add171cb3cf618e8de7cdcdb [2021-07-19T21:09:16.810Z] Checking out Revision e2f5233bcdabedf9add171cb3cf618e8de7cdcdb (PR-651) [2021-07-19T21:09:16.716Z] > git config core.sparsecheckout # timeout=10 [2021-07-19T21:09:16.725Z] > git checkout -f e2f5233bcdabedf9add171cb3cf618e8de7cdcdb # timeout=10 [2021-07-19T21:09:16.771Z] > git remote # timeout=10 [2021-07-19T21:09:16.778Z] > git config --get remote.origin.url # timeout=10 [2021-07-19T21:09:16.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-19T21:09:16.787Z] [INFO] Currently running in a labeled security context [2021-07-19T21:09:16.787Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-19T21:09:16.787Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh1093553887551126490.key [2021-07-19T21:09:16.792Z] > git merge 490a96143ed88d263d0e9894a43bf3751025c41b # timeout=10 [2021-07-19T21:09:16.803Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-19T21:09:16.813Z] > git config core.sparsecheckout # timeout=10 [2021-07-19T21:09:16.818Z] > git checkout -f e2f5233bcdabedf9add171cb3cf618e8de7cdcdb # timeout=10 [2021-07-19T21:09:20.601Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [2021-07-19T21:09:20.637Z] > git --version # timeout=10 [2021-07-19T21:09:20.641Z] > git --version # 'git version 2.24.4' [2021-07-19T21:09:20.647Z] fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-07-19T21:09:21.438Z] ========================================================= [2021-07-19T21:09:21.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-19T21:09:21.438Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:09:21.902Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-19T21:09:21.902Z] Sending build context to Docker daemon 2.914MB [2021-07-19T21:09:21.902Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-19T21:09:21.902Z] Step 2/7 : FROM ${BASE} [2021-07-19T21:09:22.171Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-19T21:09:22.171Z] 540db60ca938: Pulling fs layer [2021-07-19T21:09:22.171Z] adcc1eea9eea: Pulling fs layer [2021-07-19T21:09:22.171Z] 4c4ab2625f07: Pulling fs layer [2021-07-19T21:09:22.171Z] 0773c198feca: Pulling fs layer [2021-07-19T21:09:22.171Z] 345f892a5656: Pulling fs layer [2021-07-19T21:09:22.171Z] 4796506630df: Pulling fs layer [2021-07-19T21:09:22.171Z] cc55df3e53f1: Pulling fs layer [2021-07-19T21:09:22.171Z] 4d027b6c602c: Pulling fs layer [2021-07-19T21:09:22.171Z] 449e75d2c14e: Pulling fs layer [2021-07-19T21:09:22.171Z] 0773c198feca: Waiting [2021-07-19T21:09:22.171Z] 345f892a5656: Waiting [2021-07-19T21:09:22.171Z] 4796506630df: Waiting [2021-07-19T21:09:22.171Z] cc55df3e53f1: Waiting [2021-07-19T21:09:22.171Z] 4d027b6c602c: Waiting [2021-07-19T21:09:22.171Z] 449e75d2c14e: Waiting [2021-07-19T21:09:22.171Z] 4c4ab2625f07: Verifying Checksum [2021-07-19T21:09:22.171Z] 4c4ab2625f07: Download complete [2021-07-19T21:09:22.171Z] adcc1eea9eea: Verifying Checksum [2021-07-19T21:09:22.171Z] adcc1eea9eea: Download complete [2021-07-19T21:09:22.171Z] 345f892a5656: Verifying Checksum [2021-07-19T21:09:22.171Z] 345f892a5656: Download complete [2021-07-19T21:09:22.171Z] 4796506630df: Verifying Checksum [2021-07-19T21:09:22.171Z] 4796506630df: Download complete [2021-07-19T21:09:22.441Z] cc55df3e53f1: Verifying Checksum [2021-07-19T21:09:22.441Z] cc55df3e53f1: Download complete [2021-07-19T21:09:22.441Z] 540db60ca938: Verifying Checksum [2021-07-19T21:09:22.441Z] 540db60ca938: Download complete [2021-07-19T21:09:22.706Z] 540db60ca938: Pull complete [2021-07-19T21:09:22.706Z] adcc1eea9eea: Pull complete [2021-07-19T21:09:22.706Z] 4c4ab2625f07: Pull complete [2021-07-19T21:09:24.116Z] 4d027b6c602c: Verifying Checksum [2021-07-19T21:09:24.116Z] 4d027b6c602c: Download complete [2021-07-19T21:09:26.081Z] 449e75d2c14e: Verifying Checksum [2021-07-19T21:09:26.081Z] 449e75d2c14e: Download complete [2021-07-19T21:09:27.511Z] 0773c198feca: Verifying Checksum [2021-07-19T21:09:27.511Z] 0773c198feca: Download complete [2021-07-19T21:09:30.882Z] 0773c198feca: Pull complete [2021-07-19T21:09:30.882Z] 345f892a5656: Pull complete [2021-07-19T21:09:30.882Z] 4796506630df: Pull complete [2021-07-19T21:09:30.882Z] cc55df3e53f1: Pull complete [2021-07-19T21:09:30.882Z] 4d027b6c602c: Pull complete [2021-07-19T21:09:32.311Z] 449e75d2c14e: Pull complete [2021-07-19T21:09:32.311Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-19T21:09:32.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-19T21:09:32.311Z] ---> 0d28375d9b5b [2021-07-19T21:09:32.311Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-19T21:09:33.743Z] ---> Running in 94308ec9dfe7 [2021-07-19T21:09:33.743Z] Removing intermediate container 94308ec9dfe7 [2021-07-19T21:09:33.743Z] ---> 30f2d6a6c154 [2021-07-19T21:09:33.743Z] Step 4/7 : RUN apk add bash [2021-07-19T21:09:34.013Z] ---> Running in c73805082022 [2021-07-19T21:09:34.281Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-19T21:09:35.241Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-19T21:09:35.508Z] OK: 149 MiB in 40 packages [2021-07-19T21:09:35.774Z] Removing intermediate container c73805082022 [2021-07-19T21:09:35.774Z] ---> 4bf7572b4437 [2021-07-19T21:09:35.774Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-19T21:09:35.774Z] ---> Running in b7c6dd1b4657 [2021-07-19T21:09:36.041Z] Removing intermediate container b7c6dd1b4657 [2021-07-19T21:09:36.041Z] ---> 55ab09ec880c [2021-07-19T21:09:36.041Z] Step 6/7 : COPY go.mod . [2021-07-19T21:09:36.041Z] ---> 0225c295806f [2021-07-19T21:09:36.041Z] Step 7/7 : RUN go mod download [2021-07-19T21:09:36.041Z] ---> Running in 82de31dc2ff1 [2021-07-19T21:10:08.342Z] Removing intermediate container 82de31dc2ff1 [2021-07-19T21:10:08.342Z] ---> 4d42eb19f1e8 [2021-07-19T21:10:08.342Z] Successfully built 4d42eb19f1e8 [2021-07-19T21:10:08.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:10:08.828Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-19T21:10:08.828Z] . [Pipeline] withDockerContainer [2021-07-19T21:10:08.998Z] prd-centos7-docker-4c-2g-3298 does not seem to be running inside a container [2021-07-19T21:10:09.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-x86_64 cat [2021-07-19T21:10:09.423Z] $ docker top d93fbd040aae0b3b2084acd9fe5829219bb777b638e5d9d34c19ef951dd48e6c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-19T21:10:09.904Z] + go version [2021-07-19T21:10:09.904Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-19T21:10:09.945Z] $ docker stop --time=1 d93fbd040aae0b3b2084acd9fe5829219bb777b638e5d9d34c19ef951dd48e6c [2021-07-19T21:10:11.130Z] $ docker rm -f d93fbd040aae0b3b2084acd9fe5829219bb777b638e5d9d34c19ef951dd48e6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:10:11.961Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-19T21:10:11.961Z] . [Pipeline] withDockerContainer [2021-07-19T21:10:12.074Z] prd-centos7-docker-4c-2g-3298 does not seem to be running inside a container [2021-07-19T21:10:12.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-x86_64 cat [2021-07-19T21:10:12.483Z] $ docker top 73685690dd1bd6a1ccb2754653b7724106036366e9425f2b6537f48623feddba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-19T21:10:12.964Z] + go mod tidy [Pipeline] sh [2021-07-19T21:10:13.590Z] + make test [2021-07-19T21:10:13.590Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-19T21:10:13.866Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-07-19T21:10:24.000Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.054s coverage: 83.5% of statements [2021-07-19T21:10:24.000Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-07-19T21:10:24.000Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-07-19T21:10:24.000Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-07-19T21:10:24.000Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.020s coverage: 26.3% of statements [2021-07-19T21:10:24.000Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-07-19T21:10:24.599Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.009s coverage: 47.2% of statements [2021-07-19T21:10:24.599Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.008s coverage: 90.0% of statements [2021-07-19T21:10:24.867Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.026s coverage: 86.2% of statements [2021-07-19T21:10:24.867Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.005s coverage: 59.5% of statements [2021-07-19T21:10:25.138Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.002s coverage: 35.5% of statements [2021-07-19T21:10:25.413Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.006s coverage: 49.4% of statements [2021-07-19T21:10:25.413Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-19T21:10:29.707Z] gofmt -l . [2021-07-19T21:10:29.974Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-19T21:10:30.030Z] $ docker stop --time=1 73685690dd1bd6a1ccb2754653b7724106036366e9425f2b6537f48623feddba [2021-07-19T21:10:31.423Z] $ docker rm -f 73685690dd1bd6a1ccb2754653b7724106036366e9425f2b6537f48623feddba [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-19T21:10:31.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-19T21:10:32.249Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:10:33.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-19T21:10:33.755Z] [2021-07-19T21:10:33.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:10:34.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-19T21:10:34.143Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-19T21:10:34.143Z] b4d181a07f80: Pulling fs layer [2021-07-19T21:10:34.143Z] a1111a8f2ec3: Pulling fs layer [2021-07-19T21:10:34.143Z] ed53099fbce6: Pulling fs layer [2021-07-19T21:10:34.143Z] dc539afda2c1: Pulling fs layer [2021-07-19T21:10:34.143Z] 77bc0d833cb6: Pulling fs layer [2021-07-19T21:10:34.143Z] 9065ff56babe: Pulling fs layer [2021-07-19T21:10:34.143Z] d287ab97295c: Pulling fs layer [2021-07-19T21:10:34.143Z] dc539afda2c1: Waiting [2021-07-19T21:10:34.143Z] 77bc0d833cb6: Waiting [2021-07-19T21:10:34.143Z] 9065ff56babe: Waiting [2021-07-19T21:10:34.143Z] d287ab97295c: Waiting [2021-07-19T21:10:34.418Z] a1111a8f2ec3: Verifying Checksum [2021-07-19T21:10:34.418Z] a1111a8f2ec3: Download complete [2021-07-19T21:10:34.686Z] dc539afda2c1: Verifying Checksum [2021-07-19T21:10:34.686Z] dc539afda2c1: Download complete [2021-07-19T21:10:34.686Z] 77bc0d833cb6: Verifying Checksum [2021-07-19T21:10:34.686Z] 77bc0d833cb6: Download complete [2021-07-19T21:10:34.686Z] 9065ff56babe: Verifying Checksum [2021-07-19T21:10:34.686Z] 9065ff56babe: Download complete [2021-07-19T21:10:34.957Z] ed53099fbce6: Verifying Checksum [2021-07-19T21:10:34.957Z] ed53099fbce6: Download complete [2021-07-19T21:10:35.918Z] b4d181a07f80: Verifying Checksum [2021-07-19T21:10:35.918Z] b4d181a07f80: Download complete [2021-07-19T21:10:36.899Z] b4d181a07f80: Pull complete [2021-07-19T21:10:37.179Z] a1111a8f2ec3: Pull complete [2021-07-19T21:10:37.447Z] ed53099fbce6: Pull complete [2021-07-19T21:10:37.715Z] dc539afda2c1: Pull complete [2021-07-19T21:10:37.715Z] 77bc0d833cb6: Pull complete [2021-07-19T21:10:37.983Z] 9065ff56babe: Pull complete [2021-07-19T21:10:38.026Z] Removing intermediate container f24c7fdcdd5b [2021-07-19T21:10:38.026Z] ---> dc0144825c8b [2021-07-19T21:10:38.026Z] Successfully built dc0144825c8b [2021-07-19T21:10:38.026Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:10:38.684Z] + docker inspect -f . ci-base-image-arm64 [2021-07-19T21:10:38.684Z] . [Pipeline] withDockerContainer [2021-07-19T21:10:39.046Z] prd-ubuntu18.04-docker-arm64-4c-16g-3297 does not seem to be running inside a container [2021-07-19T21:10:39.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat [2021-07-19T21:10:39.396Z] d287ab97295c: Verifying Checksum [2021-07-19T21:10:39.396Z] d287ab97295c: Download complete [2021-07-19T21:10:40.960Z] $ docker top 7761c8422c0d978e487a1930bec0ccb3b345aa54c28d093e2d201b9827e9d3a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-19T21:10:42.051Z] + go version [2021-07-19T21:10:42.051Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-19T21:10:42.092Z] $ docker stop --time=1 7761c8422c0d978e487a1930bec0ccb3b345aa54c28d093e2d201b9827e9d3a6 [2021-07-19T21:10:43.720Z] d287ab97295c: Pull complete [2021-07-19T21:10:43.720Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-19T21:10:43.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-19T21:10:43.720Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-19T21:10:43.940Z] $ docker rm -f 7761c8422c0d978e487a1930bec0ccb3b345aa54c28d093e2d201b9827e9d3a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-07-19T21:10:44.403Z] prd-centos7-docker-4c-2g-3298 does not seem to be running inside a container [2021-07-19T21:10:44.483Z] $ 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/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-19T21:10:46.993Z] $ docker top 28fc6fe8c534e7c0960cc4004284f3bb14e0a055f48475d979c02b9398e9e612 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2021-07-19T21:10:47.954Z] ---> job-cost.sh [2021-07-19T21:10:47.954Z] lf-activate-venv: SKIPPING [2021-07-19T21:10:47.954Z] INFO: No Stack... [Pipeline] sh [2021-07-19T21:10:48.303Z] + docker inspect -f . ci-base-image-arm64 [2021-07-19T21:10:48.303Z] . [Pipeline] withDockerContainer [2021-07-19T21:10:48.591Z] prd-ubuntu18.04-docker-arm64-4c-16g-3297 does not seem to be running inside a container [2021-07-19T21:10:48.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat [2021-07-19T21:10:48.918Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-19T21:10:49.185Z] INFO: Archiving Costs [2021-07-19T21:10:50.382Z] $ docker top 88ae0dc66630526d452f21408e48298fd59cce784be1717bb3516598c38b6271 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-07-19T21:10:51.097Z] + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [2021-07-19T21:10:51.097Z] + cut -d, -f6 [Pipeline] lock [2021-07-19T21:10:51.186Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] [2021-07-19T21:10:51.195Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] did not exist. Created. [2021-07-19T21:10:51.195Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-19T21:10:51.531Z] + go mod tidy [2021-07-19T21:10:51.634Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-19T21:10:51.696Z] Stashed 1 file(s) [Pipeline] } [2021-07-19T21:10:51.728Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-19T21:10:51.834Z] $ docker stop --time=1 28fc6fe8c534e7c0960cc4004284f3bb14e0a055f48475d979c02b9398e9e612 [2021-07-19T21:10:52.992Z] $ docker rm -f 28fc6fe8c534e7c0960cc4004284f3bb14e0a055f48475d979c02b9398e9e612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-19T21:10:53.792Z] + make test [2021-07-19T21:10:53.792Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-19T21:10:54.776Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-07-19T21:11:27.240Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.381s coverage: 83.5% of statements [2021-07-19T21:11:27.240Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-07-19T21:11:27.240Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-07-19T21:11:27.240Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-07-19T21:11:27.240Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.061s coverage: 26.3% of statements [2021-07-19T21:11:27.240Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-07-19T21:11:29.896Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.082s coverage: 47.2% of statements [2021-07-19T21:11:29.896Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.092s coverage: 90.0% of statements [2021-07-19T21:11:31.351Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.277s coverage: 86.2% of statements [2021-07-19T21:11:31.351Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.058s coverage: 59.5% of statements [2021-07-19T21:11:31.351Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.013s coverage: 35.5% of statements [2021-07-19T21:11:31.952Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.034s coverage: 49.4% of statements [2021-07-19T21:11:32.226Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-19T21:11:50.579Z] gofmt -l . [2021-07-19T21:11:50.579Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-19T21:11:50.897Z] $ docker stop --time=1 88ae0dc66630526d452f21408e48298fd59cce784be1717bb3516598c38b6271 [2021-07-19T21:11:52.962Z] $ docker rm -f 88ae0dc66630526d452f21408e48298fd59cce784be1717bb3516598c38b6271 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-19T21:11:53.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-19T21:11:53.908Z] Warning: overwriting stash ‘coverage-report’ [2021-07-19T21:11:54.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:11:55.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-19T21:11:55.932Z] [2021-07-19T21:11:55.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:11:56.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-19T21:11:56.614Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-19T21:11:56.614Z] 448f6bf000e3: Pulling fs layer [2021-07-19T21:11:56.614Z] f757da607395: Pulling fs layer [2021-07-19T21:11:56.614Z] 05883995daec: Pulling fs layer [2021-07-19T21:11:56.614Z] 8603b9c90790: Pulling fs layer [2021-07-19T21:11:56.614Z] 1560dd03e051: Pulling fs layer [2021-07-19T21:11:56.614Z] 27f5ce0e4adf: Pulling fs layer [2021-07-19T21:11:56.614Z] c2d8d7efcc4b: Pulling fs layer [2021-07-19T21:11:56.614Z] 8603b9c90790: Waiting [2021-07-19T21:11:56.614Z] 1560dd03e051: Waiting [2021-07-19T21:11:56.614Z] 27f5ce0e4adf: Waiting [2021-07-19T21:11:56.614Z] c2d8d7efcc4b: Waiting [2021-07-19T21:11:56.891Z] f757da607395: Verifying Checksum [2021-07-19T21:11:56.891Z] 8603b9c90790: Verifying Checksum [2021-07-19T21:11:56.891Z] 8603b9c90790: Download complete [2021-07-19T21:11:57.168Z] 1560dd03e051: Verifying Checksum [2021-07-19T21:11:57.168Z] 1560dd03e051: Download complete [2021-07-19T21:11:57.168Z] 27f5ce0e4adf: Verifying Checksum [2021-07-19T21:11:57.168Z] 27f5ce0e4adf: Download complete [2021-07-19T21:11:57.780Z] 05883995daec: Verifying Checksum [2021-07-19T21:11:57.780Z] 05883995daec: Download complete [2021-07-19T21:11:57.780Z] 448f6bf000e3: Verifying Checksum [2021-07-19T21:11:57.780Z] 448f6bf000e3: Download complete [2021-07-19T21:12:01.213Z] c2d8d7efcc4b: Verifying Checksum [2021-07-19T21:12:01.213Z] c2d8d7efcc4b: Download complete [2021-07-19T21:12:01.494Z] 448f6bf000e3: Pull complete [2021-07-19T21:12:02.483Z] f757da607395: Pull complete [2021-07-19T21:12:03.921Z] 05883995daec: Pull complete [2021-07-19T21:12:04.195Z] 8603b9c90790: Pull complete [2021-07-19T21:12:05.178Z] 1560dd03e051: Pull complete [2021-07-19T21:12:05.457Z] 27f5ce0e4adf: Pull complete [2021-07-19T21:12:20.564Z] c2d8d7efcc4b: Pull complete [2021-07-19T21:12:20.564Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-19T21:12:20.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-19T21:12:20.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-19T21:12:20.855Z] prd-ubuntu18.04-docker-arm64-4c-16g-3297 does not seem to be running inside a container [2021-07-19T21:12:20.942Z] $ 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/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-19T21:12:24.802Z] $ docker top 7b422fa46e10ad0df210a160758a721a89889401955cdf194328ae00db1849c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:25.877Z] ---> job-cost.sh [2021-07-19T21:12:25.877Z] lf-activate-venv: SKIPPING [2021-07-19T21:12:25.877Z] INFO: No Stack... [2021-07-19T21:12:26.855Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-19T21:12:27.127Z] INFO: Archiving Costs [Pipeline] sh [2021-07-19T21:12:27.820Z] + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [2021-07-19T21:12:27.820Z] + cut -d, -f6 [Pipeline] lock [2021-07-19T21:12:27.921Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] [2021-07-19T21:12:27.927Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] did not exist. Created. [2021-07-19T21:12:27.928Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-19T21:12:28.694Z] /w/workspace/go-mod-core-contracts/1@tmp/durable-4be1cf1b/script.sh: 1: /w/workspace/go-mod-core-contracts/1@tmp/durable-4be1cf1b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-19T21:12:29.404Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-19T21:12:29.448Z] Warning: overwriting stash ‘stack-cost’ [2021-07-19T21:12:29.505Z] Stashed 1 file(s) [Pipeline] } [2021-07-19T21:12:29.526Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-651-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-19T21:12:29.613Z] $ docker stop --time=1 7b422fa46e10ad0df210a160758a721a89889401955cdf194328ae00db1849c2 [2021-07-19T21:12:31.318Z] $ docker rm -f 7b422fa46e10ad0df210a160758a721a89889401955cdf194328ae00db1849c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-19T21:12:32.900Z] provisioning config files... [2021-07-19T21:12:32.916Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-651@tmp/config2718416498801704735tmp [Pipeline] { [Pipeline] sh [2021-07-19T21:12:33.291Z] + set +x [2021-07-19T21:12:33.291Z] + curl -s https://codecov.io/bash [2021-07-19T21:12:33.291Z] + bash -s -- [2021-07-19T21:12:33.291Z] [2021-07-19T21:12:33.291Z] _____ _ [2021-07-19T21:12:33.291Z] / ____| | | [2021-07-19T21:12:33.291Z] | | ___ __| | ___ ___ _____ __ [2021-07-19T21:12:33.291Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-19T21:12:33.291Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-19T21:12:33.291Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-19T21:12:33.291Z] Bash-1.0.5 [2021-07-19T21:12:33.291Z] [2021-07-19T21:12:33.291Z] [2021-07-19T21:12:33.291Z] ==> git version 2.24.4 found [2021-07-19T21:12:33.291Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-07-19T21:12:33.292Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-19T21:12:33.292Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-19T21:12:33.292Z] ==> Jenkins CI detected. [2021-07-19T21:12:33.558Z] project root: . [2021-07-19T21:12:33.558Z] --> token set from env [2021-07-19T21:12:33.558Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-19T21:12:33.558Z] ==> Running gcov in . (disable via -X gcov) [2021-07-19T21:12:33.558Z] ==> Python coveragepy not found [2021-07-19T21:12:33.558Z] ==> Searching for coverage reports in: [2021-07-19T21:12:33.558Z] + . [2021-07-19T21:12:33.558Z] -> Found 1 reports [2021-07-19T21:12:33.558Z] ==> Detecting git/mercurial file structure [2021-07-19T21:12:33.558Z] ==> Reading reports [2021-07-19T21:12:33.558Z] + ./coverage.out bytes=101674 [2021-07-19T21:12:33.558Z] ==> Appending adjustments [2021-07-19T21:12:33.558Z] https://docs.codecov.io/docs/fixing-reports [2021-07-19T21:12:34.149Z] + Found adjustments [2021-07-19T21:12:34.149Z] ==> Gzipping contents [2021-07-19T21:12:34.149Z] 16K /tmp/codecov.hTEmaf.gz [2021-07-19T21:12:34.149Z] ==> Uploading reports [2021-07-19T21:12:34.149Z] url: https://codecov.io [2021-07-19T21:12:34.149Z] query: branch=PR-651&commit=e2f5233bcdabedf9add171cb3cf618e8de7cdcdb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-651%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=651&job=&cmd_args= [2021-07-19T21:12:34.149Z] -> Pinging Codecov [2021-07-19T21:12:34.149Z] https://codecov.io/upload/v4?package=bash-1.0.5&token=&package=bash-1.0.5&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-651&commit=e2f5233bcdabedf9add171cb3cf618e8de7cdcdb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-651%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=651&job=&cmd_args= [2021-07-19T21:12:34.418Z] -> Uploading to [2021-07-19T21:12:34.418Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-19/71470A77251A30514AAF9C0BB2E5B6CE/e2f5233bcdabedf9add171cb3cf618e8de7cdcdb/6dcddeea-722a-4717-9ee0-008c8968fa58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210719T211234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcc71aa0f13f06d9cd4e35fb5ae43d091ba944bf7ce362b9ebb271e195ae89f1 [2021-07-19T21:12:34.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-19T21:12:34.418Z] Dload Upload Total Spent Left Speed [2021-07-19T21:12:34.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15199 0 0 100 15199 0 36339 --:--:-- --:--:-- --:--:-- 36274 [2021-07-19T21:12:34.954Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/e2f5233bcdabedf9add171cb3cf618e8de7cdcdb [Pipeline] } [2021-07-19T21:12:34.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:37.829Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:38.478Z] ---> package-listing.sh [2021-07-19T21:12:38.478Z] ++ facter osfamily [2021-07-19T21:12:38.478Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-19T21:12:38.747Z] + OS_FAMILY=redhat [2021-07-19T21:12:38.747Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-651 [2021-07-19T21:12:38.747Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-19T21:12:38.747Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-19T21:12:38.747Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-19T21:12:38.747Z] + PACKAGES=/tmp/packages_start.txt [2021-07-19T21:12:38.747Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-651 ']' [2021-07-19T21:12:38.747Z] + PACKAGES=/tmp/packages_end.txt [2021-07-19T21:12:38.747Z] + case "${OS_FAMILY}" in [2021-07-19T21:12:38.747Z] + rpm -qa [2021-07-19T21:12:38.747Z] + sort [2021-07-19T21:12:39.330Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-19T21:12:39.330Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-19T21:12:39.330Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-19T21:12:39.330Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-651 ']' [2021-07-19T21:12:39.330Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-651/archives/ [2021-07-19T21:12:39.330Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-651/archives/ [Pipeline] echo [2021-07-19T21:12:39.371Z] 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-651/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-19T21:12:39.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:12:40.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-19T21:12:40.330Z] [2021-07-19T21:12:40.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-19T21:12:40.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-19T21:12:40.702Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-19T21:12:40.702Z] b4d181a07f80: Pulling fs layer [2021-07-19T21:12:40.702Z] a1111a8f2ec3: Pulling fs layer [2021-07-19T21:12:40.702Z] ed53099fbce6: Pulling fs layer [2021-07-19T21:12:40.702Z] dc539afda2c1: Pulling fs layer [2021-07-19T21:12:40.702Z] 77bc0d833cb6: Pulling fs layer [2021-07-19T21:12:40.702Z] 9065ff56babe: Pulling fs layer [2021-07-19T21:12:40.702Z] d287ab97295c: Pulling fs layer [2021-07-19T21:12:40.702Z] dc539afda2c1: Waiting [2021-07-19T21:12:40.702Z] 77bc0d833cb6: Waiting [2021-07-19T21:12:40.702Z] 9065ff56babe: Waiting [2021-07-19T21:12:40.702Z] d287ab97295c: Waiting [2021-07-19T21:12:40.973Z] a1111a8f2ec3: Verifying Checksum [2021-07-19T21:12:40.973Z] a1111a8f2ec3: Download complete [2021-07-19T21:12:41.242Z] dc539afda2c1: Verifying Checksum [2021-07-19T21:12:41.242Z] dc539afda2c1: Download complete [2021-07-19T21:12:41.242Z] 77bc0d833cb6: Verifying Checksum [2021-07-19T21:12:41.242Z] 77bc0d833cb6: Download complete [2021-07-19T21:12:41.510Z] ed53099fbce6: Verifying Checksum [2021-07-19T21:12:41.510Z] ed53099fbce6: Download complete [2021-07-19T21:12:41.510Z] 9065ff56babe: Verifying Checksum [2021-07-19T21:12:41.510Z] 9065ff56babe: Download complete [2021-07-19T21:12:42.472Z] b4d181a07f80: Download complete [2021-07-19T21:12:43.450Z] b4d181a07f80: Pull complete [2021-07-19T21:12:43.450Z] a1111a8f2ec3: Pull complete [2021-07-19T21:12:44.038Z] ed53099fbce6: Pull complete [2021-07-19T21:12:44.038Z] dc539afda2c1: Pull complete [2021-07-19T21:12:44.307Z] 77bc0d833cb6: Pull complete [2021-07-19T21:12:44.572Z] 9065ff56babe: Pull complete [2021-07-19T21:12:45.991Z] d287ab97295c: Verifying Checksum [2021-07-19T21:12:45.991Z] d287ab97295c: Download complete [2021-07-19T21:12:50.284Z] d287ab97295c: Pull complete [2021-07-19T21:12:50.284Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-19T21:12:50.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-19T21:12:50.284Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-19T21:12:50.398Z] prd-centos7-docker-4c-2g-3296 does not seem to be running inside a container [2021-07-19T21:12:50.450Z] $ 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-651/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-651 -v /w/workspace/dry_go-mod-core-contracts_PR-651:/w/workspace/dry_go-mod-core-contracts_PR-651:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-651@tmp:/w/workspace/dry_go-mod-core-contracts_PR-651@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-19T21:12:52.715Z] $ docker top caf89be7bf026ff3022cdf0c2f2ca5848109c27de3e73652bdd58c7b1822b2ad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-19T21:12:53.155Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-19T21:12:53.493Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-19T21:12:53.830Z] + ls /var/log/sa-host [2021-07-19T21:12:53.830Z] + sadf -c /var/log/sa-host/sa05 [2021-07-19T21:12:53.830Z] file_magic: OK [2021-07-19T21:12:53.830Z] HZ: Using current value: 100 [2021-07-19T21:12:53.830Z] file_header: OK [2021-07-19T21:12:53.830Z] 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-07-19T21:12:53.830Z] Statistics: [2021-07-19T21:12:53.830Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-19T21:12:53.830Z] File successfully converted to sysstat format version 12.0.3 [2021-07-19T21:12:53.830Z] + sadf -c /var/log/sa-host/sa19 [2021-07-19T21:12:53.830Z] file_magic: OK [2021-07-19T21:12:53.830Z] HZ: Using current value: 100 [2021-07-19T21:12:53.830Z] file_header: OK [2021-07-19T21:12:53.830Z] 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-07-19T21:12:53.830Z] Statistics: [2021-07-19T21:12:53.830Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-19T21:12:53.830Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-19T21:12:54.502Z] provisioning config files... [2021-07-19T21:12:54.522Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-651@tmp/config4100058230893935250tmp [Pipeline] { [Pipeline] echo [2021-07-19T21:12:54.583Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:54.941Z] ---> create-netrc.sh [Pipeline] } [2021-07-19T21:12:54.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:55.493Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-19T21:12:55.524Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:55.873Z] ---> sudo-logs.sh [2021-07-19T21:12:55.874Z] Archiving 'sudo' log.. [2021-07-19T21:12:55.874Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3296.vexxhost.local: Name or service not known [2021-07-19T21:12:55.874Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3296.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-19T21:12:55.989Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:56.344Z] ---> job-cost.sh [2021-07-19T21:12:56.345Z] lf-activate-venv: SKIPPING [2021-07-19T21:12:56.345Z] DEBUG: total: 0.18000000715255737 [2021-07-19T21:12:56.345Z] INFO: Retrieving Stack Cost... [2021-07-19T21:12:57.310Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-19T21:12:57.577Z] INFO: Archiving Costs [Pipeline] echo [2021-07-19T21:12:57.615Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-19T21:12:57.960Z] ---> logs-deploy.sh [2021-07-19T21:12:57.960Z] lf-activate-venv: SKIPPING [2021-07-19T21:12:57.960Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-651/1 [2021-07-19T21:12:57.960Z] INFO: archiving workspace using pattern(s): [2021-07-19T21:12:58.557Z] Archives upload complete. [2021-07-19T21:12:58.835Z] INFO: archiving logs to Nexus