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 23ff995a3aef02e85a45daf0513f418e4247a776+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (57c84a8b78ed481cd790a95da692be7e58eec0b1) Loading library edgex-global-pipelines@experimental Attempting to resolve experimental 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-ssh17417900688130096499.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 346fc8d0240dd7d5011600d8282cee89c677b858 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-ssh319383503937402763.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/experimental^{commit} # timeout=10 Resolved tag experimental revision 346fc8d0240dd7d5011600d8282cee89c677b858 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-ssh785055569436716957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 346fc8d0240dd7d5011600d8282cee89c677b858 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 346fc8d0240dd7d5011600d8282cee89c677b858 # timeout=10 Commit message: "declartive" > 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-ssh6780593333893843056.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-ssh12599390103525803487.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-41564 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 23ff995a3aef02e85a45daf0513f418e4247a776 Merge succeeded, producing 23ff995a3aef02e85a45daf0513f418e4247a776 Checking out Revision 23ff995a3aef02e85a45daf0513f418e4247a776 (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 23ff995a3aef02e85a45daf0513f418e4247a776 # 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 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 Commit message: "ci: test multi-arch pipeline" > git rev-list --no-walk 23ff995a3aef02e85a45daf0513f418e4247a776 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:04:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:04:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:04:55 ========================================================= 10:04:55 EdgeX Global Pipelines Version Info 10:04:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:04:56 ------------------- 10:04:56 stable info: 10:04:56 ------------------- 10:04:56 Commited By: Cherry Wang cherry@iotechsys.com 10:04:56 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 10:04:56 Message: update stable to v1.0.272 10:04:57 ------------------- 10:04:57 experimental info: 10:04:57 ------------------- 10:04:57 Commited By: Ginny Guan ginny@iotechsys.com 10:04:57 Commit SHA: 346fc8d0240dd7d5011600d8282cee89c677b858 10:04:57 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 10:04:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 10:04:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 10:04:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:04:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo 10:04:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:58 provisioning config files... 10:04:58 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config13287794645643172554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:58 ---> ****-login.sh 10:04:58 nexus3.edgexfoundry.org:10001 10:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:59 Configure a credential helper to remove this warning. See 10:04:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:59 10:04:59 Login Succeeded 10:04:59 nexus3.edgexfoundry.org:10002 10:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:59 Configure a credential helper to remove this warning. See 10:04:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:59 10:04:59 Login Succeeded 10:04:59 nexus3.edgexfoundry.org:10003 10:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:59 Configure a credential helper to remove this warning. See 10:04:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:59 10:04:59 Login Succeeded 10:04:59 nexus3.edgexfoundry.org:10004 10:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:59 Configure a credential helper to remove this warning. See 10:04:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:59 10:04:59 Login Succeeded 10:04:59 ****.io 10:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:04:59 Configure a credential helper to remove this warning. See 10:04:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:04:59 10:04:59 Login Succeeded 10:04:59 ---> ****-login.sh ends [Pipeline] } 10:04:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:05:00 + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:05:00 -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh 10:05:00 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:05:00 ========================================================= 10:05:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:05:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:00 + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo 10:05:00 [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo 10:05:00 [semverPrep] This is not a build commit. [Pipeline] sh 10:05:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:05:01 + grep -v github /etc/ssh/ssh_known_hosts 10:05:01 + [ -e /tmp/ssh_known_hosts ] 10:05:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:05:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:05:01 + sudo tee -a /etc/ssh/ssh_known_hosts 10:05:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:01 10:05:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:01 0.1.4: Pulling from edgex-devops/py-git-semver 10:05:01 b85a868b505f: Pulling fs layer 10:05:01 e2be974225ed: Pulling fs layer 10:05:01 339a4e72a1f5: Pulling fs layer 10:05:01 988bab9f4d93: Pulling fs layer 10:05:01 1469e6f7b9e6: Pulling fs layer 10:05:01 eaf3925da568: Pulling fs layer 10:05:01 bab4dde63d76: Pulling fs layer 10:05:01 bde34c3a00c8: Pulling fs layer 10:05:01 b352a97aabf1: Pulling fs layer 10:05:01 988bab9f4d93: Waiting 10:05:01 1469e6f7b9e6: Waiting 10:05:01 eaf3925da568: Waiting 10:05:01 bde34c3a00c8: Waiting 10:05:01 bab4dde63d76: Waiting 10:05:01 4872d77fe225: Pulling fs layer 10:05:01 5851b861e8e6: Pulling fs layer 10:05:01 b352a97aabf1: Waiting 10:05:01 4872d77fe225: Waiting 10:05:01 5851b861e8e6: Waiting 10:05:01 e2be974225ed: Verifying Checksum 10:05:01 e2be974225ed: Download complete 10:05:01 988bab9f4d93: Verifying Checksum 10:05:01 988bab9f4d93: Download complete 10:05:01 1469e6f7b9e6: Verifying Checksum 10:05:01 1469e6f7b9e6: Download complete 10:05:02 eaf3925da568: Verifying Checksum 10:05:02 eaf3925da568: Download complete 10:05:02 339a4e72a1f5: Verifying Checksum 10:05:02 339a4e72a1f5: Download complete 10:05:02 bde34c3a00c8: Verifying Checksum 10:05:02 bde34c3a00c8: Download complete 10:05:02 b352a97aabf1: Verifying Checksum 10:05:02 b352a97aabf1: Download complete 10:05:02 4872d77fe225: Verifying Checksum 10:05:02 4872d77fe225: Download complete 10:05:02 5851b861e8e6: Verifying Checksum 10:05:02 5851b861e8e6: Download complete 10:05:02 b85a868b505f: Verifying Checksum 10:05:02 b85a868b505f: Download complete 10:05:02 bab4dde63d76: Verifying Checksum 10:05:02 bab4dde63d76: Download complete 10:05:03 b85a868b505f: Pull complete 10:05:03 e2be974225ed: Pull complete 10:05:04 339a4e72a1f5: Pull complete 10:05:04 988bab9f4d93: Pull complete 10:05:04 1469e6f7b9e6: Pull complete 10:05:04 eaf3925da568: Pull complete 10:05:06 bab4dde63d76: Pull complete 10:05:06 bde34c3a00c8: Pull complete 10:05:06 b352a97aabf1: Pull complete 10:05:06 4872d77fe225: Pull complete 10:05:06 5851b861e8e6: Pull complete 10:05:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:06 prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container 10:05:06 $ 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 10:05:08 $ docker top daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 -eo pid,comm 10:05:08 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). 10:05:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:05:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:08 [ssh-agent] Looking for ssh-agent implementation... 10:05:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:08 $ docker exec daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent 10:05:08 SSH_AUTH_SOCK=/tmp/ssh-j6PIkS0cxEui/agent.32 10:05:08 SSH_AGENT_PID=38 10:05:08 Running ssh-add (command line suppressed) 10:05:08 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_5115367885708577414.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_5115367885708577414.key) 10:05:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:09 + git tag --points-at HEAD [Pipeline] } 10:05:09 $ docker exec --env ******** --env ******** daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent -k 10:05:09 unset SSH_AUTH_SOCK; 10:05:09 unset SSH_AGENT_PID; 10:05:09 echo Agent pid 38 killed; 10:05:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:05:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:09 [ssh-agent] Looking for ssh-agent implementation... 10:05:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:09 $ docker exec daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent 10:05:09 SSH_AUTH_SOCK=/tmp/ssh-OrBXSdVhmP5e/agent.71 10:05:09 SSH_AGENT_PID=77 10:05:09 Running ssh-add (command line suppressed) 10:05:09 Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_5049299833071711476.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_5049299833071711476.key) 10:05:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:10 + git semver init 10:05:10 2025-03-18 10:05:10,190 [run_init] DEBUG init version:0.0.0 force:False 10:05:10 2025-03-18 10:05:10,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver 10:05:10 2025-03-18 10:05:10,191 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver 10:05:10 2025-03-18 10:05:10,191 [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) 10:05:10 2025-03-18 10:05:10,838 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude 10:05:10 2025-03-18 10:05:10,839 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False 10:05:10 2025-03-18 10:05:10,839 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 10:05:10 2025-03-18 10:05:10,845 [execute] INFO git cat-file --batch-check 10:05:10 2025-03-18 10:05:10,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 10:05:11 2025-03-18 10:05:10,853 [execute] INFO git cat-file --batch 10:05:11 2025-03-18 10:05:10,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) 10:05:11 2025-03-18 10:05:10,860 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 10:05:11 0.0.0 [Pipeline] } 10:05:11 $ docker exec --env ******** --env ******** daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent -k 10:05:11 unset SSH_AUTH_SOCK; 10:05:11 unset SSH_AGENT_PID; 10:05:11 echo Agent pid 77 killed; 10:05:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:05:11 + git semver [Pipeline] } 10:05:11 $ docker stop --time=1 daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 10:05:13 $ docker rm -f --volumes daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:05:13 Stashed 1 file(s) [Pipeline] echo 10:05:13 [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 10:05:14 provisioning config files... 10:05:14 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config14210293980629283986tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:05:14 ---> ****-login.sh 10:05:14 nexus3.edgexfoundry.org:10001 10:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:14 Configure a credential helper to remove this warning. See 10:05:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:14 10:05:14 Login Succeeded 10:05:14 nexus3.edgexfoundry.org:10002 10:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:14 Configure a credential helper to remove this warning. See 10:05:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:14 10:05:14 Login Succeeded 10:05:14 nexus3.edgexfoundry.org:10003 10:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:14 Configure a credential helper to remove this warning. See 10:05:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:14 10:05:14 Login Succeeded 10:05:14 nexus3.edgexfoundry.org:10004 10:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:14 Configure a credential helper to remove this warning. See 10:05:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:14 10:05:14 Login Succeeded 10:05:14 ****.io 10:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:14 Configure a credential helper to remove this warning. See 10:05:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:14 10:05:14 Login Succeeded 10:05:14 ---> ****-login.sh ends [Pipeline] } 10:05:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:05:15 ========================================================= 10:05:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:05:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:15 + 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 . 10:05:15 Sending build context to Docker daemon 2.788MB 10:05:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 10:05:15 Step 2/12 : FROM ${BASE} AS builder 10:05:15 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:05:15 da9db072f522: Pulling fs layer 10:05:15 6ef4a4ee8ca5: Pulling fs layer 10:05:15 06f05ace1117: Pulling fs layer 10:05:15 5fe327b54edc: Pulling fs layer 10:05:15 4f4fb700ef54: Pulling fs layer 10:05:15 92a5565b7b96: Pulling fs layer 10:05:15 ff9bb7016b71: Pulling fs layer 10:05:15 b67dba6c2c7d: Pulling fs layer 10:05:15 a813b0c90790: Pulling fs layer 10:05:15 92a5565b7b96: Waiting 10:05:15 ff9bb7016b71: Waiting 10:05:15 b67dba6c2c7d: Waiting 10:05:15 a813b0c90790: Waiting 10:05:15 5fe327b54edc: Waiting 10:05:15 4f4fb700ef54: Waiting 10:05:15 6ef4a4ee8ca5: Verifying Checksum 10:05:15 6ef4a4ee8ca5: Download complete 10:05:15 5fe327b54edc: Verifying Checksum 10:05:15 5fe327b54edc: Download complete 10:05:15 4f4fb700ef54: Verifying Checksum 10:05:15 4f4fb700ef54: Download complete 10:05:15 92a5565b7b96: Verifying Checksum 10:05:15 92a5565b7b96: Download complete 10:05:15 da9db072f522: Download complete 10:05:15 ff9bb7016b71: Download complete 10:05:15 da9db072f522: Pull complete 10:05:15 a813b0c90790: Download complete 10:05:15 6ef4a4ee8ca5: Pull complete 10:05:15 06f05ace1117: Verifying Checksum 10:05:15 06f05ace1117: Download complete 10:05:16 b67dba6c2c7d: Verifying Checksum 10:05:16 b67dba6c2c7d: Download complete 10:05:19 06f05ace1117: Pull complete 10:05:19 5fe327b54edc: Pull complete 10:05:19 4f4fb700ef54: Pull complete 10:05:19 92a5565b7b96: Pull complete 10:05:19 ff9bb7016b71: Pull complete 10:05:22 b67dba6c2c7d: Pull complete 10:05:22 a813b0c90790: Pull complete 10:05:22 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:05:22 ---> 3ba60ce46760 10:05:22 Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:05:25 ---> Running in 7db45d8974f6 10:05:25 Removing intermediate container 7db45d8974f6 10:05:25 ---> 6a1479090b7b 10:05:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:05:25 ---> Running in e248073d71b2 10:05:25 Removing intermediate container e248073d71b2 10:05:25 ---> 538a97dd7349 10:05:25 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:05:25 ---> Running in b9604f640708 10:05:25 Removing intermediate container b9604f640708 10:05:25 ---> 2905ff341a2c 10:05:25 Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:25 ---> Running in 628200c12e43 10:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:25 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:05:25 (2/4) Installing libedit (20240517.3.1-r0) 10:05:25 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:05:25 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:05:25 Executing busybox-1.36.1-r29.trigger 10:05:25 OK: 252 MiB in 62 packages 10:05:26 Removing intermediate container 628200c12e43 10:05:26 ---> a7ff1869739b 10:05:26 Step 7/12 : WORKDIR /sample-service 10:05:26 ---> Running in a50a6da14eb3 10:05:26 Removing intermediate container a50a6da14eb3 10:05:26 ---> 1f4c95619a66 10:05:26 Step 8/12 : COPY go.mod vendor* ./ 10:05:26 ---> 777d6fcbe579 10:05:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:26 ---> Running in cca63c739557 10:05:31 Removing intermediate container cca63c739557 10:05:31 ---> 815f5ff304c5 10:05:31 Step 10/12 : COPY . . 10:05:31 ---> 6fa69b28002f 10:05:31 Step 11/12 : ARG MAKE='make build' 10:05:31 ---> Running in 863f4fdd20a7 10:05:32 Removing intermediate container 863f4fdd20a7 10:05:32 ---> 40077a9038bc 10:05:32 Step 12/12 : RUN $MAKE 10:05:32 ---> Running in 8a6689960efb 10:05:32 noop 10:05:32 Removing intermediate container 8a6689960efb 10:05:32 ---> 87281a174ba5 10:05:32 Successfully built 87281a174ba5 10:05:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:33 + docker inspect -f . ci-base-image-x86_64 10:05:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:33 prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container 10:05:33 $ 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 10:05:33 $ docker top bfbf87586a23430bf2b950249777db9f1bbd10cf79a44307a8c44fb33dda0737 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:33 + go version 10:05:33 go version go1.23.4 linux/amd64 [Pipeline] } 10:05:33 $ docker stop --time=1 bfbf87586a23430bf2b950249777db9f1bbd10cf79a44307a8c44fb33dda0737 10:05:35 $ docker rm -f --volumes bfbf87586a23430bf2b950249777db9f1bbd10cf79a44307a8c44fb33dda0737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:35 + docker inspect -f . ci-base-image-x86_64 10:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:35 prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container 10:05:35 $ 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 10:05:36 $ docker top e249af0de7983f3f25acec3800139adff90b1b3593d092a0677b86a604879b99 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:36 + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh 10:05:36 + make test 'GOTESTFLAGS=-json -v' 10:05:36 CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest 10:05:37 CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt 10:05:47 📦 github.com/edgexfoundry/sample-service 10:05:47 🛑 no test files 10:05:47 10:05:47 📦 github.com/edgexfoundry/sample-service/cmd 10:05:47 github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements 10:05:47 10:05:47 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) 10:05:47 level=ERROR ts=2025-03-18T10:05:46.009464353Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" 10:05:47 ✅ TestHandleReadCommands (0s) 10:05:47 ✅ TestHandleWriteCommands (0s) 10:05:47 ✅ TestValue_Int16 (0s) 10:05:47 ✅ TestValue_Int32 (0s) 10:05:47 ✅ TestValue_Int64 (0s) 10:05:47 ✅ TestValue_Int8 (0s) 10:05:47 10:05:47 CGO_ENABLED=1 go vet ./... 10:05:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:05:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:05:49 ./bin/test-attribution-txt.sh 10:05:49 An attribution for golang.org/x/crypto is missing from Attribution.txt, please add 10:05:49 An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo 10:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 10:05:49 $ docker stop --time=1 e249af0de7983f3f25acec3800139adff90b1b3593d092a0677b86a604879b99 10:05:50 $ docker rm -f --volumes e249af0de7983f3f25acec3800139adff90b1b3593d092a0677b86a604879b99 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:05:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:05:52 + ls -al . 10:05:52 total 160 10:05:52 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 10:05 . 10:05:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 10:04 .. 10:05:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 10:05 .git 10:05:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:04 .github 10:05:52 -rw-rw-r-- 1 jenkins jenkins 46 Mar 18 10:04 .gitignore 10:05:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 10:05 .semver 10:05:52 -rw-rw-r-- 1 jenkins jenkins 4832 Mar 18 10:04 Attribution.txt 10:05:52 -rw-rw-r-- 1 jenkins jenkins 34862 Mar 18 10:04 CHANGELOG.md 10:05:52 -rw-rw-r-- 1 jenkins jenkins 1434 Mar 18 10:04 Dockerfile 10:05:52 -rw-rw-r-- 1 jenkins jenkins 821 Mar 18 10:04 Jenkinsfile 10:05:52 -rw-rw-r-- 1 jenkins jenkins 729 Mar 18 10:04 Jenkinsfile-sandbox 10:05:52 -rw-rw-r-- 1 jenkins jenkins 3586 Mar 18 10:04 Jenkinsfile.edgexSemver 10:05:52 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 10:04 LICENSE 10:05:52 -rw-rw-r-- 1 jenkins jenkins 1308 Mar 18 10:04 Makefile 10:05:52 -rw-rw-r-- 1 jenkins jenkins 3063 Mar 18 10:04 README.md 10:05:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 10:05 VERSION 10:05:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:04 api 10:05:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:04 bin 10:05:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:04 cmd 10:05:52 -rw-r--r-- 1 jenkins jenkins 5399 Mar 18 10:05 coverage.out 10:05:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:04 driver 10:05:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:04 example 10:05:52 -rw-rw-r-- 1 jenkins jenkins 1955 Mar 18 10:04 go.mod 10:05:52 -rw-rw-r-- 1 jenkins jenkins 13083 Mar 18 10:04 go.sum 10:05:52 -rw-rw-r-- 1 jenkins jenkins 225 Mar 18 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:52 + 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=23ff995a3aef02e85a45daf0513f418e4247a776 --label arch=amd64 --label version=0.0.0 . 10:05:52 Sending build context to Docker daemon 2.794MB 10:05:52 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 10:05:52 Step 2/23 : FROM ${BASE} AS builder 10:05:52 ---> 87281a174ba5 10:05:52 Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 10:05:52 ---> Running in 2a94bcf3678b 10:05:52 Removing intermediate container 2a94bcf3678b 10:05:52 ---> 3acf19b502a1 10:05:52 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 10:05:52 ---> Running in 7cf567596163 10:05:52 Removing intermediate container 7cf567596163 10:05:52 ---> eb10516d226c 10:05:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:05:52 ---> Running in 9fb19dfff565 10:05:52 Removing intermediate container 9fb19dfff565 10:05:52 ---> 769a76cd0c92 10:05:52 Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:52 ---> Running in 455afc81f285 10:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:53 OK: 252 MiB in 62 packages 10:05:54 Removing intermediate container 455afc81f285 10:05:54 ---> 4212ef1104b3 10:05:54 Step 7/23 : WORKDIR /sample-service 10:05:54 ---> Running in e498fd0d902e 10:05:54 Removing intermediate container e498fd0d902e 10:05:54 ---> 51d912431d48 10:05:54 Step 8/23 : COPY go.mod vendor* ./ 10:05:54 ---> d5b0db1a5e75 10:05:54 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:54 ---> Running in b5146b0a9c59 10:05:55 Removing intermediate container b5146b0a9c59 10:05:55 ---> f14ddc1583cf 10:05:55 Step 10/23 : COPY . . 10:05:55 ---> da0e49ac4c98 10:05:55 Step 11/23 : ARG MAKE='make build' 10:05:55 ---> Running in 6229b62a339f 10:05:55 Removing intermediate container 6229b62a339f 10:05:55 ---> eaab1f5c0b98 10:05:55 Step 12/23 : RUN $MAKE 10:05:55 ---> Running in 34bd0bf7a4c4 10:05:55 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd 10:06:07 Removing intermediate container 34bd0bf7a4c4 10:06:07 ---> cc2843b30cd2 10:06:07 Step 13/23 : FROM alpine:3.18 10:06:07 3.18: Pulling from library/alpine 10:06:07 44cf07d57ee4: Pulling fs layer 10:06:07 44cf07d57ee4: Verifying Checksum 10:06:07 44cf07d57ee4: Download complete 10:06:07 44cf07d57ee4: Pull complete 10:06:07 Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f 10:06:07 Status: Downloaded newer image for alpine:3.18 10:06:07 ---> 802c91d52981 10:06:07 Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:06:07 ---> Running in 861d1c367284 10:06:07 Removing intermediate container 861d1c367284 10:06:07 ---> f9c67411d9cf 10:06:07 Step 15/23 : ENV APP_PORT=49999 10:06:07 ---> Running in 89e277215e35 10:06:07 Removing intermediate container 89e277215e35 10:06:07 ---> d53754602713 10:06:07 Step 16/23 : EXPOSE $APP_PORT 10:06:07 ---> Running in fe5b9dd4e8d5 10:06:07 Removing intermediate container fe5b9dd4e8d5 10:06:07 ---> 85c0a8dd0e50 10:06:07 Step 17/23 : COPY --from=builder /sample-service/cmd / 10:06:07 ---> e876e026f784 10:06:07 Step 18/23 : COPY --from=builder /sample-service/LICENSE / 10:06:07 ---> 93aa3af393a7 10:06:07 Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / 10:06:07 ---> 404428472d7f 10:06:07 Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 10:06:07 ---> Running in 97a21a4105b4 10:06:07 Removing intermediate container 97a21a4105b4 10:06:07 ---> b0009aea2b42 10:06:07 Step 21/23 : LABEL arch=amd64 10:06:07 ---> Running in d1e060c43778 10:06:08 Removing intermediate container d1e060c43778 10:06:08 ---> 146ca3158262 10:06:08 Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 10:06:08 ---> Running in 235378e35d75 10:06:08 Removing intermediate container 235378e35d75 10:06:08 ---> 5edb6120ca21 10:06:08 Step 23/23 : LABEL version=0.0.0 10:06:08 ---> Running in d3b2930df94b 10:06:08 Removing intermediate container d3b2930df94b 10:06:08 ---> 6461ad317ed1 10:06:08 [Warning] One or more build-args [ARCH] were not consumed 10:06:08 Successfully built 6461ad317ed1 10:06:08 Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:06:08 build? true, push? true [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:08 provisioning config files... 10:06:08 copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config14196219249335283595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:08 ---> ****-login.sh 10:06:08 nexus3.edgexfoundry.org:10001 10:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:08 Configure a credential helper to remove this warning. See 10:06:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:08 10:06:08 Login Succeeded 10:06:08 nexus3.edgexfoundry.org:10002 10:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:08 Configure a credential helper to remove this warning. See 10:06:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:08 10:06:08 Login Succeeded 10:06:08 nexus3.edgexfoundry.org:10003 10:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:08 Configure a credential helper to remove this warning. See 10:06:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:08 10:06:08 Login Succeeded 10:06:08 nexus3.edgexfoundry.org:10004 10:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:08 Configure a credential helper to remove this warning. See 10:06:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:08 10:06:08 Login Succeeded 10:06:08 ****.io 10:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:06:09 Configure a credential helper to remove this warning. See 10:06:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:06:09 10:06:09 Login Succeeded 10:06:09 ---> ****-login.sh ends [Pipeline] } 10:06:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:06:09 [edgeXDocker.push] Tagging docker image sample-service with the following tags: 10:06:09 23ff995a3aef02e85a45daf0513f418e4247a776 10:06:09 latest 10:06:09 0.0.0 10:06:09 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:06:09 PR-165 10:06:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:09 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:09 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 10:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:06:09 67b3570e2dbb: Preparing 10:06:09 98a60f4b0222: Preparing 10:06:09 6837a321f054: Preparing 10:06:09 f44f286046d9: Preparing 10:06:09 f44f286046d9: Layer already exists 10:06:09 98a60f4b0222: Pushed 10:06:09 67b3570e2dbb: Pushed 10:06:11 6837a321f054: Pushed 10:06:11 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:11 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:12 + docker push nexus3.edgexfoundry.org:10004/sample-service:latest 10:06:12 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:06:12 67b3570e2dbb: Preparing 10:06:12 98a60f4b0222: Preparing 10:06:12 6837a321f054: Preparing 10:06:12 f44f286046d9: Preparing 10:06:12 98a60f4b0222: Layer already exists 10:06:12 67b3570e2dbb: Layer already exists 10:06:12 f44f286046d9: Layer already exists 10:06:12 6837a321f054: Layer already exists 10:06:12 latest: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:12 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:12 + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 10:06:12 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:06:12 67b3570e2dbb: Preparing 10:06:12 98a60f4b0222: Preparing 10:06:12 6837a321f054: Preparing 10:06:12 f44f286046d9: Preparing 10:06:12 6837a321f054: Layer already exists 10:06:12 f44f286046d9: Layer already exists 10:06:12 67b3570e2dbb: Layer already exists 10:06:12 98a60f4b0222: Layer already exists 10:06:12 0.0.0: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:13 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:13 + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:06:13 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:06:13 67b3570e2dbb: Preparing 10:06:13 98a60f4b0222: Preparing 10:06:13 6837a321f054: Preparing 10:06:13 f44f286046d9: Preparing 10:06:13 67b3570e2dbb: Layer already exists 10:06:13 f44f286046d9: Layer already exists 10:06:13 98a60f4b0222: Layer already exists 10:06:13 6837a321f054: Layer already exists 10:06:13 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:13 + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:14 + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 10:06:14 The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] 10:06:14 67b3570e2dbb: Preparing 10:06:14 98a60f4b0222: Preparing 10:06:14 6837a321f054: Preparing 10:06:14 f44f286046d9: Preparing 10:06:14 f44f286046d9: Layer already exists 10:06:14 67b3570e2dbb: Layer already exists 10:06:14 6837a321f054: Layer already exists 10:06:14 98a60f4b0222: Layer already exists 10:06:14 PR-165: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:06:14 ===================================================== [Pipeline] echo 10:06:14 taggedImages: 10:06:14 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 10:06:14 - nexus3.edgexfoundry.org:10004/sample-service:latest 10:06:14 - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 10:06:14 - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 10:06:14 - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo 10:06:14 ======================build multi-arch============================== [Pipeline] echo 10:06:14 ========================================================= 10:06:14 [edgeXBuildMultiArch] RAW Config: [images:[nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776, nexus3.edgexfoundry.org:10004/sample-service:latest, nexus3.edgexfoundry.org:10004/sample-service:0.0.0, nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0, nexus3.edgexfoundry.org:10004/sample-service:PR-165], settingsFile:sample-service-settings] 10:06:14 ========================================================= [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:14 10:06:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:15 latest: Pulling from edgex-lftools-log-publisher 10:06:15 5eb5b503b376: Pulling fs layer 10:06:15 5c69ac0246d0: Pulling fs layer 10:06:15 ec43610c2a17: Pulling fs layer 10:06:15 3a2ae6a8a46f: Pulling fs layer 10:06:15 33b1e0a273af: Pulling fs layer 10:06:15 5d3b04190fa2: Pulling fs layer 10:06:15 2f39f015ded8: Pulling fs layer 10:06:15 3a2ae6a8a46f: Waiting 10:06:15 33b1e0a273af: Waiting 10:06:15 5d3b04190fa2: Waiting 10:06:15 2f39f015ded8: Waiting 10:06:15 5c69ac0246d0: Verifying Checksum 10:06:15 5c69ac0246d0: Download complete 10:06:15 3a2ae6a8a46f: Verifying Checksum 10:06:15 3a2ae6a8a46f: Download complete 10:06:15 33b1e0a273af: Verifying Checksum 10:06:15 33b1e0a273af: Download complete 10:06:15 5d3b04190fa2: Verifying Checksum 10:06:15 5d3b04190fa2: Download complete 10:06:15 ec43610c2a17: Verifying Checksum 10:06:15 ec43610c2a17: Download complete 10:06:15 5eb5b503b376: Verifying Checksum 10:06:15 5eb5b503b376: Download complete 10:06:16 2f39f015ded8: Verifying Checksum 10:06:16 2f39f015ded8: Download complete 10:06:16 5eb5b503b376: Pull complete 10:06:16 5c69ac0246d0: Pull complete 10:06:17 ec43610c2a17: Pull complete 10:06:17 3a2ae6a8a46f: Pull complete 10:06:17 33b1e0a273af: Pull complete 10:06:17 5d3b04190fa2: Pull complete 10:06:23 2f39f015ded8: Pull complete 10:06:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:06:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:23 prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container 10:06:23 $ 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 10:06:25 $ docker top fbb594f64c185ff50d08dfe6618e1ea5ce9afea29b7cce367e9f9709801639c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:25 ---> job-cost.sh 10:06:25 lf-activate-venv: SKIPPING 10:06:25 INFO: No Stack... 10:06:26 INFO: Retrieving Pricing Info for: v3-standard-8 10:06:26 INFO: Archiving Costs [Pipeline] sh 10:06:26 + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv 10:06:26 + cut -d, -f6 [Pipeline] lock 10:06:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] 10:06:26 Resource [jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] did not exist. Created. 10:06:26 Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:06:26 + echo total: 0.2199999988079071 [Pipeline] stash 10:06:27 Stashed 1 file(s) [Pipeline] } 10:06:27 Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] [Pipeline] // lock [Pipeline] } 10:06:27 $ docker stop --time=1 fbb594f64c185ff50d08dfe6618e1ea5ce9afea29b7cce367e9f9709801639c7 10:06:28 $ docker rm -f --volumes fbb594f64c185ff50d08dfe6618e1ea5ce9afea29b7cce367e9f9709801639c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:06:28 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 10:06:29 + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] 10:06:29 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 10:06:29 total 16 10:06:29 drwxr-xr-x 3 root root 4096 Mar 18 10:06 . 10:06:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 10:06 .. 10:06:29 drwxr-xr-x 2 root root 4096 Mar 18 10:06 cost 10:06:29 -rw-r--r-- 1 root root 87 Mar 18 10:06 cost.csv 10:06:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives 10:06:29 + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives 10:06:29 total 16 10:06:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 10:06 . 10:06:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 10:06 .. 10:06:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 10:06 cost 10:06:29 -rw-r--r-- 1 jenkins jenkins 87 Mar 18 10:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:06:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:06:30 ---> package-listing.sh 10:06:30 ++ facter osfamily 10:06:30 ++ tr '[:upper:]' '[:lower:]' 10:06:30 + OS_FAMILY=debian 10:06:30 + workspace=/w/workspace/gexfoundry_sample-service_PR-165 10:06:30 + START_PACKAGES=/tmp/packages_start.txt 10:06:30 + END_PACKAGES=/tmp/packages_end.txt 10:06:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:06:30 + PACKAGES=/tmp/packages_start.txt 10:06:30 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:06:30 + PACKAGES=/tmp/packages_end.txt 10:06:30 + case "${OS_FAMILY}" in 10:06:30 + dpkg -l 10:06:30 + grep '^ii' 10:06:30 + '[' -f /tmp/packages_start.txt ']' 10:06:30 + '[' -f /tmp/packages_end.txt ']' 10:06:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:06:30 + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' 10:06:30 + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ 10:06:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo 10:06:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 10:06:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:06:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:31 prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container 10:06:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 10:06:31 $ docker top 3a261fa112c6fa1abaee188af0a909c9963c63c29ac94d92c088cb320829d084 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:32 + touch /tmp/pre-build-complete [Pipeline] sh 10:06:32 + mkdir -p /var/log/sysstat [Pipeline] sh 10:06:32 + ls /var/log/sa-host 10:06:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:33 provisioning config files... 10:06:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config264762653186888042tmp [Pipeline] { [Pipeline] echo 10:06:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:06:33 ---> create-netrc.sh [Pipeline] } 10:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:06:33 ---> python-tools-install.sh [Pipeline] echo 10:06:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:06:34 ---> sudo-logs.sh 10:06:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:06:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:06:34 ---> job-cost.sh 10:06:34 lf-activate-venv: SKIPPING 10:06:34 DEBUG: total: 0.2199999988079071 10:06:34 INFO: Retrieving Stack Cost... 10:06:34 INFO: Retrieving Pricing Info for: v3-standard-8 10:06:34 INFO: Archiving Costs [Pipeline] echo 10:06:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:06:35 ---> logs-deploy.sh 10:06:35 lf-activate-venv: SKIPPING 10:06:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/10 10:06:35 INFO: archiving workspace using pattern(s): 10:06:36 Archives upload complete. 10:06:36 INFO: archiving logs to Nexus 10:06:36 ---> uname -a: 10:06:36 Linux prd-ubuntu20-04-docker-8c-8g-41564 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:06:36 10:06:36 10:06:36 ---> lscpu: 10:06:36 Architecture: x86_64 10:06:36 CPU op-mode(s): 32-bit, 64-bit 10:06:36 Byte Order: Little Endian 10:06:36 Address sizes: 40 bits physical, 48 bits virtual 10:06:36 CPU(s): 8 10:06:36 On-line CPU(s) list: 0-7 10:06:36 Thread(s) per core: 1 10:06:36 Core(s) per socket: 1 10:06:36 Socket(s): 8 10:06:36 NUMA node(s): 1 10:06:36 Vendor ID: AuthenticAMD 10:06:36 CPU family: 23 10:06:36 Model: 49 10:06:36 Model name: AMD EPYC-Rome Processor 10:06:36 Stepping: 0 10:06:36 CPU MHz: 2799.998 10:06:36 BogoMIPS: 5599.99 10:06:36 Virtualization: AMD-V 10:06:36 Hypervisor vendor: KVM 10:06:36 Virtualization type: full 10:06:36 L1d cache: 256 KiB 10:06:36 L1i cache: 256 KiB 10:06:36 L2 cache: 4 MiB 10:06:36 L3 cache: 128 MiB 10:06:36 NUMA node0 CPU(s): 0-7 10:06:36 Vulnerability Itlb multihit: Not affected 10:06:36 Vulnerability L1tf: Not affected 10:06:36 Vulnerability Mds: Not affected 10:06:36 Vulnerability Meltdown: Not affected 10:06:36 Vulnerability Mmio stale data: Not affected 10:06:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:06:36 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:06:36 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:06:36 Vulnerability Srbds: Not affected 10:06:36 Vulnerability Tsx async abort: Not affected 10:06:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:06:36 10:06:36 10:06:36 ---> nproc: 10:06:36 8 10:06:36 10:06:36 10:06:36 ---> df -h: 10:06:36 Filesystem Size Used Avail Use% Mounted on 10:06:36 overlay 155G 11G 145G 7% / 10:06:36 tmpfs 64M 0 64M 0% /dev 10:06:36 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:06:36 shm 64M 0 64M 0% /dev/shm 10:06:36 /dev/vda1 155G 11G 145G 7% /facter-os 10:06:36 10:06:36 10:06:36 ---> sar -b -r -n DEV: 10:06:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-41564) 03/18/25 _x86_64_ (8 CPU) 10:06:36 10:06:36 10:04:14 LINUX RESTART (8 CPU) 10:06:36 10:06:36 10:05:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:06:36 10:06:01 246.93 3.51 243.42 0.00 459.39 51382.24 0.00 10:06:36 Average: 246.93 3.51 243.42 0.00 459.39 51382.24 0.00 10:06:36 10:06:36 10:05:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:06:36 10:06:01 28744056 31343816 957988 2.91 92968 2753444 2081112 6.13 1417056 2295220 87856 10:06:36 Average: 28744056 31343816 957988 2.91 92968 2753444 2081112 6.13 1417056 2295220 87856 10:06:36 10:06:36 10:05:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:06:36 10:06:01 ens3 264.29 164.66 3821.03 40.51 0.00 0.00 0.00 0.00 10:06:36 10:06:01 lo 3.05 3.05 0.31 0.31 0.00 0.00 0.00 0.00 10:06:36 10:06:01 docker0 43.88 62.15 3.80 454.80 0.00 0.00 0.00 0.00 10:06:36 10:06:01 veth8ae4e4b 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 10:06:36 Average: ens3 264.29 164.66 3821.03 40.51 0.00 0.00 0.00 0.00 10:06:36 Average: lo 3.05 3.05 0.31 0.31 0.00 0.00 0.00 0.00 10:06:36 Average: docker0 43.88 62.15 3.80 454.80 0.00 0.00 0.00 0.00 10:06:36 Average: veth8ae4e4b 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 10:06:36 10:06:36 10:06:36 ---> sar -P ALL: 10:06:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-41564) 03/18/25 _x86_64_ (8 CPU) 10:06:36 10:06:36 10:04:14 LINUX RESTART (8 CPU) 10:06:36 10:06:36 10:05:02 CPU %user %nice %system %iowait %steal %idle 10:06:36 10:06:01 all 20.66 0.00 6.24 1.44 0.08 71.58 10:06:36 10:06:01 0 20.43 0.00 5.97 0.32 0.09 73.19 10:06:36 10:06:01 1 19.10 0.00 5.62 1.88 0.09 73.31 10:06:36 10:06:01 2 20.64 0.00 6.81 1.08 0.09 71.38 10:06:36 10:06:01 3 19.86 0.00 6.31 0.34 0.07 73.42 10:06:36 10:06:01 4 21.11 0.00 5.99 0.33 0.09 72.49 10:06:36 10:06:01 5 21.75 0.00 6.18 1.15 0.09 70.84 10:06:36 10:06:01 6 21.15 0.00 6.66 6.24 0.07 65.88 10:06:36 10:06:01 7 21.22 0.00 6.40 0.21 0.07 72.11 10:06:36 Average: all 20.66 0.00 6.24 1.44 0.08 71.58 10:06:36 Average: 0 20.43 0.00 5.97 0.32 0.09 73.19 10:06:36 Average: 1 19.10 0.00 5.62 1.88 0.09 73.31 10:06:36 Average: 2 20.64 0.00 6.81 1.08 0.09 71.38 10:06:36 Average: 3 19.86 0.00 6.31 0.34 0.07 73.42 10:06:36 Average: 4 21.11 0.00 5.99 0.33 0.09 72.49 10:06:36 Average: 5 21.75 0.00 6.18 1.15 0.09 70.84 10:06:36 Average: 6 21.15 0.00 6.66 6.24 0.07 65.88 10:06:36 Average: 7 21.22 0.00 6.40 0.21 0.07 72.11 10:06:36 10:06:36 10:06:36