Push event to branch main Started by user Cherry Wang Rebuilds build #117 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 539bf813d355b9671b47ec6e58f7b7995e973d1b 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-ssh11923527259409134807.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4504928353368457429.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15710329099266908375.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh14674795797644062038.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6366394372132737314.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-362 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/undry_go-mod-core-contracts_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 539bf813d355b9671b47ec6e58f7b7995e973d1b (main) Commit message: "Merge pull request #817 from hahattan/yaml-tag" > 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 core.sparsecheckout # timeout=10 > git checkout -f 539bf813d355b9671b47ec6e58f7b7995e973d1b # timeout=10 > git rev-list --no-walk 539bf813d355b9671b47ec6e58f7b7995e973d1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:15:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:15:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:15:22 ========================================================= 05:15:22 EdgeX Global Pipelines Version Info 05:15:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:15:23 ------------------- 05:15:23 stable info: 05:15:23 ------------------- 05:15:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:15:23 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:15:23 Message: update stable to v1.0.245 05:15:24 ------------------- 05:15:24 experimental info: 05:15:24 ------------------- 05:15:24 Commited By: **** collab-it+edgex@linuxfoundation.org 05:15:24 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 05:15:24 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 539bf81 [Pipeline] echo 05:15:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:15:25 + git rev-list -1 --merges 539bf813d355b9671b47ec6e58f7b7995e973d1b~1..539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 05:15:25 -----------> git rev-list -1 --merges 539bf813d355b9671b47ec6e58f7b7995e973d1b~1..539bf813d355b9671b47ec6e58f7b7995e973d1b 539bf813d355b9671b47ec6e58f7b7995e973d1b 05:15:25 539bf813d355b9671b47ec6e58f7b7995e973d1b [false] [Pipeline] sh 05:15:25 + git log --format=format:%s -1 539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 05:15:25 ========================================================= 05:15:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:15:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:25 + git log --format=format:%s -1 539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 05:15:25 [semverPrep] GIT_COMMIT: 539bf813d355b9671b47ec6e58f7b7995e973d1b, Commit Message: Merge pull request #817 from hahattan/yaml-tag [Pipeline] echo 05:15:25 [semverPrep] This is not a build commit. [Pipeline] sh 05:15:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:15:26 + grep -v github /etc/ssh/ssh_known_hosts 05:15:26 + [ -e /tmp/ssh_known_hosts ] 05:15:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:15:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:15:26 + sudo tee -a /etc/ssh/ssh_known_hosts 05:15:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:15:26 05:15:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:15:27 0.1.4: Pulling from edgex-devops/py-git-semver 05:15:27 b85a868b505f: Pulling fs layer 05:15:27 e2be974225ed: Pulling fs layer 05:15:27 339a4e72a1f5: Pulling fs layer 05:15:27 988bab9f4d93: Pulling fs layer 05:15:27 1469e6f7b9e6: Pulling fs layer 05:15:27 eaf3925da568: Pulling fs layer 05:15:27 bab4dde63d76: Pulling fs layer 05:15:27 bde34c3a00c8: Pulling fs layer 05:15:27 b352a97aabf1: Pulling fs layer 05:15:27 988bab9f4d93: Waiting 05:15:27 4872d77fe225: Pulling fs layer 05:15:27 5851b861e8e6: Pulling fs layer 05:15:27 eaf3925da568: Waiting 05:15:27 4872d77fe225: Waiting 05:15:27 bde34c3a00c8: Waiting 05:15:27 1469e6f7b9e6: Waiting 05:15:27 5851b861e8e6: Waiting 05:15:27 e2be974225ed: Verifying Checksum 05:15:27 e2be974225ed: Download complete 05:15:27 988bab9f4d93: Download complete 05:15:27 1469e6f7b9e6: Verifying Checksum 05:15:27 1469e6f7b9e6: Download complete 05:15:27 eaf3925da568: Download complete 05:15:27 339a4e72a1f5: Verifying Checksum 05:15:27 339a4e72a1f5: Download complete 05:15:27 bde34c3a00c8: Verifying Checksum 05:15:27 bde34c3a00c8: Download complete 05:15:27 b352a97aabf1: Verifying Checksum 05:15:27 b352a97aabf1: Download complete 05:15:27 4872d77fe225: Download complete 05:15:27 5851b861e8e6: Download complete 05:15:27 b85a868b505f: Verifying Checksum 05:15:27 b85a868b505f: Download complete 05:15:28 bab4dde63d76: Verifying Checksum 05:15:28 bab4dde63d76: Download complete 05:15:28 b85a868b505f: Pull complete 05:15:29 e2be974225ed: Pull complete 05:15:29 339a4e72a1f5: Pull complete 05:15:29 988bab9f4d93: Pull complete 05:15:30 1469e6f7b9e6: Pull complete 05:15:30 eaf3925da568: Pull complete 05:15:31 bab4dde63d76: Pull complete 05:15:31 bde34c3a00c8: Pull complete 05:15:31 b352a97aabf1: Pull complete 05:15:31 4872d77fe225: Pull complete 05:15:32 5851b861e8e6: Pull complete 05:15:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:15:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:15:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:32 prd-ubuntu20.04-docker-8c-8g-362 does not seem to be running inside a container 05:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:15:33 $ docker top e576a941dfff4f5796aa55029083546f0b9064c3aafddae5b7f9428084efc846 -eo pid,comm 05:15:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:15:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:15:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:15:33 [ssh-agent] Looking for ssh-agent implementation... 05:15:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:15:33 $ docker exec e576a941dfff4f5796aa55029083546f0b9064c3aafddae5b7f9428084efc846 ssh-agent 05:15:33 SSH_AUTH_SOCK=/tmp/ssh-KIoHGgyTkVSl/agent.32 05:15:33 SSH_AGENT_PID=38 05:15:33 Running ssh-add (command line suppressed) 05:15:34 Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_10699904320860328485.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_10699904320860328485.key) 05:15:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:15:34 + git tag --points-at HEAD [Pipeline] } 05:15:34 $ docker exec --env ******** --env ******** e576a941dfff4f5796aa55029083546f0b9064c3aafddae5b7f9428084efc846 ssh-agent -k 05:15:34 unset SSH_AUTH_SOCK; 05:15:34 unset SSH_AGENT_PID; 05:15:34 echo Agent pid 38 killed; 05:15:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:15:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:15:34 [ssh-agent] Looking for ssh-agent implementation... 05:15:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:15:34 $ docker exec e576a941dfff4f5796aa55029083546f0b9064c3aafddae5b7f9428084efc846 ssh-agent 05:15:34 SSH_AUTH_SOCK=/tmp/ssh-XGQxRz9nLYGq/agent.70 05:15:34 SSH_AGENT_PID=76 05:15:34 Running ssh-add (command line suppressed) 05:15:34 Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_17473688163946108908.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_17473688163946108908.key) 05:15:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:15:35 + git semver init 05:15:35 2023-03-15 05:15:35,332 [run_init] DEBUG init version:0.0.0 force:False 05:15:35 2023-03-15 05:15:35,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_go-mod-core-contracts_main/.semver 05:15:35 2023-03-15 05:15:35,334 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/undry_go-mod-core-contracts_main/.semver 05:15:35 2023-03-15 05:15:35,334 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/undry_go-mod-core-contracts_main/.semver'], cwd=/w/workspace/undry_go-mod-core-contracts_main, universal_newlines=False, shell=None, istream=None) 05:15:36 2023-03-15 05:15:36,154 [append_file] DEBUG append to file:/w/workspace/undry_go-mod-core-contracts_main/.git/info/exclude 05:15:36 2023-03-15 05:15:36,155 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_go-mod-core-contracts_main/.semver/main with force:False 05:15:36 2023-03-15 05:15:36,155 [read_version] DEBUG read version from /w/workspace/undry_go-mod-core-contracts_main/.semver/main 05:15:36 2023-03-15 05:15:36,155 [read_version] DEBUG read version from /w/workspace/undry_go-mod-core-contracts_main/.semver/main 05:15:36 3.0.0-dev.29 [Pipeline] } 05:15:36 $ docker exec --env ******** --env ******** e576a941dfff4f5796aa55029083546f0b9064c3aafddae5b7f9428084efc846 ssh-agent -k 05:15:36 unset SSH_AUTH_SOCK; 05:15:36 unset SSH_AGENT_PID; 05:15:36 echo Agent pid 76 killed; 05:15:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:15:36 + git semver [Pipeline] } 05:15:37 $ docker stop --time=1 e576a941dfff4f5796aa55029083546f0b9064c3aafddae5b7f9428084efc846 05:15:38 $ docker rm -f --volumes e576a941dfff4f5796aa55029083546f0b9064c3aafddae5b7f9428084efc846 [Pipeline] // withDockerContainer [Pipeline] sh 05:15:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:15:38 Stashed 1 file(s) [Pipeline] echo 05:15:38 [edgeXSemver]: initialized semver on version 3.0.0-dev.29 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:15:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:39 ========================================================= 05:15:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:15:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:15:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:15:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:15:39 63b65145d645: Pulling fs layer 05:15:39 a2d21d5440eb: Pulling fs layer 05:15:39 935e6c44a52c: Pulling fs layer 05:15:39 94cc34f8dd06: Pulling fs layer 05:15:39 30dea6a524f1: Pulling fs layer 05:15:39 a2aff8979fd8: Pulling fs layer 05:15:39 6808be2612f2: Pulling fs layer 05:15:39 f25807f1079a: Pulling fs layer 05:15:39 30dea6a524f1: Waiting 05:15:39 a2aff8979fd8: Waiting 05:15:39 6808be2612f2: Waiting 05:15:39 f25807f1079a: Waiting 05:15:39 94cc34f8dd06: Waiting 05:15:39 a2d21d5440eb: Download complete 05:15:39 94cc34f8dd06: Verifying Checksum 05:15:39 94cc34f8dd06: Download complete 05:15:39 30dea6a524f1: Verifying Checksum 05:15:39 30dea6a524f1: Download complete 05:15:39 63b65145d645: Verifying Checksum 05:15:39 63b65145d645: Download complete 05:15:39 a2aff8979fd8: Verifying Checksum 05:15:39 a2aff8979fd8: Download complete 05:15:39 63b65145d645: Pull complete 05:15:39 a2d21d5440eb: Pull complete 05:15:39 f25807f1079a: Verifying Checksum 05:15:39 f25807f1079a: Download complete 05:15:40 935e6c44a52c: Verifying Checksum 05:15:40 935e6c44a52c: Download complete 05:15:40 6808be2612f2: Verifying Checksum 05:15:40 6808be2612f2: Download complete 05:15:43 935e6c44a52c: Pull complete 05:15:43 94cc34f8dd06: Pull complete 05:15:43 30dea6a524f1: Pull complete 05:15:43 a2aff8979fd8: Pull complete 05:15:46 6808be2612f2: Pull complete 05:15:47 f25807f1079a: Pull complete 05:15:47 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:15:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 05:15:47 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:47 + docker inspect -f . ci-base-image-x86_64 05:15:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:47 prd-ubuntu20.04-docker-8c-8g-362 does not seem to be running inside a container 05:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:15:49 $ docker top e26367a35e1a9a966d452091fcdb3a885f58d4c10092b39b1f2a5f47ac490797 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:49 + go version 05:15:49 go version go1.20.2 linux/amd64 [Pipeline] } 05:15:49 $ docker stop --time=1 e26367a35e1a9a966d452091fcdb3a885f58d4c10092b39b1f2a5f47ac490797 05:15:51 $ docker rm -f --volumes e26367a35e1a9a966d452091fcdb3a885f58d4c10092b39b1f2a5f47ac490797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:51 + docker inspect -f . ci-base-image-x86_64 05:15:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:51 prd-ubuntu20.04-docker-8c-8g-362 does not seem to be running inside a container 05:15:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:15:52 $ docker top d5a9f97150f0290c1aac8d7806fffc659610cb29384b9dff1a94345132a2961d -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:52 + git config --global --add safe.directory /w/workspace/undry_go-mod-core-contracts_main [Pipeline] fileExists [Pipeline] sh 05:15:52 + make test 05:15:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:15:52 go: downloading github.com/go-playground/validator/v10 v10.11.2 05:15:52 go: downloading github.com/google/uuid v1.3.0 05:15:52 go: downloading github.com/stretchr/testify v1.8.2 05:15:52 go: downloading gopkg.in/yaml.v3 v3.0.1 05:15:52 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 05:15:52 go: downloading github.com/go-kit/log v0.2.1 05:15:53 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:15:53 go: downloading github.com/x448/float16 v0.8.4 05:15:53 go: downloading github.com/davecgh/go-spew v1.1.1 05:15:53 go: downloading github.com/pmezard/go-difflib v1.0.0 05:15:53 go: downloading github.com/stretchr/objx v0.5.0 05:15:53 go: downloading golang.org/x/text v0.6.0 05:15:53 go: downloading github.com/leodido/go-urn v1.2.1 05:15:53 go: downloading golang.org/x/crypto v0.5.0 05:15:53 go: downloading github.com/go-playground/universal-translator v0.18.1 05:15:53 go: downloading github.com/go-playground/locales v0.14.1 05:15:53 Still waiting to schedule task 05:15:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:15:59 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 05:16:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] 05:16:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 05:16:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 05:16:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 05:16:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] 05:16:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.123s coverage: 83.5% of statements 05:16:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.012s coverage: 29.4% of statements 05:16:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.023s coverage: 53.8% of statements 05:16:05 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.012s coverage: 90.0% of statements 05:16:05 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.047s coverage: 86.7% of statements 05:16:05 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.014s coverage: 60.5% of statements 05:16:05 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.005s coverage: 36.1% of statements 05:16:05 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.011s coverage: 48.7% of statements 05:16:15 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:16:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:16:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:16:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:16:17 $ docker stop --time=1 d5a9f97150f0290c1aac8d7806fffc659610cb29384b9dff1a94345132a2961d 05:16:19 $ docker rm -f --volumes d5a9f97150f0290c1aac8d7806fffc659610cb29384b9dff1a94345132a2961d [Pipeline] // withDockerContainer [Pipeline] sh 05:16:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:16:19 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] withEnv [Pipeline] { [Pipeline] sh 05:16:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:20 05:16:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:20 latest: Pulling from edgex-lftools-log-publisher 05:16:20 5eb5b503b376: Pulling fs layer 05:16:20 5c69ac0246d0: Pulling fs layer 05:16:20 ec43610c2a17: Pulling fs layer 05:16:20 3a2ae6a8a46f: Pulling fs layer 05:16:20 33b1e0a273af: Pulling fs layer 05:16:20 5d3b04190fa2: Pulling fs layer 05:16:20 2f39f015ded8: Pulling fs layer 05:16:20 3a2ae6a8a46f: Waiting 05:16:20 5d3b04190fa2: Waiting 05:16:20 33b1e0a273af: Waiting 05:16:20 2f39f015ded8: Waiting 05:16:20 5c69ac0246d0: Verifying Checksum 05:16:20 5c69ac0246d0: Download complete 05:16:20 3a2ae6a8a46f: Download complete 05:16:20 33b1e0a273af: Download complete 05:16:20 5d3b04190fa2: Verifying Checksum 05:16:20 5d3b04190fa2: Download complete 05:16:20 ec43610c2a17: Verifying Checksum 05:16:20 ec43610c2a17: Download complete 05:16:21 5eb5b503b376: Verifying Checksum 05:16:21 5eb5b503b376: Download complete 05:16:21 2f39f015ded8: Download complete 05:16:22 5eb5b503b376: Pull complete 05:16:22 5c69ac0246d0: Pull complete 05:16:22 ec43610c2a17: Pull complete 05:16:22 3a2ae6a8a46f: Pull complete 05:16:23 33b1e0a273af: Pull complete 05:16:23 5d3b04190fa2: Pull complete 05:16:27 2f39f015ded8: Pull complete 05:16:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:16:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:27 prd-ubuntu20.04-docker-8c-8g-362 does not seem to be running inside a container 05:16:27 $ 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/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:28 $ docker top 270f68170c04ebbabe59b6ef885711778aec7fb6f11550575549304a65b300bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:29 ---> job-cost.sh 05:16:29 lf-activate-venv: SKIPPING 05:16:29 INFO: No Stack... 05:16:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:29 INFO: Archiving Costs [Pipeline] sh 05:16:29 + cat /w/workspace/undry_go-mod-core-contracts_main/archives/cost.csv 05:16:29 + cut -d, -f6 [Pipeline] lock 05:16:29 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] 05:16:29 Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] did not exist. Created. 05:16:29 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:30 + echo total: 0.2199999988079071 [Pipeline] stash 05:16:30 Stashed 1 file(s) [Pipeline] } 05:16:30 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:30 $ docker stop --time=1 270f68170c04ebbabe59b6ef885711778aec7fb6f11550575549304a65b300bf 05:16:31 $ docker rm -f --volumes 270f68170c04ebbabe59b6ef885711778aec7fb6f11550575549304a65b300bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:17:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-363 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws 05:17:31 Running in /w/workspace/go-mod-core-contracts/118 [Pipeline] { [Pipeline] checkout 05:17:31 The recommended git tool is: git 05:17:36 using credential edgex-jenkins-ssh 05:17:36 Cloning the remote Git repository 05:17:36 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 05:17:36 > git init /w/workspace/go-mod-core-contracts/118 # timeout=10 05:17:37 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 05:17:37 > git --version # timeout=10 05:17:37 > git --version # 'git version 2.25.1' 05:17:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:17:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:17:38 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 05:17:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:17:39 Avoid second fetch 05:17:39 Checking out Revision 539bf813d355b9671b47ec6e58f7b7995e973d1b (main) 05:17:40 Commit message: "Merge pull request #817 from hahattan/yaml-tag" 05:17:39 > git config core.sparsecheckout # timeout=10 05:17:39 > git checkout -f 539bf813d355b9671b47ec6e58f7b7995e973d1b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:17:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:17:40 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:40 Dload Upload Total Spent Left Speed 05:17:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 05:17:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:17:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:17:44 + sudo tee /etc/docker/daemon.new 05:17:44 { 05:17:44 "registry-mirrors": [ 05:17:44 "https://nexus3.edgexfoundry.org:10001" 05:17:44 ], 05:17:44 "bip": "10.250.0.254/24", 05:17:44 "hosts": [ 05:17:44 "tcp://0.0.0.0:5555", 05:17:44 "unix:///var/run/docker.sock" 05:17:44 ], 05:17:44 "mtu": 1458, 05:17:44 "selinux-enabled": true, 05:17:44 "seccomp-profile": "/etc/docker/seccomp.json" 05:17:44 } [Pipeline] sh 05:17:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:17:45 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 05:18:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:18:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:18:03 ========================================================= 05:18:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:18:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:18:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:18:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:18:04 af6eaf76a39c: Pulling fs layer 05:18:04 55522c791124: Pulling fs layer 05:18:04 ce5c4a1c91eb: Pulling fs layer 05:18:04 169dfbe0d373: Pulling fs layer 05:18:04 e1ff8fa3b103: Pulling fs layer 05:18:04 52ebb69f0ebf: Pulling fs layer 05:18:04 5abe8eddf0d5: Pulling fs layer 05:18:04 e1ff8fa3b103: Waiting 05:18:04 52ebb69f0ebf: Waiting 05:18:04 169dfbe0d373: Waiting 05:18:04 5abe8eddf0d5: Waiting 05:18:04 55522c791124: Download complete 05:18:04 169dfbe0d373: Verifying Checksum 05:18:04 169dfbe0d373: Download complete 05:18:04 e1ff8fa3b103: Verifying Checksum 05:18:04 e1ff8fa3b103: Download complete 05:18:04 af6eaf76a39c: Verifying Checksum 05:18:04 af6eaf76a39c: Download complete 05:18:05 af6eaf76a39c: Pull complete 05:18:05 5abe8eddf0d5: Verifying Checksum 05:18:05 5abe8eddf0d5: Download complete 05:18:06 55522c791124: Pull complete 05:18:07 52ebb69f0ebf: Verifying Checksum 05:18:07 52ebb69f0ebf: Download complete 05:18:07 ce5c4a1c91eb: Verifying Checksum 05:18:07 ce5c4a1c91eb: Download complete 05:18:19 ce5c4a1c91eb: Pull complete 05:18:19 169dfbe0d373: Pull complete 05:18:19 e1ff8fa3b103: Pull complete 05:18:24 52ebb69f0ebf: Pull complete 05:18:26 5abe8eddf0d5: Pull complete 05:18:26 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:18:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:18:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 05:18:26 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:27 + docker inspect -f . ci-base-image-arm64 05:18:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:27 prd-ubuntu20.04-docker-arm64-4c-16g-363 does not seem to be running inside a container 05:18:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/118 -v /w/workspace/go-mod-core-contracts/118:/w/workspace/go-mod-core-contracts/118:rw,z -v /w/workspace/go-mod-core-contracts/118@tmp:/w/workspace/go-mod-core-contracts/118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:30 $ docker top baa5a7a3f27f60173884446abe24b8eaa9dfee936e57e05f63c7a7ca5cc90ac2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:31 + go version 05:18:31 go version go1.20.2 linux/arm64 [Pipeline] } 05:18:31 $ docker stop --time=1 baa5a7a3f27f60173884446abe24b8eaa9dfee936e57e05f63c7a7ca5cc90ac2 05:18:32 $ docker rm -f --volumes baa5a7a3f27f60173884446abe24b8eaa9dfee936e57e05f63c7a7ca5cc90ac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:33 + docker inspect -f . ci-base-image-arm64 05:18:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:33 prd-ubuntu20.04-docker-arm64-4c-16g-363 does not seem to be running inside a container 05:18:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-core-contracts/118 -v /w/workspace/go-mod-core-contracts/118:/w/workspace/go-mod-core-contracts/118:rw,z -v /w/workspace/go-mod-core-contracts/118@tmp:/w/workspace/go-mod-core-contracts/118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:36 $ docker top e761521e91ef5a9d98ee6ba7b36e2aa00431b03380770674ff37e088fecd388c -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:37 + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/118 [Pipeline] fileExists [Pipeline] sh 05:18:37 + make test 05:18:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:18:37 go: downloading github.com/stretchr/testify v1.8.2 05:18:37 go: downloading github.com/go-kit/log v0.2.1 05:18:38 go: downloading github.com/go-playground/validator/v10 v10.11.2 05:18:38 go: downloading github.com/google/uuid v1.3.0 05:18:38 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 05:18:38 go: downloading gopkg.in/yaml.v3 v3.0.1 05:18:38 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:18:38 go: downloading github.com/davecgh/go-spew v1.1.1 05:18:38 go: downloading github.com/pmezard/go-difflib v1.0.0 05:18:38 go: downloading github.com/stretchr/objx v0.5.0 05:18:38 go: downloading github.com/go-playground/universal-translator v0.18.1 05:18:38 go: downloading github.com/leodido/go-urn v1.2.1 05:18:38 go: downloading golang.org/x/crypto v0.5.0 05:18:38 go: downloading golang.org/x/text v0.6.0 05:18:38 go: downloading github.com/x448/float16 v0.8.4 05:18:38 go: downloading github.com/go-playground/locales v0.14.1 05:19:11 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 05:19:58 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] 05:19:58 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 05:19:58 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.382s coverage: 83.5% of statements 05:19:58 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 05:19:58 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 05:19:58 ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] 05:19:58 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.062s coverage: 29.4% of statements 05:20:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.168s coverage: 53.8% of statements 05:20:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.067s coverage: 90.0% of statements 05:20:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.339s coverage: 86.7% of statements 05:20:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.052s coverage: 60.5% of statements 05:20:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.024s coverage: 36.1% of statements 05:20:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.045s coverage: 48.7% of statements 05:20:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:20:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:20:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:20:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:20:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:20:17 $ docker stop --time=1 e761521e91ef5a9d98ee6ba7b36e2aa00431b03380770674ff37e088fecd388c 05:20:20 $ docker rm -f --volumes e761521e91ef5a9d98ee6ba7b36e2aa00431b03380770674ff37e088fecd388c [Pipeline] // withDockerContainer [Pipeline] sh 05:20:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:20:22 Warning: overwriting stash ‘coverage-report’ 05:20:22 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] withEnv [Pipeline] { [Pipeline] sh 05:20:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:23 05:20:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:23 arm64: Pulling from edgex-lftools-log-publisher 05:20:23 8998bd30e6a1: Pulling fs layer 05:20:23 04944245beec: Pulling fs layer 05:20:23 699f458cf7ca: Pulling fs layer 05:20:23 765212b225bb: Pulling fs layer 05:20:23 f23df028b6ca: Pulling fs layer 05:20:23 d65c8cfc05b1: Pulling fs layer 05:20:23 2437ff75d9bd: Pulling fs layer 05:20:23 f23df028b6ca: Waiting 05:20:23 d65c8cfc05b1: Waiting 05:20:23 2437ff75d9bd: Waiting 05:20:23 765212b225bb: Waiting 05:20:24 04944245beec: Verifying Checksum 05:20:24 04944245beec: Download complete 05:20:24 765212b225bb: Verifying Checksum 05:20:24 765212b225bb: Download complete 05:20:24 f23df028b6ca: Verifying Checksum 05:20:24 f23df028b6ca: Download complete 05:20:24 d65c8cfc05b1: Verifying Checksum 05:20:24 d65c8cfc05b1: Download complete 05:20:24 699f458cf7ca: Verifying Checksum 05:20:24 699f458cf7ca: Download complete 05:20:24 8998bd30e6a1: Verifying Checksum 05:20:24 8998bd30e6a1: Download complete 05:20:27 2437ff75d9bd: Verifying Checksum 05:20:27 2437ff75d9bd: Download complete 05:20:28 8998bd30e6a1: Pull complete 05:20:29 04944245beec: Pull complete 05:20:30 699f458cf7ca: Pull complete 05:20:30 765212b225bb: Pull complete 05:20:31 f23df028b6ca: Pull complete 05:20:31 d65c8cfc05b1: Pull complete 05:20:46 2437ff75d9bd: Pull complete 05:20:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:20:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:46 prd-ubuntu20.04-docker-arm64-4c-16g-363 does not seem to be running inside a container 05:20:46 $ 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/118 -v /w/workspace/go-mod-core-contracts/118:/w/workspace/go-mod-core-contracts/118:rw,z -v /w/workspace/go-mod-core-contracts/118@tmp:/w/workspace/go-mod-core-contracts/118@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:20:49 $ docker top 4bc756bcd274348e51d7becc71301792074fb33d06a304bd42439f81bf4c9314 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:49 ---> job-cost.sh 05:20:49 lf-activate-venv: SKIPPING 05:20:49 INFO: No Stack... 05:20:50 INFO: Retrieving Pricing Info for: v3-standard-4 05:20:51 INFO: Archiving Costs [Pipeline] sh 05:20:51 + + cat /w/workspace/go-mod-core-contracts/118/archives/cost.csv 05:20:51 cut -d, -f6 [Pipeline] lock 05:20:51 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] 05:20:51 Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] did not exist. Created. 05:20:51 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:52 /w/workspace/go-mod-core-contracts/118@tmp/durable-1e2114a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:20:52 + echo total: 0.10999999940395355 [Pipeline] stash 05:20:52 Warning: overwriting stash ‘stack-cost’ 05:20:52 Stashed 1 file(s) [Pipeline] } 05:20:52 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-118-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:52 $ docker stop --time=1 4bc756bcd274348e51d7becc71301792074fb33d06a304bd42439f81bf4c9314 05:20:54 $ docker rm -f --volumes 4bc756bcd274348e51d7becc71301792074fb33d06a304bd42439f81bf4c9314 [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 05:20:54 provisioning config files... 05:20:54 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config1340628836755769044tmp [Pipeline] { [Pipeline] sh 05:20:55 + set +x 05:20:55 + curl -s https://codecov.io/bash 05:20:55 + bash -s -- 05:20:55 05:20:55 _____ _ 05:20:55 / ____| | | 05:20:55 | | ___ __| | ___ ___ _____ __ 05:20:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:20:55 | |___| (_) | (_| | __/ (_| (_) \ V / 05:20:55 \_____\___/ \__,_|\___|\___\___/ \_/ 05:20:55 Bash-1.0.6 05:20:55 05:20:55 05:20:55 ==> git version 2.25.1 found 05:20:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:20:55 Release-Date: 2020-01-08 05:20:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:20:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:20:55 ==> Jenkins CI detected. 05:20:55 current dir:  /w/workspace/undry_go-mod-core-contracts_main 05:20:55 project root: . 05:20:55 --> token set from env 05:20:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:20:55 ==> Running gcov in . (disable via -X gcov) 05:20:55 ==> Python coveragepy not found 05:20:55 ==> Searching for coverage reports in: 05:20:55 + . 05:20:55 -> Found 1 reports 05:20:55 ==> Detecting git/mercurial file structure 05:20:55 ==> Reading reports 05:20:55 + ./coverage.out bytes=115997 05:20:55 ==> Appending adjustments 05:20:55 https://docs.codecov.io/docs/fixing-reports 05:20:55 + Found adjustments 05:20:55 ==> Gzipping contents 05:20:55 20K /tmp/codecov.gQNF4k.gz 05:20:55 ==> Uploading reports 05:20:55 url: https://codecov.io 05:20:55 query: branch=main&commit=539bf813d355b9671b47ec6e58f7b7995e973d1b&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= 05:20:55 -> Pinging Codecov 05:20:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=main&commit=539bf813d355b9671b47ec6e58f7b7995e973d1b&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= 05:20:55 -> Uploading to 05:20:55 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/71470A77251A30514AAF9C0BB2E5B6CE/539bf813d355b9671b47ec6e58f7b7995e973d1b/f2bc4552-c99f-4a3b-91c4-fcd8b4f2925e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T052055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbe6a769c6bb4f5ce14733f5307a3ea4d9b966b954a0c6e9aa1faea3eb77b7ae 05:20:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:55 Dload Upload Total Spent Left Speed 05:20:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17584 0 0 100 17584 0 70336 --:--:-- --:--:-- --:--:-- 70336 05:20:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] } 05:20:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:20:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:20:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:20:56 05:20:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:20:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:20:57 df9b9388f04a: Pulling fs layer 05:20:57 52dc419b0ee2: Pulling fs layer 05:20:57 25bc292e5bac: Pulling fs layer 05:20:57 114826534d7a: Pulling fs layer 05:20:57 4657fd5d0bcf: Pulling fs layer 05:20:57 114826534d7a: Waiting 05:20:57 6ad1cebc031e: Pulling fs layer 05:20:57 8a3aa393b2d8: Pulling fs layer 05:20:57 4657fd5d0bcf: Waiting 05:20:57 6ad1cebc031e: Waiting 05:20:57 8a3aa393b2d8: Waiting 05:20:57 25bc292e5bac: Verifying Checksum 05:20:57 25bc292e5bac: Download complete 05:20:57 52dc419b0ee2: Download complete 05:20:57 4657fd5d0bcf: Verifying Checksum 05:20:57 4657fd5d0bcf: Download complete 05:20:57 df9b9388f04a: Verifying Checksum 05:20:57 df9b9388f04a: Download complete 05:20:57 df9b9388f04a: Pull complete 05:20:57 52dc419b0ee2: Pull complete 05:20:57 6ad1cebc031e: Verifying Checksum 05:20:57 6ad1cebc031e: Download complete 05:20:57 25bc292e5bac: Pull complete 05:20:58 114826534d7a: Verifying Checksum 05:20:58 114826534d7a: Download complete 05:20:58 8a3aa393b2d8: Verifying Checksum 05:20:58 8a3aa393b2d8: Download complete 05:21:01 114826534d7a: Pull complete 05:21:01 4657fd5d0bcf: Pull complete 05:21:01 6ad1cebc031e: Pull complete 05:21:03 8a3aa393b2d8: Pull complete 05:21:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:21:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:04 prd-ubuntu20.04-docker-8c-8g-362 does not seem to be running inside a container 05:21:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:21:05 $ docker top d807fd2292751e170b73cec9224c310c51189db9bd69f825359e1aa657bd5085 -eo pid,comm [Pipeline] { [Pipeline] echo 05:21:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/go-mod-core-contracts:main' [Pipeline] sh 05:21:06 + set -o pipefail 05:21:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/go-mod-core-contracts:main' 05:24:27 05:24:27 Monitoring /w/workspace/undry_go-mod-core-contracts_main... 05:24:27 05:24:27 Internal error (reference: 65b63de8-e6a1-4236-b1bc-a599464171ab) 05:24:27 05:24:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:24:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:24:27 More details here: https://snyk.co/ue1NS 05:24:27 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 05:24:27 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:24:27 $ docker stop --time=1 d807fd2292751e170b73cec9224c310c51189db9bd69f825359e1aa657bd5085 05:24:28 $ docker rm -f --volumes d807fd2292751e170b73cec9224c310c51189db9bd69f825359e1aa657bd5085 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:24:28 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:24:29 + [ -d /w/workspace/undry_go-mod-core-contracts_main/archives ] 05:24:29 + ls -al /w/workspace/undry_go-mod-core-contracts_main/archives 05:24:29 total 16 05:24:29 drwxr-xr-x 3 root root 4096 Mar 15 05:16 . 05:24:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 05:16 .. 05:24:29 drwxr-xr-x 2 root root 4096 Mar 15 05:16 cost 05:24:29 -rw-r--r-- 1 root root 93 Mar 15 05:16 cost.csv 05:24:29 + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-core-contracts_main/archives 05:24:29 + ls -al /w/workspace/undry_go-mod-core-contracts_main/archives 05:24:29 total 16 05:24:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 05:16 . 05:24:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 05:16 .. 05:24:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 05:16 cost 05:24:29 -rw-r--r-- 1 jenkins jenkins 93 Mar 15 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:24:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:24:30 ---> package-listing.sh 05:24:30 ++ facter osfamily 05:24:30 ++ tr '[:upper:]' '[:lower:]' 05:24:30 + OS_FAMILY=debian 05:24:30 + workspace=/w/workspace/undry_go-mod-core-contracts_main 05:24:30 + START_PACKAGES=/tmp/packages_start.txt 05:24:30 + END_PACKAGES=/tmp/packages_end.txt 05:24:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:24:30 + PACKAGES=/tmp/packages_start.txt 05:24:30 + '[' /w/workspace/undry_go-mod-core-contracts_main ']' 05:24:30 + PACKAGES=/tmp/packages_end.txt 05:24:30 + case "${OS_FAMILY}" in 05:24:30 + dpkg -l 05:24:30 + grep '^ii' 05:24:30 + '[' -f /tmp/packages_start.txt ']' 05:24:30 + '[' -f /tmp/packages_end.txt ']' 05:24:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:24:30 + '[' /w/workspace/undry_go-mod-core-contracts_main ']' 05:24:30 + mkdir -p /w/workspace/undry_go-mod-core-contracts_main/archives/ 05:24:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-core-contracts_main/archives/ [Pipeline] echo 05:24:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_go-mod-core-contracts_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:24:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:31 prd-ubuntu20.04-docker-8c-8g-362 does not seem to be running inside a container 05:24:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_go-mod-core-contracts_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:24:32 $ docker top 414c709a70eb381295d6e87d676cf69dcb90d93330082ee6a484b991b7fd6c9a -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:32 + touch /tmp/pre-build-complete [Pipeline] sh 05:24:32 + mkdir -p /var/log/sysstat [Pipeline] sh 05:24:33 + ls /var/log/sa-host 05:24:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:33 provisioning config files... 05:24:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config8419002194848159895tmp [Pipeline] { [Pipeline] echo 05:24:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:24:33 ---> create-netrc.sh [Pipeline] } 05:24:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:24:33 ---> python-tools-install.sh [Pipeline] echo 05:24:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:24:34 ---> sudo-logs.sh 05:24:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:24:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:24:34 ---> job-cost.sh 05:24:34 lf-activate-venv: SKIPPING 05:24:34 DEBUG: total: 0.2199999988079071 05:24:34 INFO: Retrieving Stack Cost... 05:24:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:24:35 INFO: Archiving Costs [Pipeline] echo 05:24:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:24:35 ---> logs-deploy.sh 05:24:35 lf-activate-venv: SKIPPING 05:24:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/main/118 05:24:35 INFO: archiving workspace using pattern(s): 05:24:36 Archives upload complete. 05:24:36 INFO: archiving logs to Nexus