Started by user Jin Lin Guan 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-ssh16690984891149210591.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-ssh4926798072857883167.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-ssh7223241753669614565.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-ssh8925305589601278622.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-ssh15382404909709380725.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-41544 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 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # 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 --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" > git rev-list --no-walk 74a44a77c45935740b058dc8fe1671fac30bc453 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:43:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:43:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:43:54 ========================================================= 05:43:54 EdgeX Global Pipelines Version Info 05:43:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:43:55 ------------------- 05:43:55 stable info: 05:43:55 ------------------- 05:43:55 Commited By: Cherry Wang cherry@iotechsys.com 05:43:55 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 05:43:55 Message: update stable to v1.0.272 05:43:55 ------------------- 05:43:55 experimental info: 05:43:55 ------------------- 05:43:55 Commited By: Ginny Guan ginny@iotechsys.com 05:43:55 Commit SHA: f6db5fc2479be019f42e69019374e584c3d84f0b 05:43:55 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:43:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74a44a7 [Pipeline] echo 05:43:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:56 provisioning config files... 05:43:56 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config10008938159512965015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:56 ---> ****-login.sh 05:43:56 nexus3.edgexfoundry.org:10001 05:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:57 Configure a credential helper to remove this warning. See 05:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:57 05:43:57 Login Succeeded 05:43:57 nexus3.edgexfoundry.org:10002 05:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:57 Configure a credential helper to remove this warning. See 05:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:57 05:43:57 Login Succeeded 05:43:57 nexus3.edgexfoundry.org:10003 05:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:57 Configure a credential helper to remove this warning. See 05:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:57 05:43:57 Login Succeeded 05:43:57 nexus3.edgexfoundry.org:10004 05:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:57 Configure a credential helper to remove this warning. See 05:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:57 05:43:57 Login Succeeded 05:43:57 ****.io 05:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:57 Configure a credential helper to remove this warning. See 05:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:57 05:43:57 Login Succeeded 05:43:57 ---> ****-login.sh ends [Pipeline] } 05:43:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:43:58 + git rev-list -1 --merges 74a44a77c45935740b058dc8fe1671fac30bc453~1..74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:43:58 -----------> git rev-list -1 --merges 74a44a77c45935740b058dc8fe1671fac30bc453~1..74a44a77c45935740b058dc8fe1671fac30bc453 74a44a77c45935740b058dc8fe1671fac30bc453 [false] [Pipeline] sh 05:43:58 + git log --format=format:%s -1 74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:43:58 ========================================================= 05:43:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:43:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:58 + git log --format=format:%s -1 74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] echo 05:43:58 [semverPrep] GIT_COMMIT: 74a44a77c45935740b058dc8fe1671fac30bc453, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 05:43:58 [semverPrep] This is not a build commit. [Pipeline] sh 05:43:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:43:59 + grep -v github /etc/ssh/ssh_known_hosts 05:43:59 + [ -e /tmp/ssh_known_hosts ] 05:43:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:43:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:43:59 + sudo tee -a /etc/ssh/ssh_known_hosts 05:43:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:59 05:43:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:59 0.1.4: Pulling from edgex-devops/py-git-semver 05:43:59 b85a868b505f: Pulling fs layer 05:43:59 e2be974225ed: Pulling fs layer 05:43:59 339a4e72a1f5: Pulling fs layer 05:43:59 988bab9f4d93: Pulling fs layer 05:43:59 1469e6f7b9e6: Pulling fs layer 05:43:59 eaf3925da568: Pulling fs layer 05:43:59 bab4dde63d76: Pulling fs layer 05:43:59 bde34c3a00c8: Pulling fs layer 05:43:59 b352a97aabf1: Pulling fs layer 05:43:59 4872d77fe225: Pulling fs layer 05:43:59 5851b861e8e6: Pulling fs layer 05:43:59 1469e6f7b9e6: Waiting 05:43:59 b352a97aabf1: Waiting 05:43:59 4872d77fe225: Waiting 05:43:59 5851b861e8e6: Waiting 05:43:59 bde34c3a00c8: Waiting 05:43:59 eaf3925da568: Waiting 05:43:59 bab4dde63d76: Waiting 05:43:59 988bab9f4d93: Waiting 05:43:59 e2be974225ed: Download complete 05:43:59 988bab9f4d93: Download complete 05:43:59 1469e6f7b9e6: Verifying Checksum 05:43:59 1469e6f7b9e6: Download complete 05:43:59 eaf3925da568: Download complete 05:44:00 339a4e72a1f5: Verifying Checksum 05:44:00 339a4e72a1f5: Download complete 05:44:00 bde34c3a00c8: Verifying Checksum 05:44:00 bde34c3a00c8: Download complete 05:44:00 b352a97aabf1: Download complete 05:44:00 4872d77fe225: Download complete 05:44:00 5851b861e8e6: Verifying Checksum 05:44:00 5851b861e8e6: Download complete 05:44:00 b85a868b505f: Verifying Checksum 05:44:00 b85a868b505f: Download complete 05:44:00 bab4dde63d76: Verifying Checksum 05:44:00 bab4dde63d76: Download complete 05:44:01 b85a868b505f: Pull complete 05:44:01 e2be974225ed: Pull complete 05:44:02 339a4e72a1f5: Pull complete 05:44:02 988bab9f4d93: Pull complete 05:44:02 1469e6f7b9e6: Pull complete 05:44:02 eaf3925da568: Pull complete 05:44:04 bab4dde63d76: Pull complete 05:44:04 bde34c3a00c8: Pull complete 05:44:04 b352a97aabf1: Pull complete 05:44:04 4872d77fe225: Pull complete 05:44:04 5851b861e8e6: Pull complete 05:44:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:44:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:04 prd-ubuntu20.04-docker-8c-8g-41544 does not seem to be running inside a container 05:44:04 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:44:07 $ docker top 1ce49abd185632a3dfdfbcfcf75371851e88eae49fee23a68f530cb9263947b7 -eo pid,comm 05:44:07 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:44:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:44:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:07 [ssh-agent] Looking for ssh-agent implementation... 05:44:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:07 $ docker exec 1ce49abd185632a3dfdfbcfcf75371851e88eae49fee23a68f530cb9263947b7 ssh-agent 05:44:07 SSH_AUTH_SOCK=/tmp/ssh-Z219je7TAXEv/agent.32 05:44:07 SSH_AGENT_PID=38 05:44:07 Running ssh-add (command line suppressed) 05:44:07 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_1775288228696939190.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_1775288228696939190.key) 05:44:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:07 + git tag --points-at HEAD [Pipeline] } 05:44:07 $ docker exec --env ******** --env ******** 1ce49abd185632a3dfdfbcfcf75371851e88eae49fee23a68f530cb9263947b7 ssh-agent -k 05:44:08 unset SSH_AUTH_SOCK; 05:44:08 unset SSH_AGENT_PID; 05:44:08 echo Agent pid 38 killed; 05:44:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:44:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:08 [ssh-agent] Looking for ssh-agent implementation... 05:44:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:08 $ docker exec 1ce49abd185632a3dfdfbcfcf75371851e88eae49fee23a68f530cb9263947b7 ssh-agent 05:44:08 SSH_AUTH_SOCK=/tmp/ssh-qKxQzFzpu5Fm/agent.71 05:44:08 SSH_AGENT_PID=77 05:44:08 Running ssh-add (command line suppressed) 05:44:08 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9041497089637023252.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9041497089637023252.key) 05:44:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:08 + git semver init 05:44:08 2025-03-18 05:44:08,867 [run_init] DEBUG init version:0.0.0 force:False 05:44:08 2025-03-18 05:44:08,868 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 05:44:08 2025-03-18 05:44:08,868 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 05:44:08 2025-03-18 05:44:08,868 [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:44:09 2025-03-18 05:44:09,540 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 05:44:09 2025-03-18 05:44:09,540 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 05:44:09 2025-03-18 05:44:09,541 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 05:44:09 2025-03-18 05:44:09,545 [execute] INFO git cat-file --batch-check 05:44:09 2025-03-18 05:44:09,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:44:09 2025-03-18 05:44:09,552 [execute] INFO git cat-file --batch 05:44:09 2025-03-18 05:44:09,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:44:09 2025-03-18 05:44:09,558 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 05:44:09 0.0.0 [Pipeline] } 05:44:09 $ docker exec --env ******** --env ******** 1ce49abd185632a3dfdfbcfcf75371851e88eae49fee23a68f530cb9263947b7 ssh-agent -k 05:44:10 unset SSH_AUTH_SOCK; 05:44:10 unset SSH_AGENT_PID; 05:44:10 echo Agent pid 77 killed; 05:44:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:44:10 + git semver [Pipeline] } 05:44:10 $ docker stop --time=1 1ce49abd185632a3dfdfbcfcf75371851e88eae49fee23a68f530cb9263947b7 05:44:11 $ docker rm -f --volumes 1ce49abd185632a3dfdfbcfcf75371851e88eae49fee23a68f530cb9263947b7 [Pipeline] // withDockerContainer [Pipeline] sh 05:44:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:44:12 Stashed 1 file(s) [Pipeline] echo 05:44:12 [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:44:12 provisioning config files... [Pipeline] // stage [Pipeline] } 05:44:12 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config3901877732762628066tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:44:13 ---> ****-login.sh 05:44:13 nexus3.edgexfoundry.org:10001 05:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:13 Configure a credential helper to remove this warning. See 05:44:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:13 05:44:13 Login Succeeded 05:44:13 nexus3.edgexfoundry.org:10002 05:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:13 Configure a credential helper to remove this warning. See 05:44:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:13 05:44:13 Login Succeeded 05:44:13 nexus3.edgexfoundry.org:10003 05:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:13 Configure a credential helper to remove this warning. See 05:44:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:13 05:44:13 Login Succeeded 05:44:13 nexus3.edgexfoundry.org:10004 05:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:13 Configure a credential helper to remove this warning. See 05:44:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:13 05:44:13 Login Succeeded 05:44:13 ****.io 05:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:13 Configure a credential helper to remove this warning. See 05:44:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:13 05:44:13 Login Succeeded 05:44:13 ---> ****-login.sh ends [Pipeline] } 05:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:44:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:44:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:44:13 ========================================================= 05:44:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:44:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:14 + 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:44:14 Sending build context to Docker daemon 2.788MB 05:44:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:44:14 Step 2/12 : FROM ${BASE} AS builder 05:44:14 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:44:14 da9db072f522: Pulling fs layer 05:44:14 6ef4a4ee8ca5: Pulling fs layer 05:44:14 06f05ace1117: Pulling fs layer 05:44:14 5fe327b54edc: Pulling fs layer 05:44:14 4f4fb700ef54: Pulling fs layer 05:44:14 92a5565b7b96: Pulling fs layer 05:44:14 ff9bb7016b71: Pulling fs layer 05:44:14 b67dba6c2c7d: Pulling fs layer 05:44:14 a813b0c90790: Pulling fs layer 05:44:14 5fe327b54edc: Waiting 05:44:14 4f4fb700ef54: Waiting 05:44:14 92a5565b7b96: Waiting 05:44:14 ff9bb7016b71: Waiting 05:44:14 b67dba6c2c7d: Waiting 05:44:14 a813b0c90790: Waiting 05:44:14 6ef4a4ee8ca5: Verifying Checksum 05:44:14 6ef4a4ee8ca5: Download complete 05:44:14 5fe327b54edc: Verifying Checksum 05:44:14 5fe327b54edc: Download complete 05:44:14 4f4fb700ef54: Verifying Checksum 05:44:14 4f4fb700ef54: Download complete 05:44:14 92a5565b7b96: Verifying Checksum 05:44:14 92a5565b7b96: Download complete 05:44:14 da9db072f522: Download complete 05:44:14 ff9bb7016b71: Verifying Checksum 05:44:14 ff9bb7016b71: Download complete 05:44:14 da9db072f522: Pull complete 05:44:14 a813b0c90790: Verifying Checksum 05:44:14 a813b0c90790: Download complete 05:44:14 6ef4a4ee8ca5: Pull complete 05:44:14 06f05ace1117: Verifying Checksum 05:44:14 06f05ace1117: Download complete 05:44:14 b67dba6c2c7d: Verifying Checksum 05:44:14 b67dba6c2c7d: Download complete 05:44:19 06f05ace1117: Pull complete 05:44:19 5fe327b54edc: Pull complete 05:44:19 4f4fb700ef54: Pull complete 05:44:19 92a5565b7b96: Pull complete 05:44:19 ff9bb7016b71: Pull complete 05:44:20 b67dba6c2c7d: Pull complete 05:44:21 a813b0c90790: Pull complete 05:44:21 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:44:21 ---> 3ba60ce46760 05:44:21 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:44:25 ---> Running in f9330364db6a 05:44:25 Removing intermediate container f9330364db6a 05:44:25 ---> 8755e614db3c 05:44:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:44:25 ---> Running in 268a18863295 05:44:25 Removing intermediate container 268a18863295 05:44:25 ---> 9b7d9f23721e 05:44:25 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:44:25 ---> Running in e285ab533c46 05:44:25 Removing intermediate container e285ab533c46 05:44:25 ---> bff0b4d2fe95 05:44:25 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:25 ---> Running in 550e5f33c0fa 05:44:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:44:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:44:25 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:44:25 (2/4) Installing libedit (20240517.3.1-r0) 05:44:25 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:44:25 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:44:25 Executing busybox-1.36.1-r29.trigger 05:44:25 OK: 252 MiB in 62 packages 05:44:26 Removing intermediate container 550e5f33c0fa 05:44:26 ---> 9ef2a7651dcc 05:44:26 Step 7/12 : WORKDIR /sample-service 05:44:26 ---> Running in 8958dadadba6 05:44:26 Removing intermediate container 8958dadadba6 05:44:26 ---> 6eead4064a73 05:44:26 Step 8/12 : COPY go.mod vendor* ./ 05:44:26 ---> fa99d6cb2fb5 05:44:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:26 ---> Running in 5a1ea4ca90a0 05:44:34 Removing intermediate container 5a1ea4ca90a0 05:44:34 ---> cc44866a4614 05:44:34 Step 10/12 : COPY . . 05:44:34 ---> ca793ff08d20 05:44:34 Step 11/12 : ARG MAKE='make build' 05:44:34 ---> Running in a55cfbfb9c65 05:44:34 Removing intermediate container a55cfbfb9c65 05:44:34 ---> 5cec24dd8393 05:44:34 Step 12/12 : RUN $MAKE 05:44:34 ---> Running in 194781f05a06 05:44:34 noop 05:44:34 Removing intermediate container 194781f05a06 05:44:34 ---> b74575473f8c 05:44:34 Successfully built b74575473f8c 05:44:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:34 + docker inspect -f . ci-base-image-x86_64 05:44:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:35 prd-ubuntu20.04-docker-8c-8g-41544 does not seem to be running inside a container 05:44:35 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:35 $ docker top 23017b559a2e1dcd021121f321e406acb751d7565a8ffcb3003f06d0dc0e6922 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:35 + go version 05:44:35 go version go1.23.4 linux/amd64 [Pipeline] } 05:44:35 $ docker stop --time=1 23017b559a2e1dcd021121f321e406acb751d7565a8ffcb3003f06d0dc0e6922 05:44:37 $ docker rm -f --volumes 23017b559a2e1dcd021121f321e406acb751d7565a8ffcb3003f06d0dc0e6922 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:37 + docker inspect -f . ci-base-image-x86_64 05:44:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:37 prd-ubuntu20.04-docker-8c-8g-41544 does not seem to be running inside a container 05:44:37 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:37 $ docker top 5833ea6b9eab24440aa14ff30e9479d147c197ae05b28b3c8f1e799684889572 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:38 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 05:44:38 + make test 'GOTESTFLAGS=-json -v' 05:44:38 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 05:44:39 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 05:44:47 📦 github.com/edgexfoundry/sample-service 05:44:47 🛑 no test files 05:44:47 05:44:47 📦 github.com/edgexfoundry/sample-service/cmd 05:44:47 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 05:44:47 05:44:47 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 05:44:47 level=ERROR ts=2025-03-18T05:44:47.538209574Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 05:44:47 ✅ TestHandleReadCommands (0s) 05:44:47 ✅ TestHandleWriteCommands (0s) 05:44:47 ✅ TestValue_Int16 (0s) 05:44:47 ✅ TestValue_Int32 (0s) 05:44:47 ✅ TestValue_Int64 (0s) 05:44:47 ✅ TestValue_Int8 (0s) 05:44:47 05:44:47 CGO_ENABLED=1 go vet ./... 05:44:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:44:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:44:50 ./bin/test-attribution-txt.sh 05:44:50 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 05:44:50 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 05:44:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:44:51 $ docker stop --time=1 5833ea6b9eab24440aa14ff30e9479d147c197ae05b28b3c8f1e799684889572 05:44:52 $ docker rm -f --volumes 5833ea6b9eab24440aa14ff30e9479d147c197ae05b28b3c8f1e799684889572 [Pipeline] // withDockerContainer [Pipeline] sh 05:44:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:44:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:44:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:44:54 + ls -al . 05:44:54 total 160 05:44:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 05:44 . 05:44:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 05:43 .. 05:44:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 05:44 .git 05:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 05:43 .github 05:44:54 -rw-rw-r-- 1 jenkins jenkins 46 Mar 18 05:43 .gitignore 05:44:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 05:44 .semver 05:44:54 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 18 05:43 Attribution.txt 05:44:54 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 18 05:43 CHANGELOG.md 05:44:54 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 18 05:43 Dockerfile 05:44:54 -rw-rw-r-- 1 jenkins jenkins 808 Mar 18 05:43 Jenkinsfile 05:44:54 -rw-rw-r-- 1 jenkins jenkins 729 Mar 18 05:43 Jenkinsfile-sandbox 05:44:54 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 18 05:43 Jenkinsfile.edgexSemver 05:44:54 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 05:43 LICENSE 05:44:54 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 18 05:43 Makefile 05:44:54 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 18 05:43 README.md 05:44:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 05:44 VERSION 05:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 05:43 api 05:44:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 05:43 bin 05:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 05:43 cmd 05:44:54 -rw-r--r-- 1 jenkins jenkins 5399 Mar 18 05:44 coverage.out 05:44:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 05:43 driver 05:44:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 05:43 example 05:44:54 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 18 05:43 go.mod 05:44:54 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 18 05:43 go.sum 05:44:54 -rw-rw-r-- 1 jenkins jenkins 225 Mar 18 05:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:54 + 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:44:54 Sending build context to Docker daemon 2.794MB 05:44:54 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:44:54 Step 2/23 : FROM ${BASE} AS builder 05:44:54 ---> b74575473f8c 05:44:54 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:44:54 ---> Running in 46d5891bb55b 05:44:54 Removing intermediate container 46d5891bb55b 05:44:54 ---> c67be8e2f284 05:44:54 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 05:44:54 ---> Running in ee4987c981cc 05:44:54 Removing intermediate container ee4987c981cc 05:44:54 ---> 3d33871f4b9e 05:44:54 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:44:54 ---> Running in dc1ac6042da6 05:44:54 Removing intermediate container dc1ac6042da6 05:44:54 ---> 230c16dc0c30 05:44:54 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:54 ---> Running in af690cdc4fcc 05:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:44:55 OK: 252 MiB in 62 packages 05:44:56 Removing intermediate container af690cdc4fcc 05:44:56 ---> 25290d5acbdc 05:44:56 Step 7/23 : WORKDIR /sample-service 05:44:56 ---> Running in 36a2cf412159 05:44:56 Removing intermediate container 36a2cf412159 05:44:56 ---> e654e46defad 05:44:56 Step 8/23 : COPY go.mod vendor* ./ 05:44:56 ---> 9097202bbdce 05:44:56 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:56 ---> Running in 31fcb9b4c6ec 05:44:56 Removing intermediate container 31fcb9b4c6ec 05:44:56 ---> fc91002d95c2 05:44:56 Step 10/23 : COPY . . 05:44:56 ---> 0c7de92e4c5f 05:44:56 Step 11/23 : ARG MAKE='make build' 05:44:56 ---> Running in c347de9a3c28 05:44:57 Removing intermediate container c347de9a3c28 05:44:57 ---> 915dc38b894f 05:44:57 Step 12/23 : RUN $MAKE 05:44:57 ---> Running in cca6ab636cc7 05:44:57 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 05:45:09 Removing intermediate container cca6ab636cc7 05:45:09 ---> 787a65527ec7 05:45:09 Step 13/23 : FROM alpine:3.18 05:45:09 3.18: Pulling from library/alpine 05:45:09 44cf07d57ee4: Pulling fs layer 05:45:09 44cf07d57ee4: Verifying Checksum 05:45:09 44cf07d57ee4: Download complete 05:45:09 44cf07d57ee4: Pull complete 05:45:09 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 05:45:09 Status: Downloaded newer image for alpine:3.18 05:45:09 ---> 802c91d52981 05:45:09 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:45:09 ---> Running in 217ea5b104e1 05:45:09 Removing intermediate container 217ea5b104e1 05:45:09 ---> 6a75fea0c753 05:45:09 Step 15/23 : ENV APP_PORT=49999 05:45:09 ---> Running in 83df7b6d7922 05:45:09 Removing intermediate container 83df7b6d7922 05:45:09 ---> 379f8db50300 05:45:09 Step 16/23 : EXPOSE $APP_PORT 05:45:09 ---> Running in aeaa8df36cee 05:45:09 Removing intermediate container aeaa8df36cee 05:45:09 ---> 860182cf95cd 05:45:09 Step 17/23 : COPY --from=builder /sample-service/cmd / 05:45:09 ---> 2c9c44b8d359 05:45:09 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 05:45:09 ---> 6040aab2263c 05:45:09 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 05:45:09 ---> 5a81e7cefc45 05:45:09 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:45:09 ---> Running in deb939e4d572 05:45:10 Removing intermediate container deb939e4d572 05:45:10 ---> bbbe9068aeb9 05:45:10 Step 21/23 : LABEL arch=amd64 05:45:10 ---> Running in a4b25feba12d 05:45:10 Removing intermediate container a4b25feba12d 05:45:10 ---> 9dcf9e5a1a73 05:45:10 Step 22/23 : LABEL git_sha=74a44a77c45935740b058dc8fe1671fac30bc453 05:45:10 ---> Running in 29fb94bc40b2 05:45:10 Removing intermediate container 29fb94bc40b2 05:45:10 ---> fb732b3ab87c 05:45:10 Step 23/23 : LABEL version=0.0.0 05:45:10 ---> Running in 4a4fc67cb568 05:45:10 Removing intermediate container 4a4fc67cb568 05:45:10 ---> bf0eb2e11cbd 05:45:10 [Warning] One or more build-args [ARCH] were not consumed 05:45:10 Successfully built bf0eb2e11cbd 05:45:10 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:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:10 05:45:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:11 latest: Pulling from edgex-lftools-log-publisher 05:45:11 5eb5b503b376: Pulling fs layer 05:45:11 5c69ac0246d0: Pulling fs layer 05:45:11 ec43610c2a17: Pulling fs layer 05:45:11 3a2ae6a8a46f: Pulling fs layer 05:45:11 33b1e0a273af: Pulling fs layer 05:45:11 5d3b04190fa2: Pulling fs layer 05:45:11 2f39f015ded8: Pulling fs layer 05:45:11 33b1e0a273af: Waiting 05:45:11 3a2ae6a8a46f: Waiting 05:45:11 5d3b04190fa2: Waiting 05:45:11 2f39f015ded8: Waiting 05:45:11 5c69ac0246d0: Download complete 05:45:11 3a2ae6a8a46f: Verifying Checksum 05:45:11 3a2ae6a8a46f: Download complete 05:45:11 33b1e0a273af: Verifying Checksum 05:45:11 33b1e0a273af: Download complete 05:45:11 5d3b04190fa2: Verifying Checksum 05:45:11 5d3b04190fa2: Download complete 05:45:11 ec43610c2a17: Verifying Checksum 05:45:11 ec43610c2a17: Download complete 05:45:11 5eb5b503b376: Verifying Checksum 05:45:11 5eb5b503b376: Download complete 05:45:12 2f39f015ded8: Verifying Checksum 05:45:12 2f39f015ded8: Download complete 05:45:12 5eb5b503b376: Pull complete 05:45:12 5c69ac0246d0: Pull complete 05:45:13 ec43610c2a17: Pull complete 05:45:13 3a2ae6a8a46f: Pull complete 05:45:13 33b1e0a273af: Pull complete 05:45:13 5d3b04190fa2: Pull complete 05:45:17 2f39f015ded8: Pull complete 05:45:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:18 prd-ubuntu20.04-docker-8c-8g-41544 does not seem to be running inside a container 05:45:18 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:21 $ docker top 25a1cc60a10d69ba60fd1567ae571e0faab65d0d6d733e4fec5cb0e994d2654a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:21 ---> job-cost.sh 05:45:21 lf-activate-venv: SKIPPING 05:45:21 INFO: No Stack... 05:45:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:22 INFO: Archiving Costs [Pipeline] sh 05:45:23 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 05:45:23 + cut -d, -f6 [Pipeline] lock 05:45:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-6-stack-cost] 05:45:23 Resource [jenkins-edgexfoundry-sample-service-PR-165-6-stack-cost] did not exist. Created. 05:45:23 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:23 + echo total: 0.2199999988079071 [Pipeline] stash 05:45:23 Stashed 1 file(s) [Pipeline] } 05:45:23 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-6-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:23 $ docker stop --time=1 25a1cc60a10d69ba60fd1567ae571e0faab65d0d6d733e4fec5cb0e994d2654a 05:45:24 $ docker rm -f --volumes 25a1cc60a10d69ba60fd1567ae571e0faab65d0d6d733e4fec5cb0e994d2654a [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:45:24 provisioning config files... 05:45:24 copy managed file [sample-service-codecov-token] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config10527910044164335329tmp [Pipeline] { [Pipeline] sh 05:45:25 + set +x 05:45:25 + bash -s -- 05:45:25 + curl -s https://codecov.io/bash 05:45:25 05:45:25 _____ _ 05:45:25 / ____| | | 05:45:25 | | ___ __| | ___ ___ _____ __ 05:45:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:45:25 | |___| (_) | (_| | __/ (_| (_) \ V / 05:45:25 \_____\___/ \__,_|\___|\___\___/ \_/ 05:45:25 Bash-1.0.6 05:45:25 05:45:25 05:45:25 ==> git version 2.25.1 found 05:45:25 ==> 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:45:25 Release-Date: 2020-01-08 05:45:25 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:45:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:45:25 ==> Jenkins CI detected. 05:45:25 current dir:  /w/workspace/gexfoundry_sample-service_PR-165 05:45:25 project root: . 05:45:25 --> token set from env 05:45:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:45:25 ==> Running gcov in . (disable via -X gcov) 05:45:25 ==> Python coveragepy not found 05:45:25 ==> Searching for coverage reports in: 05:45:25 + . 05:45:25 -> Found 1 reports 05:45:25 ==> Detecting git/mercurial file structure 05:45:25 ==> Reading reports 05:45:25 + ./coverage.out bytes=5399 05:45:25 ==> Appending adjustments 05:45:25 https://docs.codecov.io/docs/fixing-reports 05:45:25 + Found adjustments 05:45:25 ==> Gzipping contents 05:45:25 4.0K /tmp/codecov.i5kbFQ.gz 05:45:25 ==> Uploading reports 05:45:25 url: https://codecov.io 05:45:25 query: branch=PR-165&commit=74a44a77c45935740b058dc8fe1671fac30bc453&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F6%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 05:45:25 -> Pinging Codecov 05:45:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-165&commit=74a44a77c45935740b058dc8fe1671fac30bc453&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F6%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= 05:45:25 -> Uploading to 05:45:25 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/sample-service/74a44a77c45935740b058dc8fe1671fac30bc453/d74503cc-d05b-46c0-b55d-545c6d51dd78.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250318%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250318T054525Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=af20b28bac0ef42d94b016aeb3a87db640638dc2215f94c92ad22da25fb821f8 05:45:25 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:25 Dload Upload Total Spent Left Speed 05:45:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1053 0 0 100 1053 0 7067 --:--:-- --:--:-- --:--:-- 7020 100 1053 0 0 100 1053 0 7020 --:--:-- --:--:-- --:--:-- 6973 05:45:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/sample-service/commit/74a44a77c45935740b058dc8fe1671fac30bc453 [Pipeline] } 05:45:25 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:45:26 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 05:45:26 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 05:45:26 total 16 05:45:26 drwxr-xr-x 3 root root 4096 Mar 18 05:45 . 05:45:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 05:45 .. 05:45:26 drwxr-xr-x 2 root root 4096 Mar 18 05:45 cost 05:45:26 -rw-r--r-- 1 root root 86 Mar 18 05:45 cost.csv 05:45:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 05:45:26 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 05:45:26 total 16 05:45:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 05:45 . 05:45:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 05:45 .. 05:45:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 05:45 cost 05:45:26 -rw-r--r-- 1 jenkins jenkins 86 Mar 18 05:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:27 ---> package-listing.sh 05:45:27 ++ facter osfamily 05:45:27 ++ tr '[:upper:]' '[:lower:]' 05:45:27 + OS_FAMILY=debian 05:45:27 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 05:45:27 + START_PACKAGES=/tmp/packages_start.txt 05:45:27 + END_PACKAGES=/tmp/packages_end.txt 05:45:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:27 + PACKAGES=/tmp/packages_start.txt 05:45:27 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:45:27 + PACKAGES=/tmp/packages_end.txt 05:45:27 + case "${OS_FAMILY}" in 05:45:27 + dpkg -l 05:45:27 + grep '^ii' 05:45:27 + '[' -f /tmp/packages_start.txt ']' 05:45:27 + '[' -f /tmp/packages_end.txt ']' 05:45:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:27 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 05:45:27 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 05:45:27 + 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:45:27 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:45:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:28 prd-ubuntu20.04-docker-8c-8g-41544 does not seem to be running inside a container 05:45:28 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:29 $ docker top 060ad5fc60a4dc710748ebc82ba3f244f9fcc366454803792c89e002f5a9e33a -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:29 + touch /tmp/pre-build-complete [Pipeline] sh 05:45:29 + mkdir -p /var/log/sysstat [Pipeline] sh 05:45:30 + ls /var/log/sa-host 05:45:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:30 provisioning config files... 05:45:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config17665636893819149879tmp [Pipeline] { [Pipeline] echo 05:45:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:45:30 ---> create-netrc.sh [Pipeline] } 05:45:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:45:30 ---> python-tools-install.sh [Pipeline] echo 05:45:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:45:31 ---> sudo-logs.sh 05:45:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:45:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:45:31 ---> job-cost.sh 05:45:31 lf-activate-venv: SKIPPING 05:45:31 DEBUG: total: 0.2199999988079071 05:45:31 INFO: Retrieving Stack Cost... 05:45:31 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:31 INFO: Archiving Costs [Pipeline] echo 05:45:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:45:31 ---> logs-deploy.sh 05:45:31 lf-activate-venv: SKIPPING 05:45:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/6 05:45:31 INFO: archiving workspace using pattern(s): 05:45:32 Archives upload complete. 05:45:32 INFO: archiving logs to Nexus