Push event to branch main 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-ssh18342576198048275008.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-ssh492230528358734117.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-ssh11742911483928411998.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-ssh5551583955482244349.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-ssh16402691080803912113.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-356 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 138aaa24339490fd4b3bf513d19a8e283f390594 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:29:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:29:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:29:49 ========================================================= 04:29:49 EdgeX Global Pipelines Version Info 04:29:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:29:50 ------------------- 04:29:50 stable info: 04:29:50 ------------------- 04:29:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:29:50 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 04:29:50 Message: update stable to v1.0.245 04:29:50 ------------------- 04:29:50 experimental info: 04:29:50 ------------------- 04:29:50 Commited By: **** collab-it+edgex@linuxfoundation.org 04:29:50 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 04:29:50 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 539bf81 [Pipeline] echo 04:29:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:29:51 + git rev-list -1 --merges 539bf813d355b9671b47ec6e58f7b7995e973d1b~1..539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 04:29:51 -----------> git rev-list -1 --merges 539bf813d355b9671b47ec6e58f7b7995e973d1b~1..539bf813d355b9671b47ec6e58f7b7995e973d1b 539bf813d355b9671b47ec6e58f7b7995e973d1b 04:29:51 539bf813d355b9671b47ec6e58f7b7995e973d1b [false] [Pipeline] sh 04:29:52 + git log --format=format:%s -1 539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 04:29:52 ========================================================= 04:29:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:29:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:29:52 + git log --format=format:%s -1 539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] echo 04:29:52 [semverPrep] GIT_COMMIT: 539bf813d355b9671b47ec6e58f7b7995e973d1b, Commit Message: Merge pull request #817 from hahattan/yaml-tag [Pipeline] echo 04:29:52 [semverPrep] This is not a build commit. [Pipeline] sh 04:29:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:29:52 + grep -v github /etc/ssh/ssh_known_hosts 04:29:52 + [ -e /tmp/ssh_known_hosts ] 04:29:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:29:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:29:52 + sudo tee -a /etc/ssh/ssh_known_hosts 04:29:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:53 04:29:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:53 0.1.4: Pulling from edgex-devops/py-git-semver 04:29:53 b85a868b505f: Pulling fs layer 04:29:53 e2be974225ed: Pulling fs layer 04:29:53 339a4e72a1f5: Pulling fs layer 04:29:53 988bab9f4d93: Pulling fs layer 04:29:53 1469e6f7b9e6: Pulling fs layer 04:29:53 eaf3925da568: Pulling fs layer 04:29:53 bab4dde63d76: Pulling fs layer 04:29:53 bde34c3a00c8: Pulling fs layer 04:29:53 b352a97aabf1: Pulling fs layer 04:29:53 988bab9f4d93: Waiting 04:29:53 1469e6f7b9e6: Waiting 04:29:53 4872d77fe225: Pulling fs layer 04:29:53 5851b861e8e6: Pulling fs layer 04:29:53 eaf3925da568: Waiting 04:29:53 bab4dde63d76: Waiting 04:29:53 bde34c3a00c8: Waiting 04:29:53 b352a97aabf1: Waiting 04:29:53 4872d77fe225: Waiting 04:29:53 5851b861e8e6: Waiting 04:29:54 e2be974225ed: Verifying Checksum 04:29:54 e2be974225ed: Download complete 04:29:54 988bab9f4d93: Verifying Checksum 04:29:54 988bab9f4d93: Download complete 04:29:54 1469e6f7b9e6: Verifying Checksum 04:29:54 1469e6f7b9e6: Download complete 04:29:54 eaf3925da568: Verifying Checksum 04:29:54 eaf3925da568: Download complete 04:29:54 339a4e72a1f5: Verifying Checksum 04:29:54 339a4e72a1f5: Download complete 04:29:54 bde34c3a00c8: Verifying Checksum 04:29:54 bde34c3a00c8: Download complete 04:29:54 b352a97aabf1: Verifying Checksum 04:29:54 b352a97aabf1: Download complete 04:29:54 4872d77fe225: Download complete 04:29:54 5851b861e8e6: Verifying Checksum 04:29:54 5851b861e8e6: Download complete 04:29:54 b85a868b505f: Verifying Checksum 04:29:54 b85a868b505f: Download complete 04:29:54 bab4dde63d76: Verifying Checksum 04:29:54 bab4dde63d76: Download complete 04:29:55 b85a868b505f: Pull complete 04:29:55 e2be974225ed: Pull complete 04:29:56 339a4e72a1f5: Pull complete 04:29:56 988bab9f4d93: Pull complete 04:29:56 1469e6f7b9e6: Pull complete 04:29:56 eaf3925da568: Pull complete 04:29:58 bab4dde63d76: Pull complete 04:29:58 bde34c3a00c8: Pull complete 04:29:58 b352a97aabf1: Pull complete 04:29:58 4872d77fe225: Pull complete 04:29:58 5851b861e8e6: Pull complete 04:29:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:29:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:58 prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container 04:29:58 $ 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 04:29:59 $ docker top 8729156d9ce4fb2d69c32a35a5a4d7bb8985dd51b42b5772157055b84be37bcb -eo pid,comm 04:29:59 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). 04:29:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:30:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:00 [ssh-agent] Looking for ssh-agent implementation... 04:30:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:00 $ docker exec 8729156d9ce4fb2d69c32a35a5a4d7bb8985dd51b42b5772157055b84be37bcb ssh-agent 04:30:00 SSH_AUTH_SOCK=/tmp/ssh-Fex4QDDtHKUt/agent.33 04:30:00 SSH_AGENT_PID=39 04:30:00 Running ssh-add (command line suppressed) 04:30:00 Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_4755591768206574927.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_4755591768206574927.key) 04:30:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:00 + git tag --points-at HEAD [Pipeline] } 04:30:00 $ docker exec --env ******** --env ******** 8729156d9ce4fb2d69c32a35a5a4d7bb8985dd51b42b5772157055b84be37bcb ssh-agent -k 04:30:00 unset SSH_AUTH_SOCK; 04:30:00 unset SSH_AGENT_PID; 04:30:00 echo Agent pid 39 killed; 04:30:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:30:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:00 [ssh-agent] Looking for ssh-agent implementation... 04:30:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:00 $ docker exec 8729156d9ce4fb2d69c32a35a5a4d7bb8985dd51b42b5772157055b84be37bcb ssh-agent 04:30:01 SSH_AUTH_SOCK=/tmp/ssh-c40yUcyMpUNI/agent.71 04:30:01 SSH_AGENT_PID=77 04:30:01 Running ssh-add (command line suppressed) 04:30:01 Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_14352248815470731251.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_14352248815470731251.key) 04:30:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:01 + git semver init 04:30:01 2023-03-15 04:30:01,642 [run_init] DEBUG init version:0.0.0 force:False 04:30:01 2023-03-15 04:30:01,642 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_go-mod-core-contracts_main/.semver 04:30:01 2023-03-15 04:30:01,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/undry_go-mod-core-contracts_main/.semver 04:30:01 2023-03-15 04:30:01,643 [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) 04:30:02 2023-03-15 04:30:02,495 [append_file] DEBUG append to file:/w/workspace/undry_go-mod-core-contracts_main/.git/info/exclude 04:30:02 2023-03-15 04:30:02,496 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_go-mod-core-contracts_main/.semver/main with force:False 04:30:02 2023-03-15 04:30:02,496 [read_version] DEBUG read version from /w/workspace/undry_go-mod-core-contracts_main/.semver/main 04:30:02 2023-03-15 04:30:02,496 [read_version] DEBUG read version from /w/workspace/undry_go-mod-core-contracts_main/.semver/main 04:30:02 3.0.0-dev.29 [Pipeline] } 04:30:02 $ docker exec --env ******** --env ******** 8729156d9ce4fb2d69c32a35a5a4d7bb8985dd51b42b5772157055b84be37bcb ssh-agent -k 04:30:02 unset SSH_AUTH_SOCK; 04:30:02 unset SSH_AGENT_PID; 04:30:02 echo Agent pid 77 killed; 04:30:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:30:03 + git semver [Pipeline] } 04:30:03 $ docker stop --time=1 8729156d9ce4fb2d69c32a35a5a4d7bb8985dd51b42b5772157055b84be37bcb 04:30:04 $ docker rm -f --volumes 8729156d9ce4fb2d69c32a35a5a4d7bb8985dd51b42b5772157055b84be37bcb [Pipeline] // withDockerContainer [Pipeline] sh 04:30:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:30:05 Stashed 1 file(s) [Pipeline] echo 04:30:05 [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 04:30:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:05 ========================================================= 04:30:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:30:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:30:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:30:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:30:05 63b65145d645: Pulling fs layer 04:30:05 a2d21d5440eb: Pulling fs layer 04:30:05 935e6c44a52c: Pulling fs layer 04:30:05 94cc34f8dd06: Pulling fs layer 04:30:05 30dea6a524f1: Pulling fs layer 04:30:05 a2aff8979fd8: Pulling fs layer 04:30:05 6808be2612f2: Pulling fs layer 04:30:05 f25807f1079a: Pulling fs layer 04:30:05 a2aff8979fd8: Waiting 04:30:05 f25807f1079a: Waiting 04:30:05 6808be2612f2: Waiting 04:30:05 94cc34f8dd06: Waiting 04:30:05 30dea6a524f1: Waiting 04:30:05 a2d21d5440eb: Download complete 04:30:05 94cc34f8dd06: Verifying Checksum 04:30:05 94cc34f8dd06: Download complete 04:30:05 30dea6a524f1: Download complete 04:30:05 63b65145d645: Verifying Checksum 04:30:05 63b65145d645: Download complete 04:30:05 a2aff8979fd8: Verifying Checksum 04:30:05 a2aff8979fd8: Download complete 04:30:05 63b65145d645: Pull complete 04:30:05 a2d21d5440eb: Pull complete 04:30:06 f25807f1079a: Verifying Checksum 04:30:06 f25807f1079a: Download complete 04:30:06 935e6c44a52c: Verifying Checksum 04:30:06 935e6c44a52c: Download complete 04:30:06 6808be2612f2: Verifying Checksum 04:30:06 6808be2612f2: Download complete 04:30:10 935e6c44a52c: Pull complete 04:30:10 94cc34f8dd06: Pull complete 04:30:10 30dea6a524f1: Pull complete 04:30:10 a2aff8979fd8: Pull complete 04:30:12 6808be2612f2: Pull complete 04:30:13 f25807f1079a: Pull complete 04:30:13 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:30:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:30:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 04:30:13 + 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 04:30:13 + docker inspect -f . ci-base-image-x86_64 04:30:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:13 prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container 04:30:13 $ 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 04:30:15 $ docker top e0dc0e870db1f7b148a4456d000c045212ec65c8381a278cf050d210fc392217 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:15 + go version 04:30:15 go version go1.20.2 linux/amd64 [Pipeline] } 04:30:15 $ docker stop --time=1 e0dc0e870db1f7b148a4456d000c045212ec65c8381a278cf050d210fc392217 04:30:17 $ docker rm -f --volumes e0dc0e870db1f7b148a4456d000c045212ec65c8381a278cf050d210fc392217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:17 + docker inspect -f . ci-base-image-x86_64 04:30:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:17 prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container 04:30:17 $ 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 04:30:18 $ docker top 255a11a311d48a3400e377fb47abafaf2217e8cb28669239324de795d5ef6219 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:18 + git config --global --add safe.directory /w/workspace/undry_go-mod-core-contracts_main [Pipeline] fileExists [Pipeline] sh 04:30:18 + make test 04:30:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:30:18 go: downloading github.com/go-kit/log v0.2.1 04:30:18 go: downloading github.com/stretchr/testify v1.8.2 04:30:18 go: downloading github.com/google/uuid v1.3.0 04:30:18 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 04:30:18 go: downloading github.com/go-playground/validator/v10 v10.11.2 04:30:18 go: downloading gopkg.in/yaml.v3 v3.0.1 04:30:19 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:30:19 go: downloading github.com/x448/float16 v0.8.4 04:30:19 go: downloading github.com/davecgh/go-spew v1.1.1 04:30:19 go: downloading github.com/pmezard/go-difflib v1.0.0 04:30:19 go: downloading github.com/stretchr/objx v0.5.0 04:30:19 go: downloading github.com/go-playground/universal-translator v0.18.1 04:30:19 go: downloading github.com/leodido/go-urn v1.2.1 04:30:19 go: downloading golang.org/x/crypto v0.5.0 04:30:19 go: downloading golang.org/x/text v0.6.0 04:30:19 go: downloading github.com/go-playground/locales v0.14.1 04:30:20 Still waiting to schedule task 04:30:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:30:25 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 04:30:29 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] 04:30:29 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 04:30:29 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 04:30:29 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 04:30:29 ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.119s coverage: 83.5% of statements 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.013s coverage: 29.4% of statements 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.056s coverage: 53.8% of statements 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.011s coverage: 90.0% of statements 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.034s coverage: 86.7% of statements 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.013s coverage: 60.5% of statements 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.005s coverage: 36.1% of statements 04:30:30 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.014s coverage: 48.7% of statements 04:30:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:30:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:30:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:30:41 $ docker stop --time=1 255a11a311d48a3400e377fb47abafaf2217e8cb28669239324de795d5ef6219 04:30:43 $ docker rm -f --volumes 255a11a311d48a3400e377fb47abafaf2217e8cb28669239324de795d5ef6219 [Pipeline] // withDockerContainer [Pipeline] sh 04:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:30:43 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 04:30:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:44 04:30:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:44 latest: Pulling from edgex-lftools-log-publisher 04:30:44 5eb5b503b376: Pulling fs layer 04:30:44 5c69ac0246d0: Pulling fs layer 04:30:44 ec43610c2a17: Pulling fs layer 04:30:44 3a2ae6a8a46f: Pulling fs layer 04:30:44 33b1e0a273af: Pulling fs layer 04:30:44 5d3b04190fa2: Pulling fs layer 04:30:44 2f39f015ded8: Pulling fs layer 04:30:44 3a2ae6a8a46f: Waiting 04:30:44 33b1e0a273af: Waiting 04:30:44 5d3b04190fa2: Waiting 04:30:44 2f39f015ded8: Waiting 04:30:44 5c69ac0246d0: Download complete 04:30:44 3a2ae6a8a46f: Verifying Checksum 04:30:44 3a2ae6a8a46f: Download complete 04:30:44 33b1e0a273af: Verifying Checksum 04:30:44 33b1e0a273af: Download complete 04:30:44 5d3b04190fa2: Download complete 04:30:44 ec43610c2a17: Download complete 04:30:44 5eb5b503b376: Verifying Checksum 04:30:44 5eb5b503b376: Download complete 04:30:45 2f39f015ded8: Download complete 04:30:46 5eb5b503b376: Pull complete 04:30:46 5c69ac0246d0: Pull complete 04:30:46 ec43610c2a17: Pull complete 04:30:46 3a2ae6a8a46f: Pull complete 04:30:46 33b1e0a273af: Pull complete 04:30:46 5d3b04190fa2: Pull complete 04:30:51 2f39f015ded8: Pull complete 04:30:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:30:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:51 prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container 04:30:51 $ 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 04:30:52 $ docker top 7f7889a4f8fea279c843d4c77ade2b00879c4234cfab4d2b636ddebb8e2c13ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:52 ---> job-cost.sh 04:30:52 lf-activate-venv: SKIPPING 04:30:52 INFO: No Stack... 04:30:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:30:53 INFO: Archiving Costs [Pipeline] sh 04:30:53 + cat /w/workspace/undry_go-mod-core-contracts_main/archives/cost.csv 04:30:53 + cut -d, -f6 [Pipeline] lock 04:30:53 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] 04:30:53 Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] did not exist. Created. 04:30:53 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:30:53 + echo total: 0.2199999988079071 [Pipeline] stash 04:30:53 Stashed 1 file(s) [Pipeline] } 04:30:53 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] [Pipeline] // lock [Pipeline] } 04:30:53 $ docker stop --time=1 7f7889a4f8fea279c843d4c77ade2b00879c4234cfab4d2b636ddebb8e2c13ac 04:30:55 $ docker rm -f --volumes 7f7889a4f8fea279c843d4c77ade2b00879c4234cfab4d2b636ddebb8e2c13ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:31:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-357 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws 04:31:58 Running in /w/workspace/go-mod-core-contracts/117 [Pipeline] { [Pipeline] checkout 04:31:58 The recommended git tool is: git 04:32:04 using credential edgex-jenkins-ssh 04:32:04 Cloning the remote Git repository 04:32:04 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 04:32:04 > git init /w/workspace/go-mod-core-contracts/117 # timeout=10 04:32:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:32:04 > git --version # timeout=10 04:32:04 > git --version # 'git version 2.25.1' 04:32:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:32:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:32:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:06 Avoid second fetch 04:32:06 Checking out Revision 539bf813d355b9671b47ec6e58f7b7995e973d1b (main) 04:32:07 Commit message: "Merge pull request #817 from hahattan/yaml-tag" 04:32:07 > git config core.sparsecheckout # timeout=10 04:32:07 > git checkout -f 539bf813d355b9671b47ec6e58f7b7995e973d1b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:32:08 % Total % Received % Xferd Average Speed Time Time Time Current 04:32:08 Dload Upload Total Spent Left Speed 04:32:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 04:32:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:32:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 04:32:09 sudo tee /etc/docker/daemon.new 04:32:09 { 04:32:09 "registry-mirrors": [ 04:32:09 "https://nexus3.edgexfoundry.org:10001" 04:32:09 ], 04:32:09 "bip": "10.250.0.254/24", 04:32:09 "hosts": [ 04:32:09 "tcp://0.0.0.0:5555", 04:32:09 "unix:///var/run/docker.sock" 04:32:09 ], 04:32:09 "mtu": 1458, 04:32:09 "selinux-enabled": true, 04:32:09 "seccomp-profile": "/etc/docker/seccomp.json" 04:32:09 } [Pipeline] sh 04:32:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:32:10 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:32:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:28 ========================================================= 04:32:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:32:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:32:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:32:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:32:29 af6eaf76a39c: Pulling fs layer 04:32:29 55522c791124: Pulling fs layer 04:32:29 ce5c4a1c91eb: Pulling fs layer 04:32:29 169dfbe0d373: Pulling fs layer 04:32:29 e1ff8fa3b103: Pulling fs layer 04:32:29 52ebb69f0ebf: Pulling fs layer 04:32:29 5abe8eddf0d5: Pulling fs layer 04:32:29 e1ff8fa3b103: Waiting 04:32:29 5abe8eddf0d5: Waiting 04:32:29 52ebb69f0ebf: Waiting 04:32:29 55522c791124: Verifying Checksum 04:32:29 55522c791124: Download complete 04:32:29 169dfbe0d373: Verifying Checksum 04:32:29 169dfbe0d373: Download complete 04:32:29 e1ff8fa3b103: Verifying Checksum 04:32:29 e1ff8fa3b103: Download complete 04:32:29 af6eaf76a39c: Verifying Checksum 04:32:29 af6eaf76a39c: Download complete 04:32:30 af6eaf76a39c: Pull complete 04:32:30 5abe8eddf0d5: Verifying Checksum 04:32:30 5abe8eddf0d5: Download complete 04:32:31 55522c791124: Pull complete 04:32:32 ce5c4a1c91eb: Verifying Checksum 04:32:32 ce5c4a1c91eb: Download complete 04:32:32 52ebb69f0ebf: Verifying Checksum 04:32:32 52ebb69f0ebf: Download complete 04:32:44 ce5c4a1c91eb: Pull complete 04:32:44 169dfbe0d373: Pull complete 04:32:44 e1ff8fa3b103: Pull complete 04:32:51 52ebb69f0ebf: Pull complete 04:32:52 5abe8eddf0d5: Pull complete 04:32:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:32:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:32:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 04:32:52 + 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 04:32:52 + docker inspect -f . ci-base-image-arm64 04:32:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:52 prd-ubuntu20.04-docker-arm64-4c-16g-357 does not seem to be running inside a container 04:32:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/117 -v /w/workspace/go-mod-core-contracts/117:/w/workspace/go-mod-core-contracts/117:rw,z -v /w/workspace/go-mod-core-contracts/117@tmp:/w/workspace/go-mod-core-contracts/117@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 04:32:55 $ docker top dd618620309be91836e83426fe1961bf8f35c36e055151aa2e8197d76c8b46b7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:56 + go version 04:32:56 go version go1.20.2 linux/arm64 [Pipeline] } 04:32:56 $ docker stop --time=1 dd618620309be91836e83426fe1961bf8f35c36e055151aa2e8197d76c8b46b7 04:32:58 $ docker rm -f --volumes dd618620309be91836e83426fe1961bf8f35c36e055151aa2e8197d76c8b46b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:59 + docker inspect -f . ci-base-image-arm64 04:32:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:59 prd-ubuntu20.04-docker-arm64-4c-16g-357 does not seem to be running inside a container 04:32:59 $ 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/117 -v /w/workspace/go-mod-core-contracts/117:/w/workspace/go-mod-core-contracts/117:rw,z -v /w/workspace/go-mod-core-contracts/117@tmp:/w/workspace/go-mod-core-contracts/117@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 04:33:00 $ docker top 9e0d3d13778d080bd30bb2d10fd62da26e54dc653ae80b145fcc79e19ae69c5a -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:00 + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/117 [Pipeline] fileExists [Pipeline] sh 04:33:01 + make test 04:33:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:33:01 go: downloading github.com/stretchr/testify v1.8.2 04:33:01 go: downloading github.com/go-kit/log v0.2.1 04:33:01 go: downloading github.com/go-playground/validator/v10 v10.11.2 04:33:01 go: downloading github.com/google/uuid v1.3.0 04:33:02 go: downloading gopkg.in/yaml.v3 v3.0.1 04:33:02 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 04:33:02 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:33:02 go: downloading github.com/davecgh/go-spew v1.1.1 04:33:02 go: downloading github.com/pmezard/go-difflib v1.0.0 04:33:02 go: downloading github.com/stretchr/objx v0.5.0 04:33:02 go: downloading github.com/go-playground/universal-translator v0.18.1 04:33:02 go: downloading github.com/leodido/go-urn v1.2.1 04:33:02 go: downloading golang.org/x/crypto v0.5.0 04:33:02 go: downloading golang.org/x/text v0.6.0 04:33:02 go: downloading github.com/x448/float16 v0.8.4 04:33:03 go: downloading github.com/go-playground/locales v0.14.1 04:33:35 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 04:34:22 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] 04:34:22 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 04:34:22 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.394s coverage: 83.5% of statements 04:34:22 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 04:34:22 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 04:34:22 ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] 04:34:22 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.069s coverage: 29.4% of statements 04:34:26 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.122s coverage: 53.8% of statements 04:34:26 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.073s coverage: 90.0% of statements 04:34:27 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.364s coverage: 86.7% of statements 04:34:27 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.112s coverage: 60.5% of statements 04:34:28 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.035s coverage: 36.1% of statements 04:34:28 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.043s coverage: 48.7% of statements 04:34:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:34:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:34:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:34:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:34:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:34:43 $ docker stop --time=1 9e0d3d13778d080bd30bb2d10fd62da26e54dc653ae80b145fcc79e19ae69c5a 04:34:45 $ docker rm -f --volumes 9e0d3d13778d080bd30bb2d10fd62da26e54dc653ae80b145fcc79e19ae69c5a [Pipeline] // withDockerContainer [Pipeline] sh 04:34:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:34:47 Warning: overwriting stash ‘coverage-report’ 04:34:47 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 04:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:47 04:34:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:48 arm64: Pulling from edgex-lftools-log-publisher 04:34:48 8998bd30e6a1: Pulling fs layer 04:34:48 04944245beec: Pulling fs layer 04:34:48 699f458cf7ca: Pulling fs layer 04:34:48 765212b225bb: Pulling fs layer 04:34:48 f23df028b6ca: Pulling fs layer 04:34:48 d65c8cfc05b1: Pulling fs layer 04:34:48 2437ff75d9bd: Pulling fs layer 04:34:48 f23df028b6ca: Waiting 04:34:48 d65c8cfc05b1: Waiting 04:34:48 2437ff75d9bd: Waiting 04:34:48 765212b225bb: Waiting 04:34:48 04944245beec: Verifying Checksum 04:34:48 04944245beec: Download complete 04:34:48 765212b225bb: Verifying Checksum 04:34:48 765212b225bb: Download complete 04:34:48 f23df028b6ca: Verifying Checksum 04:34:48 f23df028b6ca: Download complete 04:34:48 d65c8cfc05b1: Verifying Checksum 04:34:48 d65c8cfc05b1: Download complete 04:34:48 699f458cf7ca: Download complete 04:34:49 8998bd30e6a1: Verifying Checksum 04:34:49 8998bd30e6a1: Download complete 04:34:51 2437ff75d9bd: Verifying Checksum 04:34:51 2437ff75d9bd: Download complete 04:34:53 8998bd30e6a1: Pull complete 04:34:53 04944245beec: Pull complete 04:34:55 699f458cf7ca: Pull complete 04:34:55 765212b225bb: Pull complete 04:34:55 f23df028b6ca: Pull complete 04:34:55 d65c8cfc05b1: Pull complete 04:35:10 2437ff75d9bd: Pull complete 04:35:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:35:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:11 prd-ubuntu20.04-docker-arm64-4c-16g-357 does not seem to be running inside a container 04:35:11 $ 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/117 -v /w/workspace/go-mod-core-contracts/117:/w/workspace/go-mod-core-contracts/117:rw,z -v /w/workspace/go-mod-core-contracts/117@tmp:/w/workspace/go-mod-core-contracts/117@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 04:35:13 $ docker top 9eb448f2f0cdec9b3b73cbc19ca10102e595620512fc1d92a0686e5be982513a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:14 ---> job-cost.sh 04:35:14 lf-activate-venv: SKIPPING 04:35:14 INFO: No Stack... 04:35:15 INFO: Retrieving Pricing Info for: v3-standard-4 04:35:15 INFO: Archiving Costs [Pipeline] sh 04:35:15 + + cutcat -d, /w/workspace/go-mod-core-contracts/117/archives/cost.csv -f6 04:35:15 [Pipeline] lock 04:35:16 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] 04:35:16 Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] did not exist. Created. 04:35:16 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:35:16 /w/workspace/go-mod-core-contracts/117@tmp/durable-4b40d1e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:35:17 + echo total: 0.10999999940395355 [Pipeline] stash 04:35:17 Warning: overwriting stash ‘stack-cost’ 04:35:17 Stashed 1 file(s) [Pipeline] } 04:35:17 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-117-stack-cost] [Pipeline] // lock [Pipeline] } 04:35:17 $ docker stop --time=1 9eb448f2f0cdec9b3b73cbc19ca10102e595620512fc1d92a0686e5be982513a 04:35:18 $ docker rm -f --volumes 9eb448f2f0cdec9b3b73cbc19ca10102e595620512fc1d92a0686e5be982513a [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 04:35:19 provisioning config files... 04:35:19 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config7658654360811760348tmp [Pipeline] { [Pipeline] sh 04:35:19 + set +x 04:35:19 + bash -s -- 04:35:19 + curl -s https://codecov.io/bash 04:35:19 04:35:19 _____ _ 04:35:19 / ____| | | 04:35:19 | | ___ __| | ___ ___ _____ __ 04:35:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:35:19 | |___| (_) | (_| | __/ (_| (_) \ V / 04:35:19 \_____\___/ \__,_|\___|\___\___/ \_/ 04:35:19 Bash-1.0.6 04:35:19 04:35:19 04:35:19 ==> git version 2.25.1 found 04:35:19 ==> 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 04:35:19 Release-Date: 2020-01-08 04:35:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:35:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:35:19 ==> Jenkins CI detected. 04:35:19 current dir:  /w/workspace/undry_go-mod-core-contracts_main 04:35:19 project root: . 04:35:19 --> token set from env 04:35:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:35:19 ==> Running gcov in . (disable via -X gcov) 04:35:19 ==> Python coveragepy not found 04:35:19 ==> Searching for coverage reports in: 04:35:19 + . 04:35:19 -> Found 1 reports 04:35:19 ==> Detecting git/mercurial file structure 04:35:19 ==> Reading reports 04:35:19 + ./coverage.out bytes=115997 04:35:19 ==> Appending adjustments 04:35:19 https://docs.codecov.io/docs/fixing-reports 04:35:20 + Found adjustments 04:35:20 ==> Gzipping contents 04:35:20 20K /tmp/codecov.JaV39j.gz 04:35:20 ==> Uploading reports 04:35:20 url: https://codecov.io 04:35:20 query: branch=main&commit=539bf813d355b9671b47ec6e58f7b7995e973d1b&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= 04:35:20 -> Pinging Codecov 04:35:20 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=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= 04:35:20 -> Uploading to 04:35:20 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/71470A77251A30514AAF9C0BB2E5B6CE/539bf813d355b9671b47ec6e58f7b7995e973d1b/f6dae7af-e89d-476a-a25f-8f75fc90584d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T043520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36c7e9676f24b22fbc1b076f0cf286648b2454a4d3e147131baad1f1b67ccf9e 04:35:20 % Total % Received % Xferd Average Speed Time Time Time Current 04:35:20 Dload Upload Total Spent Left Speed 04:35:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17584 0 0 100 17584 0 70903 --:--:-- --:--:-- --:--:-- 70903 04:35:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/539bf813d355b9671b47ec6e58f7b7995e973d1b [Pipeline] } 04:35:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:35:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:35:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:35:21 04:35:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:35:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:35:21 df9b9388f04a: Pulling fs layer 04:35:21 52dc419b0ee2: Pulling fs layer 04:35:21 25bc292e5bac: Pulling fs layer 04:35:21 114826534d7a: Pulling fs layer 04:35:21 4657fd5d0bcf: Pulling fs layer 04:35:21 6ad1cebc031e: Pulling fs layer 04:35:21 8a3aa393b2d8: Pulling fs layer 04:35:21 4657fd5d0bcf: Waiting 04:35:21 6ad1cebc031e: Waiting 04:35:21 8a3aa393b2d8: Waiting 04:35:21 114826534d7a: Waiting 04:35:21 25bc292e5bac: Verifying Checksum 04:35:21 25bc292e5bac: Download complete 04:35:21 52dc419b0ee2: Verifying Checksum 04:35:21 52dc419b0ee2: Download complete 04:35:21 4657fd5d0bcf: Verifying Checksum 04:35:21 4657fd5d0bcf: Download complete 04:35:21 df9b9388f04a: Download complete 04:35:22 df9b9388f04a: Pull complete 04:35:22 6ad1cebc031e: Verifying Checksum 04:35:22 6ad1cebc031e: Download complete 04:35:22 52dc419b0ee2: Pull complete 04:35:22 25bc292e5bac: Pull complete 04:35:22 114826534d7a: Verifying Checksum 04:35:22 114826534d7a: Download complete 04:35:22 8a3aa393b2d8: Verifying Checksum 04:35:22 8a3aa393b2d8: Download complete 04:35:26 114826534d7a: Pull complete 04:35:26 4657fd5d0bcf: Pull complete 04:35:26 6ad1cebc031e: Pull complete 04:35:28 8a3aa393b2d8: Pull complete 04:35:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:35:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:28 prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container 04:35:28 $ 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 04:35:30 $ docker top 0b397b2f825550a41ee6749197d9f7d8511ba95516c5cfa35f19e82f8c68cc4a -eo pid,comm [Pipeline] { [Pipeline] echo 04:35:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/go-mod-core-contracts:main' [Pipeline] sh 04:35:30 + set -o pipefail 04:35:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/go-mod-core-contracts:main' 04:35:34 04:35:34 Monitoring /w/workspace/undry_go-mod-core-contracts_main... 04:35:34 04:35:34 Server returned unexpected error for the monitor request. Status code: 503 04:35:34 [Pipeline] } 04:35:34 $ docker stop --time=1 0b397b2f825550a41ee6749197d9f7d8511ba95516c5cfa35f19e82f8c68cc4a 04:35:35 $ docker rm -f --volumes 0b397b2f825550a41ee6749197d9f7d8511ba95516c5cfa35f19e82f8c68cc4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:35:35 [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 04:35:36 + [ -d /w/workspace/undry_go-mod-core-contracts_main/archives ] 04:35:36 + ls -al /w/workspace/undry_go-mod-core-contracts_main/archives 04:35:36 total 16 04:35:36 drwxr-xr-x 3 root root 4096 Mar 15 04:30 . 04:35:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 04:30 .. 04:35:36 drwxr-xr-x 2 root root 4096 Mar 15 04:30 cost 04:35:36 -rw-r--r-- 1 root root 93 Mar 15 04:30 cost.csv 04:35:36 + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-core-contracts_main/archives 04:35:36 + ls -al /w/workspace/undry_go-mod-core-contracts_main/archives 04:35:36 total 16 04:35:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 04:30 . 04:35:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 04:30 .. 04:35:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 04:30 cost 04:35:36 -rw-r--r-- 1 jenkins jenkins 93 Mar 15 04:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:35:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:35:37 ---> package-listing.sh 04:35:37 ++ facter osfamily 04:35:37 ++ tr '[:upper:]' '[:lower:]' 04:35:37 + OS_FAMILY=debian 04:35:37 + workspace=/w/workspace/undry_go-mod-core-contracts_main 04:35:37 + START_PACKAGES=/tmp/packages_start.txt 04:35:37 + END_PACKAGES=/tmp/packages_end.txt 04:35:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:35:37 + PACKAGES=/tmp/packages_start.txt 04:35:37 + '[' /w/workspace/undry_go-mod-core-contracts_main ']' 04:35:37 + PACKAGES=/tmp/packages_end.txt 04:35:37 + case "${OS_FAMILY}" in 04:35:37 + dpkg -l 04:35:37 + grep '^ii' 04:35:37 + '[' -f /tmp/packages_start.txt ']' 04:35:37 + '[' -f /tmp/packages_end.txt ']' 04:35:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:35:37 + '[' /w/workspace/undry_go-mod-core-contracts_main ']' 04:35:37 + mkdir -p /w/workspace/undry_go-mod-core-contracts_main/archives/ 04:35:37 + 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 04:35:37 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 04:35:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:38 prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container 04:35:38 $ 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 04:35:39 $ docker top fde957d7c0a753b38d0d1a235b51d6187cc0971668e06bc2addff916572cf3de -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:39 + touch /tmp/pre-build-complete [Pipeline] sh 04:35:39 + mkdir -p /var/log/sysstat [Pipeline] sh 04:35:39 + ls /var/log/sa-host 04:35:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:40 provisioning config files... 04:35:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config12456225180622268456tmp [Pipeline] { [Pipeline] echo 04:35:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:35:40 ---> create-netrc.sh [Pipeline] } 04:35:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:35:40 ---> python-tools-install.sh [Pipeline] echo 04:35:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:35:41 ---> sudo-logs.sh 04:35:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:35:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:35:41 ---> job-cost.sh 04:35:41 lf-activate-venv: SKIPPING 04:35:41 DEBUG: total: 0.2199999988079071 04:35:41 INFO: Retrieving Stack Cost... 04:35:41 INFO: Retrieving Pricing Info for: v3-standard-8 04:35:42 INFO: Archiving Costs [Pipeline] echo 04:35:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:35:42 ---> logs-deploy.sh 04:35:42 lf-activate-venv: SKIPPING 04:35:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/main/117 04:35:42 INFO: archiving workspace using pattern(s): 04:35:43 Archives upload complete. 04:35:43 INFO: archiving logs to Nexus