Pull request #657 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 soda480 for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa+73661a1a642cca7c7592f925989fa475de7fa16a (8c3286dd3fb1ccca35de2fb10ea3c50bd104acc8) 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-ssh4663851385409929355.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh3990941717920662508.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-657/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-657/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8376772790770129813.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh7111494945824757704.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-657/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-657/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1736983137217923136.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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_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 ‘prd-centos7-blackbox-4c-2g-1245’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-blackbox-4c-2g-1246’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1351’ is offline Running on prd-centos7-docker-4c-2g-1358 in /w/workspace/dry_go-mod-core-contracts_PR-657 [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-657 # 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-657@tmp/jenkins-gitclient-ssh3002206745285792854.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-657@tmp/jenkins-gitclient-ssh1538541299414407508.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/657/head:refs/remotes/origin/PR-657 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 73661a1a642cca7c7592f925989fa475de7fa16a into PR head commit dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa Merge succeeded, producing dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa Checking out Revision dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa (PR-657) > git config core.sparsecheckout # timeout=10 > git checkout -f dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa # 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-657@tmp/jenkins-gitclient-ssh1770692336269930773.key > git merge 73661a1a642cca7c7592f925989fa475de7fa16a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa # timeout=10 Commit message: "docs: Update build status badge" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-02T13:51:35.691Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-02T13:51:35.769Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-02T13:51:35.795Z] ========================================================= [2021-08-02T13:51:35.795Z] EdgeX Global Pipelines Version Info [2021-08-02T13:51:35.795Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:51:37.016Z] ------------------- [2021-08-02T13:51:37.016Z] stable info: [2021-08-02T13:51:37.016Z] ------------------- [2021-08-02T13:51:37.016Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-02T13:51:37.016Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-08-02T13:51:37.016Z] Message: update stable to v1.0.199 [2021-08-02T13:51:37.601Z] ------------------- [2021-08-02T13:51:37.601Z] experimental info: [2021-08-02T13:51:37.601Z] ------------------- [2021-08-02T13:51:37.601Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-02T13:51:37.601Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-08-02T13:51:37.601Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-02T13:51:37.732Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-08-02T13:51:37.756Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-08-02T13:51:37.780Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-02T13:51:37.803Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-02T13:51:37.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-02T13:51:37.848Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-02T13:51:37.872Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-02T13:51:37.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-02T13:51:37.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-02T13:51:37.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-02T13:51:37.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-02T13:51:37.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-02T13:51:38.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-08-02T13:51:38.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-02T13:51:38.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-02T13:51:38.090Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-02T13:51:38.113Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-02T13:51:38.136Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-02T13:51:38.159Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-02T13:51:38.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-02T13:51:38.206Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-02T13:51:38.232Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-02T13:51:38.260Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-02T13:51:38.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-02T13:51:38.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-02T13:51:38.340Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-02T13:51:38.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-02T13:51:38.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-657 [Pipeline] echo [2021-08-02T13:51:38.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-657 [Pipeline] echo [2021-08-02T13:51:38.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-657 [Pipeline] echo [2021-08-02T13:51:38.469Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa [Pipeline] echo [2021-08-02T13:51:38.492Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcbf146 [Pipeline] echo [2021-08-02T13:51:38.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-02T13:51:39.062Z] + git log --format=format:%s -1 dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa [Pipeline] echo [2021-08-02T13:51:39.120Z] GIT_COMMIT: dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa, Commit Message: docs: Update build status badge [Pipeline] echo [2021-08-02T13:51:39.134Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:51:39.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-02T13:51:39.746Z] [2021-08-02T13:51:39.746Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:51:40.074Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-02T13:51:40.074Z] latest: Pulling from edgex-devops/git-semver [2021-08-02T13:51:40.074Z] 31603596830f: Pulling fs layer [2021-08-02T13:51:40.074Z] b6dc333f4379: Pulling fs layer [2021-08-02T13:51:40.074Z] 3d9ef1400e77: Pulling fs layer [2021-08-02T13:51:40.074Z] fd332fbdc1db: Pulling fs layer [2021-08-02T13:51:40.074Z] fd332fbdc1db: Waiting [2021-08-02T13:51:40.074Z] b6dc333f4379: Verifying Checksum [2021-08-02T13:51:40.074Z] b6dc333f4379: Download complete [2021-08-02T13:51:40.658Z] 31603596830f: Verifying Checksum [2021-08-02T13:51:40.659Z] 31603596830f: Download complete [2021-08-02T13:51:40.659Z] 31603596830f: Pull complete [2021-08-02T13:51:40.659Z] fd332fbdc1db: Verifying Checksum [2021-08-02T13:51:40.659Z] fd332fbdc1db: Download complete [2021-08-02T13:51:40.927Z] b6dc333f4379: Pull complete [2021-08-02T13:51:41.202Z] 3d9ef1400e77: Verifying Checksum [2021-08-02T13:51:41.202Z] 3d9ef1400e77: Download complete [2021-08-02T13:51:41.792Z] 3d9ef1400e77: Pull complete [2021-08-02T13:51:41.792Z] fd332fbdc1db: Pull complete [2021-08-02T13:51:42.060Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-08-02T13:51:42.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-02T13:51:42.060Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-02T13:51:42.173Z] prd-centos7-docker-4c-2g-1358 does not seem to be running inside a container [2021-08-02T13:51:42.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-657 -v /w/workspace/dry_go-mod-core-contracts_PR-657:/w/workspace/dry_go-mod-core-contracts_PR-657:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-657@tmp:/w/workspace/dry_go-mod-core-contracts_PR-657@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-08-02T13:51:43.022Z] $ docker top 157b080271533db4f346cf2a12ab7949a778e681e9080cc6e6f54b9e52aeaf7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-02T13:51:43.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-02T13:51:43.166Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-02T13:51:43.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-02T13:51:43.283Z] $ docker exec 157b080271533db4f346cf2a12ab7949a778e681e9080cc6e6f54b9e52aeaf7d ssh-agent [2021-08-02T13:51:43.400Z] SSH_AUTH_SOCK=/tmp/ssh-MkyOb5xlVnIl/agent.14 [2021-08-02T13:51:43.400Z] SSH_AGENT_PID=21 [2021-08-02T13:51:43.412Z] Running ssh-add (command line suppressed) [2021-08-02T13:51:43.513Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-657@tmp/private_key_1693488359366552262.key (/w/workspace/dry_go-mod-core-contracts_PR-657@tmp/private_key_1693488359366552262.key) [2021-08-02T13:51:43.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-02T13:51:43.847Z] + git tag --points-at HEAD [Pipeline] } [2021-08-02T13:51:43.865Z] $ docker exec --env ******** --env ******** 157b080271533db4f346cf2a12ab7949a778e681e9080cc6e6f54b9e52aeaf7d ssh-agent -k [2021-08-02T13:51:43.959Z] unset SSH_AUTH_SOCK; [2021-08-02T13:51:43.959Z] unset SSH_AGENT_PID; [2021-08-02T13:51:43.959Z] echo Agent pid 21 killed; [2021-08-02T13:51:43.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-02T13:51:44.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-02T13:51:44.048Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-02T13:51:44.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-02T13:51:44.164Z] $ docker exec 157b080271533db4f346cf2a12ab7949a778e681e9080cc6e6f54b9e52aeaf7d ssh-agent [2021-08-02T13:51:44.282Z] SSH_AUTH_SOCK=/tmp/ssh-8OPXBQ59V4GH/agent.56 [2021-08-02T13:51:44.282Z] SSH_AGENT_PID=63 [2021-08-02T13:51:44.291Z] Running ssh-add (command line suppressed) [2021-08-02T13:51:44.383Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-657@tmp/private_key_8666010716460682204.key (/w/workspace/dry_go-mod-core-contracts_PR-657@tmp/private_key_8666010716460682204.key) [2021-08-02T13:51:44.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-02T13:51:44.714Z] + git semver init [2021-08-02T13:51:44.715Z] # -> Open(): unable to determine branch for HEAD [2021-08-02T13:51:44.715Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-657/.git [2021-08-02T13:51:44.715Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-657 [2021-08-02T13:51:44.715Z] # $SEMVER_REMOTE_NAME = origin [2021-08-02T13:51:44.715Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-02T13:51:44.715Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-02T13:51:44.715Z] # $SEMVER_BRANCH = PR-657 [2021-08-02T13:51:44.715Z] # $SEMVER_TEMP = /tmp/semver-937879253 [2021-08-02T13:51:44.715Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-08-02T13:51:45.679Z] # '/tmp/semver-937879253' -> '/w/workspace/dry_go-mod-core-contracts_PR-657/.semver' [2021-08-02T13:51:45.679Z] # -> Force: false [2021-08-02T13:51:45.679Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-657/.semver [Pipeline] } [2021-08-02T13:51:45.692Z] $ docker exec --env ******** --env ******** 157b080271533db4f346cf2a12ab7949a778e681e9080cc6e6f54b9e52aeaf7d ssh-agent -k [2021-08-02T13:51:45.793Z] unset SSH_AUTH_SOCK; [2021-08-02T13:51:45.793Z] unset SSH_AGENT_PID; [2021-08-02T13:51:45.793Z] echo Agent pid 63 killed; [2021-08-02T13:51:45.809Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-02T13:51:46.158Z] + git semver [Pipeline] } [2021-08-02T13:51:46.187Z] $ docker stop --time=1 157b080271533db4f346cf2a12ab7949a778e681e9080cc6e6f54b9e52aeaf7d [2021-08-02T13:51:47.436Z] $ docker rm -f 157b080271533db4f346cf2a12ab7949a778e681e9080cc6e6f54b9e52aeaf7d [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-02T13:51:47.831Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-02T13:51:48.156Z] Stashed 1 file(s) [Pipeline] echo [2021-08-02T13:51:48.159Z] [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-08-02T13:52:03.383Z] Still waiting to schedule task [2021-08-02T13:52:03.383Z] ‘prd-centos7-blackbox-4c-2g-1245’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-02T13:52:03.383Z] ‘prd-centos7-blackbox-4c-2g-1246’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-02T13:52:03.383Z] ‘prd-centos7-docker-4c-2g-1353’ is offline [2021-08-02T13:52:03.383Z] ‘prd-centos7-docker-4c-2g-1355’ is offline [2021-08-02T13:52:03.383Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1357’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-02T13:52:03.383Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1361’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-02T13:52:03.385Z] Still waiting to schedule task [2021-08-02T13:52:03.386Z] ‘prd-centos7-blackbox-4c-2g-1245’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-02T13:52:03.386Z] ‘prd-centos7-blackbox-4c-2g-1246’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-02T13:52:03.386Z] ‘prd-centos7-docker-4c-2g-1353’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-02T13:52:03.386Z] ‘prd-centos7-docker-4c-2g-1355’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-02T13:52:03.386Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1357’ is offline [2021-08-02T13:52:03.386Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1361’ is offline [2021-08-02T13:52:38.084Z] Running on prd-centos7-docker-4c-2g-1366 in /w/workspace/dry_go-mod-core-contracts_PR-657 [Pipeline] { [Pipeline] ws [2021-08-02T13:52:38.102Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-08-02T13:52:38.216Z] Selected Git installation does not exist. Using Default [2021-08-02T13:52:38.216Z] The recommended git tool is: NONE [2021-08-02T13:52:41.004Z] using credential edgex-jenkins-ssh [2021-08-02T13:52:41.032Z] Cloning the remote Git repository [2021-08-02T13:52:40.913Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-08-02T13:52:40.999Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-08-02T13:52:41.027Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-08-02T13:52:41.028Z] > git --version # timeout=10 [2021-08-02T13:52:41.034Z] > git --version # 'git version 2.24.4' [2021-08-02T13:52:41.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T13:52:41.060Z] [INFO] Currently running in a labeled security context [2021-08-02T13:52:41.060Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-02T13:52:41.060Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/2@tmp/jenkins-gitclient-ssh2716138480388580459.key [2021-08-02T13:52:41.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T13:52:42.003Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-08-02T13:52:42.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T13:52:42.017Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-08-02T13:52:42.030Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-08-02T13:52:42.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T13:52:42.031Z] [INFO] Currently running in a labeled security context [2021-08-02T13:52:42.032Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-02T13:52:42.032Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/2@tmp/jenkins-gitclient-ssh1839224357331188819.key [2021-08-02T13:52:42.037Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/657/head:refs/remotes/origin/PR-657 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-02T13:52:42.667Z] Merging remotes/origin/main commit 73661a1a642cca7c7592f925989fa475de7fa16a into PR head commit dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa [2021-08-02T13:52:42.762Z] Merge succeeded, producing dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa [2021-08-02T13:52:42.762Z] Checking out Revision dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa (PR-657) [2021-08-02T13:52:42.619Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T13:52:42.629Z] > git checkout -f dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa # timeout=10 [2021-08-02T13:52:42.671Z] > git remote # timeout=10 [2021-08-02T13:52:42.683Z] > git config --get remote.origin.url # timeout=10 [2021-08-02T13:52:42.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T13:52:42.689Z] [INFO] Currently running in a labeled security context [2021-08-02T13:52:42.689Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-02T13:52:42.689Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/2@tmp/jenkins-gitclient-ssh2559244172789892395.key [2021-08-02T13:52:42.694Z] > git merge 73661a1a642cca7c7592f925989fa475de7fa16a # timeout=10 [2021-08-02T13:52:42.704Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-02T13:52:42.714Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T13:52:42.720Z] > git checkout -f dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa # timeout=10 [2021-08-02T13:52:46.494Z] Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-02T13:52:46.985Z] ========================================================= [2021-08-02T13:52:46.985Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-02T13:52:46.985Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:52:47.406Z] + 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-08-02T13:52:47.406Z] Sending build context to Docker daemon 2.936MB [2021-08-02T13:52:47.406Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-08-02T13:52:47.406Z] Step 2/7 : FROM ${BASE} [2021-08-02T13:52:47.673Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-02T13:52:47.673Z] 540db60ca938: Pulling fs layer [2021-08-02T13:52:47.673Z] adcc1eea9eea: Pulling fs layer [2021-08-02T13:52:47.673Z] 4c4ab2625f07: Pulling fs layer [2021-08-02T13:52:47.673Z] 0773c198feca: Pulling fs layer [2021-08-02T13:52:47.673Z] 345f892a5656: Pulling fs layer [2021-08-02T13:52:47.673Z] 4796506630df: Pulling fs layer [2021-08-02T13:52:47.673Z] cc55df3e53f1: Pulling fs layer [2021-08-02T13:52:47.673Z] 4d027b6c602c: Pulling fs layer [2021-08-02T13:52:47.673Z] 449e75d2c14e: Pulling fs layer [2021-08-02T13:52:47.673Z] 0773c198feca: Waiting [2021-08-02T13:52:47.673Z] 345f892a5656: Waiting [2021-08-02T13:52:47.673Z] 4796506630df: Waiting [2021-08-02T13:52:47.673Z] cc55df3e53f1: Waiting [2021-08-02T13:52:47.673Z] 4d027b6c602c: Waiting [2021-08-02T13:52:47.673Z] 449e75d2c14e: Waiting [2021-08-02T13:52:47.673Z] 4c4ab2625f07: Verifying Checksum [2021-08-02T13:52:47.673Z] 4c4ab2625f07: Download complete [2021-08-02T13:52:47.945Z] adcc1eea9eea: Verifying Checksum [2021-08-02T13:52:47.945Z] adcc1eea9eea: Download complete [2021-08-02T13:52:47.945Z] 345f892a5656: Verifying Checksum [2021-08-02T13:52:47.945Z] 345f892a5656: Download complete [2021-08-02T13:52:47.945Z] 540db60ca938: Verifying Checksum [2021-08-02T13:52:47.945Z] 540db60ca938: Download complete [2021-08-02T13:52:47.945Z] 4796506630df: Verifying Checksum [2021-08-02T13:52:47.945Z] 4796506630df: Download complete [2021-08-02T13:52:47.945Z] cc55df3e53f1: Verifying Checksum [2021-08-02T13:52:47.945Z] cc55df3e53f1: Download complete [2021-08-02T13:52:48.213Z] 540db60ca938: Pull complete [2021-08-02T13:52:48.213Z] adcc1eea9eea: Pull complete [2021-08-02T13:52:48.479Z] 4c4ab2625f07: Pull complete [2021-08-02T13:52:48.746Z] 4d027b6c602c: Verifying Checksum [2021-08-02T13:52:48.746Z] 4d027b6c602c: Download complete [2021-08-02T13:52:53.002Z] 449e75d2c14e: Verifying Checksum [2021-08-02T13:52:53.002Z] 449e75d2c14e: Download complete [2021-08-02T13:52:54.940Z] 0773c198feca: Verifying Checksum [2021-08-02T13:52:54.940Z] 0773c198feca: Download complete [2021-08-02T13:52:58.295Z] 0773c198feca: Pull complete [2021-08-02T13:52:58.295Z] 345f892a5656: Pull complete [2021-08-02T13:52:58.295Z] 4796506630df: Pull complete [2021-08-02T13:52:58.295Z] cc55df3e53f1: Pull complete [2021-08-02T13:52:58.295Z] 4d027b6c602c: Pull complete [2021-08-02T13:52:59.720Z] 449e75d2c14e: Pull complete [2021-08-02T13:52:59.720Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-08-02T13:52:59.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-02T13:52:59.720Z] ---> 0d28375d9b5b [2021-08-02T13:52:59.720Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-02T13:53:01.675Z] ---> Running in 38d2c994a9d6 [2021-08-02T13:53:01.675Z] Removing intermediate container 38d2c994a9d6 [2021-08-02T13:53:01.675Z] ---> 9f716e227242 [2021-08-02T13:53:01.675Z] Step 4/7 : RUN apk add bash [2021-08-02T13:53:01.675Z] ---> Running in f9eb9ffdb17d [2021-08-02T13:53:01.675Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-02T13:53:02.642Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-02T13:53:02.915Z] OK: 149 MiB in 40 packages [2021-08-02T13:53:03.180Z] Removing intermediate container f9eb9ffdb17d [2021-08-02T13:53:03.180Z] ---> bfe43200f07e [2021-08-02T13:53:03.180Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-08-02T13:53:03.449Z] ---> Running in 36fcb3a179ca [2021-08-02T13:53:03.449Z] Removing intermediate container 36fcb3a179ca [2021-08-02T13:53:03.449Z] ---> 9b2e00006b67 [2021-08-02T13:53:03.449Z] Step 6/7 : COPY go.mod . [2021-08-02T13:53:03.449Z] ---> 852687650ee0 [2021-08-02T13:53:03.449Z] Step 7/7 : RUN go mod download [2021-08-02T13:53:03.449Z] ---> Running in 6aeb1d54aff0 [2021-08-02T13:53:42.344Z] Removing intermediate container 6aeb1d54aff0 [2021-08-02T13:53:42.344Z] ---> 4e8d9e94a53f [2021-08-02T13:53:42.344Z] Successfully built 4e8d9e94a53f [2021-08-02T13:53:42.344Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:53:42.719Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-02T13:53:42.719Z] . [Pipeline] withDockerContainer [2021-08-02T13:53:42.809Z] prd-centos7-docker-4c-2g-1366 does not seem to be running inside a container [2021-08-02T13:53:42.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-08-02T13:53:43.242Z] $ docker top 9ec7d97307a662510d9eb317778488095bd590634368066c1fd499bbf5c746e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T13:53:43.650Z] + go version [2021-08-02T13:53:43.650Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-08-02T13:53:43.664Z] $ docker stop --time=1 9ec7d97307a662510d9eb317778488095bd590634368066c1fd499bbf5c746e1 [2021-08-02T13:53:44.844Z] $ docker rm -f 9ec7d97307a662510d9eb317778488095bd590634368066c1fd499bbf5c746e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:53:45.405Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-02T13:53:45.405Z] . [Pipeline] withDockerContainer [2021-08-02T13:53:45.492Z] prd-centos7-docker-4c-2g-1366 does not seem to be running inside a container [2021-08-02T13:53:45.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-08-02T13:53:45.946Z] $ docker top 3fee0b9615084f4395e59cdb99342d3f8145febd14c1f4f1102df66e62c07164 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T13:53:46.347Z] + go mod tidy [Pipeline] sh [2021-08-02T13:53:46.957Z] + make test [2021-08-02T13:53:46.958Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-02T13:53:47.237Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-08-02T13:53:57.362Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.055s coverage: 83.5% of statements [2021-08-02T13:53:57.362Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-08-02T13:53:57.362Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-08-02T13:53:57.362Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-08-02T13:53:57.362Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.020s coverage: 26.3% of statements [2021-08-02T13:53:57.362Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-08-02T13:53:57.630Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.014s coverage: 46.9% of statements [2021-08-02T13:53:57.630Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.006s coverage: 90.0% of statements [2021-08-02T13:53:57.897Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.025s coverage: 86.2% of statements [2021-08-02T13:53:58.165Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.006s coverage: 59.5% of statements [2021-08-02T13:53:58.165Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.003s coverage: 36.1% of statements [2021-08-02T13:53:58.433Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.006s coverage: 49.4% of statements [2021-08-02T13:53:58.703Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-02T13:54:04.057Z] gofmt -l . [2021-08-02T13:54:04.057Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-02T13:54:04.072Z] $ docker stop --time=1 3fee0b9615084f4395e59cdb99342d3f8145febd14c1f4f1102df66e62c07164 [2021-08-02T13:54:05.435Z] $ docker rm -f 3fee0b9615084f4395e59cdb99342d3f8145febd14c1f4f1102df66e62c07164 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-02T13:54:05.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-02T13:54:06.159Z] 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-08-02T13:54:06.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T13:54:06.924Z] [2021-08-02T13:54:06.924Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:54:07.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T13:54:07.250Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-02T13:54:07.250Z] b4d181a07f80: Pulling fs layer [2021-08-02T13:54:07.250Z] a1111a8f2ec3: Pulling fs layer [2021-08-02T13:54:07.250Z] ed53099fbce6: Pulling fs layer [2021-08-02T13:54:07.250Z] dc539afda2c1: Pulling fs layer [2021-08-02T13:54:07.250Z] 77bc0d833cb6: Pulling fs layer [2021-08-02T13:54:07.250Z] 9065ff56babe: Pulling fs layer [2021-08-02T13:54:07.250Z] d287ab97295c: Pulling fs layer [2021-08-02T13:54:07.250Z] dc539afda2c1: Waiting [2021-08-02T13:54:07.250Z] 77bc0d833cb6: Waiting [2021-08-02T13:54:07.250Z] 9065ff56babe: Waiting [2021-08-02T13:54:07.250Z] d287ab97295c: Waiting [2021-08-02T13:54:07.516Z] a1111a8f2ec3: Verifying Checksum [2021-08-02T13:54:07.516Z] a1111a8f2ec3: Download complete [2021-08-02T13:54:07.516Z] dc539afda2c1: Verifying Checksum [2021-08-02T13:54:07.516Z] dc539afda2c1: Download complete [2021-08-02T13:54:07.782Z] 77bc0d833cb6: Verifying Checksum [2021-08-02T13:54:07.782Z] 77bc0d833cb6: Download complete [2021-08-02T13:54:07.782Z] 9065ff56babe: Verifying Checksum [2021-08-02T13:54:07.782Z] 9065ff56babe: Download complete [2021-08-02T13:54:08.046Z] ed53099fbce6: Verifying Checksum [2021-08-02T13:54:08.047Z] ed53099fbce6: Download complete [2021-08-02T13:54:09.989Z] b4d181a07f80: Verifying Checksum [2021-08-02T13:54:09.989Z] b4d181a07f80: Download complete [2021-08-02T13:54:10.953Z] b4d181a07f80: Pull complete [2021-08-02T13:54:11.218Z] a1111a8f2ec3: Pull complete [2021-08-02T13:54:11.805Z] ed53099fbce6: Pull complete [2021-08-02T13:54:11.805Z] dc539afda2c1: Pull complete [2021-08-02T13:54:12.070Z] 77bc0d833cb6: Pull complete [2021-08-02T13:54:12.337Z] 9065ff56babe: Pull complete [2021-08-02T13:54:14.914Z] d287ab97295c: Verifying Checksum [2021-08-02T13:54:14.914Z] d287ab97295c: Download complete [2021-08-02T13:54:19.190Z] d287ab97295c: Pull complete [2021-08-02T13:54:19.190Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-02T13:54:19.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T13:54:19.190Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-02T13:54:19.298Z] prd-centos7-docker-4c-2g-1366 does not seem to be running inside a container [2021-08-02T13:54:19.355Z] $ 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/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-08-02T13:54:21.730Z] $ docker top 1d4bf6afbcb3debf3c9bc57b56ffc0d774e5180dbe2e243df10ece873cb8cf17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:54:22.225Z] ---> job-cost.sh [2021-08-02T13:54:22.225Z] lf-activate-venv: SKIPPING [2021-08-02T13:54:22.225Z] INFO: No Stack... [2021-08-02T13:54:23.184Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-02T13:54:23.450Z] INFO: Archiving Costs [Pipeline] sh [2021-08-02T13:54:23.768Z] + cut -d, -f6 [2021-08-02T13:54:23.768Z] + cat /w/workspace/go-mod-core-contracts/2/archives/cost.csv [Pipeline] lock [2021-08-02T13:54:23.810Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] [2021-08-02T13:54:23.817Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] did not exist. Created. [2021-08-02T13:54:23.817Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-02T13:54:24.160Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-02T13:54:24.198Z] Stashed 1 file(s) [Pipeline] } [2021-08-02T13:54:24.214Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-02T13:54:24.241Z] $ docker stop --time=1 1d4bf6afbcb3debf3c9bc57b56ffc0d774e5180dbe2e243df10ece873cb8cf17 [2021-08-02T13:54:25.407Z] $ docker rm -f 1d4bf6afbcb3debf3c9bc57b56ffc0d774e5180dbe2e243df10ece873cb8cf17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-02T13:54:27.282Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1368 in /w/workspace/dry_go-mod-core-contracts_PR-657 [Pipeline] { [Pipeline] ws [2021-08-02T13:54:27.300Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-08-02T13:54:27.524Z] Selected Git installation does not exist. Using Default [2021-08-02T13:54:27.524Z] The recommended git tool is: NONE [2021-08-02T13:54:34.403Z] using credential edgex-jenkins-ssh [2021-08-02T13:54:34.433Z] Cloning the remote Git repository [2021-08-02T13:54:34.501Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-08-02T13:54:34.639Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-08-02T13:54:34.771Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-08-02T13:54:34.772Z] > git --version # timeout=10 [2021-08-02T13:54:34.793Z] > git --version # 'git version 2.17.1' [2021-08-02T13:54:34.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T13:54:34.890Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T13:54:37.301Z] Merging remotes/origin/main commit 73661a1a642cca7c7592f925989fa475de7fa16a into PR head commit dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa [2021-08-02T13:54:36.394Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-08-02T13:54:36.418Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T13:54:36.450Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-08-02T13:54:36.520Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-08-02T13:54:36.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T13:54:36.535Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/657/head:refs/remotes/origin/PR-657 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-02T13:54:37.326Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T13:54:37.355Z] > git checkout -f dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa # timeout=10 [2021-08-02T13:54:37.508Z] > git remote # timeout=10 [2021-08-02T13:54:37.533Z] > git config --get remote.origin.url # timeout=10 [2021-08-02T13:54:37.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T13:54:37.562Z] > git merge 73661a1a642cca7c7592f925989fa475de7fa16a # timeout=10 [2021-08-02T13:54:37.588Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-02T13:54:37.624Z] Merge succeeded, producing dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa [2021-08-02T13:54:37.624Z] Checking out Revision dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa (PR-657) [2021-08-02T13:54:37.632Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T13:54:37.648Z] > git checkout -f dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa # timeout=10 [2021-08-02T13:54:42.305Z] Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-02T13:54:43.037Z] ========================================================= [2021-08-02T13:54:43.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-02T13:54:43.037Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:54:43.656Z] + 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-08-02T13:54:45.144Z] Sending build context to Docker daemon 2.936MB [2021-08-02T13:54:45.144Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-08-02T13:54:45.144Z] Step 2/7 : FROM ${BASE} [2021-08-02T13:54:47.705Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-02T13:54:47.705Z] 595b0fe564bb: Pulling fs layer [2021-08-02T13:54:47.705Z] 24495759ef45: Pulling fs layer [2021-08-02T13:54:47.705Z] d148012ef14d: Pulling fs layer [2021-08-02T13:54:47.705Z] cb65c68fc2e2: Pulling fs layer [2021-08-02T13:54:47.705Z] 093eec477d81: Pulling fs layer [2021-08-02T13:54:47.705Z] a6d5b2bbb924: Pulling fs layer [2021-08-02T13:54:47.705Z] 2446dc1eb7d3: Pulling fs layer [2021-08-02T13:54:47.705Z] 596795e73e0f: Pulling fs layer [2021-08-02T13:54:47.705Z] 2446dc1eb7d3: Waiting [2021-08-02T13:54:47.705Z] a6d5b2bbb924: Waiting [2021-08-02T13:54:47.705Z] 596795e73e0f: Waiting [2021-08-02T13:54:47.705Z] cb65c68fc2e2: Waiting [2021-08-02T13:54:47.705Z] 093eec477d81: Waiting [2021-08-02T13:54:47.705Z] d148012ef14d: Verifying Checksum [2021-08-02T13:54:47.705Z] d148012ef14d: Download complete [2021-08-02T13:54:47.705Z] 24495759ef45: Verifying Checksum [2021-08-02T13:54:47.705Z] 24495759ef45: Download complete [2021-08-02T13:54:47.705Z] 093eec477d81: Download complete [2021-08-02T13:54:47.705Z] a6d5b2bbb924: Verifying Checksum [2021-08-02T13:54:47.705Z] a6d5b2bbb924: Download complete [2021-08-02T13:54:47.705Z] 2446dc1eb7d3: Verifying Checksum [2021-08-02T13:54:47.705Z] 2446dc1eb7d3: Download complete [2021-08-02T13:54:47.705Z] 595b0fe564bb: Verifying Checksum [2021-08-02T13:54:47.705Z] 595b0fe564bb: Download complete [2021-08-02T13:54:47.705Z] 595b0fe564bb: Pull complete [2021-08-02T13:54:47.705Z] 24495759ef45: Pull complete [2021-08-02T13:54:47.985Z] d148012ef14d: Pull complete [2021-08-02T13:54:48.982Z] 596795e73e0f: Verifying Checksum [2021-08-02T13:54:48.982Z] 596795e73e0f: Download complete [2021-08-02T13:54:50.460Z] cb65c68fc2e2: Verifying Checksum [2021-08-02T13:54:50.460Z] cb65c68fc2e2: Download complete [2021-08-02T13:55:00.710Z] cb65c68fc2e2: Pull complete [2021-08-02T13:55:00.990Z] 093eec477d81: Pull complete [2021-08-02T13:55:01.267Z] a6d5b2bbb924: Pull complete [2021-08-02T13:55:01.873Z] 2446dc1eb7d3: Pull complete [2021-08-02T13:55:06.243Z] 596795e73e0f: Pull complete [2021-08-02T13:55:06.243Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-08-02T13:55:06.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-02T13:55:06.243Z] ---> d9e956139c92 [2021-08-02T13:55:06.243Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-02T13:55:08.890Z] ---> Running in 738654fe6718 [2021-08-02T13:55:09.497Z] Removing intermediate container 738654fe6718 [2021-08-02T13:55:09.497Z] ---> 4ecf7c74101e [2021-08-02T13:55:09.497Z] Step 4/7 : RUN apk add bash [2021-08-02T13:55:09.776Z] ---> Running in d876d8a8c76b [2021-08-02T13:55:11.236Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-02T13:55:12.235Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-02T13:55:13.223Z] OK: 138 MiB in 40 packages [2021-08-02T13:55:14.669Z] Removing intermediate container d876d8a8c76b [2021-08-02T13:55:14.669Z] ---> f358ce180dd4 [2021-08-02T13:55:14.669Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-08-02T13:55:14.669Z] ---> Running in 9ed8525e00a6 [2021-08-02T13:55:15.267Z] Removing intermediate container 9ed8525e00a6 [2021-08-02T13:55:15.267Z] ---> f936db00fb9e [2021-08-02T13:55:15.267Z] Step 6/7 : COPY go.mod . [2021-08-02T13:55:15.862Z] ---> 75d479b6b1b3 [2021-08-02T13:55:15.862Z] Step 7/7 : RUN go mod download [2021-08-02T13:55:16.141Z] ---> Running in 41152a47c69b [2021-08-02T13:56:38.048Z] Removing intermediate container 41152a47c69b [2021-08-02T13:56:38.048Z] ---> fc8d2db095db [2021-08-02T13:56:38.048Z] Successfully built fc8d2db095db [2021-08-02T13:56:38.048Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:56:38.732Z] + docker inspect -f . ci-base-image-arm64 [2021-08-02T13:56:38.732Z] . [Pipeline] withDockerContainer [2021-08-02T13:56:39.320Z] prd-ubuntu18.04-docker-arm64-4c-16g-1368 does not seem to be running inside a container [2021-08-02T13:56:39.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-08-02T13:56:41.226Z] $ docker top 24e39e4b0fca8e92a623645c2445a6e59ff40e9a542bf461d431bcc83678bf3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T13:56:42.257Z] + go version [2021-08-02T13:56:42.257Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-08-02T13:56:42.284Z] $ docker stop --time=1 24e39e4b0fca8e92a623645c2445a6e59ff40e9a542bf461d431bcc83678bf3b [2021-08-02T13:56:44.205Z] $ docker rm -f 24e39e4b0fca8e92a623645c2445a6e59ff40e9a542bf461d431bcc83678bf3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:56:44.952Z] + docker inspect -f . ci-base-image-arm64 [2021-08-02T13:56:44.952Z] . [Pipeline] withDockerContainer [2021-08-02T13:56:45.210Z] prd-ubuntu18.04-docker-arm64-4c-16g-1368 does not seem to be running inside a container [2021-08-02T13:56:45.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-08-02T13:56:47.097Z] $ docker top ea5ab852bf1e78777bb148339bd40a53d4fe9a2dc96f16a6bf22df1eff16e4f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T13:56:48.123Z] + go mod tidy [Pipeline] sh [2021-08-02T13:56:49.403Z] + make test [2021-08-02T13:56:49.403Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-02T13:56:50.386Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-08-02T13:57:29.476Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.380s coverage: 83.5% of statements [2021-08-02T13:57:29.476Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-08-02T13:57:29.476Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-08-02T13:57:29.476Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-08-02T13:57:29.476Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.051s coverage: 26.3% of statements [2021-08-02T13:57:29.476Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-08-02T13:57:29.476Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.074s coverage: 46.9% of statements [2021-08-02T13:57:29.476Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.050s coverage: 90.0% of statements [2021-08-02T13:57:30.082Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.264s coverage: 86.2% of statements [2021-08-02T13:57:30.082Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.080s coverage: 59.5% of statements [2021-08-02T13:57:30.357Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.014s coverage: 36.1% of statements [2021-08-02T13:57:31.358Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.042s coverage: 49.4% of statements [2021-08-02T13:57:31.633Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-02T13:57:53.864Z] gofmt -l . [2021-08-02T13:57:53.864Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-02T13:57:53.889Z] $ docker stop --time=1 ea5ab852bf1e78777bb148339bd40a53d4fe9a2dc96f16a6bf22df1eff16e4f3 [2021-08-02T13:57:55.918Z] $ docker rm -f ea5ab852bf1e78777bb148339bd40a53d4fe9a2dc96f16a6bf22df1eff16e4f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-02T13:57:56.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-02T13:57:56.759Z] Warning: overwriting stash ‘coverage-report’ [2021-08-02T13:57:57.457Z] 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-08-02T13:57:58.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T13:57:58.238Z] [2021-08-02T13:57:58.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:57:58.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T13:57:59.163Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-02T13:57:59.163Z] 448f6bf000e3: Pulling fs layer [2021-08-02T13:57:59.163Z] f757da607395: Pulling fs layer [2021-08-02T13:57:59.163Z] 05883995daec: Pulling fs layer [2021-08-02T13:57:59.163Z] 8603b9c90790: Pulling fs layer [2021-08-02T13:57:59.163Z] 1560dd03e051: Pulling fs layer [2021-08-02T13:57:59.163Z] 27f5ce0e4adf: Pulling fs layer [2021-08-02T13:57:59.163Z] c2d8d7efcc4b: Pulling fs layer [2021-08-02T13:57:59.163Z] 8603b9c90790: Waiting [2021-08-02T13:57:59.163Z] 1560dd03e051: Waiting [2021-08-02T13:57:59.163Z] 27f5ce0e4adf: Waiting [2021-08-02T13:57:59.163Z] c2d8d7efcc4b: Waiting [2021-08-02T13:57:59.441Z] f757da607395: Verifying Checksum [2021-08-02T13:57:59.441Z] f757da607395: Download complete [2021-08-02T13:57:59.441Z] 8603b9c90790: Verifying Checksum [2021-08-02T13:57:59.441Z] 8603b9c90790: Download complete [2021-08-02T13:57:59.720Z] 1560dd03e051: Verifying Checksum [2021-08-02T13:57:59.720Z] 1560dd03e051: Download complete [2021-08-02T13:57:59.720Z] 27f5ce0e4adf: Verifying Checksum [2021-08-02T13:57:59.720Z] 27f5ce0e4adf: Download complete [2021-08-02T13:57:59.720Z] 05883995daec: Verifying Checksum [2021-08-02T13:57:59.720Z] 05883995daec: Download complete [2021-08-02T13:58:00.697Z] 448f6bf000e3: Download complete [2021-08-02T13:58:04.106Z] c2d8d7efcc4b: Download complete [2021-08-02T13:58:04.106Z] 448f6bf000e3: Pull complete [2021-08-02T13:58:04.385Z] f757da607395: Pull complete [2021-08-02T13:58:06.365Z] 05883995daec: Pull complete [2021-08-02T13:58:06.365Z] 8603b9c90790: Pull complete [2021-08-02T13:58:07.354Z] 1560dd03e051: Pull complete [2021-08-02T13:58:07.634Z] 27f5ce0e4adf: Pull complete [2021-08-02T13:58:22.734Z] c2d8d7efcc4b: Pull complete [2021-08-02T13:58:22.734Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-02T13:58:22.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T13:58:22.734Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-02T13:58:22.975Z] prd-ubuntu18.04-docker-arm64-4c-16g-1368 does not seem to be running inside a container [2021-08-02T13:58:23.062Z] $ 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/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-08-02T13:58:27.097Z] $ docker top f5db19384d52dbf11ce968f37c9ee9ca089460f3cca3a9f2cdb46e9fc13b4560 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:58:28.121Z] ---> job-cost.sh [2021-08-02T13:58:28.122Z] lf-activate-venv: SKIPPING [2021-08-02T13:58:28.122Z] INFO: No Stack... [2021-08-02T13:58:30.098Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-02T13:58:30.370Z] INFO: Archiving Costs [Pipeline] sh [2021-08-02T13:58:31.033Z] + cat /w/workspace/go-mod-core-contracts/2/archives/cost.csv [2021-08-02T13:58:31.034Z] + cut -d, -f6 [Pipeline] lock [2021-08-02T13:58:31.143Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] [2021-08-02T13:58:31.156Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] did not exist. Created. [2021-08-02T13:58:31.156Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-02T13:58:31.911Z] /w/workspace/go-mod-core-contracts/2@tmp/durable-aeadc83b/script.sh: 1: /w/workspace/go-mod-core-contracts/2@tmp/durable-aeadc83b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-02T13:58:32.664Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-02T13:58:32.689Z] Warning: overwriting stash ‘stack-cost’ [2021-08-02T13:58:32.759Z] Stashed 1 file(s) [Pipeline] } [2021-08-02T13:58:32.768Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-657-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-02T13:58:32.808Z] $ docker stop --time=1 f5db19384d52dbf11ce968f37c9ee9ca089460f3cca3a9f2cdb46e9fc13b4560 [2021-08-02T13:58:34.541Z] $ docker rm -f f5db19384d52dbf11ce968f37c9ee9ca089460f3cca3a9f2cdb46e9fc13b4560 [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-08-02T13:58:35.429Z] provisioning config files... [2021-08-02T13:58:35.444Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-657@tmp/config6916018341280409041tmp [Pipeline] { [Pipeline] sh [2021-08-02T13:58:35.780Z] + set +x [2021-08-02T13:58:35.780Z] + curl -s https://codecov.io/bash [2021-08-02T13:58:35.780Z] + bash -s -- [2021-08-02T13:58:35.780Z] [2021-08-02T13:58:35.780Z] _____ _ [2021-08-02T13:58:35.780Z] / ____| | | [2021-08-02T13:58:35.780Z] | | ___ __| | ___ ___ _____ __ [2021-08-02T13:58:35.780Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-02T13:58:35.780Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-02T13:58:35.780Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-02T13:58:35.780Z] Bash-1.0.6 [2021-08-02T13:58:35.780Z] [2021-08-02T13:58:35.780Z] [2021-08-02T13:58:35.780Z] ==> git version 2.24.4 found [2021-08-02T13:58:35.780Z] ==> 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-08-02T13:58:35.780Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-02T13:58:35.780Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-02T13:58:35.780Z] ==> Jenkins CI detected. [2021-08-02T13:58:35.780Z] current dir:  /w/workspace/dry_go-mod-core-contracts_PR-657 [2021-08-02T13:58:35.780Z] project root: . [2021-08-02T13:58:35.780Z] --> token set from env [2021-08-02T13:58:35.780Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-02T13:58:35.780Z] ==> Running gcov in . (disable via -X gcov) [2021-08-02T13:58:35.780Z] ==> Python coveragepy not found [2021-08-02T13:58:35.780Z] ==> Searching for coverage reports in: [2021-08-02T13:58:35.780Z] + . [2021-08-02T13:58:35.780Z] -> Found 1 reports [2021-08-02T13:58:35.780Z] ==> Detecting git/mercurial file structure [2021-08-02T13:58:35.780Z] ==> Reading reports [2021-08-02T13:58:35.780Z] + ./coverage.out bytes=101588 [2021-08-02T13:58:35.780Z] ==> Appending adjustments [2021-08-02T13:58:35.780Z] https://docs.codecov.io/docs/fixing-reports [2021-08-02T13:58:36.362Z] + Found adjustments [2021-08-02T13:58:36.362Z] ==> Gzipping contents [2021-08-02T13:58:36.362Z] 16K /tmp/codecov.51Lslq.gz [2021-08-02T13:58:36.362Z] ==> Uploading reports [2021-08-02T13:58:36.362Z] url: https://codecov.io [2021-08-02T13:58:36.362Z] query: branch=PR-657&commit=dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-657%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=657&job=&cmd_args= [2021-08-02T13:58:36.362Z] -> Pinging Codecov [2021-08-02T13:58:36.362Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-657&commit=dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-657%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=657&job=&cmd_args= [2021-08-02T13:58:36.969Z] -> Uploading to [2021-08-02T13:58:36.969Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-02/71470A77251A30514AAF9C0BB2E5B6CE/dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa/710202a8-7cde-4ce1-916e-611a0515c9bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210802T135836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d54e00a68058783df32f7b9dbe836f527f5d1af38358501dd9b04fb44e345a96 [2021-08-02T13:58:36.969Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-02T13:58:36.969Z] Dload Upload Total Spent Left Speed [2021-08-02T13:58:37.550Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15219 0 0 100 15219 0 39676 --:--:-- --:--:-- --:--:-- 39736 [2021-08-02T13:58:37.550Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/dcbf1467b7928c5357ff6fc44fffaec9a5ed0faa [Pipeline] } [2021-08-02T13:58:37.564Z] 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-08-02T13:58:38.927Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:58:39.521Z] ---> package-listing.sh [2021-08-02T13:58:39.521Z] ++ facter osfamily [2021-08-02T13:58:39.521Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-02T13:58:39.791Z] + OS_FAMILY=redhat [2021-08-02T13:58:39.791Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-657 [2021-08-02T13:58:39.791Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-02T13:58:39.791Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-02T13:58:39.791Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-02T13:58:39.791Z] + PACKAGES=/tmp/packages_start.txt [2021-08-02T13:58:39.791Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-657 ']' [2021-08-02T13:58:39.791Z] + PACKAGES=/tmp/packages_end.txt [2021-08-02T13:58:39.791Z] + case "${OS_FAMILY}" in [2021-08-02T13:58:39.791Z] + rpm -qa [2021-08-02T13:58:39.791Z] + sort [2021-08-02T13:58:40.372Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-02T13:58:40.372Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-02T13:58:40.372Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-02T13:58:40.372Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-657 ']' [2021-08-02T13:58:40.372Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-657/archives/ [2021-08-02T13:58:40.372Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-657/archives/ [Pipeline] echo [2021-08-02T13:58:40.395Z] 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-657/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-02T13:58:40.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:58:41.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T13:58:41.506Z] [2021-08-02T13:58:41.506Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T13:58:41.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T13:58:41.835Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-02T13:58:41.835Z] b4d181a07f80: Pulling fs layer [2021-08-02T13:58:41.835Z] a1111a8f2ec3: Pulling fs layer [2021-08-02T13:58:41.835Z] ed53099fbce6: Pulling fs layer [2021-08-02T13:58:41.835Z] dc539afda2c1: Pulling fs layer [2021-08-02T13:58:41.835Z] 77bc0d833cb6: Pulling fs layer [2021-08-02T13:58:41.835Z] 9065ff56babe: Pulling fs layer [2021-08-02T13:58:41.835Z] d287ab97295c: Pulling fs layer [2021-08-02T13:58:41.835Z] 77bc0d833cb6: Waiting [2021-08-02T13:58:41.835Z] 9065ff56babe: Waiting [2021-08-02T13:58:41.835Z] d287ab97295c: Waiting [2021-08-02T13:58:41.835Z] dc539afda2c1: Waiting [2021-08-02T13:58:42.103Z] a1111a8f2ec3: Verifying Checksum [2021-08-02T13:58:42.103Z] a1111a8f2ec3: Download complete [2021-08-02T13:58:42.103Z] dc539afda2c1: Verifying Checksum [2021-08-02T13:58:42.103Z] dc539afda2c1: Download complete [2021-08-02T13:58:42.370Z] 77bc0d833cb6: Verifying Checksum [2021-08-02T13:58:42.370Z] 77bc0d833cb6: Download complete [2021-08-02T13:58:42.370Z] 9065ff56babe: Verifying Checksum [2021-08-02T13:58:42.370Z] 9065ff56babe: Download complete [2021-08-02T13:58:42.637Z] ed53099fbce6: Verifying Checksum [2021-08-02T13:58:42.637Z] ed53099fbce6: Download complete [2021-08-02T13:58:43.596Z] b4d181a07f80: Verifying Checksum [2021-08-02T13:58:43.596Z] b4d181a07f80: Download complete [2021-08-02T13:58:44.558Z] b4d181a07f80: Pull complete [2021-08-02T13:58:44.825Z] a1111a8f2ec3: Pull complete [2021-08-02T13:58:45.099Z] ed53099fbce6: Pull complete [2021-08-02T13:58:45.372Z] dc539afda2c1: Pull complete [2021-08-02T13:58:45.372Z] 77bc0d833cb6: Pull complete [2021-08-02T13:58:45.638Z] 9065ff56babe: Pull complete [2021-08-02T13:58:47.048Z] d287ab97295c: Verifying Checksum [2021-08-02T13:58:47.048Z] d287ab97295c: Download complete [2021-08-02T13:58:51.323Z] d287ab97295c: Pull complete [2021-08-02T13:58:51.324Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-02T13:58:51.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T13:58:51.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-02T13:58:51.411Z] prd-centos7-docker-4c-2g-1358 does not seem to be running inside a container [2021-08-02T13:58:51.470Z] $ 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-657/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-657 -v /w/workspace/dry_go-mod-core-contracts_PR-657:/w/workspace/dry_go-mod-core-contracts_PR-657:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-657@tmp:/w/workspace/dry_go-mod-core-contracts_PR-657@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-08-02T13:58:53.710Z] $ docker top e92d97a39d0d30310e16bac347d544176d21df8f7257e10c2f7d74c53691b37b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T13:58:54.104Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-02T13:58:54.409Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-02T13:58:54.719Z] + ls /var/log/sa-host [2021-08-02T13:58:54.719Z] + sadf -c /var/log/sa-host/sa02 [2021-08-02T13:58:54.719Z] file_magic: OK [2021-08-02T13:58:54.719Z] HZ: Using current value: 100 [2021-08-02T13:58:54.719Z] file_header: OK [2021-08-02T13:58:54.719Z] 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-08-02T13:58:54.719Z] Statistics: [2021-08-02T13:58:54.719Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-02T13:58:54.719Z] File successfully converted to sysstat format version 12.0.3 [2021-08-02T13:58:54.719Z] + sadf -c /var/log/sa-host/sa05 [2021-08-02T13:58:54.719Z] file_magic: OK [2021-08-02T13:58:54.719Z] HZ: Using current value: 100 [2021-08-02T13:58:54.719Z] file_header: OK [2021-08-02T13:58:54.719Z] 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-08-02T13:58:54.719Z] Statistics: [2021-08-02T13:58:54.719Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-02T13:58:54.719Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T13:58:54.909Z] provisioning config files... [2021-08-02T13:58:54.924Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-657@tmp/config5333673882583048463tmp [Pipeline] { [Pipeline] echo [2021-08-02T13:58:54.948Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:58:55.256Z] ---> create-netrc.sh [Pipeline] } [2021-08-02T13:58:55.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:58:55.662Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-02T13:58:55.677Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:58:56.031Z] ---> sudo-logs.sh [2021-08-02T13:58:56.031Z] Archiving 'sudo' log.. [2021-08-02T13:58:56.031Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1358.vexxhost.local: Name or service not known [2021-08-02T13:58:56.031Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1358.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-02T13:58:56.066Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:58:56.377Z] ---> job-cost.sh [2021-08-02T13:58:56.377Z] lf-activate-venv: SKIPPING [2021-08-02T13:58:56.377Z] DEBUG: total: 0.18000000715255737 [2021-08-02T13:58:56.377Z] INFO: Retrieving Stack Cost... [2021-08-02T13:58:57.548Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-02T13:58:57.814Z] INFO: Archiving Costs [Pipeline] echo [2021-08-02T13:58:57.831Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T13:58:58.153Z] ---> logs-deploy.sh [2021-08-02T13:58:58.153Z] lf-activate-venv: SKIPPING [2021-08-02T13:58:58.153Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-657/2 [2021-08-02T13:58:58.153Z] INFO: archiving workspace using pattern(s): [2021-08-02T13:58:58.736Z] Archives upload complete. [2021-08-02T13:58:59.001Z] INFO: archiving logs to Nexus