Pull request #691 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 bnevis-i for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e+c9b7fc9a7a4590f16efa0e0d54327a830c03474f (095a0c2056c036f95bd767f9c82b78155e3012af) 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-ssh12438130398023037378.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh8834111847635299909.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-691/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-691/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6722669979028498435.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh17927564425175501899.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-691/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-691/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12256424971402448108.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true 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-docker-4c-2g-1128’ is offline Running on prd-centos7-docker-4c-2g-1131 in /w/workspace/dry_go-mod-core-contracts_PR-691 [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-691 # 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-691@tmp/jenkins-gitclient-ssh1560786517204546618.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-691@tmp/jenkins-gitclient-ssh8602875942994002710.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9b7fc9a7a4590f16efa0e0d54327a830c03474f into PR head commit 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e Merge succeeded, producing 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e Checking out Revision 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e (PR-691) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # 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-691@tmp/jenkins-gitclient-ssh5431325758899976365.key > git merge c9b7fc9a7a4590f16efa0e0d54327a830c03474f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-10T15:24:50.757Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-10T15:24:50.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-10T15:24:50.822Z] ========================================================= [2022-01-10T15:24:50.822Z] EdgeX Global Pipelines Version Info [2022-01-10T15:24:50.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk aa6319afdfdf9713e27d4798b98c8ca51afc7940 # timeout=10 [2022-01-10T15:24:51.961Z] ------------------- [2022-01-10T15:24:51.961Z] stable info: [2022-01-10T15:24:51.961Z] ------------------- [2022-01-10T15:24:51.961Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-10T15:24:51.961Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-10T15:24:51.961Z] Message: update stable to v1.0.217 [2022-01-10T15:24:52.535Z] ------------------- [2022-01-10T15:24:52.535Z] experimental info: [2022-01-10T15:24:52.535Z] ------------------- [2022-01-10T15:24:52.536Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-10T15:24:52.536Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-10T15:24:52.536Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-10T15:24:52.684Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2022-01-10T15:24:52.698Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2022-01-10T15:24:52.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-10T15:24:52.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-10T15:24:52.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-10T15:24:52.773Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-10T15:24:52.793Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-10T15:24:52.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-10T15:24:52.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-10T15:24:52.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-10T15:24:52.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-10T15:24:52.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2022-01-10T15:24:52.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-10T15:24:52.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-10T15:24:52.912Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T15:24:52.928Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T15:24:52.938Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T15:24:52.949Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T15:24:52.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-10T15:24:52.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-10T15:24:53.003Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-10T15:24:53.021Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-10T15:24:53.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-10T15:24:53.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-10T15:24:53.070Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-01-10T15:24:53.085Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-10T15:24:53.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-691 [Pipeline] echo [2022-01-10T15:24:53.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-691 [Pipeline] echo [2022-01-10T15:24:53.136Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-691 [Pipeline] echo [2022-01-10T15:24:53.151Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo [2022-01-10T15:24:53.170Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c55d52 [Pipeline] echo [2022-01-10T15:24:53.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-10T15:24:53.546Z] + git rev-list -1 --merges 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e~1..5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo [2022-01-10T15:24:53.587Z] -----------> git rev-list -1 --merges 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e~1..5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [false] [Pipeline] sh [2022-01-10T15:24:53.888Z] + git log --format=format:%s -1 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo [2022-01-10T15:24:53.912Z] ========================================================= [2022-01-10T15:24:53.912Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-10T15:24:53.912Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T15:24:54.263Z] + git log --format=format:%s -1 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo [2022-01-10T15:24:54.277Z] [semverPrep] GIT_COMMIT: 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-10T15:24:54.287Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-10T15:24:54.666Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T15:24:54.666Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-10T15:24:54.666Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-10T15:24:54.666Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-10T15:24:54.666Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-10T15:24:54.666Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-10T15:24:54.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:24:55.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:24:55.024Z] [2022-01-10T15:24:55.024Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:24:55.336Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:24:55.336Z] latest: Pulling from edgex-devops/git-semver [2022-01-10T15:24:55.336Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T15:24:55.336Z] 3e5f54012d9b: Pulling fs layer [2022-01-10T15:24:55.336Z] 4c7163046ea9: Pulling fs layer [2022-01-10T15:24:55.336Z] 0c2d73faf560: Pulling fs layer [2022-01-10T15:24:55.336Z] 0c2d73faf560: Waiting [2022-01-10T15:24:55.336Z] 3e5f54012d9b: Verifying Checksum [2022-01-10T15:24:55.336Z] 3e5f54012d9b: Download complete [2022-01-10T15:24:55.600Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T15:24:55.600Z] a0d0a0d46f8b: Download complete [2022-01-10T15:24:55.600Z] 4c7163046ea9: Verifying Checksum [2022-01-10T15:24:55.600Z] 4c7163046ea9: Download complete [2022-01-10T15:24:55.600Z] 0c2d73faf560: Verifying Checksum [2022-01-10T15:24:55.600Z] 0c2d73faf560: Download complete [2022-01-10T15:24:55.600Z] a0d0a0d46f8b: Pull complete [2022-01-10T15:24:55.600Z] 3e5f54012d9b: Pull complete [2022-01-10T15:24:55.864Z] 4c7163046ea9: Pull complete [2022-01-10T15:24:56.127Z] 0c2d73faf560: Pull complete [2022-01-10T15:24:56.127Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-10T15:24:56.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:24:56.127Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-10T15:24:56.198Z] prd-centos7-docker-4c-2g-1131 does not seem to be running inside a container [2022-01-10T15:24:55.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-691 -v /w/workspace/dry_go-mod-core-contracts_PR-691:/w/workspace/dry_go-mod-core-contracts_PR-691:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-691@tmp:/w/workspace/dry_go-mod-core-contracts_PR-691@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-10T15:24:56.601Z] $ docker top b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T15:24:56.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T15:24:56.967Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T15:24:57.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T15:24:56.817Z] $ docker exec b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent [2022-01-10T15:24:57.202Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbBGkjA/agent.14 [2022-01-10T15:24:57.202Z] SSH_AGENT_PID=20 [2022-01-10T15:24:57.212Z] Running ssh-add (command line suppressed) [2022-01-10T15:24:57.078Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_5461317485746413103.key (/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_5461317485746413103.key) [2022-01-10T15:24:57.329Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T15:24:57.624Z] + git tag --points-at HEAD [Pipeline] } [2022-01-10T15:24:57.432Z] $ docker exec --env ******** --env ******** b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent -k [2022-01-10T15:24:57.537Z] unset SSH_AUTH_SOCK; [2022-01-10T15:24:57.537Z] unset SSH_AGENT_PID; [2022-01-10T15:24:57.538Z] echo Agent pid 20 killed; [2022-01-10T15:24:57.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-10T15:24:57.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T15:24:57.770Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T15:24:57.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T15:24:57.698Z] $ docker exec b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent [2022-01-10T15:24:57.986Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKBpeCH/agent.53 [2022-01-10T15:24:57.986Z] SSH_AGENT_PID=59 [2022-01-10T15:24:57.992Z] Running ssh-add (command line suppressed) [2022-01-10T15:24:57.944Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_8234798380742111440.key (/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_8234798380742111440.key) [2022-01-10T15:24:58.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T15:24:58.418Z] + git semver init [2022-01-10T15:24:58.418Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T15:24:58.418Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-691/.git [2022-01-10T15:24:58.418Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-691 [2022-01-10T15:24:58.418Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T15:24:58.418Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T15:24:58.418Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T15:24:58.418Z] # $SEMVER_BRANCH = PR-691 [2022-01-10T15:24:58.418Z] # $SEMVER_TEMP = /tmp/semver-398025509 [2022-01-10T15:24:58.418Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2022-01-10T15:24:59.373Z] # '/tmp/semver-398025509' -> '/w/workspace/dry_go-mod-core-contracts_PR-691/.semver' [2022-01-10T15:24:59.373Z] # -> Force: false [2022-01-10T15:24:59.373Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-691/.semver [Pipeline] } [2022-01-10T15:24:59.325Z] $ docker exec --env ******** --env ******** b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent -k [2022-01-10T15:24:59.423Z] unset SSH_AUTH_SOCK; [2022-01-10T15:24:59.424Z] unset SSH_AGENT_PID; [2022-01-10T15:24:59.424Z] echo Agent pid 59 killed; [2022-01-10T15:24:59.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T15:24:59.804Z] + git semver [Pipeline] } [2022-01-10T15:24:59.793Z] $ docker stop --time=1 b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b [2022-01-10T15:25:01.046Z] $ docker rm -f b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T15:25:01.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-10T15:25:01.677Z] Stashed 1 file(s) [Pipeline] echo [2022-01-10T15:25:01.681Z] [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 [2022-01-10T15:25:16.797Z] Still waiting to schedule task [2022-01-10T15:25:16.798Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2022-01-10T15:25:16.799Z] Still waiting to schedule task [2022-01-10T15:25:16.799Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-10T15:26:46.513Z] Running on prd-centos7-docker-4c-2g-1134 in /w/workspace/dry_go-mod-core-contracts_PR-691 [Pipeline] { [Pipeline] ws [2022-01-10T15:26:46.527Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2022-01-10T15:26:46.539Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1132 in /w/workspace/dry_go-mod-core-contracts_PR-691 [Pipeline] { [Pipeline] ws [2022-01-10T15:26:46.557Z] Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout [2022-01-10T15:26:46.597Z] Selected Git installation does not exist. Using Default [2022-01-10T15:26:46.597Z] The recommended git tool is: NONE [2022-01-10T15:26:46.748Z] Selected Git installation does not exist. Using Default [2022-01-10T15:26:46.748Z] The recommended git tool is: NONE [2022-01-10T15:26:48.325Z] using credential edgex-jenkins-ssh [2022-01-10T15:26:48.342Z] Cloning the remote Git repository [2022-01-10T15:26:47.764Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-01-10T15:26:47.799Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2022-01-10T15:26:47.833Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-01-10T15:26:47.833Z] > git --version # timeout=10 [2022-01-10T15:26:47.844Z] > git --version # 'git version 2.24.4' [2022-01-10T15:26:47.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:26:47.864Z] [INFO] Currently running in a labeled security context [2022-01-10T15:26:47.864Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T15:26:47.865Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/4@tmp/jenkins-gitclient-ssh4276455285675558883.key [2022-01-10T15:26:47.908Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:26:48.885Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2022-01-10T15:26:48.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:26:48.905Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2022-01-10T15:26:48.926Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-01-10T15:26:48.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:26:48.927Z] [INFO] Currently running in a labeled security context [2022-01-10T15:26:48.927Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T15:26:48.928Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/4@tmp/jenkins-gitclient-ssh3855120298888677039.key [2022-01-10T15:26:48.937Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-10T15:26:50.083Z] Merging remotes/origin/main commit c9b7fc9a7a4590f16efa0e0d54327a830c03474f into PR head commit 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [2022-01-10T15:26:50.189Z] Merge succeeded, producing 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [2022-01-10T15:26:50.190Z] Checking out Revision 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e (PR-691) [2022-01-10T15:26:50.938Z] using credential edgex-jenkins-ssh [2022-01-10T15:26:50.956Z] Cloning the remote Git repository [2022-01-10T15:26:49.493Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T15:26:49.500Z] > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 [2022-01-10T15:26:49.540Z] > git remote # timeout=10 [2022-01-10T15:26:49.556Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T15:26:49.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:26:49.565Z] [INFO] Currently running in a labeled security context [2022-01-10T15:26:49.565Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T15:26:49.565Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/4@tmp/jenkins-gitclient-ssh3791014096097373943.key [2022-01-10T15:26:49.571Z] > git merge c9b7fc9a7a4590f16efa0e0d54327a830c03474f # timeout=10 [2022-01-10T15:26:49.581Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T15:26:49.595Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T15:26:49.602Z] > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 [2022-01-10T15:26:51.009Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-01-10T15:26:51.084Z] > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 [2022-01-10T15:26:51.172Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-01-10T15:26:51.173Z] > git --version # timeout=10 [2022-01-10T15:26:51.190Z] > git --version # 'git version 2.17.1' [2022-01-10T15:26:51.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:26:51.260Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:26:52.699Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2022-01-10T15:26:52.726Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:26:52.755Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2022-01-10T15:26:53.752Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-10T15:26:53.788Z] Merging remotes/origin/main commit c9b7fc9a7a4590f16efa0e0d54327a830c03474f into PR head commit 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [2022-01-10T15:26:54.020Z] Merge succeeded, producing 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [2022-01-10T15:26:54.020Z] Checking out Revision 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e (PR-691) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-01-10T15:26:52.870Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2022-01-10T15:26:52.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:26:52.935Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-10T15:26:53.810Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T15:26:53.826Z] > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 [2022-01-10T15:26:53.940Z] > git remote # timeout=10 [2022-01-10T15:26:53.955Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T15:26:53.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:26:53.976Z] > git merge c9b7fc9a7a4590f16efa0e0d54327a830c03474f # timeout=10 [2022-01-10T15:26:53.997Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T15:26:54.029Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T15:26:54.040Z] > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 [Pipeline] unstash [Pipeline] echo [2022-01-10T15:26:54.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T15:26:54.239Z] ========================================================= [2022-01-10T15:26:54.239Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-10T15:26:54.239Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-10T15:26:54.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-10T15:26:54.633Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-10T15:26:54.633Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T15:26:54.633Z] 31adcdaf11c8: Pulling fs layer [2022-01-10T15:26:54.633Z] b8b176561691: Pulling fs layer [2022-01-10T15:26:54.633Z] 4527c011a84f: Pulling fs layer [2022-01-10T15:26:54.633Z] 5d74067f8e1e: Pulling fs layer [2022-01-10T15:26:54.633Z] e0aca202a116: Pulling fs layer [2022-01-10T15:26:54.633Z] 3a43be97a3b4: Pulling fs layer [2022-01-10T15:26:54.633Z] 34cad66bf833: Pulling fs layer [2022-01-10T15:26:54.633Z] b4e3c513aaa6: Pulling fs layer [2022-01-10T15:26:54.633Z] 4527c011a84f: Waiting [2022-01-10T15:26:54.633Z] 5d74067f8e1e: Waiting [2022-01-10T15:26:54.633Z] e0aca202a116: Waiting [2022-01-10T15:26:54.633Z] 3a43be97a3b4: Waiting [2022-01-10T15:26:54.633Z] 34cad66bf833: Waiting [2022-01-10T15:26:54.633Z] b4e3c513aaa6: Waiting [2022-01-10T15:26:54.633Z] b8b176561691: Verifying Checksum [2022-01-10T15:26:54.633Z] b8b176561691: Download complete [2022-01-10T15:26:54.633Z] 31adcdaf11c8: Verifying Checksum [2022-01-10T15:26:54.633Z] 31adcdaf11c8: Download complete [2022-01-10T15:26:54.902Z] 5d74067f8e1e: Verifying Checksum [2022-01-10T15:26:54.902Z] 5d74067f8e1e: Download complete [2022-01-10T15:26:54.902Z] e0aca202a116: Verifying Checksum [2022-01-10T15:26:54.902Z] e0aca202a116: Download complete [2022-01-10T15:26:54.902Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T15:26:54.902Z] 3a43be97a3b4: Verifying Checksum [2022-01-10T15:26:54.902Z] 3a43be97a3b4: Download complete [2022-01-10T15:26:54.902Z] 34cad66bf833: Verifying Checksum [2022-01-10T15:26:54.902Z] 34cad66bf833: Download complete [2022-01-10T15:26:55.512Z] a0d0a0d46f8b: Pull complete [2022-01-10T15:26:55.512Z] b4e3c513aaa6: Verifying Checksum [2022-01-10T15:26:55.512Z] b4e3c513aaa6: Download complete [2022-01-10T15:26:55.512Z] 31adcdaf11c8: Pull complete [2022-01-10T15:26:55.512Z] 4527c011a84f: Verifying Checksum [2022-01-10T15:26:55.512Z] 4527c011a84f: Download complete [2022-01-10T15:26:55.512Z] b8b176561691: Pull complete [2022-01-10T15:26:58.133Z] Commit message: "feat(security): Enable gosec and default linter set" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T15:26:58.980Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-10T15:26:58.980Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T15:26:58.980Z] Dload Upload Total Spent Left Speed [2022-01-10T15:26:59.765Z] 4527c011a84f: Pull complete [2022-01-10T15:26:59.765Z] 5d74067f8e1e: Pull complete [2022-01-10T15:26:59.765Z] e0aca202a116: Pull complete [2022-01-10T15:26:59.765Z] 3a43be97a3b4: Pull complete [2022-01-10T15:26:59.765Z] 34cad66bf833: Pull complete [2022-01-10T15:27:02.356Z] b4e3c513aaa6: Pull complete [2022-01-10T15:27:02.356Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-10T15:27:02.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-10T15:27:02.356Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2022-01-10T15:27:02.739Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:27:03.042Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T15:27:03.043Z] . [Pipeline] withDockerContainer [2022-01-10T15:27:03.123Z] prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container [2022-01-10T15:27:03.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 100 11843 100 11843 0 0 2804 0 0:00:04 0:00:04 --:--:-- 2804 [2022-01-10T15:27:03.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-10T15:27:05.917Z] $ docker top 02ffe3d3464b82dbb0e1e1ac8f59c4589d12171eed9f30ecc74fb39423635318 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2022-01-10T15:27:06.332Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-10T15:27:06.363Z] + go version [2022-01-10T15:27:06.363Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-10T15:27:06.512Z] $ docker stop --time=1 02ffe3d3464b82dbb0e1e1ac8f59c4589d12171eed9f30ecc74fb39423635318 [2022-01-10T15:27:06.773Z] + sudo tee /etc/docker/daemon.new [2022-01-10T15:27:06.773Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-10T15:27:06.773Z] { [2022-01-10T15:27:06.773Z] "registry-mirrors": [ [2022-01-10T15:27:06.773Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-10T15:27:06.773Z] ], [2022-01-10T15:27:06.773Z] "bip": "10.250.0.254/24", [2022-01-10T15:27:06.773Z] "hosts": [ [2022-01-10T15:27:06.773Z] "tcp://0.0.0.0:5555", [2022-01-10T15:27:06.773Z] "unix:///var/run/docker.sock" [2022-01-10T15:27:06.773Z] ], [2022-01-10T15:27:06.773Z] "mtu": 1458, [2022-01-10T15:27:06.773Z] "selinux-enabled": true, [2022-01-10T15:27:06.773Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-10T15:27:06.773Z] } [2022-01-10T15:27:07.711Z] $ docker rm -f 02ffe3d3464b82dbb0e1e1ac8f59c4589d12171eed9f30ecc74fb39423635318 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:27:08.106Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-10T15:27:08.195Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T15:27:08.195Z] . [Pipeline] withDockerContainer [2022-01-10T15:27:08.262Z] prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container [2022-01-10T15:27:08.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-10T15:27:08.445Z] + sudo service docker restart [2022-01-10T15:27:08.648Z] $ docker top bab594062e01521fdf4e9546d1913daa6dd320d5982d974823204fb965a59330 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T15:27:09.022Z] + make test [2022-01-10T15:27:09.022Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-10T15:27:09.602Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-10T15:27:09.602Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.1 [2022-01-10T15:27:09.602Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-10T15:27:09.602Z] go: downloading github.com/go-kit/log v0.2.0 [2022-01-10T15:27:09.602Z] go: downloading github.com/go-playground/validator/v10 v10.10.0 [2022-01-10T15:27:09.602Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-10T15:27:09.602Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-10T15:27:09.602Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-10T15:27:09.602Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-10T15:27:09.602Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-10T15:27:09.602Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-10T15:27:09.602Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-10T15:27:09.865Z] go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 [2022-01-10T15:27:09.865Z] go: downloading golang.org/x/text v0.3.7 [2022-01-10T15:27:10.140Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-01-10T15:27:10.140Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-10T15:27:11.541Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2022-01-10T15:27:21.608Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.061s coverage: 83.6% of statements [2022-01-10T15:27:21.608Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2022-01-10T15:27:21.608Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2022-01-10T15:27:21.608Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2022-01-10T15:27:21.870Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.009s coverage: 29.4% of statements [2022-01-10T15:27:21.870Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2022-01-10T15:27:22.466Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.008s coverage: 47.0% of statements [2022-01-10T15:27:22.466Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.006s coverage: 90.5% of statements [2022-01-10T15:27:22.739Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.025s coverage: 86.8% of statements [2022-01-10T15:27:23.004Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.009s coverage: 59.5% of statements [2022-01-10T15:27:23.264Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.002s coverage: 36.1% of statements [2022-01-10T15:27:23.531Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.007s coverage: 48.7% of statements [Pipeline] unstash [Pipeline] echo [2022-01-10T15:27:27.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T15:27:27.314Z] ========================================================= [2022-01-10T15:27:27.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-10T15:27:27.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-10T15:27:27.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-10T15:27:28.262Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-10T15:27:28.262Z] 552d1f2373af: Pulling fs layer [2022-01-10T15:27:28.263Z] ea3f2d53f512: Pulling fs layer [2022-01-10T15:27:28.263Z] 9e70ebbbe112: Pulling fs layer [2022-01-10T15:27:28.263Z] 7a9cfe048b4a: Pulling fs layer [2022-01-10T15:27:28.263Z] 72dc09318566: Pulling fs layer [2022-01-10T15:27:28.263Z] f4f7b4309257: Pulling fs layer [2022-01-10T15:27:28.263Z] 0ac9a79272e3: Pulling fs layer [2022-01-10T15:27:28.263Z] b78e95d17946: Pulling fs layer [2022-01-10T15:27:28.263Z] 7a9cfe048b4a: Waiting [2022-01-10T15:27:28.263Z] 72dc09318566: Waiting [2022-01-10T15:27:28.263Z] f4f7b4309257: Waiting [2022-01-10T15:27:28.263Z] 0ac9a79272e3: Waiting [2022-01-10T15:27:28.263Z] b78e95d17946: Waiting [2022-01-10T15:27:28.263Z] 9e70ebbbe112: Verifying Checksum [2022-01-10T15:27:28.263Z] 9e70ebbbe112: Download complete [2022-01-10T15:27:28.263Z] ea3f2d53f512: Verifying Checksum [2022-01-10T15:27:28.263Z] ea3f2d53f512: Download complete [2022-01-10T15:27:28.263Z] 72dc09318566: Download complete [2022-01-10T15:27:28.263Z] f4f7b4309257: Verifying Checksum [2022-01-10T15:27:28.263Z] f4f7b4309257: Download complete [2022-01-10T15:27:28.263Z] 0ac9a79272e3: Verifying Checksum [2022-01-10T15:27:28.263Z] 0ac9a79272e3: Download complete [2022-01-10T15:27:28.263Z] 552d1f2373af: Verifying Checksum [2022-01-10T15:27:28.263Z] 552d1f2373af: Download complete [2022-01-10T15:27:29.248Z] 552d1f2373af: Pull complete [2022-01-10T15:27:29.528Z] ea3f2d53f512: Pull complete [2022-01-10T15:27:29.805Z] 9e70ebbbe112: Pull complete [2022-01-10T15:27:30.404Z] b78e95d17946: Verifying Checksum [2022-01-10T15:27:30.681Z] 7a9cfe048b4a: Verifying Checksum [2022-01-10T15:27:30.681Z] 7a9cfe048b4a: Download complete [2022-01-10T15:27:35.820Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-10T15:27:39.220Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T15:27:39.220Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-10T15:27:39.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T15:27:39.508Z] $ docker stop --time=1 bab594062e01521fdf4e9546d1913daa6dd320d5982d974823204fb965a59330 [2022-01-10T15:27:41.391Z] $ docker rm -f bab594062e01521fdf4e9546d1913daa6dd320d5982d974823204fb965a59330 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T15:27:41.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T15:27:42.144Z] 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 [2022-01-10T15:27:42.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:27:42.620Z] [2022-01-10T15:27:42.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:27:42.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:27:42.931Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T15:27:42.931Z] b4d181a07f80: Pulling fs layer [2022-01-10T15:27:42.931Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T15:27:42.931Z] ed53099fbce6: Pulling fs layer [2022-01-10T15:27:42.931Z] dc539afda2c1: Pulling fs layer [2022-01-10T15:27:42.931Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T15:27:42.931Z] 9065ff56babe: Pulling fs layer [2022-01-10T15:27:42.931Z] d287ab97295c: Pulling fs layer [2022-01-10T15:27:42.931Z] 77bc0d833cb6: Waiting [2022-01-10T15:27:42.931Z] dc539afda2c1: Waiting [2022-01-10T15:27:42.931Z] 9065ff56babe: Waiting [2022-01-10T15:27:42.931Z] d287ab97295c: Waiting [2022-01-10T15:27:42.931Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T15:27:42.931Z] a1111a8f2ec3: Download complete [2022-01-10T15:27:42.931Z] dc539afda2c1: Verifying Checksum [2022-01-10T15:27:42.931Z] dc539afda2c1: Download complete [2022-01-10T15:27:43.090Z] 7a9cfe048b4a: Pull complete [2022-01-10T15:27:43.090Z] 72dc09318566: Pull complete [2022-01-10T15:27:43.090Z] f4f7b4309257: Pull complete [2022-01-10T15:27:43.090Z] 0ac9a79272e3: Pull complete [2022-01-10T15:27:43.193Z] ed53099fbce6: Verifying Checksum [2022-01-10T15:27:43.193Z] ed53099fbce6: Download complete [2022-01-10T15:27:43.193Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T15:27:43.193Z] 77bc0d833cb6: Download complete [2022-01-10T15:27:43.193Z] 9065ff56babe: Verifying Checksum [2022-01-10T15:27:43.193Z] 9065ff56babe: Download complete [2022-01-10T15:27:43.193Z] b4d181a07f80: Verifying Checksum [2022-01-10T15:27:43.193Z] b4d181a07f80: Download complete [2022-01-10T15:27:43.772Z] d287ab97295c: Verifying Checksum [2022-01-10T15:27:43.773Z] d287ab97295c: Download complete [2022-01-10T15:27:44.736Z] b4d181a07f80: Pull complete [2022-01-10T15:27:44.736Z] a1111a8f2ec3: Pull complete [2022-01-10T15:27:45.316Z] ed53099fbce6: Pull complete [2022-01-10T15:27:45.316Z] dc539afda2c1: Pull complete [2022-01-10T15:27:45.578Z] 77bc0d833cb6: Pull complete [2022-01-10T15:27:45.849Z] 9065ff56babe: Pull complete [2022-01-10T15:27:48.486Z] b78e95d17946: Pull complete [2022-01-10T15:27:48.486Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-10T15:27:48.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-10T15:27:48.486Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2022-01-10T15:27:48.829Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:27:49.170Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T15:27:49.170Z] . [Pipeline] withDockerContainer [2022-01-10T15:27:49.396Z] prd-ubuntu18.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container [2022-01-10T15:27:49.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 [2022-01-10T15:27:51.189Z] d287ab97295c: Pull complete [2022-01-10T15:27:51.189Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T15:27:51.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:27:51.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:27:52.502Z] $ docker top 25e56ee1cd27b41940ea5d91223b98d66d2ad3ec631eb8e66b0192abc1df09ce -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2022-01-10T15:27:52.841Z] prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container [2022-01-10T15:27:52.889Z] $ 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/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T15:27:55.432Z] $ docker top 20a785ba4d819f7cbebcc6a564105bc383ec1e9af82da7c4df18b4140d8c2063 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:27:55.927Z] ---> job-cost.sh [2022-01-10T15:27:55.927Z] lf-activate-venv: SKIPPING [2022-01-10T15:27:55.927Z] INFO: No Stack... [2022-01-10T15:27:56.151Z] + go version [2022-01-10T15:27:56.151Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-10T15:27:56.176Z] $ docker stop --time=1 25e56ee1cd27b41940ea5d91223b98d66d2ad3ec631eb8e66b0192abc1df09ce [2022-01-10T15:27:56.504Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T15:27:56.765Z] INFO: Archiving Costs [2022-01-10T15:27:57.801Z] $ docker rm -f 25e56ee1cd27b41940ea5d91223b98d66d2ad3ec631eb8e66b0192abc1df09ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:27:58.422Z] + cat /w/workspace/go-mod-core-contracts/4/archives/cost.csv [2022-01-10T15:27:58.422Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T15:27:58.454Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [2022-01-10T15:27:58.459Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] did not exist. Created. [2022-01-10T15:27:58.459Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T15:27:58.550Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T15:27:58.550Z] . [Pipeline] withDockerContainer [2022-01-10T15:27:58.763Z] prd-ubuntu18.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container [2022-01-10T15:27:58.765Z] + echo total: 0.05999999865889549 [2022-01-10T15:27:58.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 [2022-01-10T15:28:00.180Z] $ docker top 9bbffac9ee158b7605907fd0aac30b80a223d21b33ddf395d7445b1e11388802 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] fileExists [Pipeline] sh [2022-01-10T15:28:00.449Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T15:28:00.511Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T15:28:00.526Z] $ docker stop --time=1 20a785ba4d819f7cbebcc6a564105bc383ec1e9af82da7c4df18b4140d8c2063 [2022-01-10T15:28:01.085Z] + make test [2022-01-10T15:28:01.085Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-10T15:28:01.654Z] $ docker rm -f 20a785ba4d819f7cbebcc6a564105bc383ec1e9af82da7c4df18b4140d8c2063 [2022-01-10T15:28:01.684Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-10T15:28:01.684Z] go: downloading github.com/go-kit/log v0.2.0 [2022-01-10T15:28:01.684Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-10T15:28:01.684Z] go: downloading github.com/go-playground/validator/v10 v10.10.0 [2022-01-10T15:28:01.684Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.1 [2022-01-10T15:28:01.684Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-10T15:28:01.684Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-01-10T15:28:01.684Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-10T15:28:01.684Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-10T15:28:01.684Z] go: downloading github.com/stretchr/objx v0.1.1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-10T15:28:01.959Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-10T15:28:01.959Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-10T15:28:01.959Z] go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 [2022-01-10T15:28:01.959Z] go: downloading golang.org/x/text v0.3.7 [2022-01-10T15:28:01.959Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-10T15:28:01.959Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-10T15:28:06.287Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2022-01-10T15:28:38.664Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.367s coverage: 83.6% of statements [2022-01-10T15:28:38.664Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2022-01-10T15:28:38.664Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2022-01-10T15:28:38.664Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2022-01-10T15:28:38.664Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.089s coverage: 29.4% of statements [2022-01-10T15:28:38.664Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2022-01-10T15:28:39.654Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.068s coverage: 47.0% of statements [2022-01-10T15:28:39.654Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.088s coverage: 90.5% of statements [2022-01-10T15:28:41.088Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.380s coverage: 86.8% of statements [2022-01-10T15:28:41.088Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.039s coverage: 59.5% of statements [2022-01-10T15:28:41.088Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.015s coverage: 36.1% of statements [2022-01-10T15:28:42.522Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.037s coverage: 48.7% of statements [2022-01-10T15:28:42.796Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-10T15:28:42.796Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-10T15:29:04.985Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T15:29:04.985Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-10T15:29:05.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T15:29:05.020Z] $ docker stop --time=1 9bbffac9ee158b7605907fd0aac30b80a223d21b33ddf395d7445b1e11388802 [2022-01-10T15:29:06.712Z] $ docker rm -f 9bbffac9ee158b7605907fd0aac30b80a223d21b33ddf395d7445b1e11388802 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T15:29:08.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T15:29:08.170Z] Warning: overwriting stash ‘coverage-report’ [2022-01-10T15:29:08.716Z] 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 [2022-01-10T15:29:09.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T15:29:09.155Z] [2022-01-10T15:29:09.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:29:09.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T15:29:09.788Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-10T15:29:09.788Z] 448f6bf000e3: Pulling fs layer [2022-01-10T15:29:09.788Z] f757da607395: Pulling fs layer [2022-01-10T15:29:09.788Z] 05883995daec: Pulling fs layer [2022-01-10T15:29:09.788Z] 8603b9c90790: Pulling fs layer [2022-01-10T15:29:09.788Z] 1560dd03e051: Pulling fs layer [2022-01-10T15:29:09.788Z] 27f5ce0e4adf: Pulling fs layer [2022-01-10T15:29:09.788Z] c2d8d7efcc4b: Pulling fs layer [2022-01-10T15:29:09.788Z] 27f5ce0e4adf: Waiting [2022-01-10T15:29:09.788Z] 8603b9c90790: Waiting [2022-01-10T15:29:09.788Z] 1560dd03e051: Waiting [2022-01-10T15:29:09.788Z] c2d8d7efcc4b: Waiting [2022-01-10T15:29:09.788Z] f757da607395: Verifying Checksum [2022-01-10T15:29:09.788Z] f757da607395: Download complete [2022-01-10T15:29:09.788Z] 8603b9c90790: Verifying Checksum [2022-01-10T15:29:09.788Z] 8603b9c90790: Download complete [2022-01-10T15:29:09.788Z] 1560dd03e051: Verifying Checksum [2022-01-10T15:29:09.788Z] 1560dd03e051: Download complete [2022-01-10T15:29:09.788Z] 27f5ce0e4adf: Verifying Checksum [2022-01-10T15:29:09.789Z] 27f5ce0e4adf: Download complete [2022-01-10T15:29:10.061Z] 05883995daec: Verifying Checksum [2022-01-10T15:29:10.061Z] 05883995daec: Download complete [2022-01-10T15:29:10.333Z] 448f6bf000e3: Verifying Checksum [2022-01-10T15:29:10.333Z] 448f6bf000e3: Download complete [2022-01-10T15:29:12.960Z] c2d8d7efcc4b: Verifying Checksum [2022-01-10T15:29:12.960Z] c2d8d7efcc4b: Download complete [2022-01-10T15:29:13.949Z] 448f6bf000e3: Pull complete [2022-01-10T15:29:14.549Z] f757da607395: Pull complete [2022-01-10T15:29:15.980Z] 05883995daec: Pull complete [2022-01-10T15:29:16.264Z] 8603b9c90790: Pull complete [2022-01-10T15:29:17.250Z] 1560dd03e051: Pull complete [2022-01-10T15:29:17.522Z] 27f5ce0e4adf: Pull complete [2022-01-10T15:29:32.574Z] c2d8d7efcc4b: Pull complete [2022-01-10T15:29:32.574Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-10T15:29:32.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T15:29:32.574Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-10T15:29:32.824Z] prd-ubuntu18.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container [2022-01-10T15:29:32.929Z] $ 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/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 [2022-01-10T15:29:35.527Z] $ docker top 8310a0da9f979288ad4dc5b805d2b6f994407a837f2fed293a127fda67fed95e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:29:36.121Z] ---> job-cost.sh [2022-01-10T15:29:36.422Z] lf-activate-venv: SKIPPING [2022-01-10T15:29:36.422Z] INFO: No Stack... [2022-01-10T15:29:36.697Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-10T15:29:36.969Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T15:29:37.621Z] + cut -d, -f6 [2022-01-10T15:29:37.621Z] + cat /w/workspace/go-mod-core-contracts/4/archives/cost.csv [Pipeline] lock [2022-01-10T15:29:37.688Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [2022-01-10T15:29:37.694Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] did not exist. Created. [2022-01-10T15:29:37.694Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T15:29:38.043Z] /w/workspace/go-mod-core-contracts/4@tmp/durable-7035a132/script.sh: 1: /w/workspace/go-mod-core-contracts/4@tmp/durable-7035a132/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-10T15:29:38.388Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-10T15:29:38.417Z] Warning: overwriting stash ‘stack-cost’ [2022-01-10T15:29:38.475Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T15:29:38.481Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T15:29:38.503Z] $ docker stop --time=1 8310a0da9f979288ad4dc5b805d2b6f994407a837f2fed293a127fda67fed95e [2022-01-10T15:29:39.959Z] $ docker rm -f 8310a0da9f979288ad4dc5b805d2b6f994407a837f2fed293a127fda67fed95e [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 [2022-01-10T15:29:40.413Z] provisioning config files... [2022-01-10T15:29:40.433Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/config6667183965960296107tmp [Pipeline] { [Pipeline] sh [2022-01-10T15:29:40.744Z] + set +x [2022-01-10T15:29:40.744Z] + curl -s https://codecov.io/bash [2022-01-10T15:29:40.744Z] + bash -s -- [2022-01-10T15:29:40.744Z] [2022-01-10T15:29:40.744Z] _____ _ [2022-01-10T15:29:40.744Z] / ____| | | [2022-01-10T15:29:40.744Z] | | ___ __| | ___ ___ _____ __ [2022-01-10T15:29:40.744Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-10T15:29:40.744Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-10T15:29:40.744Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-10T15:29:40.744Z] Bash-1.0.6 [2022-01-10T15:29:40.744Z] [2022-01-10T15:29:40.744Z] [2022-01-10T15:29:40.744Z] ==> git version 2.24.4 found [2022-01-10T15:29:40.744Z] ==> 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 [2022-01-10T15:29:40.744Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-10T15:29:40.744Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-10T15:29:40.744Z] ==> Jenkins CI detected. [2022-01-10T15:29:40.744Z] current dir:  /w/workspace/dry_go-mod-core-contracts_PR-691 [2022-01-10T15:29:40.744Z] project root: . [2022-01-10T15:29:40.744Z] --> token set from env [2022-01-10T15:29:40.745Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-10T15:29:41.005Z] ==> Running gcov in . (disable via -X gcov) [2022-01-10T15:29:41.005Z] ==> Python coveragepy not found [2022-01-10T15:29:41.005Z] ==> Searching for coverage reports in: [2022-01-10T15:29:41.005Z] + . [2022-01-10T15:29:41.005Z] -> Found 1 reports [2022-01-10T15:29:41.005Z] ==> Detecting git/mercurial file structure [2022-01-10T15:29:41.005Z] ==> Reading reports [2022-01-10T15:29:41.005Z] + ./coverage.out bytes=103586 [2022-01-10T15:29:41.005Z] ==> Appending adjustments [2022-01-10T15:29:41.005Z] https://docs.codecov.io/docs/fixing-reports [2022-01-10T15:29:41.578Z] + Found adjustments [2022-01-10T15:29:41.578Z] ==> Gzipping contents [2022-01-10T15:29:41.578Z] 16K /tmp/codecov.Lacb3N.gz [2022-01-10T15:29:41.578Z] ==> Uploading reports [2022-01-10T15:29:41.578Z] url: https://codecov.io [2022-01-10T15:29:41.578Z] query: branch=PR-691&commit=5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-691%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=691&job=&cmd_args= [2022-01-10T15:29:41.578Z] -> Pinging Codecov [2022-01-10T15:29:41.578Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-691&commit=5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-691%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=691&job=&cmd_args= [2022-01-10T15:29:41.847Z] -> Uploading to [2022-01-10T15:29:41.847Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-10/71470A77251A30514AAF9C0BB2E5B6CE/5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e/aa659b4c-07a4-4157-99e8-318a8bd428fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220110T152941Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcb1f88654f96d4fe961529a604eff52aafb220ea8c55ee1e2ebb1e3bbe11eb0 [2022-01-10T15:29:42.107Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T15:29:42.107Z] Dload Upload Total Spent Left Speed [2022-01-10T15:29:42.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15421 0 0 100 15421 0 46655 --:--:-- --:--:-- --:--:-- 46730 [2022-01-10T15:29:42.368Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] } [2022-01-10T15:29:42.375Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-10T15:29:43.069Z] + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-691/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:29:43.373Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:29:43.945Z] ---> package-listing.sh [2022-01-10T15:29:43.945Z] ++ facter osfamily [2022-01-10T15:29:43.945Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-10T15:29:44.208Z] + OS_FAMILY=redhat [2022-01-10T15:29:44.208Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-691 [2022-01-10T15:29:44.208Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-10T15:29:44.208Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-10T15:29:44.208Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-10T15:29:44.208Z] + PACKAGES=/tmp/packages_start.txt [2022-01-10T15:29:44.208Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-691 ']' [2022-01-10T15:29:44.208Z] + PACKAGES=/tmp/packages_end.txt [2022-01-10T15:29:44.208Z] + case "${OS_FAMILY}" in [2022-01-10T15:29:44.208Z] + rpm -qa [2022-01-10T15:29:44.208Z] + sort [2022-01-10T15:29:44.788Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-10T15:29:44.788Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-10T15:29:44.788Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-10T15:29:44.788Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-691 ']' [2022-01-10T15:29:44.788Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-691/archives/ [2022-01-10T15:29:44.788Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-691/archives/ [Pipeline] echo [2022-01-10T15:29:44.801Z] 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-691/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-10T15:29:45.087Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:29:45.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:29:45.647Z] [2022-01-10T15:29:45.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:29:45.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:29:45.959Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T15:29:45.959Z] b4d181a07f80: Pulling fs layer [2022-01-10T15:29:45.959Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T15:29:45.959Z] ed53099fbce6: Pulling fs layer [2022-01-10T15:29:45.959Z] dc539afda2c1: Pulling fs layer [2022-01-10T15:29:45.959Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T15:29:45.959Z] 9065ff56babe: Pulling fs layer [2022-01-10T15:29:45.959Z] d287ab97295c: Pulling fs layer [2022-01-10T15:29:45.959Z] 77bc0d833cb6: Waiting [2022-01-10T15:29:45.959Z] 9065ff56babe: Waiting [2022-01-10T15:29:45.959Z] d287ab97295c: Waiting [2022-01-10T15:29:45.959Z] dc539afda2c1: Waiting [2022-01-10T15:29:45.959Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T15:29:45.959Z] a1111a8f2ec3: Download complete [2022-01-10T15:29:45.959Z] dc539afda2c1: Verifying Checksum [2022-01-10T15:29:45.959Z] dc539afda2c1: Download complete [2022-01-10T15:29:46.224Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T15:29:46.224Z] 77bc0d833cb6: Download complete [2022-01-10T15:29:46.224Z] ed53099fbce6: Verifying Checksum [2022-01-10T15:29:46.224Z] ed53099fbce6: Download complete [2022-01-10T15:29:46.224Z] 9065ff56babe: Verifying Checksum [2022-01-10T15:29:46.224Z] 9065ff56babe: Download complete [2022-01-10T15:29:46.224Z] b4d181a07f80: Verifying Checksum [2022-01-10T15:29:46.224Z] b4d181a07f80: Download complete [2022-01-10T15:29:46.810Z] d287ab97295c: Verifying Checksum [2022-01-10T15:29:46.810Z] d287ab97295c: Download complete [2022-01-10T15:29:47.780Z] b4d181a07f80: Pull complete [2022-01-10T15:29:47.780Z] a1111a8f2ec3: Pull complete [2022-01-10T15:29:48.357Z] ed53099fbce6: Pull complete [2022-01-10T15:29:48.618Z] dc539afda2c1: Pull complete [2022-01-10T15:29:48.883Z] 77bc0d833cb6: Pull complete [2022-01-10T15:29:48.883Z] 9065ff56babe: Pull complete [2022-01-10T15:29:54.222Z] d287ab97295c: Pull complete [2022-01-10T15:29:54.222Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T15:29:54.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:29:54.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T15:29:54.290Z] prd-centos7-docker-4c-2g-1131 does not seem to be running inside a container [2022-01-10T15:29:54.329Z] $ 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-691/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-691 -v /w/workspace/dry_go-mod-core-contracts_PR-691:/w/workspace/dry_go-mod-core-contracts_PR-691:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-691@tmp:/w/workspace/dry_go-mod-core-contracts_PR-691@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T15:29:56.966Z] $ docker top 4207650f054f040da170a189f60e1db9cd885e652de67ea21292c3534a4d07d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T15:29:57.328Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-10T15:29:57.622Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-10T15:29:57.924Z] + ls /var/log/sa-host [2022-01-10T15:29:57.924Z] + sadf -c /var/log/sa-host/sa10 [2022-01-10T15:29:57.924Z] file_magic: OK [2022-01-10T15:29:57.924Z] HZ: Using current value: 100 [2022-01-10T15:29:57.924Z] file_header: OK [2022-01-10T15:29:57.924Z] 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 [2022-01-10T15:29:57.924Z] Statistics: [2022-01-10T15:29:57.924Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T15:29:57.924Z] File successfully converted to sysstat format version 12.0.3 [2022-01-10T15:29:57.924Z] + sadf -c /var/log/sa-host/sa17 [2022-01-10T15:29:57.924Z] file_magic: OK [2022-01-10T15:29:57.924Z] HZ: Using current value: 100 [2022-01-10T15:29:57.924Z] file_header: OK [2022-01-10T15:29:57.924Z] 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 [2022-01-10T15:29:57.924Z] Statistics: [2022-01-10T15:29:57.924Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T15:29:57.924Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T15:29:58.007Z] provisioning config files... [2022-01-10T15:29:58.022Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/config2360445785793195354tmp [Pipeline] { [Pipeline] echo [2022-01-10T15:29:58.046Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:29:58.352Z] ---> create-netrc.sh [Pipeline] } [2022-01-10T15:29:58.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:29:58.694Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-10T15:29:58.703Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:29:58.988Z] ---> sudo-logs.sh [2022-01-10T15:29:58.988Z] Archiving 'sudo' log.. [2022-01-10T15:29:58.988Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1131.novalocal: Name or service not known [2022-01-10T15:29:58.988Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1131.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-10T15:29:59.014Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:29:59.301Z] ---> job-cost.sh [2022-01-10T15:29:59.301Z] lf-activate-venv: SKIPPING [2022-01-10T15:29:59.301Z] DEBUG: total: 0.10999999940395355 [2022-01-10T15:29:59.301Z] INFO: Retrieving Stack Cost... [2022-01-10T15:29:59.562Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T15:29:59.823Z] INFO: Archiving Costs [Pipeline] echo [2022-01-10T15:29:59.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:30:00.130Z] ---> logs-deploy.sh [2022-01-10T15:30:00.130Z] lf-activate-venv: SKIPPING [2022-01-10T15:30:00.130Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-691/4 [2022-01-10T15:30:00.130Z] INFO: archiving workspace using pattern(s): [2022-01-10T15:30:00.703Z] Archives upload complete. [2022-01-10T15:30:00.972Z] INFO: archiving logs to Nexus