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 15:24:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:24:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:24:50 ========================================================= 15:24:50 EdgeX Global Pipelines Version Info 15:24:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk aa6319afdfdf9713e27d4798b98c8ca51afc7940 # timeout=10 15:24:51 ------------------- 15:24:51 stable info: 15:24:51 ------------------- 15:24:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:24:51 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 15:24:51 Message: update stable to v1.0.217 15:24:52 ------------------- 15:24:52 experimental info: 15:24:52 ------------------- 15:24:52 Commited By: **** collab-it+edgex@linuxfoundation.org 15:24:52 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 15:24:52 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:24:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-691 [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-691 [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-691 [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c55d52 [Pipeline] echo 15:24:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:24:53 + git rev-list -1 --merges 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e~1..5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo 15:24:53 -----------> git rev-list -1 --merges 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e~1..5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [false] [Pipeline] sh 15:24:53 + git log --format=format:%s -1 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo 15:24:53 ========================================================= 15:24:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:24:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:54 + git log --format=format:%s -1 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] echo 15:24:54 [semverPrep] GIT_COMMIT: 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 15:24:54 [semverPrep] This is not a build commit. [Pipeline] sh 15:24:54 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:24:54 + grep -v github /etc/ssh/ssh_known_hosts 15:24:54 + '[' -e /tmp/ssh_known_hosts ']' 15:24:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:24:54 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 15:24:54 + sudo tee -a /etc/ssh/ssh_known_hosts 15:24:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:55 15:24:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:24:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:55 latest: Pulling from edgex-devops/git-semver 15:24:55 a0d0a0d46f8b: Pulling fs layer 15:24:55 3e5f54012d9b: Pulling fs layer 15:24:55 4c7163046ea9: Pulling fs layer 15:24:55 0c2d73faf560: Pulling fs layer 15:24:55 0c2d73faf560: Waiting 15:24:55 3e5f54012d9b: Verifying Checksum 15:24:55 3e5f54012d9b: Download complete 15:24:55 a0d0a0d46f8b: Verifying Checksum 15:24:55 a0d0a0d46f8b: Download complete 15:24:55 4c7163046ea9: Verifying Checksum 15:24:55 4c7163046ea9: Download complete 15:24:55 0c2d73faf560: Verifying Checksum 15:24:55 0c2d73faf560: Download complete 15:24:55 a0d0a0d46f8b: Pull complete 15:24:55 3e5f54012d9b: Pull complete 15:24:55 4c7163046ea9: Pull complete 15:24:56 0c2d73faf560: Pull complete 15:24:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:24:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:24:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:24:56 prd-centos7-docker-4c-2g-1131 does not seem to be running inside a container 15:24:55 $ 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 15:24:56 $ docker top b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:56 [ssh-agent] Looking for ssh-agent implementation... 15:24:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:56 $ docker exec b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent 15:24:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbBGkjA/agent.14 15:24:57 SSH_AGENT_PID=20 15:24:57 Running ssh-add (command line suppressed) 15:24:57 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) 15:24:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:57 + git tag --points-at HEAD [Pipeline] } 15:24:57 $ docker exec --env ******** --env ******** b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent -k 15:24:57 unset SSH_AUTH_SOCK; 15:24:57 unset SSH_AGENT_PID; 15:24:57 echo Agent pid 20 killed; 15:24:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:24:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:57 [ssh-agent] Looking for ssh-agent implementation... 15:24:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:57 $ docker exec b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent 15:24:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKBpeCH/agent.53 15:24:57 SSH_AGENT_PID=59 15:24:57 Running ssh-add (command line suppressed) 15:24:57 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) 15:24:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:58 + git semver init 15:24:58 # -> Open(): unable to determine branch for HEAD 15:24:58 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-691/.git 15:24:58 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-691 15:24:58 # $SEMVER_REMOTE_NAME = origin 15:24:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:24:58 # $SEMVER_USER_NAME = edgex-jenkins 15:24:58 # $SEMVER_BRANCH = PR-691 15:24:58 # $SEMVER_TEMP = /tmp/semver-398025509 15:24:58 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 15:24:59 # '/tmp/semver-398025509' -> '/w/workspace/dry_go-mod-core-contracts_PR-691/.semver' 15:24:59 # -> Force: false 15:24:59 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-691/.semver [Pipeline] } 15:24:59 $ docker exec --env ******** --env ******** b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b ssh-agent -k 15:24:59 unset SSH_AUTH_SOCK; 15:24:59 unset SSH_AGENT_PID; 15:24:59 echo Agent pid 59 killed; 15:24:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:59 + git semver [Pipeline] } 15:24:59 $ docker stop --time=1 b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b 15:25:01 $ docker rm -f b96835ef81dd5e1344d131505faa972f1ba4e671719b2d1910cc1ee23d4f076b [Pipeline] // withDockerContainer [Pipeline] sh 15:25:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:25:01 Stashed 1 file(s) [Pipeline] echo 15:25:01 [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 15:25:16 Still waiting to schedule task 15:25:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:25:16 Still waiting to schedule task 15:25:16 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:26:46 Running on prd-centos7-docker-4c-2g-1134 in /w/workspace/dry_go-mod-core-contracts_PR-691 [Pipeline] { [Pipeline] ws 15:26:46 Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout 15:26:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1132 in /w/workspace/dry_go-mod-core-contracts_PR-691 [Pipeline] { [Pipeline] ws 15:26:46 Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout 15:26:46 Selected Git installation does not exist. Using Default 15:26:46 The recommended git tool is: NONE 15:26:46 Selected Git installation does not exist. Using Default 15:26:46 The recommended git tool is: NONE 15:26:48 using credential edgex-jenkins-ssh 15:26:48 Cloning the remote Git repository 15:26:47 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 15:26:47 > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 15:26:47 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 15:26:47 > git --version # timeout=10 15:26:47 > git --version # 'git version 2.24.4' 15:26:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:47 [INFO] Currently running in a labeled security context 15:26:47 [INFO] Currently SELinux is 'enforcing' on the host 15:26:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/4@tmp/jenkins-gitclient-ssh4276455285675558883.key 15:26:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 15:26:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 15:26:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 15:26:48 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:48 [INFO] Currently running in a labeled security context 15:26:48 [INFO] Currently SELinux is 'enforcing' on the host 15:26:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/4@tmp/jenkins-gitclient-ssh3855120298888677039.key 15:26:48 > 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 15:26:50 Merging remotes/origin/main commit c9b7fc9a7a4590f16efa0e0d54327a830c03474f into PR head commit 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e 15:26:50 Merge succeeded, producing 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e 15:26:50 Checking out Revision 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e (PR-691) 15:26:50 using credential edgex-jenkins-ssh 15:26:50 Cloning the remote Git repository 15:26:49 > git config core.sparsecheckout # timeout=10 15:26:49 > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 15:26:49 > git remote # timeout=10 15:26:49 > git config --get remote.origin.url # timeout=10 15:26:49 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:49 [INFO] Currently running in a labeled security context 15:26:49 [INFO] Currently SELinux is 'enforcing' on the host 15:26:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/4@tmp/jenkins-gitclient-ssh3791014096097373943.key 15:26:49 > git merge c9b7fc9a7a4590f16efa0e0d54327a830c03474f # timeout=10 15:26:49 > git rev-parse HEAD^{commit} # timeout=10 15:26:49 > git config core.sparsecheckout # timeout=10 15:26:49 > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 15:26:51 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 15:26:51 > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 15:26:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 15:26:51 > git --version # timeout=10 15:26:51 > git --version # 'git version 2.17.1' 15:26:51 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 15:26:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:26:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 15:26:53 Commit message: "feat(security): Enable gosec and default linter set" 15:26:53 Merging remotes/origin/main commit c9b7fc9a7a4590f16efa0e0d54327a830c03474f into PR head commit 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e 15:26:54 Merge succeeded, producing 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e 15:26:54 Checking out Revision 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e (PR-691) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 15:26:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 15:26:52 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:52 > 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 15:26:53 > git config core.sparsecheckout # timeout=10 15:26:53 > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 15:26:53 > git remote # timeout=10 15:26:53 > git config --get remote.origin.url # timeout=10 15:26:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:26:53 > git merge c9b7fc9a7a4590f16efa0e0d54327a830c03474f # timeout=10 15:26:53 > git rev-parse HEAD^{commit} # timeout=10 15:26:54 > git config core.sparsecheckout # timeout=10 15:26:54 > git checkout -f 5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e # timeout=10 [Pipeline] unstash [Pipeline] echo 15:26:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:26:54 ========================================================= 15:26:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:26:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:26:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:26:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:26:54 a0d0a0d46f8b: Pulling fs layer 15:26:54 31adcdaf11c8: Pulling fs layer 15:26:54 b8b176561691: Pulling fs layer 15:26:54 4527c011a84f: Pulling fs layer 15:26:54 5d74067f8e1e: Pulling fs layer 15:26:54 e0aca202a116: Pulling fs layer 15:26:54 3a43be97a3b4: Pulling fs layer 15:26:54 34cad66bf833: Pulling fs layer 15:26:54 b4e3c513aaa6: Pulling fs layer 15:26:54 4527c011a84f: Waiting 15:26:54 5d74067f8e1e: Waiting 15:26:54 e0aca202a116: Waiting 15:26:54 3a43be97a3b4: Waiting 15:26:54 34cad66bf833: Waiting 15:26:54 b4e3c513aaa6: Waiting 15:26:54 b8b176561691: Verifying Checksum 15:26:54 b8b176561691: Download complete 15:26:54 31adcdaf11c8: Verifying Checksum 15:26:54 31adcdaf11c8: Download complete 15:26:54 5d74067f8e1e: Verifying Checksum 15:26:54 5d74067f8e1e: Download complete 15:26:54 e0aca202a116: Verifying Checksum 15:26:54 e0aca202a116: Download complete 15:26:54 a0d0a0d46f8b: Verifying Checksum 15:26:54 3a43be97a3b4: Verifying Checksum 15:26:54 3a43be97a3b4: Download complete 15:26:54 34cad66bf833: Verifying Checksum 15:26:54 34cad66bf833: Download complete 15:26:55 a0d0a0d46f8b: Pull complete 15:26:55 b4e3c513aaa6: Verifying Checksum 15:26:55 b4e3c513aaa6: Download complete 15:26:55 31adcdaf11c8: Pull complete 15:26:55 4527c011a84f: Verifying Checksum 15:26:55 4527c011a84f: Download complete 15:26:55 b8b176561691: Pull complete 15:26:58 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 15:26:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:26:58 % Total % Received % Xferd Average Speed Time Time Time Current 15:26:58 Dload Upload Total Spent Left Speed 15:26:59 4527c011a84f: Pull complete 15:26:59 5d74067f8e1e: Pull complete 15:26:59 e0aca202a116: Pull complete 15:26:59 3a43be97a3b4: Pull complete 15:26:59 34cad66bf833: Pull complete 15:27:02 b4e3c513aaa6: Pull complete 15:27:02 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 15:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:27:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 15:27:02 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 15:27:03 + docker inspect -f . ci-base-image-x86_64 15:27:03 . [Pipeline] withDockerContainer 15:27:03 prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container 15:27:03 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 15:27:03 $ 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 15:27:05 $ docker top 02ffe3d3464b82dbb0e1e1ac8f59c4589d12171eed9f30ecc74fb39423635318 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 15:27:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:27:06 + go version 15:27:06 go version go1.16.8 linux/amd64 [Pipeline] } 15:27:06 $ docker stop --time=1 02ffe3d3464b82dbb0e1e1ac8f59c4589d12171eed9f30ecc74fb39423635318 15:27:06 + sudo tee /etc/docker/daemon.new 15:27:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:27:06 { 15:27:06 "registry-mirrors": [ 15:27:06 "https://nexus3.edgexfoundry.org:10001" 15:27:06 ], 15:27:06 "bip": "10.250.0.254/24", 15:27:06 "hosts": [ 15:27:06 "tcp://0.0.0.0:5555", 15:27:06 "unix:///var/run/docker.sock" 15:27:06 ], 15:27:06 "mtu": 1458, 15:27:06 "selinux-enabled": true, 15:27:06 "seccomp-profile": "/etc/docker/seccomp.json" 15:27:06 } 15:27:07 $ 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 15:27:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:27:08 + docker inspect -f . ci-base-image-x86_64 15:27:08 . [Pipeline] withDockerContainer 15:27:08 prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container 15:27:08 $ 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 15:27:08 + sudo service docker restart 15:27:08 $ docker top bab594062e01521fdf4e9546d1913daa6dd320d5982d974823204fb965a59330 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:27:09 + make test 15:27:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:27:09 go: downloading github.com/google/uuid v1.3.0 15:27:09 go: downloading github.com/fxamacker/cbor/v2 v2.3.1 15:27:09 go: downloading github.com/stretchr/testify v1.7.0 15:27:09 go: downloading github.com/go-kit/log v0.2.0 15:27:09 go: downloading github.com/go-playground/validator/v10 v10.10.0 15:27:09 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:27:09 go: downloading github.com/davecgh/go-spew v1.1.1 15:27:09 go: downloading github.com/pmezard/go-difflib v1.0.0 15:27:09 go: downloading github.com/stretchr/objx v0.1.1 15:27:09 go: downloading github.com/x448/float16 v0.8.4 15:27:09 go: downloading github.com/go-playground/universal-translator v0.18.0 15:27:09 go: downloading github.com/leodido/go-urn v1.2.1 15:27:09 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 15:27:09 go: downloading golang.org/x/text v0.3.7 15:27:10 go: downloading github.com/go-logfmt/logfmt v0.5.1 15:27:10 go: downloading github.com/go-playground/locales v0.14.0 15:27:11 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 15:27:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.061s coverage: 83.6% of statements 15:27:21 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 15:27:21 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 15:27:21 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 15:27:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.009s coverage: 29.4% of statements 15:27:21 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 15:27:22 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.008s coverage: 47.0% of statements 15:27:22 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.006s coverage: 90.5% of statements 15:27:22 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.025s coverage: 86.8% of statements 15:27:23 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.009s coverage: 59.5% of statements 15:27:23 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.002s coverage: 36.1% of statements 15:27:23 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.007s coverage: 48.7% of statements [Pipeline] unstash [Pipeline] echo 15:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:27:27 ========================================================= 15:27:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:27:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:27:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:27:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:27:28 552d1f2373af: Pulling fs layer 15:27:28 ea3f2d53f512: Pulling fs layer 15:27:28 9e70ebbbe112: Pulling fs layer 15:27:28 7a9cfe048b4a: Pulling fs layer 15:27:28 72dc09318566: Pulling fs layer 15:27:28 f4f7b4309257: Pulling fs layer 15:27:28 0ac9a79272e3: Pulling fs layer 15:27:28 b78e95d17946: Pulling fs layer 15:27:28 7a9cfe048b4a: Waiting 15:27:28 72dc09318566: Waiting 15:27:28 f4f7b4309257: Waiting 15:27:28 0ac9a79272e3: Waiting 15:27:28 b78e95d17946: Waiting 15:27:28 9e70ebbbe112: Verifying Checksum 15:27:28 9e70ebbbe112: Download complete 15:27:28 ea3f2d53f512: Verifying Checksum 15:27:28 ea3f2d53f512: Download complete 15:27:28 72dc09318566: Download complete 15:27:28 f4f7b4309257: Verifying Checksum 15:27:28 f4f7b4309257: Download complete 15:27:28 0ac9a79272e3: Verifying Checksum 15:27:28 0ac9a79272e3: Download complete 15:27:28 552d1f2373af: Verifying Checksum 15:27:28 552d1f2373af: Download complete 15:27:29 552d1f2373af: Pull complete 15:27:29 ea3f2d53f512: Pull complete 15:27:29 9e70ebbbe112: Pull complete 15:27:30 b78e95d17946: Verifying Checksum 15:27:30 7a9cfe048b4a: Verifying Checksum 15:27:30 7a9cfe048b4a: Download complete 15:27:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:27:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:27:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:27:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:27:39 $ docker stop --time=1 bab594062e01521fdf4e9546d1913daa6dd320d5982d974823204fb965a59330 15:27:41 $ docker rm -f bab594062e01521fdf4e9546d1913daa6dd320d5982d974823204fb965a59330 [Pipeline] // withDockerContainer [Pipeline] sh 15:27:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:27:42 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 15:27:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:42 15:27:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:27:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:42 latest: Pulling from edgex-lftools-log-publisher 15:27:42 b4d181a07f80: Pulling fs layer 15:27:42 a1111a8f2ec3: Pulling fs layer 15:27:42 ed53099fbce6: Pulling fs layer 15:27:42 dc539afda2c1: Pulling fs layer 15:27:42 77bc0d833cb6: Pulling fs layer 15:27:42 9065ff56babe: Pulling fs layer 15:27:42 d287ab97295c: Pulling fs layer 15:27:42 77bc0d833cb6: Waiting 15:27:42 dc539afda2c1: Waiting 15:27:42 9065ff56babe: Waiting 15:27:42 d287ab97295c: Waiting 15:27:42 a1111a8f2ec3: Verifying Checksum 15:27:42 a1111a8f2ec3: Download complete 15:27:42 dc539afda2c1: Verifying Checksum 15:27:42 dc539afda2c1: Download complete 15:27:43 7a9cfe048b4a: Pull complete 15:27:43 72dc09318566: Pull complete 15:27:43 f4f7b4309257: Pull complete 15:27:43 0ac9a79272e3: Pull complete 15:27:43 ed53099fbce6: Verifying Checksum 15:27:43 ed53099fbce6: Download complete 15:27:43 77bc0d833cb6: Verifying Checksum 15:27:43 77bc0d833cb6: Download complete 15:27:43 9065ff56babe: Verifying Checksum 15:27:43 9065ff56babe: Download complete 15:27:43 b4d181a07f80: Verifying Checksum 15:27:43 b4d181a07f80: Download complete 15:27:43 d287ab97295c: Verifying Checksum 15:27:43 d287ab97295c: Download complete 15:27:44 b4d181a07f80: Pull complete 15:27:44 a1111a8f2ec3: Pull complete 15:27:45 ed53099fbce6: Pull complete 15:27:45 dc539afda2c1: Pull complete 15:27:45 77bc0d833cb6: Pull complete 15:27:45 9065ff56babe: Pull complete 15:27:48 b78e95d17946: Pull complete 15:27:48 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 15:27:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:27:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 15:27:48 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 15:27:49 + docker inspect -f . ci-base-image-arm64 15:27:49 . [Pipeline] withDockerContainer 15:27:49 prd-ubuntu18.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container 15:27:49 $ 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 15:27:51 d287ab97295c: Pull complete 15:27:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:27:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:52 $ docker top 25e56ee1cd27b41940ea5d91223b98d66d2ad3ec631eb8e66b0192abc1df09ce -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 15:27:52 prd-centos7-docker-4c-2g-1134 does not seem to be running inside a container 15:27:52 $ 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 15:27:55 $ docker top 20a785ba4d819f7cbebcc6a564105bc383ec1e9af82da7c4df18b4140d8c2063 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 15:27:55 ---> job-cost.sh 15:27:55 lf-activate-venv: SKIPPING 15:27:55 INFO: No Stack... 15:27:56 + go version 15:27:56 go version go1.16.8 linux/arm64 [Pipeline] } 15:27:56 $ docker stop --time=1 25e56ee1cd27b41940ea5d91223b98d66d2ad3ec631eb8e66b0192abc1df09ce 15:27:56 INFO: Retrieving Pricing Info for: v3-standard-2 15:27:56 INFO: Archiving Costs 15:27:57 $ 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 15:27:58 + cat /w/workspace/go-mod-core-contracts/4/archives/cost.csv 15:27:58 + cut -d, -f6 [Pipeline] lock 15:27:58 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] 15:27:58 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] did not exist. Created. 15:27:58 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:27:58 + docker inspect -f . ci-base-image-arm64 15:27:58 . [Pipeline] withDockerContainer 15:27:58 prd-ubuntu18.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container 15:27:58 + echo total: 0.05999999865889549 15:27:58 $ 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 15:28:00 $ docker top 9bbffac9ee158b7605907fd0aac30b80a223d21b33ddf395d7445b1e11388802 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] fileExists [Pipeline] sh 15:28:00 Stashed 1 file(s) [Pipeline] } 15:28:00 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:28:00 $ docker stop --time=1 20a785ba4d819f7cbebcc6a564105bc383ec1e9af82da7c4df18b4140d8c2063 15:28:01 + make test 15:28:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:28:01 $ docker rm -f 20a785ba4d819f7cbebcc6a564105bc383ec1e9af82da7c4df18b4140d8c2063 15:28:01 go: downloading github.com/google/uuid v1.3.0 15:28:01 go: downloading github.com/go-kit/log v0.2.0 15:28:01 go: downloading github.com/stretchr/testify v1.7.0 15:28:01 go: downloading github.com/go-playground/validator/v10 v10.10.0 15:28:01 go: downloading github.com/fxamacker/cbor/v2 v2.3.1 15:28:01 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:28:01 go: downloading github.com/go-logfmt/logfmt v0.5.1 15:28:01 go: downloading github.com/davecgh/go-spew v1.1.1 15:28:01 go: downloading github.com/pmezard/go-difflib v1.0.0 15:28:01 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] } 15:28:01 go: downloading github.com/leodido/go-urn v1.2.1 15:28:01 go: downloading github.com/go-playground/universal-translator v0.18.0 15:28:01 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 15:28:01 go: downloading golang.org/x/text v0.3.7 15:28:01 go: downloading github.com/x448/float16 v0.8.4 15:28:01 go: downloading github.com/go-playground/locales v0.14.0 15:28:06 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 15:28:38 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.367s coverage: 83.6% of statements 15:28:38 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 15:28:38 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 15:28:38 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 15:28:38 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.089s coverage: 29.4% of statements 15:28:38 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 15:28:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.068s coverage: 47.0% of statements 15:28:39 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.088s coverage: 90.5% of statements 15:28:41 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.380s coverage: 86.8% of statements 15:28:41 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.039s coverage: 59.5% of statements 15:28:41 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.015s coverage: 36.1% of statements 15:28:42 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.037s coverage: 48.7% of statements 15:28:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:28:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:29:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:29:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:29:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:29:05 $ docker stop --time=1 9bbffac9ee158b7605907fd0aac30b80a223d21b33ddf395d7445b1e11388802 15:29:06 $ docker rm -f 9bbffac9ee158b7605907fd0aac30b80a223d21b33ddf395d7445b1e11388802 [Pipeline] // withDockerContainer [Pipeline] sh 15:29:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:29:08 Warning: overwriting stash ‘coverage-report’ 15:29:08 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 15:29:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:29:09 15:29:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:29:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:29:09 arm64: Pulling from edgex-lftools-log-publisher 15:29:09 448f6bf000e3: Pulling fs layer 15:29:09 f757da607395: Pulling fs layer 15:29:09 05883995daec: Pulling fs layer 15:29:09 8603b9c90790: Pulling fs layer 15:29:09 1560dd03e051: Pulling fs layer 15:29:09 27f5ce0e4adf: Pulling fs layer 15:29:09 c2d8d7efcc4b: Pulling fs layer 15:29:09 27f5ce0e4adf: Waiting 15:29:09 8603b9c90790: Waiting 15:29:09 1560dd03e051: Waiting 15:29:09 c2d8d7efcc4b: Waiting 15:29:09 f757da607395: Verifying Checksum 15:29:09 f757da607395: Download complete 15:29:09 8603b9c90790: Verifying Checksum 15:29:09 8603b9c90790: Download complete 15:29:09 1560dd03e051: Verifying Checksum 15:29:09 1560dd03e051: Download complete 15:29:09 27f5ce0e4adf: Verifying Checksum 15:29:09 27f5ce0e4adf: Download complete 15:29:10 05883995daec: Verifying Checksum 15:29:10 05883995daec: Download complete 15:29:10 448f6bf000e3: Verifying Checksum 15:29:10 448f6bf000e3: Download complete 15:29:12 c2d8d7efcc4b: Verifying Checksum 15:29:12 c2d8d7efcc4b: Download complete 15:29:13 448f6bf000e3: Pull complete 15:29:14 f757da607395: Pull complete 15:29:15 05883995daec: Pull complete 15:29:16 8603b9c90790: Pull complete 15:29:17 1560dd03e051: Pull complete 15:29:17 27f5ce0e4adf: Pull complete 15:29:32 c2d8d7efcc4b: Pull complete 15:29:32 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:29:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:29:32 prd-ubuntu18.04-docker-arm64-4c-16g-1132 does not seem to be running inside a container 15:29:32 $ 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 15:29:35 $ docker top 8310a0da9f979288ad4dc5b805d2b6f994407a837f2fed293a127fda67fed95e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:29:36 ---> job-cost.sh 15:29:36 lf-activate-venv: SKIPPING 15:29:36 INFO: No Stack... 15:29:36 INFO: Retrieving Pricing Info for: v3-standard-4 15:29:36 INFO: Archiving Costs [Pipeline] sh 15:29:37 + cut -d, -f6 15:29:37 + cat /w/workspace/go-mod-core-contracts/4/archives/cost.csv [Pipeline] lock 15:29:37 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] 15:29:37 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] did not exist. Created. 15:29:37 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:29:38 /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 15:29:38 + echo total: 0.10999999940395355 [Pipeline] stash 15:29:38 Warning: overwriting stash ‘stack-cost’ 15:29:38 Stashed 1 file(s) [Pipeline] } 15:29:38 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:29:38 $ docker stop --time=1 8310a0da9f979288ad4dc5b805d2b6f994407a837f2fed293a127fda67fed95e 15:29:39 $ 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 15:29:40 provisioning config files... 15:29:40 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 15:29:40 + set +x 15:29:40 + curl -s https://codecov.io/bash 15:29:40 + bash -s -- 15:29:40 15:29:40 _____ _ 15:29:40 / ____| | | 15:29:40 | | ___ __| | ___ ___ _____ __ 15:29:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:29:40 | |___| (_) | (_| | __/ (_| (_) \ V / 15:29:40 \_____\___/ \__,_|\___|\___\___/ \_/ 15:29:40 Bash-1.0.6 15:29:40 15:29:40 15:29:40 ==> git version 2.24.4 found 15:29:40 ==> 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 15:29:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:29:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:29:40 ==> Jenkins CI detected. 15:29:40 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-691 15:29:40 project root: . 15:29:40 --> token set from env 15:29:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:29:41 ==> Running gcov in . (disable via -X gcov) 15:29:41 ==> Python coveragepy not found 15:29:41 ==> Searching for coverage reports in: 15:29:41 + . 15:29:41 -> Found 1 reports 15:29:41 ==> Detecting git/mercurial file structure 15:29:41 ==> Reading reports 15:29:41 + ./coverage.out bytes=103586 15:29:41 ==> Appending adjustments 15:29:41 https://docs.codecov.io/docs/fixing-reports 15:29:41 + Found adjustments 15:29:41 ==> Gzipping contents 15:29:41 16K /tmp/codecov.Lacb3N.gz 15:29:41 ==> Uploading reports 15:29:41 url: https://codecov.io 15:29:41 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= 15:29:41 -> Pinging Codecov 15:29:41 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= 15:29:41 -> Uploading to 15:29:41 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 15:29:42 % Total % Received % Xferd Average Speed Time Time Time Current 15:29:42 Dload Upload Total Spent Left Speed 15:29:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15421 0 0 100 15421 0 46655 --:--:-- --:--:-- --:--:-- 46730 15:29:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/5c55d52c3a01c586bc2b2f7f8d4696cbb5ce5c8e [Pipeline] } 15:29:42 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 15:29:43 + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-691/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:29:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:29:43 ---> package-listing.sh 15:29:43 ++ facter osfamily 15:29:43 ++ tr '[:upper:]' '[:lower:]' 15:29:44 + OS_FAMILY=redhat 15:29:44 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-691 15:29:44 + START_PACKAGES=/tmp/packages_start.txt 15:29:44 + END_PACKAGES=/tmp/packages_end.txt 15:29:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:29:44 + PACKAGES=/tmp/packages_start.txt 15:29:44 + '[' /w/workspace/dry_go-mod-core-contracts_PR-691 ']' 15:29:44 + PACKAGES=/tmp/packages_end.txt 15:29:44 + case "${OS_FAMILY}" in 15:29:44 + rpm -qa 15:29:44 + sort 15:29:44 + '[' -f /tmp/packages_start.txt ']' 15:29:44 + '[' -f /tmp/packages_end.txt ']' 15:29:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:29:44 + '[' /w/workspace/dry_go-mod-core-contracts_PR-691 ']' 15:29:44 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-691/archives/ 15:29:44 + 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 15:29:44 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 15:29:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:29:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:45 15:29:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:29:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:45 latest: Pulling from edgex-lftools-log-publisher 15:29:45 b4d181a07f80: Pulling fs layer 15:29:45 a1111a8f2ec3: Pulling fs layer 15:29:45 ed53099fbce6: Pulling fs layer 15:29:45 dc539afda2c1: Pulling fs layer 15:29:45 77bc0d833cb6: Pulling fs layer 15:29:45 9065ff56babe: Pulling fs layer 15:29:45 d287ab97295c: Pulling fs layer 15:29:45 77bc0d833cb6: Waiting 15:29:45 9065ff56babe: Waiting 15:29:45 d287ab97295c: Waiting 15:29:45 dc539afda2c1: Waiting 15:29:45 a1111a8f2ec3: Verifying Checksum 15:29:45 a1111a8f2ec3: Download complete 15:29:45 dc539afda2c1: Verifying Checksum 15:29:45 dc539afda2c1: Download complete 15:29:46 77bc0d833cb6: Verifying Checksum 15:29:46 77bc0d833cb6: Download complete 15:29:46 ed53099fbce6: Verifying Checksum 15:29:46 ed53099fbce6: Download complete 15:29:46 9065ff56babe: Verifying Checksum 15:29:46 9065ff56babe: Download complete 15:29:46 b4d181a07f80: Verifying Checksum 15:29:46 b4d181a07f80: Download complete 15:29:46 d287ab97295c: Verifying Checksum 15:29:46 d287ab97295c: Download complete 15:29:47 b4d181a07f80: Pull complete 15:29:47 a1111a8f2ec3: Pull complete 15:29:48 ed53099fbce6: Pull complete 15:29:48 dc539afda2c1: Pull complete 15:29:48 77bc0d833cb6: Pull complete 15:29:48 9065ff56babe: Pull complete 15:29:54 d287ab97295c: Pull complete 15:29:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:29:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:29:54 prd-centos7-docker-4c-2g-1131 does not seem to be running inside a container 15:29:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-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 15:29:56 $ docker top 4207650f054f040da170a189f60e1db9cd885e652de67ea21292c3534a4d07d8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:57 + touch /tmp/pre-build-complete [Pipeline] sh 15:29:57 + mkdir -p /var/log/sysstat [Pipeline] sh 15:29:57 + ls /var/log/sa-host 15:29:57 + sadf -c /var/log/sa-host/sa10 15:29:57 file_magic: OK 15:29:57 HZ: Using current value: 100 15:29:57 file_header: OK 15:29:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:29:57 Statistics: 15:29:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:29:57 File successfully converted to sysstat format version 12.0.3 15:29:57 + sadf -c /var/log/sa-host/sa17 15:29:57 file_magic: OK 15:29:57 HZ: Using current value: 100 15:29:57 file_header: OK 15:29:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:29:57 Statistics: 15:29:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:29:57 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:29:58 provisioning config files... 15:29:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/config2360445785793195354tmp [Pipeline] { [Pipeline] echo 15:29:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:29:58 ---> create-netrc.sh [Pipeline] } 15:29:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:29:58 ---> python-tools-install.sh [Pipeline] echo 15:29:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:29:58 ---> sudo-logs.sh 15:29:58 Archiving 'sudo' log.. 15:29:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1131.novalocal: Name or service not known 15:29:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1131.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:29:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:29:59 ---> job-cost.sh 15:29:59 lf-activate-venv: SKIPPING 15:29:59 DEBUG: total: 0.10999999940395355 15:29:59 INFO: Retrieving Stack Cost... 15:29:59 INFO: Retrieving Pricing Info for: v3-standard-2 15:29:59 INFO: Archiving Costs [Pipeline] echo 15:29:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:30:00 ---> logs-deploy.sh 15:30:00 lf-activate-venv: SKIPPING 15:30:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-691/4 15:30:00 INFO: archiving workspace using pattern(s): 15:30:00 Archives upload complete. 15:30:00 INFO: archiving logs to Nexus