Pull request #165 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/sample-service Obtained Jenkinsfile from 74a44a77c45935740b058dc8fe1671fac30bc453+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (429544911caa19fceadcdb7e1c16fb4182a3d679) 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-ssh18242158245341220854.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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-ssh8623809505201136443.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 5f16b0674693bda8419e7356c8caa12f8ebbbe1e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/sample-service/branches/PR-165/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/sample-service/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4963231491731872094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f16b0674693bda8419e7356c8caa12f8ebbbe1e # timeout=10 Commit message: "Merge pull request #468 from cherrycl/issue-467" > 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-ssh1792067851933169811.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/sample-service/branches/PR-165/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/sample-service/branches/PR-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8217168955732024145.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:sample-service, testScript:make test GOTESTFLAGS="-json -v"] ========================================================= [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: sample-service-settings PROJECT: sample-service USE_SEMVER: true TEST_SCRIPT: make test GOTESTFLAGS="-json -v" BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: sample-service DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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: true 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-41541 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/sample-service.git > git init /w/workspace/gexfoundry_sample-service_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.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/sample-service.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit 74a44a77c45935740b058dc8fe1671fac30bc453 Merge succeeded, producing 74a44a77c45935740b058dc8fe1671fac30bc453 Checking out Revision 74a44a77c45935740b058dc8fe1671fac30bc453 (PR-165) > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74a44a77c45935740b058dc8fe1671fac30bc453 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74a44a77c45935740b058dc8fe1671fac30bc453 # timeout=10 Commit message: "ci: test multi-arch pipeline" First time build. Skipping changelog. > git rev-list --no-walk 4aa737a14a284f072935135810e0043ab987e514 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:00:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:00:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:00:06 ========================================================= 05:00:06 EdgeX Global Pipelines Version Info 05:00:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:00:07 ------------------- 05:00:07 stable info: 05:00:07 ------------------- 05:00:07 Commited By: Cherry Wang cherry@iotechsys.com 05:00:07 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 05:00:07 Message: update stable to v1.0.272 05:00:08 ------------------- 05:00:08 experimental info: 05:00:08 ------------------- 05:00:08 Commited By: Ginny Guan ginny@iotechsys.com 05:00:08 Commit SHA: eb3fe6bd949dd298f7151c5407524e07ad616bbd 05:00:08 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74a44a7 [Pipeline] echo 05:00:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:09 provisioning config files... 05:00:09 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config4183284662853585920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:10 ---> ****-login.sh 05:00:10 nexus3.edgexfoundry.org:10001 05:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:10 Configure a credential helper to remove this warning. See 05:00:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:10 05:00:10 Login Succeeded 05:00:10 nexus3.edgexfoundry.org:10002 05:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:11 Configure a credential helper to remove this warning. See 05:00:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:11 05:00:11 Login Succeeded 05:00:11 nexus3.edgexfoundry.org:10003 05:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:11 Configure a credential helper to remove this warning. See 05:00:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:11 05:00:11 Login Succeeded 05:00:11 nexus3.edgexfoundry.org:10004 05:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:11 Configure a credential helper to remove this warning. See 05:00:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:11 05:00:11 Login Succeeded 05:00:11 ****.io 05:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:11 Configure a credential helper to remove this warning. See 05:00:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:11 05:00:11 Login Succeeded 05:00:11 ---> ****-login.sh ends [Pipeline] } 05:00:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:00:12 + git rev-list -1 --merges 74a44a77c45935740b058dc8fe1671fac30bc453~1..74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:00:12 -----------> git rev-list -1 --merges 74a44a77c45935740b058dc8fe1671fac30bc453~1..74a44a77c45935740b058dc8fe1671fac30bc453 74a44a77c45935740b058dc8fe1671fac30bc453 [false] [Pipeline] sh 05:00:12 + git log --format=format:%s -1 74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:00:12 ========================================================= 05:00:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:00:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:12 + git log --format=format:%s -1 74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:00:12 [semverPrep] GIT_COMMIT: 74a44a77c45935740b058dc8fe1671fac30bc453, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 05:00:12 [semverPrep] This is not a build commit. [Pipeline] sh 05:00:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:13 + grep -v github /etc/ssh/ssh_known_hosts 05:00:13 + [ -e /tmp/ssh_known_hosts ] 05:00:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:00:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:00:13 + sudo tee -a /etc/ssh/ssh_known_hosts 05:00:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:13 05:00:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:13 0.1.4: Pulling from edgex-devops/py-git-semver 05:00:13 b85a868b505f: Pulling fs layer 05:00:13 e2be974225ed: Pulling fs layer 05:00:13 339a4e72a1f5: Pulling fs layer 05:00:13 988bab9f4d93: Pulling fs layer 05:00:13 1469e6f7b9e6: Pulling fs layer 05:00:13 eaf3925da568: Pulling fs layer 05:00:13 bab4dde63d76: Pulling fs layer 05:00:13 bde34c3a00c8: Pulling fs layer 05:00:13 b352a97aabf1: Pulling fs layer 05:00:13 4872d77fe225: Pulling fs layer 05:00:13 5851b861e8e6: Pulling fs layer 05:00:13 988bab9f4d93: Waiting 05:00:13 1469e6f7b9e6: Waiting 05:00:13 eaf3925da568: Waiting 05:00:13 bab4dde63d76: Waiting 05:00:13 bde34c3a00c8: Waiting 05:00:13 b352a97aabf1: Waiting 05:00:13 4872d77fe225: Waiting 05:00:13 5851b861e8e6: Waiting 05:00:13 e2be974225ed: Verifying Checksum 05:00:13 e2be974225ed: Download complete 05:00:13 988bab9f4d93: Verifying Checksum 05:00:13 988bab9f4d93: Download complete 05:00:14 1469e6f7b9e6: Verifying Checksum 05:00:14 1469e6f7b9e6: Download complete 05:00:14 339a4e72a1f5: Verifying Checksum 05:00:14 339a4e72a1f5: Download complete 05:00:14 eaf3925da568: Verifying Checksum 05:00:14 eaf3925da568: Download complete 05:00:14 bde34c3a00c8: Download complete 05:00:14 b352a97aabf1: Verifying Checksum 05:00:14 b352a97aabf1: Download complete 05:00:14 4872d77fe225: Download complete 05:00:14 5851b861e8e6: Download complete 05:00:14 b85a868b505f: Verifying Checksum 05:00:14 b85a868b505f: Download complete 05:00:14 bab4dde63d76: Verifying Checksum 05:00:14 bab4dde63d76: Download complete 05:00:15 b85a868b505f: Pull complete 05:00:15 e2be974225ed: Pull complete 05:00:15 339a4e72a1f5: Pull complete 05:00:15 988bab9f4d93: Pull complete 05:00:16 1469e6f7b9e6: Pull complete 05:00:16 eaf3925da568: Pull complete 05:00:18 bab4dde63d76: Pull complete 05:00:18 bde34c3a00c8: Pull complete 05:00:18 b352a97aabf1: Pull complete 05:00:18 4872d77fe225: Pull complete 05:00:18 5851b861e8e6: Pull complete 05:00:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:18 prd-ubuntu20.04-docker-8c-8g-41541 does not seem to be running inside a container 05:00:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:22 $ docker top 45b9b708a1219d54d91377adc7afd1db47ba18b8914499bd68b06f2b4855cca3 -eo pid,comm 05:00:22 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:00:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:22 [ssh-agent] Looking for ssh-agent implementation... 05:00:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:22 $ docker exec 45b9b708a1219d54d91377adc7afd1db47ba18b8914499bd68b06f2b4855cca3 ssh-agent 05:00:22 SSH_AUTH_SOCK=/tmp/ssh-GI03nAanEwej/agent.13 05:00:22 SSH_AGENT_PID=19 05:00:22 Running ssh-add (command line suppressed) 05:00:22 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_3572483627345965366.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_3572483627345965366.key) 05:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:23 + git tag --points-at HEAD [Pipeline] } 05:00:23 $ docker exec --env ******** --env ******** 45b9b708a1219d54d91377adc7afd1db47ba18b8914499bd68b06f2b4855cca3 ssh-agent -k 05:00:23 unset SSH_AUTH_SOCK; 05:00:23 unset SSH_AGENT_PID; 05:00:23 echo Agent pid 19 killed; 05:00:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:00:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:23 [ssh-agent] Looking for ssh-agent implementation... 05:00:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:23 $ docker exec 45b9b708a1219d54d91377adc7afd1db47ba18b8914499bd68b06f2b4855cca3 ssh-agent 05:00:23 SSH_AUTH_SOCK=/tmp/ssh-MqVeTDt22jDN/agent.71 05:00:23 SSH_AGENT_PID=77 05:00:23 Running ssh-add (command line suppressed) 05:00:23 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9569991956498281887.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9569991956498281887.key) 05:00:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:24 + git semver init 05:00:24 2025-03-18 05:00:24,232 [run_init] DEBUG init version:0.0.0 force:False 05:00:24 2025-03-18 05:00:24,233 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 05:00:24 2025-03-18 05:00:24,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 05:00:24 2025-03-18 05:00:24,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/sample-service.git', '/w/workspace/gexfoundry_sample-service_PR-165/.semver'], cwd=/w/workspace/gexfoundry_sample-service_PR-165, universal_newlines=False, shell=None, istream=None) 05:00:25 2025-03-18 05:00:24,881 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 05:00:25 2025-03-18 05:00:24,881 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 05:00:25 2025-03-18 05:00:24,881 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 05:00:25 2025-03-18 05:00:24,885 [execute] INFO git cat-file --batch-check 05:00:25 2025-03-18 05:00:24,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:00:25 2025-03-18 05:00:24,892 [execute] INFO git cat-file --batch 05:00:25 2025-03-18 05:00:24,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:00:25 2025-03-18 05:00:24,897 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 05:00:25 0.0.0 [Pipeline] } 05:00:25 $ docker exec --env ******** --env ******** 45b9b708a1219d54d91377adc7afd1db47ba18b8914499bd68b06f2b4855cca3 ssh-agent -k 05:00:25 unset SSH_AUTH_SOCK; 05:00:25 unset SSH_AGENT_PID; 05:00:25 echo Agent pid 77 killed; 05:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:25 + git semver [Pipeline] } 05:00:25 $ docker stop --time=1 45b9b708a1219d54d91377adc7afd1db47ba18b8914499bd68b06f2b4855cca3 05:00:27 $ docker rm -f --volumes 45b9b708a1219d54d91377adc7afd1db47ba18b8914499bd68b06f2b4855cca3 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:00:27 Stashed 1 file(s) [Pipeline] echo 05:00:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:28 provisioning config files... [Pipeline] // stage [Pipeline] } 05:00:28 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11322520520570376747tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:00:28 ---> ****-login.sh 05:00:28 nexus3.edgexfoundry.org:10001 05:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:28 Configure a credential helper to remove this warning. See 05:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:28 05:00:28 Login Succeeded 05:00:28 nexus3.edgexfoundry.org:10002 05:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:28 Configure a credential helper to remove this warning. See 05:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:28 05:00:28 Login Succeeded 05:00:28 nexus3.edgexfoundry.org:10003 05:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:28 Configure a credential helper to remove this warning. See 05:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:28 05:00:28 Login Succeeded 05:00:28 nexus3.edgexfoundry.org:10004 05:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:28 Configure a credential helper to remove this warning. See 05:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:28 05:00:28 Login Succeeded 05:00:28 ****.io 05:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:00:29 Configure a credential helper to remove this warning. See 05:00:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:00:29 05:00:29 Login Succeeded 05:00:29 ---> ****-login.sh ends [Pipeline] } 05:00:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:00:29 ========================================================= 05:00:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:00:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:00:29 Sending build context to Docker daemon 2.788MB 05:00:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:00:29 Step 2/12 : FROM ${BASE} AS builder 05:00:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:00:29 da9db072f522: Pulling fs layer 05:00:29 6ef4a4ee8ca5: Pulling fs layer 05:00:29 06f05ace1117: Pulling fs layer 05:00:29 5fe327b54edc: Pulling fs layer 05:00:29 4f4fb700ef54: Pulling fs layer 05:00:29 92a5565b7b96: Pulling fs layer 05:00:29 ff9bb7016b71: Pulling fs layer 05:00:29 b67dba6c2c7d: Pulling fs layer 05:00:29 a813b0c90790: Pulling fs layer 05:00:29 92a5565b7b96: Waiting 05:00:29 ff9bb7016b71: Waiting 05:00:29 a813b0c90790: Waiting 05:00:29 5fe327b54edc: Waiting 05:00:29 6ef4a4ee8ca5: Verifying Checksum 05:00:29 6ef4a4ee8ca5: Download complete 05:00:29 5fe327b54edc: Verifying Checksum 05:00:29 4f4fb700ef54: Verifying Checksum 05:00:29 4f4fb700ef54: Download complete 05:00:29 92a5565b7b96: Verifying Checksum 05:00:29 92a5565b7b96: Download complete 05:00:29 da9db072f522: Download complete 05:00:29 ff9bb7016b71: Verifying Checksum 05:00:29 ff9bb7016b71: Download complete 05:00:30 da9db072f522: Pull complete 05:00:30 a813b0c90790: Verifying Checksum 05:00:30 06f05ace1117: Verifying Checksum 05:00:30 06f05ace1117: Download complete 05:00:30 6ef4a4ee8ca5: Pull complete 05:00:31 b67dba6c2c7d: Verifying Checksum 05:00:31 b67dba6c2c7d: Download complete 05:00:34 06f05ace1117: Pull complete 05:00:34 5fe327b54edc: Pull complete 05:00:34 4f4fb700ef54: Pull complete 05:00:34 92a5565b7b96: Pull complete 05:00:34 ff9bb7016b71: Pull complete 05:00:36 b67dba6c2c7d: Pull complete 05:00:37 a813b0c90790: Pull complete 05:00:37 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:00:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:00:37 ---> 3ba60ce46760 05:00:37 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:00:41 ---> Running in dd1f16ea0382 05:00:41 Removing intermediate container dd1f16ea0382 05:00:41 ---> 6dc2a1dfff3e 05:00:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:00:41 ---> Running in 0d4c15e741a9 05:00:41 Removing intermediate container 0d4c15e741a9 05:00:41 ---> 88a894a640f9 05:00:41 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:00:41 ---> Running in 6870c57aec2d 05:00:41 Removing intermediate container 6870c57aec2d 05:00:41 ---> 9620654cc22f 05:00:41 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:00:41 ---> Running in f98360786b49 05:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:00:42 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:00:42 (2/4) Installing libedit (20240517.3.1-r0) 05:00:42 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:00:42 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:00:42 Executing busybox-1.36.1-r29.trigger 05:00:42 OK: 252 MiB in 62 packages 05:00:42 Removing intermediate container f98360786b49 05:00:42 ---> 7c24f664b252 05:00:42 Step 7/12 : WORKDIR /sample-service 05:00:42 ---> Running in 70c61f0f86bb 05:00:43 Removing intermediate container 70c61f0f86bb 05:00:43 ---> e4cda782a871 05:00:43 Step 8/12 : COPY go.mod vendor* ./ 05:00:43 ---> 062d78d4c359 05:00:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:43 ---> Running in bc95c62022ac 05:00:53 Removing intermediate container bc95c62022ac 05:00:53 ---> c05765c86185 05:00:53 Step 10/12 : COPY . . 05:00:53 ---> 109fd6f83f0d 05:00:53 Step 11/12 : ARG MAKE='make build' 05:00:53 ---> Running in e060176c5ddd 05:00:53 Removing intermediate container e060176c5ddd 05:00:53 ---> 5f74ca8643e3 05:00:53 Step 12/12 : RUN $MAKE 05:00:53 ---> Running in aa1945c38d58 05:00:53 noop 05:00:54 Removing intermediate container aa1945c38d58 05:00:54 ---> 976a9a65b57e 05:00:54 Successfully built 976a9a65b57e 05:00:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:54 + docker inspect -f . ci-base-image-x86_64 05:00:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:54 prd-ubuntu20.04-docker-8c-8g-41541 does not seem to be running inside a container 05:00:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:00:55 $ docker top 528c51cb36809e5d91550a1fd912f8236ddd4ab0f057fbf2bc34b6c3b69752a2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:55 + go version 05:00:55 go version go1.23.4 linux/amd64 [Pipeline] } 05:00:55 $ docker stop --time=1 528c51cb36809e5d91550a1fd912f8236ddd4ab0f057fbf2bc34b6c3b69752a2 05:00:56 $ docker rm -f --volumes 528c51cb36809e5d91550a1fd912f8236ddd4ab0f057fbf2bc34b6c3b69752a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:57 + docker inspect -f . ci-base-image-x86_64 05:00:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:57 prd-ubuntu20.04-docker-8c-8g-41541 does not seem to be running inside a container 05:00:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:00:57 $ docker top e82bb5fbe75f25f2c527e087b5cd7414bd51e15c1a03b50499a1349b85bbd5b1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:58 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 05:00:58 + make test 'GOTESTFLAGS=-json -v' 05:00:58 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 05:00:59 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 05:01:07 📦 github.com/edgexfoundry/sample-service 05:01:07 🛑 no test files 05:01:07 05:01:07 📦 github.com/edgexfoundry/sample-service/cmd 05:01:07 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 05:01:07 05:01:07 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 05:01:07 level=ERROR ts=2025-03-18T05:01:06.815391424Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 05:01:07 ✅ TestHandleReadCommands (0s) 05:01:07 ✅ TestHandleWriteCommands (0s) 05:01:07 ✅ TestValue_Int16 (0s) 05:01:07 ✅ TestValue_Int32 (0s) 05:01:07 ✅ TestValue_Int64 (0s) 05:01:07 ✅ TestValue_Int8 (0s) 05:01:07 05:01:07 CGO_ENABLED=1 go vet ./... 05:01:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:01:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:01:09 ./bin/test-attribution-txt.sh 05:01:09 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 05:01:09 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 05:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:01:09 $ docker stop --time=1 e82bb5fbe75f25f2c527e087b5cd7414bd51e15c1a03b50499a1349b85bbd5b1 05:01:11 $ docker rm -f --volumes e82bb5fbe75f25f2c527e087b5cd7414bd51e15c1a03b50499a1349b85bbd5b1 [Pipeline] // withDockerContainer [Pipeline] sh 05:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:01:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:01:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:01:12 + ls -al . 05:01:12 total 160 05:01:12 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 05:00 . 05:01:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 05:00 .. 05:01:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 05:00 .git 05:01:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 05:00 .github 05:01:12 -rw-rw-r-- 1 jenkins jenkins 46 Mar 18 05:00 .gitignore 05:01:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 05:00 .semver 05:01:12 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 18 05:00 Attribution.txt 05:01:12 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 18 05:00 CHANGELOG.md 05:01:12 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 18 05:00 Dockerfile 05:01:12 -rw-rw-r-- 1 jenkins jenkins 808 Mar 18 05:00 Jenkinsfile 05:01:12 -rw-rw-r-- 1 jenkins jenkins 729 Mar 18 05:00 Jenkinsfile-sandbox 05:01:12 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 18 05:00 Jenkinsfile.edgexSemver 05:01:12 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 05:00 LICENSE 05:01:12 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 18 05:00 Makefile 05:01:12 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 18 05:00 README.md 05:01:12 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 05:00 VERSION 05:01:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 05:00 api 05:01:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 05:00 bin 05:01:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 05:00 cmd 05:01:12 -rw-r--r-- 1 jenkins jenkins 5399 Mar 18 05:01 coverage.out 05:01:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 05:00 driver 05:01:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 05:00 example 05:01:12 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 18 05:00 go.mod 05:01:12 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 18 05:00 go.sum 05:01:12 -rw-rw-r-- 1 jenkins jenkins 225 Mar 18 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:13 + docker build -t sample-service -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=74a44a77c45935740b058dc8fe1671fac30bc453 --label arch=amd64 --label version=0.0.0 . 05:01:13 Sending build context to Docker daemon 2.794MB 05:01:13 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:01:13 Step 2/23 : FROM ${BASE} AS builder 05:01:13 ---> 976a9a65b57e 05:01:13 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:01:13 ---> Running in 4db48a32a3e9 05:01:13 Removing intermediate container 4db48a32a3e9 05:01:13 ---> 25ad605497f2 05:01:13 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 05:01:13 ---> Running in f50a61d54161 05:01:13 Removing intermediate container f50a61d54161 05:01:13 ---> bfb79cd6eb74 05:01:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:01:13 ---> Running in deda1a900298 05:01:13 Removing intermediate container deda1a900298 05:01:13 ---> c5e8035ae4aa 05:01:13 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:01:13 ---> Running in b88b0786b388 05:01:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:01:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:01:14 OK: 252 MiB in 62 packages 05:01:14 Removing intermediate container b88b0786b388 05:01:14 ---> e1d88ea89ab4 05:01:14 Step 7/23 : WORKDIR /sample-service 05:01:14 ---> Running in 5dd6ae495724 05:01:14 Removing intermediate container 5dd6ae495724 05:01:14 ---> 8e44d2f30ef2 05:01:14 Step 8/23 : COPY go.mod vendor* ./ 05:01:14 ---> 2a8aaa94c49a 05:01:14 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:01:14 ---> Running in fd6e5dae584f 05:01:15 Removing intermediate container fd6e5dae584f 05:01:15 ---> 0d2fdaa646ac 05:01:15 Step 10/23 : COPY . . 05:01:15 ---> cd4b8bd68469 05:01:15 Step 11/23 : ARG MAKE='make build' 05:01:15 ---> Running in 544a926f6f74 05:01:15 Removing intermediate container 544a926f6f74 05:01:15 ---> 2c9c1da2bda1 05:01:15 Step 12/23 : RUN $MAKE 05:01:15 ---> Running in ab151190122d 05:01:16 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 05:01:26 Removing intermediate container ab151190122d 05:01:26 ---> 8e598dbcbd2d 05:01:26 Step 13/23 : FROM alpine:3.18 05:01:26 3.18: Pulling from library/alpine 05:01:26 44cf07d57ee4: Pulling fs layer 05:01:26 44cf07d57ee4: Verifying Checksum 05:01:26 44cf07d57ee4: Download complete 05:01:26 44cf07d57ee4: Pull complete 05:01:26 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 05:01:26 Status: Downloaded newer image for alpine:3.18 05:01:26 ---> 802c91d52981 05:01:26 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:01:27 ---> Running in 046fa204d7cd 05:01:27 Removing intermediate container 046fa204d7cd 05:01:27 ---> 1f2c834701c0 05:01:27 Step 15/23 : ENV APP_PORT=49999 05:01:27 ---> Running in 4d1bb07bc226 05:01:27 Removing intermediate container 4d1bb07bc226 05:01:27 ---> 22370a41dae0 05:01:27 Step 16/23 : EXPOSE $APP_PORT 05:01:27 ---> Running in 0a7cefb5a2d8 05:01:27 Removing intermediate container 0a7cefb5a2d8 05:01:27 ---> 269bd60c0d4c 05:01:27 Step 17/23 : COPY --from=builder /sample-service/cmd / 05:01:27 ---> 36138e77dd8c 05:01:27 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 05:01:27 ---> 0e9155cc5582 05:01:27 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 05:01:28 ---> 7b4f0f36685b 05:01:28 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:01:28 ---> Running in c232d845ad92 05:01:28 Removing intermediate container c232d845ad92 05:01:28 ---> f337eb5fb030 05:01:28 Step 21/23 : LABEL arch=amd64 05:01:28 ---> Running in a9e9dfaba4a6 05:01:28 Removing intermediate container a9e9dfaba4a6 05:01:28 ---> 4b48fddf9f7c 05:01:28 Step 22/23 : LABEL git_sha=74a44a77c45935740b058dc8fe1671fac30bc453 05:01:28 ---> Running in f6a777575bd4 05:01:28 Removing intermediate container f6a777575bd4 05:01:28 ---> 00fead0a507d 05:01:28 Step 23/23 : LABEL version=0.0.0 05:01:28 ---> Running in 3ef016efe623 05:01:28 Removing intermediate container 3ef016efe623 05:01:28 ---> 367dc59cc46a 05:01:28 [Warning] One or more build-args [ARCH] were not consumed 05:01:28 Successfully built 367dc59cc46a 05:01:28 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:28 05:01:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:29 latest: Pulling from edgex-lftools-log-publisher 05:01:29 5eb5b503b376: Pulling fs layer 05:01:29 5c69ac0246d0: Pulling fs layer 05:01:29 ec43610c2a17: Pulling fs layer 05:01:29 3a2ae6a8a46f: Pulling fs layer 05:01:29 33b1e0a273af: Pulling fs layer 05:01:29 5d3b04190fa2: Pulling fs layer 05:01:29 2f39f015ded8: Pulling fs layer 05:01:29 3a2ae6a8a46f: Waiting 05:01:29 33b1e0a273af: Waiting 05:01:29 2f39f015ded8: Waiting 05:01:29 5d3b04190fa2: Waiting 05:01:29 5c69ac0246d0: Download complete 05:01:29 3a2ae6a8a46f: Verifying Checksum 05:01:29 3a2ae6a8a46f: Download complete 05:01:29 33b1e0a273af: Verifying Checksum 05:01:29 33b1e0a273af: Download complete 05:01:29 5d3b04190fa2: Verifying Checksum 05:01:29 5d3b04190fa2: Download complete 05:01:29 ec43610c2a17: Verifying Checksum 05:01:29 ec43610c2a17: Download complete 05:01:29 5eb5b503b376: Verifying Checksum 05:01:29 5eb5b503b376: Download complete 05:01:29 2f39f015ded8: Download complete 05:01:30 5eb5b503b376: Pull complete 05:01:30 5c69ac0246d0: Pull complete 05:01:31 ec43610c2a17: Pull complete 05:01:31 3a2ae6a8a46f: Pull complete 05:01:31 33b1e0a273af: Pull complete 05:01:31 5d3b04190fa2: Pull complete 05:01:35 2f39f015ded8: Pull complete 05:01:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:35 prd-ubuntu20.04-docker-8c-8g-41541 does not seem to be running inside a container 05:01:35 $ 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/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:01:39 $ docker top 1f8187e3742344f0fe260f6856d7fc1f9c86ba50e3059240c4665a1b27c8f280 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:40 ---> job-cost.sh 05:01:40 lf-activate-venv: SKIPPING 05:01:40 INFO: No Stack... 05:01:40 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:40 INFO: Archiving Costs [Pipeline] sh 05:01:40 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 05:01:40 + cut -d, -f6 [Pipeline] lock 05:01:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-5-stack-cost] 05:01:40 Resource [jenkins-edgexfoundry-sample-service-PR-165-5-stack-cost] did not exist. Created. 05:01:40 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:41 + echo total: 0.2199999988079071 [Pipeline] stash 05:01:41 Stashed 1 file(s) [Pipeline] } 05:01:41 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-5-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:41 $ docker stop --time=1 1f8187e3742344f0fe260f6856d7fc1f9c86ba50e3059240c4665a1b27c8f280 05:01:42 $ docker rm -f --volumes 1f8187e3742344f0fe260f6856d7fc1f9c86ba50e3059240c4665a1b27c8f280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:01:42 provisioning config files... 05:01:42 copy managed file [sample-service-codecov-token] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11371420249921746462tmp [Pipeline] { [Pipeline] sh 05:01:43 + set +x 05:01:43 + curl -s https://codecov.io/bash 05:01:43 + bash -s -- 05:01:43 05:01:43 _____ _ 05:01:43 / ____| | | 05:01:43 | | ___ __| | ___ ___ _____ __ 05:01:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:01:43 | |___| (_) | (_| | __/ (_| (_) \ V / 05:01:43 \_____\___/ \__,_|\___|\___\___/ \_/ 05:01:43 Bash-1.0.6 05:01:43 05:01:43 05:01:43 ==> git version 2.25.1 found 05:01:43 ==> 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:01:43 Release-Date: 2020-01-08 05:01:43 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:01:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:01:43 ==> Jenkins CI detected. 05:01:43 current dir:  /w/workspace/gexfoundry_sample-service_PR-165 05:01:43 project root: . 05:01:43 --> token set from env 05:01:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:01:43 ==> Running gcov in . (disable via -X gcov) 05:01:43 ==> Python coveragepy not found 05:01:43 ==> Searching for coverage reports in: 05:01:43 + . 05:01:43 -> Found 1 reports 05:01:43 ==> Detecting git/mercurial file structure 05:01:43 ==> Reading reports 05:01:43 + ./coverage.out bytes=5399 05:01:43 ==> Appending adjustments 05:01:43 https://docs.codecov.io/docs/fixing-reports 05:01:43 + Found adjustments 05:01:43 ==> Gzipping contents 05:01:43 4.0K /tmp/codecov.CbLpnV.gz 05:01:43 ==> Uploading reports 05:01:43 url: https://codecov.io 05:01:43 query: branch=PR-165&commit=74a44a77c45935740b058dc8fe1671fac30bc453&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F5%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 05:01:43 -> Pinging Codecov 05:01:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-165&commit=74a44a77c45935740b058dc8fe1671fac30bc453&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F5%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 05:01:43 -> Uploading to 05:01:43 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/sample-service/74a44a77c45935740b058dc8fe1671fac30bc453/2a939a3a-e712-47d4-8ea8-3d7bda516718.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250318%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250318T050143Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=cf7a5981840b1da81b57129349343e8d272bb65f1dcad92d6c6e0310e5472827 05:01:43 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:43 Dload Upload Total Spent Left Speed 05:01:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1053 0 0 100 1053 0 5982 --:--:-- --:--:-- --:--:-- 5982 05:01:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/sample-service/commit/74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] } 05:01:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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:01:44 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 05:01:44 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 05:01:44 total 16 05:01:44 drwxr-xr-x 3 root root 4096 Mar 18 05:01 . 05:01:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 05:01 .. 05:01:44 drwxr-xr-x 2 root root 4096 Mar 18 05:01 cost 05:01:44 -rw-r--r-- 1 root root 86 Mar 18 05:01 cost.csv 05:01:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 05:01:44 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 05:01:44 total 16 05:01:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 05:01 . 05:01:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 05:01 .. 05:01:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 05:01 cost 05:01:44 -rw-r--r-- 1 jenkins jenkins 86 Mar 18 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:01:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:01:45 ---> package-listing.sh 05:01:45 ++ facter osfamily 05:01:45 ++ tr '[:upper:]' '[:lower:]' 05:01:46 + OS_FAMILY=debian 05:01:46 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 05:01:46 + START_PACKAGES=/tmp/packages_start.txt 05:01:46 + END_PACKAGES=/tmp/packages_end.txt 05:01:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:01:46 + PACKAGES=/tmp/packages_start.txt 05:01:46 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:01:46 + PACKAGES=/tmp/packages_end.txt 05:01:46 + case "${OS_FAMILY}" in 05:01:46 + dpkg -l 05:01:46 + grep '^ii' 05:01:46 + '[' -f /tmp/packages_start.txt ']' 05:01:46 + '[' -f /tmp/packages_end.txt ']' 05:01:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:01:46 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:01:46 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 05:01:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 05:01:46 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/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:01:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:47 prd-ubuntu20.04-docker-8c-8g-41541 does not seem to be running inside a container 05:01:47 $ 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/gexfoundry_sample-service_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:01:47 $ docker top 2c8e2dcacce225d8962c864b3f4e2ca8daf612d835238f26895d312bf38cb610 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:47 + touch /tmp/pre-build-complete [Pipeline] sh 05:01:47 + mkdir -p /var/log/sysstat [Pipeline] sh 05:01:48 + ls /var/log/sa-host 05:01:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:48 provisioning config files... 05:01:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config2529669948771498949tmp [Pipeline] { [Pipeline] echo 05:01:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:01:48 ---> create-netrc.sh [Pipeline] } 05:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:01:49 ---> python-tools-install.sh [Pipeline] echo 05:01:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:01:49 ---> sudo-logs.sh 05:01:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:01:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:01:49 ---> job-cost.sh 05:01:49 lf-activate-venv: SKIPPING 05:01:49 DEBUG: total: 0.2199999988079071 05:01:49 INFO: Retrieving Stack Cost... 05:01:49 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:49 INFO: Archiving Costs [Pipeline] echo 05:01:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:01:50 ---> logs-deploy.sh 05:01:50 lf-activate-venv: SKIPPING 05:01:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/5 05:01:50 INFO: archiving workspace using pattern(s): 05:01:51 Archives upload complete. 05:01:51 INFO: archiving logs to Nexus