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 [2025-03-18T10:04:55.570Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-03-18T10:04:55.655Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-18T10:04:55.689Z] ========================================================= [2025-03-18T10:04:55.689Z] EdgeX Global Pipelines Version Info [2025-03-18T10:04:55.689Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:04:56.780Z] ------------------- [2025-03-18T10:04:56.780Z] stable info: [2025-03-18T10:04:56.780Z] ------------------- [2025-03-18T10:04:56.780Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-03-18T10:04:56.780Z] Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e [2025-03-18T10:04:56.780Z] Message: update stable to v1.0.272 [2025-03-18T10:04:57.040Z] ------------------- [2025-03-18T10:04:57.040Z] experimental info: [2025-03-18T10:04:57.040Z] ------------------- [2025-03-18T10:04:57.040Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-18T10:04:57.040Z] Commit SHA: 346fc8d0240dd7d5011600d8282cee89c677b858 [2025-03-18T10:04:57.040Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-03-18T10:04:57.140Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo [2025-03-18T10:04:57.171Z] [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo [2025-03-18T10:04:57.196Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-03-18T10:04:57.230Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo [2025-03-18T10:04:57.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-03-18T10:04:57.287Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-03-18T10:04:57.324Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-03-18T10:04:57.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-03-18T10:04:57.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-03-18T10:04:57.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-03-18T10:04:57.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-03-18T10:04:57.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo [2025-03-18T10:04:57.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-03-18T10:04:57.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-03-18T10:04:57.565Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-03-18T10:04:57.599Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-03-18T10:04:57.629Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-03-18T10:04:57.658Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-03-18T10:04:57.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-03-18T10:04:57.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-03-18T10:04:57.750Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-03-18T10:04:57.784Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-03-18T10:04:57.815Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-03-18T10:04:57.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-03-18T10:04:57.879Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-03-18T10:04:57.919Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-03-18T10:04:57.957Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-03-18T10:04:57.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2025-03-18T10:04:58.016Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2025-03-18T10:04:58.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2025-03-18T10:04:58.073Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-18T10:04:58.104Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo [2025-03-18T10:04:58.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-18T10:04:58.220Z] provisioning config files... [2025-03-18T10:04:58.232Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config13287794645643172554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:04:58.566Z] ---> ****-login.sh [2025-03-18T10:04:58.566Z] nexus3.edgexfoundry.org:10001 [2025-03-18T10:04:58.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:04:59.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:04:59.086Z] Configure a credential helper to remove this warning. See [2025-03-18T10:04:59.086Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:04:59.086Z] [2025-03-18T10:04:59.086Z] Login Succeeded [2025-03-18T10:04:59.086Z] nexus3.edgexfoundry.org:10002 [2025-03-18T10:04:59.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:04:59.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:04:59.086Z] Configure a credential helper to remove this warning. See [2025-03-18T10:04:59.086Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:04:59.086Z] [2025-03-18T10:04:59.086Z] Login Succeeded [2025-03-18T10:04:59.086Z] nexus3.edgexfoundry.org:10003 [2025-03-18T10:04:59.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:04:59.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:04:59.086Z] Configure a credential helper to remove this warning. See [2025-03-18T10:04:59.087Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:04:59.087Z] [2025-03-18T10:04:59.087Z] Login Succeeded [2025-03-18T10:04:59.087Z] nexus3.edgexfoundry.org:10004 [2025-03-18T10:04:59.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:04:59.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:04:59.346Z] Configure a credential helper to remove this warning. See [2025-03-18T10:04:59.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:04:59.347Z] [2025-03-18T10:04:59.347Z] Login Succeeded [2025-03-18T10:04:59.347Z] ****.io [2025-03-18T10:04:59.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:04:59.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:04:59.607Z] Configure a credential helper to remove this warning. See [2025-03-18T10:04:59.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:04:59.607Z] [2025-03-18T10:04:59.607Z] Login Succeeded [2025-03-18T10:04:59.607Z] ---> ****-login.sh ends [Pipeline] } [2025-03-18T10:04:59.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-03-18T10:05:00.043Z] + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-18T10:05:00.075Z] -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh [2025-03-18T10:05:00.375Z] + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-18T10:05:00.393Z] ========================================================= [2025-03-18T10:05:00.393Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-18T10:05:00.393Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-18T10:05:00.755Z] + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-18T10:05:00.768Z] [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo [2025-03-18T10:05:00.785Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-03-18T10:05:01.161Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-18T10:05:01.161Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-03-18T10:05:01.161Z] + [ -e /tmp/ssh_known_hosts ] [2025-03-18T10:05:01.161Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-03-18T10:05:01.161Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-03-18T10:05:01.162Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-03-18T10:05:01.162Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:05:01.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-18T10:05:01.590Z] [2025-03-18T10:05:01.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:05:01.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-18T10:05:01.907Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-03-18T10:05:01.907Z] b85a868b505f: Pulling fs layer [2025-03-18T10:05:01.907Z] e2be974225ed: Pulling fs layer [2025-03-18T10:05:01.907Z] 339a4e72a1f5: Pulling fs layer [2025-03-18T10:05:01.907Z] 988bab9f4d93: Pulling fs layer [2025-03-18T10:05:01.907Z] 1469e6f7b9e6: Pulling fs layer [2025-03-18T10:05:01.907Z] eaf3925da568: Pulling fs layer [2025-03-18T10:05:01.907Z] bab4dde63d76: Pulling fs layer [2025-03-18T10:05:01.907Z] bde34c3a00c8: Pulling fs layer [2025-03-18T10:05:01.907Z] b352a97aabf1: Pulling fs layer [2025-03-18T10:05:01.907Z] 988bab9f4d93: Waiting [2025-03-18T10:05:01.907Z] 1469e6f7b9e6: Waiting [2025-03-18T10:05:01.907Z] eaf3925da568: Waiting [2025-03-18T10:05:01.907Z] bde34c3a00c8: Waiting [2025-03-18T10:05:01.907Z] bab4dde63d76: Waiting [2025-03-18T10:05:01.907Z] 4872d77fe225: Pulling fs layer [2025-03-18T10:05:01.908Z] 5851b861e8e6: Pulling fs layer [2025-03-18T10:05:01.908Z] b352a97aabf1: Waiting [2025-03-18T10:05:01.908Z] 4872d77fe225: Waiting [2025-03-18T10:05:01.908Z] 5851b861e8e6: Waiting [2025-03-18T10:05:01.908Z] e2be974225ed: Verifying Checksum [2025-03-18T10:05:01.908Z] e2be974225ed: Download complete [2025-03-18T10:05:01.908Z] 988bab9f4d93: Verifying Checksum [2025-03-18T10:05:01.908Z] 988bab9f4d93: Download complete [2025-03-18T10:05:01.908Z] 1469e6f7b9e6: Verifying Checksum [2025-03-18T10:05:01.908Z] 1469e6f7b9e6: Download complete [2025-03-18T10:05:02.167Z] eaf3925da568: Verifying Checksum [2025-03-18T10:05:02.167Z] eaf3925da568: Download complete [2025-03-18T10:05:02.167Z] 339a4e72a1f5: Verifying Checksum [2025-03-18T10:05:02.167Z] 339a4e72a1f5: Download complete [2025-03-18T10:05:02.167Z] bde34c3a00c8: Verifying Checksum [2025-03-18T10:05:02.167Z] bde34c3a00c8: Download complete [2025-03-18T10:05:02.167Z] b352a97aabf1: Verifying Checksum [2025-03-18T10:05:02.167Z] b352a97aabf1: Download complete [2025-03-18T10:05:02.167Z] 4872d77fe225: Verifying Checksum [2025-03-18T10:05:02.167Z] 4872d77fe225: Download complete [2025-03-18T10:05:02.167Z] 5851b861e8e6: Verifying Checksum [2025-03-18T10:05:02.167Z] 5851b861e8e6: Download complete [2025-03-18T10:05:02.167Z] b85a868b505f: Verifying Checksum [2025-03-18T10:05:02.167Z] b85a868b505f: Download complete [2025-03-18T10:05:02.426Z] bab4dde63d76: Verifying Checksum [2025-03-18T10:05:02.426Z] bab4dde63d76: Download complete [2025-03-18T10:05:03.362Z] b85a868b505f: Pull complete [2025-03-18T10:05:03.621Z] e2be974225ed: Pull complete [2025-03-18T10:05:04.199Z] 339a4e72a1f5: Pull complete [2025-03-18T10:05:04.199Z] 988bab9f4d93: Pull complete [2025-03-18T10:05:04.495Z] 1469e6f7b9e6: Pull complete [2025-03-18T10:05:04.495Z] eaf3925da568: Pull complete [2025-03-18T10:05:06.408Z] bab4dde63d76: Pull complete [2025-03-18T10:05:06.408Z] bde34c3a00c8: Pull complete [2025-03-18T10:05:06.408Z] b352a97aabf1: Pull complete [2025-03-18T10:05:06.408Z] 4872d77fe225: Pull complete [2025-03-18T10:05:06.408Z] 5851b861e8e6: Pull complete [2025-03-18T10:05:06.408Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-03-18T10:05:06.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-18T10:05:06.408Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-18T10:05:06.702Z] prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container [2025-03-18T10:05:06.736Z] $ 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 [2025-03-18T10:05:08.362Z] $ docker top daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 -eo pid,comm [2025-03-18T10:05:08.420Z] 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). [2025-03-18T10:05:08.420Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-03-18T10:05:08.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-18T10:05:08.502Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-18T10:05:08.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-18T10:05:08.626Z] $ docker exec daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent [2025-03-18T10:05:08.731Z] SSH_AUTH_SOCK=/tmp/ssh-j6PIkS0cxEui/agent.32 [2025-03-18T10:05:08.731Z] SSH_AGENT_PID=38 [2025-03-18T10:05:08.738Z] Running ssh-add (command line suppressed) [2025-03-18T10:05:08.836Z] 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) [2025-03-18T10:05:08.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-18T10:05:09.149Z] + git tag --points-at HEAD [Pipeline] } [2025-03-18T10:05:09.160Z] $ docker exec --env ******** --env ******** daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent -k [2025-03-18T10:05:09.279Z] unset SSH_AUTH_SOCK; [2025-03-18T10:05:09.280Z] unset SSH_AGENT_PID; [2025-03-18T10:05:09.280Z] echo Agent pid 38 killed; [2025-03-18T10:05:09.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-03-18T10:05:09.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-18T10:05:09.333Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-18T10:05:09.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-18T10:05:09.467Z] $ docker exec daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent [2025-03-18T10:05:09.587Z] SSH_AUTH_SOCK=/tmp/ssh-OrBXSdVhmP5e/agent.71 [2025-03-18T10:05:09.587Z] SSH_AGENT_PID=77 [2025-03-18T10:05:09.592Z] Running ssh-add (command line suppressed) [2025-03-18T10:05:09.698Z] 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) [2025-03-18T10:05:09.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-18T10:05:10.024Z] + git semver init [2025-03-18T10:05:10.285Z] 2025-03-18 10:05:10,190 [run_init] DEBUG init version:0.0.0 force:False [2025-03-18T10:05:10.285Z] 2025-03-18 10:05:10,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-03-18T10:05:10.285Z] 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 [2025-03-18T10:05:10.285Z] 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) [2025-03-18T10:05:10.854Z] 2025-03-18 10:05:10,838 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude [2025-03-18T10:05:10.854Z] 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 [2025-03-18T10:05:10.854Z] 2025-03-18 10:05:10,839 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-03-18T10:05:10.854Z] 2025-03-18 10:05:10,845 [execute] INFO git cat-file --batch-check [2025-03-18T10:05:10.854Z] 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=) [2025-03-18T10:05:11.112Z] 2025-03-18 10:05:10,853 [execute] INFO git cat-file --batch [2025-03-18T10:05:11.113Z] 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=) [2025-03-18T10:05:11.113Z] 2025-03-18 10:05:10,860 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-03-18T10:05:11.113Z] 0.0.0 [Pipeline] } [2025-03-18T10:05:11.121Z] $ docker exec --env ******** --env ******** daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 ssh-agent -k [2025-03-18T10:05:11.216Z] unset SSH_AUTH_SOCK; [2025-03-18T10:05:11.217Z] unset SSH_AGENT_PID; [2025-03-18T10:05:11.217Z] echo Agent pid 77 killed; [2025-03-18T10:05:11.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-18T10:05:11.570Z] + git semver [Pipeline] } [2025-03-18T10:05:11.837Z] $ docker stop --time=1 daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 [2025-03-18T10:05:13.118Z] $ docker rm -f --volumes daa633ea3e6989e88a4bbd5479671b507a5054ca68a20006e46f63588e7bce42 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-18T10:05:13.470Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-03-18T10:05:13.725Z] Stashed 1 file(s) [Pipeline] echo [2025-03-18T10:05:13.730Z] [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 [2025-03-18T10:05:14.034Z] provisioning config files... [2025-03-18T10:05:14.044Z] 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 [2025-03-18T10:05:14.381Z] ---> ****-login.sh [2025-03-18T10:05:14.381Z] nexus3.edgexfoundry.org:10001 [2025-03-18T10:05:14.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:05:14.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:05:14.381Z] Configure a credential helper to remove this warning. See [2025-03-18T10:05:14.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:05:14.381Z] [2025-03-18T10:05:14.381Z] Login Succeeded [2025-03-18T10:05:14.381Z] nexus3.edgexfoundry.org:10002 [2025-03-18T10:05:14.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:05:14.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:05:14.381Z] Configure a credential helper to remove this warning. See [2025-03-18T10:05:14.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:05:14.381Z] [2025-03-18T10:05:14.381Z] Login Succeeded [2025-03-18T10:05:14.381Z] nexus3.edgexfoundry.org:10003 [2025-03-18T10:05:14.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:05:14.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:05:14.641Z] Configure a credential helper to remove this warning. See [2025-03-18T10:05:14.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:05:14.641Z] [2025-03-18T10:05:14.641Z] Login Succeeded [2025-03-18T10:05:14.641Z] nexus3.edgexfoundry.org:10004 [2025-03-18T10:05:14.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:05:14.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:05:14.641Z] Configure a credential helper to remove this warning. See [2025-03-18T10:05:14.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:05:14.641Z] [2025-03-18T10:05:14.641Z] Login Succeeded [2025-03-18T10:05:14.641Z] ****.io [2025-03-18T10:05:14.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:05:14.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:05:14.901Z] Configure a credential helper to remove this warning. See [2025-03-18T10:05:14.901Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:05:14.901Z] [2025-03-18T10:05:14.901Z] Login Succeeded [2025-03-18T10:05:14.901Z] ---> ****-login.sh ends [Pipeline] } [2025-03-18T10:05:14.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-18T10:05:15.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-18T10:05:15.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-18T10:05:15.070Z] ========================================================= [2025-03-18T10:05:15.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-03-18T10:05:15.070Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:05:15.419Z] + 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 . [2025-03-18T10:05:15.419Z] Sending build context to Docker daemon 2.788MB [2025-03-18T10:05:15.419Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2025-03-18T10:05:15.419Z] Step 2/12 : FROM ${BASE} AS builder [2025-03-18T10:05:15.419Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-03-18T10:05:15.419Z] da9db072f522: Pulling fs layer [2025-03-18T10:05:15.419Z] 6ef4a4ee8ca5: Pulling fs layer [2025-03-18T10:05:15.419Z] 06f05ace1117: Pulling fs layer [2025-03-18T10:05:15.419Z] 5fe327b54edc: Pulling fs layer [2025-03-18T10:05:15.419Z] 4f4fb700ef54: Pulling fs layer [2025-03-18T10:05:15.419Z] 92a5565b7b96: Pulling fs layer [2025-03-18T10:05:15.419Z] ff9bb7016b71: Pulling fs layer [2025-03-18T10:05:15.419Z] b67dba6c2c7d: Pulling fs layer [2025-03-18T10:05:15.419Z] a813b0c90790: Pulling fs layer [2025-03-18T10:05:15.419Z] 92a5565b7b96: Waiting [2025-03-18T10:05:15.419Z] ff9bb7016b71: Waiting [2025-03-18T10:05:15.419Z] b67dba6c2c7d: Waiting [2025-03-18T10:05:15.419Z] a813b0c90790: Waiting [2025-03-18T10:05:15.419Z] 5fe327b54edc: Waiting [2025-03-18T10:05:15.419Z] 4f4fb700ef54: Waiting [2025-03-18T10:05:15.419Z] 6ef4a4ee8ca5: Verifying Checksum [2025-03-18T10:05:15.419Z] 6ef4a4ee8ca5: Download complete [2025-03-18T10:05:15.419Z] 5fe327b54edc: Verifying Checksum [2025-03-18T10:05:15.419Z] 5fe327b54edc: Download complete [2025-03-18T10:05:15.419Z] 4f4fb700ef54: Verifying Checksum [2025-03-18T10:05:15.419Z] 4f4fb700ef54: Download complete [2025-03-18T10:05:15.419Z] 92a5565b7b96: Verifying Checksum [2025-03-18T10:05:15.419Z] 92a5565b7b96: Download complete [2025-03-18T10:05:15.419Z] da9db072f522: Download complete [2025-03-18T10:05:15.678Z] ff9bb7016b71: Download complete [2025-03-18T10:05:15.678Z] da9db072f522: Pull complete [2025-03-18T10:05:15.936Z] a813b0c90790: Download complete [2025-03-18T10:05:15.936Z] 6ef4a4ee8ca5: Pull complete [2025-03-18T10:05:15.936Z] 06f05ace1117: Verifying Checksum [2025-03-18T10:05:15.936Z] 06f05ace1117: Download complete [2025-03-18T10:05:16.501Z] b67dba6c2c7d: Verifying Checksum [2025-03-18T10:05:16.501Z] b67dba6c2c7d: Download complete [2025-03-18T10:05:19.799Z] 06f05ace1117: Pull complete [2025-03-18T10:05:19.799Z] 5fe327b54edc: Pull complete [2025-03-18T10:05:19.799Z] 4f4fb700ef54: Pull complete [2025-03-18T10:05:19.799Z] 92a5565b7b96: Pull complete [2025-03-18T10:05:19.799Z] ff9bb7016b71: Pull complete [2025-03-18T10:05:22.332Z] b67dba6c2c7d: Pull complete [2025-03-18T10:05:22.596Z] a813b0c90790: Pull complete [2025-03-18T10:05:22.596Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-03-18T10:05:22.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-03-18T10:05:22.596Z] ---> 3ba60ce46760 [2025-03-18T10:05:22.596Z] Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-03-18T10:05:25.134Z] ---> Running in 7db45d8974f6 [2025-03-18T10:05:25.134Z] Removing intermediate container 7db45d8974f6 [2025-03-18T10:05:25.134Z] ---> 6a1479090b7b [2025-03-18T10:05:25.134Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2025-03-18T10:05:25.134Z] ---> Running in e248073d71b2 [2025-03-18T10:05:25.134Z] Removing intermediate container e248073d71b2 [2025-03-18T10:05:25.134Z] ---> 538a97dd7349 [2025-03-18T10:05:25.134Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-18T10:05:25.134Z] ---> Running in b9604f640708 [2025-03-18T10:05:25.134Z] Removing intermediate container b9604f640708 [2025-03-18T10:05:25.134Z] ---> 2905ff341a2c [2025-03-18T10:05:25.134Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-18T10:05:25.134Z] ---> Running in 628200c12e43 [2025-03-18T10:05:25.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-18T10:05:25.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-18T10:05:25.650Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-03-18T10:05:25.911Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-03-18T10:05:25.911Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-03-18T10:05:25.911Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-03-18T10:05:25.911Z] Executing busybox-1.36.1-r29.trigger [2025-03-18T10:05:25.911Z] OK: 252 MiB in 62 packages [2025-03-18T10:05:26.170Z] Removing intermediate container 628200c12e43 [2025-03-18T10:05:26.170Z] ---> a7ff1869739b [2025-03-18T10:05:26.170Z] Step 7/12 : WORKDIR /sample-service [2025-03-18T10:05:26.170Z] ---> Running in a50a6da14eb3 [2025-03-18T10:05:26.429Z] Removing intermediate container a50a6da14eb3 [2025-03-18T10:05:26.429Z] ---> 1f4c95619a66 [2025-03-18T10:05:26.429Z] Step 8/12 : COPY go.mod vendor* ./ [2025-03-18T10:05:26.429Z] ---> 777d6fcbe579 [2025-03-18T10:05:26.429Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-18T10:05:26.429Z] ---> Running in cca63c739557 [2025-03-18T10:05:31.700Z] Removing intermediate container cca63c739557 [2025-03-18T10:05:31.700Z] ---> 815f5ff304c5 [2025-03-18T10:05:31.700Z] Step 10/12 : COPY . . [2025-03-18T10:05:31.959Z] ---> 6fa69b28002f [2025-03-18T10:05:31.959Z] Step 11/12 : ARG MAKE='make build' [2025-03-18T10:05:31.959Z] ---> Running in 863f4fdd20a7 [2025-03-18T10:05:32.218Z] Removing intermediate container 863f4fdd20a7 [2025-03-18T10:05:32.218Z] ---> 40077a9038bc [2025-03-18T10:05:32.218Z] Step 12/12 : RUN $MAKE [2025-03-18T10:05:32.218Z] ---> Running in 8a6689960efb [2025-03-18T10:05:32.476Z] noop [2025-03-18T10:05:32.735Z] Removing intermediate container 8a6689960efb [2025-03-18T10:05:32.735Z] ---> 87281a174ba5 [2025-03-18T10:05:32.735Z] Successfully built 87281a174ba5 [2025-03-18T10:05:32.735Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:05:33.086Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-18T10:05:33.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-18T10:05:33.174Z] prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container [2025-03-18T10:05:33.201Z] $ 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 [2025-03-18T10:05:33.569Z] $ docker top bfbf87586a23430bf2b950249777db9f1bbd10cf79a44307a8c44fb33dda0737 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-18T10:05:33.934Z] + go version [2025-03-18T10:05:33.934Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-03-18T10:05:33.943Z] $ docker stop --time=1 bfbf87586a23430bf2b950249777db9f1bbd10cf79a44307a8c44fb33dda0737 [2025-03-18T10:05:35.234Z] $ 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 [2025-03-18T10:05:35.715Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-18T10:05:35.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-18T10:05:35.809Z] prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container [2025-03-18T10:05:35.942Z] $ 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 [2025-03-18T10:05:36.304Z] $ docker top e249af0de7983f3f25acec3800139adff90b1b3593d092a0677b86a604879b99 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-18T10:05:36.664Z] + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh [2025-03-18T10:05:36.970Z] + make test 'GOTESTFLAGS=-json -v' [2025-03-18T10:05:36.970Z] CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2025-03-18T10:05:37.905Z] CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt [2025-03-18T10:05:47.884Z] 📦 github.com/edgexfoundry/sample-service [2025-03-18T10:05:47.884Z] 🛑 no test files [2025-03-18T10:05:47.884Z] [2025-03-18T10:05:47.884Z] 📦 github.com/edgexfoundry/sample-service/cmd [2025-03-18T10:05:47.884Z] github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements [2025-03-18T10:05:47.884Z] [2025-03-18T10:05:47.884Z] 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) [2025-03-18T10:05:47.884Z] level=ERROR ts=2025-03-18T10:05:46.009464353Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" [2025-03-18T10:05:47.884Z] ✅ TestHandleReadCommands (0s) [2025-03-18T10:05:47.884Z] ✅ TestHandleWriteCommands (0s) [2025-03-18T10:05:47.884Z] ✅ TestValue_Int16 (0s) [2025-03-18T10:05:47.884Z] ✅ TestValue_Int32 (0s) [2025-03-18T10:05:47.884Z] ✅ TestValue_Int64 (0s) [2025-03-18T10:05:47.884Z] ✅ TestValue_Int8 (0s) [2025-03-18T10:05:47.884Z] [2025-03-18T10:05:47.884Z] CGO_ENABLED=1 go vet ./... [2025-03-18T10:05:49.264Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-03-18T10:05:49.264Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-03-18T10:05:49.264Z] ./bin/test-attribution-txt.sh [2025-03-18T10:05:49.264Z] An attribution for golang.org/x/crypto is missing from Attribution.txt, please add [2025-03-18T10:05:49.264Z] An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo [2025-03-18T10:05:49.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } [2025-03-18T10:05:49.300Z] $ docker stop --time=1 e249af0de7983f3f25acec3800139adff90b1b3593d092a0677b86a604879b99 [2025-03-18T10:05:50.958Z] $ docker rm -f --volumes e249af0de7983f3f25acec3800139adff90b1b3593d092a0677b86a604879b99 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-18T10:05:51.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-03-18T10:05:51.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-03-18T10:05:51.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-18T10:05:52.261Z] + ls -al . [2025-03-18T10:05:52.261Z] total 160 [2025-03-18T10:05:52.261Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 10:05 . [2025-03-18T10:05:52.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 10:04 .. [2025-03-18T10:05:52.261Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 10:05 .git [2025-03-18T10:05:52.261Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:04 .github [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 46 Mar 18 10:04 .gitignore [2025-03-18T10:05:52.261Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 10:05 .semver [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 4832 Mar 18 10:04 Attribution.txt [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 34862 Mar 18 10:04 CHANGELOG.md [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 1434 Mar 18 10:04 Dockerfile [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 821 Mar 18 10:04 Jenkinsfile [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 729 Mar 18 10:04 Jenkinsfile-sandbox [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 3586 Mar 18 10:04 Jenkinsfile.edgexSemver [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 10:04 LICENSE [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 1308 Mar 18 10:04 Makefile [2025-03-18T10:05:52.261Z] -rw-rw-r-- 1 jenkins jenkins 3063 Mar 18 10:04 README.md [2025-03-18T10:05:52.262Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 10:05 VERSION [2025-03-18T10:05:52.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:04 api [2025-03-18T10:05:52.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:04 bin [2025-03-18T10:05:52.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 10:04 cmd [2025-03-18T10:05:52.262Z] -rw-r--r-- 1 jenkins jenkins 5399 Mar 18 10:05 coverage.out [2025-03-18T10:05:52.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:04 driver [2025-03-18T10:05:52.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 10:04 example [2025-03-18T10:05:52.262Z] -rw-rw-r-- 1 jenkins jenkins 1955 Mar 18 10:04 go.mod [2025-03-18T10:05:52.262Z] -rw-rw-r-- 1 jenkins jenkins 13083 Mar 18 10:04 go.sum [2025-03-18T10:05:52.262Z] -rw-rw-r-- 1 jenkins jenkins 225 Mar 18 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:05:52.579Z] + 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 . [2025-03-18T10:05:52.579Z] Sending build context to Docker daemon 2.794MB [2025-03-18T10:05:52.579Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2025-03-18T10:05:52.579Z] Step 2/23 : FROM ${BASE} AS builder [2025-03-18T10:05:52.579Z] ---> 87281a174ba5 [2025-03-18T10:05:52.579Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-03-18T10:05:52.579Z] ---> Running in 2a94bcf3678b [2025-03-18T10:05:52.579Z] Removing intermediate container 2a94bcf3678b [2025-03-18T10:05:52.579Z] ---> 3acf19b502a1 [2025-03-18T10:05:52.579Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2025-03-18T10:05:52.579Z] ---> Running in 7cf567596163 [2025-03-18T10:05:52.837Z] Removing intermediate container 7cf567596163 [2025-03-18T10:05:52.838Z] ---> eb10516d226c [2025-03-18T10:05:52.838Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-18T10:05:52.838Z] ---> Running in 9fb19dfff565 [2025-03-18T10:05:52.838Z] Removing intermediate container 9fb19dfff565 [2025-03-18T10:05:52.838Z] ---> 769a76cd0c92 [2025-03-18T10:05:52.838Z] Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-18T10:05:52.838Z] ---> Running in 455afc81f285 [2025-03-18T10:05:53.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-18T10:05:53.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-18T10:05:53.615Z] OK: 252 MiB in 62 packages [2025-03-18T10:05:54.196Z] Removing intermediate container 455afc81f285 [2025-03-18T10:05:54.196Z] ---> 4212ef1104b3 [2025-03-18T10:05:54.196Z] Step 7/23 : WORKDIR /sample-service [2025-03-18T10:05:54.196Z] ---> Running in e498fd0d902e [2025-03-18T10:05:54.196Z] Removing intermediate container e498fd0d902e [2025-03-18T10:05:54.196Z] ---> 51d912431d48 [2025-03-18T10:05:54.196Z] Step 8/23 : COPY go.mod vendor* ./ [2025-03-18T10:05:54.196Z] ---> d5b0db1a5e75 [2025-03-18T10:05:54.196Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-18T10:05:54.196Z] ---> Running in b5146b0a9c59 [2025-03-18T10:05:55.133Z] Removing intermediate container b5146b0a9c59 [2025-03-18T10:05:55.133Z] ---> f14ddc1583cf [2025-03-18T10:05:55.133Z] Step 10/23 : COPY . . [2025-03-18T10:05:55.133Z] ---> da0e49ac4c98 [2025-03-18T10:05:55.133Z] Step 11/23 : ARG MAKE='make build' [2025-03-18T10:05:55.133Z] ---> Running in 6229b62a339f [2025-03-18T10:05:55.392Z] Removing intermediate container 6229b62a339f [2025-03-18T10:05:55.392Z] ---> eaab1f5c0b98 [2025-03-18T10:05:55.392Z] Step 12/23 : RUN $MAKE [2025-03-18T10:05:55.392Z] ---> Running in 34bd0bf7a4c4 [2025-03-18T10:05:55.654Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd [2025-03-18T10:06:07.882Z] Removing intermediate container 34bd0bf7a4c4 [2025-03-18T10:06:07.882Z] ---> cc2843b30cd2 [2025-03-18T10:06:07.882Z] Step 13/23 : FROM alpine:3.18 [2025-03-18T10:06:07.882Z] 3.18: Pulling from library/alpine [2025-03-18T10:06:07.882Z] 44cf07d57ee4: Pulling fs layer [2025-03-18T10:06:07.882Z] 44cf07d57ee4: Verifying Checksum [2025-03-18T10:06:07.882Z] 44cf07d57ee4: Download complete [2025-03-18T10:06:07.882Z] 44cf07d57ee4: Pull complete [2025-03-18T10:06:07.882Z] Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f [2025-03-18T10:06:07.882Z] Status: Downloaded newer image for alpine:3.18 [2025-03-18T10:06:07.882Z] ---> 802c91d52981 [2025-03-18T10:06:07.882Z] Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-18T10:06:07.882Z] ---> Running in 861d1c367284 [2025-03-18T10:06:07.882Z] Removing intermediate container 861d1c367284 [2025-03-18T10:06:07.882Z] ---> f9c67411d9cf [2025-03-18T10:06:07.882Z] Step 15/23 : ENV APP_PORT=49999 [2025-03-18T10:06:07.882Z] ---> Running in 89e277215e35 [2025-03-18T10:06:07.882Z] Removing intermediate container 89e277215e35 [2025-03-18T10:06:07.882Z] ---> d53754602713 [2025-03-18T10:06:07.882Z] Step 16/23 : EXPOSE $APP_PORT [2025-03-18T10:06:07.882Z] ---> Running in fe5b9dd4e8d5 [2025-03-18T10:06:07.882Z] Removing intermediate container fe5b9dd4e8d5 [2025-03-18T10:06:07.882Z] ---> 85c0a8dd0e50 [2025-03-18T10:06:07.882Z] Step 17/23 : COPY --from=builder /sample-service/cmd / [2025-03-18T10:06:07.882Z] ---> e876e026f784 [2025-03-18T10:06:07.882Z] Step 18/23 : COPY --from=builder /sample-service/LICENSE / [2025-03-18T10:06:07.882Z] ---> 93aa3af393a7 [2025-03-18T10:06:07.882Z] Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / [2025-03-18T10:06:07.882Z] ---> 404428472d7f [2025-03-18T10:06:07.882Z] Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2025-03-18T10:06:07.882Z] ---> Running in 97a21a4105b4 [2025-03-18T10:06:07.882Z] Removing intermediate container 97a21a4105b4 [2025-03-18T10:06:07.882Z] ---> b0009aea2b42 [2025-03-18T10:06:07.882Z] Step 21/23 : LABEL arch=amd64 [2025-03-18T10:06:07.882Z] ---> Running in d1e060c43778 [2025-03-18T10:06:08.140Z] Removing intermediate container d1e060c43778 [2025-03-18T10:06:08.140Z] ---> 146ca3158262 [2025-03-18T10:06:08.140Z] Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-18T10:06:08.140Z] ---> Running in 235378e35d75 [2025-03-18T10:06:08.140Z] Removing intermediate container 235378e35d75 [2025-03-18T10:06:08.140Z] ---> 5edb6120ca21 [2025-03-18T10:06:08.140Z] Step 23/23 : LABEL version=0.0.0 [2025-03-18T10:06:08.140Z] ---> Running in d3b2930df94b [2025-03-18T10:06:08.140Z] Removing intermediate container d3b2930df94b [2025-03-18T10:06:08.140Z] ---> 6461ad317ed1 [2025-03-18T10:06:08.140Z] [Warning] One or more build-args [ARCH] were not consumed [2025-03-18T10:06:08.140Z] Successfully built 6461ad317ed1 [2025-03-18T10:06:08.140Z] Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-18T10:06:08.183Z] build? true, push? true [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-18T10:06:08.288Z] provisioning config files... [2025-03-18T10:06:08.298Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config14196219249335283595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:08.598Z] ---> ****-login.sh [2025-03-18T10:06:08.598Z] nexus3.edgexfoundry.org:10001 [2025-03-18T10:06:08.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:06:08.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:06:08.598Z] Configure a credential helper to remove this warning. See [2025-03-18T10:06:08.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:06:08.598Z] [2025-03-18T10:06:08.598Z] Login Succeeded [2025-03-18T10:06:08.598Z] nexus3.edgexfoundry.org:10002 [2025-03-18T10:06:08.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:06:08.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:06:08.599Z] Configure a credential helper to remove this warning. See [2025-03-18T10:06:08.599Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:06:08.599Z] [2025-03-18T10:06:08.599Z] Login Succeeded [2025-03-18T10:06:08.599Z] nexus3.edgexfoundry.org:10003 [2025-03-18T10:06:08.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:06:08.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:06:08.858Z] Configure a credential helper to remove this warning. See [2025-03-18T10:06:08.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:06:08.858Z] [2025-03-18T10:06:08.858Z] Login Succeeded [2025-03-18T10:06:08.858Z] nexus3.edgexfoundry.org:10004 [2025-03-18T10:06:08.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:06:08.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:06:08.858Z] Configure a credential helper to remove this warning. See [2025-03-18T10:06:08.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:06:08.858Z] [2025-03-18T10:06:08.858Z] Login Succeeded [2025-03-18T10:06:08.858Z] ****.io [2025-03-18T10:06:09.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-18T10:06:09.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-18T10:06:09.118Z] Configure a credential helper to remove this warning. See [2025-03-18T10:06:09.118Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-18T10:06:09.118Z] [2025-03-18T10:06:09.118Z] Login Succeeded [2025-03-18T10:06:09.118Z] ---> ****-login.sh ends [Pipeline] } [2025-03-18T10:06:09.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-18T10:06:09.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-18T10:06:09.237Z] [edgeXDocker.push] Tagging docker image sample-service with the following tags: [2025-03-18T10:06:09.237Z] 23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-18T10:06:09.237Z] latest [2025-03-18T10:06:09.237Z] 0.0.0 [2025-03-18T10:06:09.237Z] 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [2025-03-18T10:06:09.237Z] PR-165 [2025-03-18T10:06:09.237Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:09.603Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:09.938Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-18T10:06:09.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-18T10:06:09.938Z] 67b3570e2dbb: Preparing [2025-03-18T10:06:09.938Z] 98a60f4b0222: Preparing [2025-03-18T10:06:09.938Z] 6837a321f054: Preparing [2025-03-18T10:06:09.938Z] f44f286046d9: Preparing [2025-03-18T10:06:09.938Z] f44f286046d9: Layer already exists [2025-03-18T10:06:09.938Z] 98a60f4b0222: Pushed [2025-03-18T10:06:09.938Z] 67b3570e2dbb: Pushed [2025-03-18T10:06:11.312Z] 6837a321f054: Pushed [2025-03-18T10:06:11.571Z] 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:11.916Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:12.248Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-03-18T10:06:12.249Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-18T10:06:12.249Z] 67b3570e2dbb: Preparing [2025-03-18T10:06:12.249Z] 98a60f4b0222: Preparing [2025-03-18T10:06:12.249Z] 6837a321f054: Preparing [2025-03-18T10:06:12.249Z] f44f286046d9: Preparing [2025-03-18T10:06:12.249Z] 98a60f4b0222: Layer already exists [2025-03-18T10:06:12.249Z] 67b3570e2dbb: Layer already exists [2025-03-18T10:06:12.249Z] f44f286046d9: Layer already exists [2025-03-18T10:06:12.249Z] 6837a321f054: Layer already exists [2025-03-18T10:06:12.249Z] latest: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:12.582Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:12.914Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-03-18T10:06:12.914Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-18T10:06:12.914Z] 67b3570e2dbb: Preparing [2025-03-18T10:06:12.914Z] 98a60f4b0222: Preparing [2025-03-18T10:06:12.914Z] 6837a321f054: Preparing [2025-03-18T10:06:12.914Z] f44f286046d9: Preparing [2025-03-18T10:06:12.914Z] 6837a321f054: Layer already exists [2025-03-18T10:06:12.914Z] f44f286046d9: Layer already exists [2025-03-18T10:06:12.914Z] 67b3570e2dbb: Layer already exists [2025-03-18T10:06:12.914Z] 98a60f4b0222: Layer already exists [2025-03-18T10:06:12.914Z] 0.0.0: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:13.254Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:13.582Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [2025-03-18T10:06:13.582Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-18T10:06:13.582Z] 67b3570e2dbb: Preparing [2025-03-18T10:06:13.582Z] 98a60f4b0222: Preparing [2025-03-18T10:06:13.582Z] 6837a321f054: Preparing [2025-03-18T10:06:13.582Z] f44f286046d9: Preparing [2025-03-18T10:06:13.582Z] 67b3570e2dbb: Layer already exists [2025-03-18T10:06:13.582Z] f44f286046d9: Layer already exists [2025-03-18T10:06:13.582Z] 98a60f4b0222: Layer already exists [2025-03-18T10:06:13.582Z] 6837a321f054: Layer already exists [2025-03-18T10:06:13.582Z] 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:13.922Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:14.266Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 [2025-03-18T10:06:14.266Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-18T10:06:14.266Z] 67b3570e2dbb: Preparing [2025-03-18T10:06:14.266Z] 98a60f4b0222: Preparing [2025-03-18T10:06:14.266Z] 6837a321f054: Preparing [2025-03-18T10:06:14.266Z] f44f286046d9: Preparing [2025-03-18T10:06:14.266Z] f44f286046d9: Layer already exists [2025-03-18T10:06:14.266Z] 67b3570e2dbb: Layer already exists [2025-03-18T10:06:14.266Z] 6837a321f054: Layer already exists [2025-03-18T10:06:14.266Z] 98a60f4b0222: Layer already exists [2025-03-18T10:06:14.266Z] PR-165: digest: sha256:df7767edc3a2a532d5bee3e1e3cf99b744d9af20e3ba7187302c044cc950ea5e size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-18T10:06:14.360Z] ===================================================== [Pipeline] echo [2025-03-18T10:06:14.381Z] taggedImages: [2025-03-18T10:06:14.381Z] - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-18T10:06:14.381Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [2025-03-18T10:06:14.381Z] - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-03-18T10:06:14.381Z] - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [2025-03-18T10:06:14.381Z] - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo [2025-03-18T10:06:14.383Z] ======================build multi-arch============================== [Pipeline] echo [2025-03-18T10:06:14.462Z] ========================================================= [2025-03-18T10:06:14.462Z] [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] [2025-03-18T10:06:14.462Z] ========================================================= [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 [2025-03-18T10:06:14.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-18T10:06:14.961Z] [2025-03-18T10:06:14.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:15.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-18T10:06:15.269Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-18T10:06:15.269Z] 5eb5b503b376: Pulling fs layer [2025-03-18T10:06:15.269Z] 5c69ac0246d0: Pulling fs layer [2025-03-18T10:06:15.269Z] ec43610c2a17: Pulling fs layer [2025-03-18T10:06:15.269Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-18T10:06:15.269Z] 33b1e0a273af: Pulling fs layer [2025-03-18T10:06:15.269Z] 5d3b04190fa2: Pulling fs layer [2025-03-18T10:06:15.269Z] 2f39f015ded8: Pulling fs layer [2025-03-18T10:06:15.269Z] 3a2ae6a8a46f: Waiting [2025-03-18T10:06:15.269Z] 33b1e0a273af: Waiting [2025-03-18T10:06:15.269Z] 5d3b04190fa2: Waiting [2025-03-18T10:06:15.269Z] 2f39f015ded8: Waiting [2025-03-18T10:06:15.269Z] 5c69ac0246d0: Verifying Checksum [2025-03-18T10:06:15.269Z] 5c69ac0246d0: Download complete [2025-03-18T10:06:15.269Z] 3a2ae6a8a46f: Verifying Checksum [2025-03-18T10:06:15.269Z] 3a2ae6a8a46f: Download complete [2025-03-18T10:06:15.269Z] 33b1e0a273af: Verifying Checksum [2025-03-18T10:06:15.269Z] 33b1e0a273af: Download complete [2025-03-18T10:06:15.269Z] 5d3b04190fa2: Verifying Checksum [2025-03-18T10:06:15.269Z] 5d3b04190fa2: Download complete [2025-03-18T10:06:15.269Z] ec43610c2a17: Verifying Checksum [2025-03-18T10:06:15.269Z] ec43610c2a17: Download complete [2025-03-18T10:06:15.527Z] 5eb5b503b376: Verifying Checksum [2025-03-18T10:06:15.527Z] 5eb5b503b376: Download complete [2025-03-18T10:06:16.094Z] 2f39f015ded8: Verifying Checksum [2025-03-18T10:06:16.094Z] 2f39f015ded8: Download complete [2025-03-18T10:06:16.659Z] 5eb5b503b376: Pull complete [2025-03-18T10:06:16.917Z] 5c69ac0246d0: Pull complete [2025-03-18T10:06:17.480Z] ec43610c2a17: Pull complete [2025-03-18T10:06:17.480Z] 3a2ae6a8a46f: Pull complete [2025-03-18T10:06:17.737Z] 33b1e0a273af: Pull complete [2025-03-18T10:06:17.737Z] 5d3b04190fa2: Pull complete [2025-03-18T10:06:23.024Z] 2f39f015ded8: Pull complete [2025-03-18T10:06:23.024Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-18T10:06:23.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-18T10:06:23.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-18T10:06:23.141Z] prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container [2025-03-18T10:06:23.165Z] $ 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 [2025-03-18T10:06:25.091Z] $ docker top fbb594f64c185ff50d08dfe6618e1ea5ce9afea29b7cce367e9f9709801639c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:25.516Z] ---> job-cost.sh [2025-03-18T10:06:25.516Z] lf-activate-venv: SKIPPING [2025-03-18T10:06:25.516Z] INFO: No Stack... [2025-03-18T10:06:26.082Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-18T10:06:26.340Z] INFO: Archiving Costs [Pipeline] sh [2025-03-18T10:06:26.629Z] + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv [2025-03-18T10:06:26.629Z] + cut -d, -f6 [Pipeline] lock [2025-03-18T10:06:26.644Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] [2025-03-18T10:06:26.653Z] Resource [jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] did not exist. Created. [2025-03-18T10:06:26.658Z] Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-18T10:06:26.976Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-03-18T10:06:27.017Z] Stashed 1 file(s) [Pipeline] } [2025-03-18T10:06:27.026Z] Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-10-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-18T10:06:27.060Z] $ docker stop --time=1 fbb594f64c185ff50d08dfe6618e1ea5ce9afea29b7cce367e9f9709801639c7 [2025-03-18T10:06:28.214Z] $ docker rm -f --volumes fbb594f64c185ff50d08dfe6618e1ea5ce9afea29b7cce367e9f9709801639c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2025-03-18T10:06:28.395Z] 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 [2025-03-18T10:06:29.425Z] + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [2025-03-18T10:06:29.425Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-03-18T10:06:29.425Z] total 16 [2025-03-18T10:06:29.425Z] drwxr-xr-x 3 root root 4096 Mar 18 10:06 . [2025-03-18T10:06:29.425Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 10:06 .. [2025-03-18T10:06:29.425Z] drwxr-xr-x 2 root root 4096 Mar 18 10:06 cost [2025-03-18T10:06:29.425Z] -rw-r--r-- 1 root root 87 Mar 18 10:06 cost.csv [2025-03-18T10:06:29.425Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-03-18T10:06:29.425Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-03-18T10:06:29.425Z] total 16 [2025-03-18T10:06:29.425Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 10:06 . [2025-03-18T10:06:29.425Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 10:06 .. [2025-03-18T10:06:29.425Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 10:06 cost [2025-03-18T10:06:29.425Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 18 10:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:29.708Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:30.555Z] ---> package-listing.sh [2025-03-18T10:06:30.555Z] ++ facter osfamily [2025-03-18T10:06:30.555Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-18T10:06:30.814Z] + OS_FAMILY=debian [2025-03-18T10:06:30.814Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-03-18T10:06:30.814Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-18T10:06:30.814Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-18T10:06:30.814Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-18T10:06:30.814Z] + PACKAGES=/tmp/packages_start.txt [2025-03-18T10:06:30.814Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-03-18T10:06:30.814Z] + PACKAGES=/tmp/packages_end.txt [2025-03-18T10:06:30.814Z] + case "${OS_FAMILY}" in [2025-03-18T10:06:30.814Z] + dpkg -l [2025-03-18T10:06:30.814Z] + grep '^ii' [2025-03-18T10:06:30.814Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-18T10:06:30.814Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-18T10:06:30.814Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-18T10:06:30.814Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-03-18T10:06:30.814Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-03-18T10:06:30.814Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_sample-service_PR-165/archives/ [Pipeline] echo [2025-03-18T10:06:30.825Z] 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 [2025-03-18T10:06:31.100Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-18T10:06:31.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-18T10:06:31.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-18T10:06:31.754Z] prd-ubuntu20.04-docker-8c-8g-41564 does not seem to be running inside a container [2025-03-18T10:06:31.779Z] $ 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 [2025-03-18T10:06:31.979Z] $ docker top 3a261fa112c6fa1abaee188af0a909c9963c63c29ac94d92c088cb320829d084 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-18T10:06:32.340Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-18T10:06:32.629Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-18T10:06:32.916Z] + ls /var/log/sa-host [2025-03-18T10:06:32.917Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-18T10:06:33.089Z] provisioning config files... [2025-03-18T10:06:33.099Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config264762653186888042tmp [Pipeline] { [Pipeline] echo [2025-03-18T10:06:33.120Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:33.400Z] ---> create-netrc.sh [Pipeline] } [2025-03-18T10:06:33.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:33.747Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-18T10:06:33.763Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:34.051Z] ---> sudo-logs.sh [2025-03-18T10:06:34.051Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-03-18T10:06:34.090Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:34.579Z] ---> job-cost.sh [2025-03-18T10:06:34.579Z] lf-activate-venv: SKIPPING [2025-03-18T10:06:34.579Z] DEBUG: total: 0.2199999988079071 [2025-03-18T10:06:34.579Z] INFO: Retrieving Stack Cost... [2025-03-18T10:06:34.579Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-18T10:06:34.878Z] INFO: Archiving Costs [Pipeline] echo [2025-03-18T10:06:34.917Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-18T10:06:35.214Z] ---> logs-deploy.sh [2025-03-18T10:06:35.214Z] lf-activate-venv: SKIPPING [2025-03-18T10:06:35.214Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/10 [2025-03-18T10:06:35.214Z] INFO: archiving workspace using pattern(s): [2025-03-18T10:06:36.152Z] Archives upload complete. [2025-03-18T10:06:36.413Z] INFO: archiving logs to Nexus [2025-03-18T10:06:36.983Z] ---> uname -a: [2025-03-18T10:06:36.983Z] 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 [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] ---> lscpu: [2025-03-18T10:06:36.983Z] Architecture: x86_64 [2025-03-18T10:06:36.983Z] CPU op-mode(s): 32-bit, 64-bit [2025-03-18T10:06:36.983Z] Byte Order: Little Endian [2025-03-18T10:06:36.983Z] Address sizes: 40 bits physical, 48 bits virtual [2025-03-18T10:06:36.983Z] CPU(s): 8 [2025-03-18T10:06:36.983Z] On-line CPU(s) list: 0-7 [2025-03-18T10:06:36.983Z] Thread(s) per core: 1 [2025-03-18T10:06:36.983Z] Core(s) per socket: 1 [2025-03-18T10:06:36.983Z] Socket(s): 8 [2025-03-18T10:06:36.983Z] NUMA node(s): 1 [2025-03-18T10:06:36.983Z] Vendor ID: AuthenticAMD [2025-03-18T10:06:36.983Z] CPU family: 23 [2025-03-18T10:06:36.983Z] Model: 49 [2025-03-18T10:06:36.983Z] Model name: AMD EPYC-Rome Processor [2025-03-18T10:06:36.983Z] Stepping: 0 [2025-03-18T10:06:36.983Z] CPU MHz: 2799.998 [2025-03-18T10:06:36.983Z] BogoMIPS: 5599.99 [2025-03-18T10:06:36.983Z] Virtualization: AMD-V [2025-03-18T10:06:36.983Z] Hypervisor vendor: KVM [2025-03-18T10:06:36.983Z] Virtualization type: full [2025-03-18T10:06:36.983Z] L1d cache: 256 KiB [2025-03-18T10:06:36.983Z] L1i cache: 256 KiB [2025-03-18T10:06:36.983Z] L2 cache: 4 MiB [2025-03-18T10:06:36.983Z] L3 cache: 128 MiB [2025-03-18T10:06:36.983Z] NUMA node0 CPU(s): 0-7 [2025-03-18T10:06:36.983Z] Vulnerability Itlb multihit: Not affected [2025-03-18T10:06:36.983Z] Vulnerability L1tf: Not affected [2025-03-18T10:06:36.983Z] Vulnerability Mds: Not affected [2025-03-18T10:06:36.983Z] Vulnerability Meltdown: Not affected [2025-03-18T10:06:36.983Z] Vulnerability Mmio stale data: Not affected [2025-03-18T10:06:36.983Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2025-03-18T10:06:36.983Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2025-03-18T10:06:36.983Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2025-03-18T10:06:36.983Z] Vulnerability Srbds: Not affected [2025-03-18T10:06:36.983Z] Vulnerability Tsx async abort: Not affected [2025-03-18T10:06:36.983Z] 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 [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] ---> nproc: [2025-03-18T10:06:36.983Z] 8 [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] ---> df -h: [2025-03-18T10:06:36.983Z] Filesystem Size Used Avail Use% Mounted on [2025-03-18T10:06:36.983Z] overlay 155G 11G 145G 7% / [2025-03-18T10:06:36.983Z] tmpfs 64M 0 64M 0% /dev [2025-03-18T10:06:36.983Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2025-03-18T10:06:36.983Z] shm 64M 0 64M 0% /dev/shm [2025-03-18T10:06:36.983Z] /dev/vda1 155G 11G 145G 7% /facter-os [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] ---> sar -b -r -n DEV: [2025-03-18T10:06:36.983Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-41564) 03/18/25 _x86_64_ (8 CPU) [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] 10:04:14 LINUX RESTART (8 CPU) [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] 10:05:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2025-03-18T10:06:36.983Z] 10:06:01 246.93 3.51 243.42 0.00 459.39 51382.24 0.00 [2025-03-18T10:06:36.983Z] Average: 246.93 3.51 243.42 0.00 459.39 51382.24 0.00 [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] 10:05:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2025-03-18T10:06:36.983Z] 10:06:01 28744056 31343816 957988 2.91 92968 2753444 2081112 6.13 1417056 2295220 87856 [2025-03-18T10:06:36.983Z] Average: 28744056 31343816 957988 2.91 92968 2753444 2081112 6.13 1417056 2295220 87856 [2025-03-18T10:06:36.983Z] [2025-03-18T10:06:36.983Z] 10:05:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2025-03-18T10:06:36.983Z] 10:06:01 ens3 264.29 164.66 3821.03 40.51 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.983Z] 10:06:01 lo 3.05 3.05 0.31 0.31 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.983Z] 10:06:01 docker0 43.88 62.15 3.80 454.80 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.983Z] 10:06:01 veth8ae4e4b 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.983Z] Average: ens3 264.29 164.66 3821.03 40.51 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.983Z] Average: lo 3.05 3.05 0.31 0.31 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.983Z] Average: docker0 43.88 62.15 3.80 454.80 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.984Z] Average: veth8ae4e4b 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 [2025-03-18T10:06:36.984Z] [2025-03-18T10:06:36.984Z] [2025-03-18T10:06:36.984Z] ---> sar -P ALL: [2025-03-18T10:06:36.984Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-41564) 03/18/25 _x86_64_ (8 CPU) [2025-03-18T10:06:36.984Z] [2025-03-18T10:06:36.984Z] 10:04:14 LINUX RESTART (8 CPU) [2025-03-18T10:06:36.984Z] [2025-03-18T10:06:36.984Z] 10:05:02 CPU %user %nice %system %iowait %steal %idle [2025-03-18T10:06:36.984Z] 10:06:01 all 20.66 0.00 6.24 1.44 0.08 71.58 [2025-03-18T10:06:36.984Z] 10:06:01 0 20.43 0.00 5.97 0.32 0.09 73.19 [2025-03-18T10:06:36.984Z] 10:06:01 1 19.10 0.00 5.62 1.88 0.09 73.31 [2025-03-18T10:06:36.984Z] 10:06:01 2 20.64 0.00 6.81 1.08 0.09 71.38 [2025-03-18T10:06:36.984Z] 10:06:01 3 19.86 0.00 6.31 0.34 0.07 73.42 [2025-03-18T10:06:36.984Z] 10:06:01 4 21.11 0.00 5.99 0.33 0.09 72.49 [2025-03-18T10:06:36.984Z] 10:06:01 5 21.75 0.00 6.18 1.15 0.09 70.84 [2025-03-18T10:06:36.984Z] 10:06:01 6 21.15 0.00 6.66 6.24 0.07 65.88 [2025-03-18T10:06:36.984Z] 10:06:01 7 21.22 0.00 6.40 0.21 0.07 72.11 [2025-03-18T10:06:36.984Z] Average: all 20.66 0.00 6.24 1.44 0.08 71.58 [2025-03-18T10:06:36.984Z] Average: 0 20.43 0.00 5.97 0.32 0.09 73.19 [2025-03-18T10:06:36.984Z] Average: 1 19.10 0.00 5.62 1.88 0.09 73.31 [2025-03-18T10:06:36.984Z] Average: 2 20.64 0.00 6.81 1.08 0.09 71.38 [2025-03-18T10:06:36.984Z] Average: 3 19.86 0.00 6.31 0.34 0.07 73.42 [2025-03-18T10:06:36.984Z] Average: 4 21.11 0.00 5.99 0.33 0.09 72.49 [2025-03-18T10:06:36.984Z] Average: 5 21.75 0.00 6.18 1.15 0.09 70.84 [2025-03-18T10:06:36.984Z] Average: 6 21.15 0.00 6.66 6.24 0.07 65.88 [2025-03-18T10:06:36.984Z] Average: 7 21.22 0.00 6.40 0.21 0.07 72.11 [2025-03-18T10:06:36.984Z] [2025-03-18T10:06:36.984Z] [2025-03-18T10:06:36.984Z]