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-ssh11676347455146294345.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision ff7854e6e880f4986d85db2a71289ab620bef55d 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-ssh17247044822953266704.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 ff7854e6e880f4986d85db2a71289ab620bef55d 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-ssh15606697726658179717.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ff7854e6e880f4986d85db2a71289ab620bef55d (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f ff7854e6e880f4986d85db2a71289ab620bef55d # timeout=10 Commit message: "update" > 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-ssh17590301749850621760.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-ssh5325257097114041925.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-41605 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-19T05:21:37.923Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-03-19T05:21:38.020Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-19T05:21:38.051Z] ========================================================= [2025-03-19T05:21:38.051Z] EdgeX Global Pipelines Version Info [2025-03-19T05:21:38.051Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:21:39.150Z] ------------------- [2025-03-19T05:21:39.150Z] stable info: [2025-03-19T05:21:39.150Z] ------------------- [2025-03-19T05:21:39.150Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-03-19T05:21:39.150Z] Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e [2025-03-19T05:21:39.150Z] Message: update stable to v1.0.272 [2025-03-19T05:21:39.408Z] ------------------- [2025-03-19T05:21:39.408Z] experimental info: [2025-03-19T05:21:39.408Z] ------------------- [2025-03-19T05:21:39.408Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-19T05:21:39.408Z] Commit SHA: ff7854e6e880f4986d85db2a71289ab620bef55d [2025-03-19T05:21:39.409Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-03-19T05:21:39.490Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo [2025-03-19T05:21:39.515Z] [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo [2025-03-19T05:21:39.537Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-03-19T05:21:39.558Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test GOTESTFLAGS="-json -v" [Pipeline] echo [2025-03-19T05:21:39.580Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-03-19T05:21:39.608Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-03-19T05:21:39.628Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-03-19T05:21:39.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-03-19T05:21:39.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-03-19T05:21:39.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-03-19T05:21:39.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-03-19T05:21:39.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo [2025-03-19T05:21:39.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-03-19T05:21:39.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-03-19T05:21:39.811Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-03-19T05:21:39.840Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-03-19T05:21:39.860Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-03-19T05:21:39.881Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-03-19T05:21:39.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-03-19T05:21:39.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-03-19T05:21:39.954Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-03-19T05:21:39.973Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-03-19T05:21:39.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-03-19T05:21:40.013Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-03-19T05:21:40.039Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-03-19T05:21:40.062Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-03-19T05:21:40.086Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-03-19T05:21:40.108Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2025-03-19T05:21:40.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2025-03-19T05:21:40.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2025-03-19T05:21:40.164Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-19T05:21:40.186Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23ff995 [Pipeline] echo [2025-03-19T05:21:40.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-19T05:21:40.267Z] provisioning config files... [2025-03-19T05:21:40.291Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config14357658367935942903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:21:40.635Z] ---> ****-login.sh [2025-03-19T05:21:40.635Z] nexus3.edgexfoundry.org:10001 [2025-03-19T05:21:40.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:41.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:41.155Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:41.155Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:41.155Z] [2025-03-19T05:21:41.155Z] Login Succeeded [2025-03-19T05:21:41.155Z] nexus3.edgexfoundry.org:10002 [2025-03-19T05:21:41.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:41.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:41.156Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:41.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:41.156Z] [2025-03-19T05:21:41.156Z] Login Succeeded [2025-03-19T05:21:41.156Z] nexus3.edgexfoundry.org:10003 [2025-03-19T05:21:41.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:41.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:41.415Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:41.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:41.416Z] [2025-03-19T05:21:41.416Z] Login Succeeded [2025-03-19T05:21:41.416Z] nexus3.edgexfoundry.org:10004 [2025-03-19T05:21:41.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:41.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:41.416Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:41.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:41.416Z] [2025-03-19T05:21:41.416Z] Login Succeeded [2025-03-19T05:21:41.416Z] ****.io [2025-03-19T05:21:41.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:41.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:41.675Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:41.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:41.675Z] [2025-03-19T05:21:41.675Z] Login Succeeded [2025-03-19T05:21:41.675Z] ---> ****-login.sh ends [Pipeline] } [2025-03-19T05:21:41.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-03-19T05:21:42.102Z] + git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-19T05:21:42.132Z] -----------> git rev-list -1 --merges 23ff995a3aef02e85a45daf0513f418e4247a776~1..23ff995a3aef02e85a45daf0513f418e4247a776 23ff995a3aef02e85a45daf0513f418e4247a776 [false] [Pipeline] sh [2025-03-19T05:21:42.425Z] + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-19T05:21:42.440Z] ========================================================= [2025-03-19T05:21:42.440Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-19T05:21:42.440Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-19T05:21:42.779Z] + git log --format=format:%s -1 23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] echo [2025-03-19T05:21:42.789Z] [semverPrep] GIT_COMMIT: 23ff995a3aef02e85a45daf0513f418e4247a776, Commit Message: ci: test multi-arch pipeline [Pipeline] echo [2025-03-19T05:21:42.805Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-03-19T05:21:43.187Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-19T05:21:43.188Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-03-19T05:21:43.188Z] + [ -e /tmp/ssh_known_hosts ] [2025-03-19T05:21:43.188Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-03-19T05:21:43.188Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-03-19T05:21:43.188Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-03-19T05:21:43.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:21:43.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-19T05:21:43.617Z] [2025-03-19T05:21:43.617Z] 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-19T05:21:43.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-19T05:21:43.917Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-03-19T05:21:43.917Z] b85a868b505f: Pulling fs layer [2025-03-19T05:21:43.917Z] e2be974225ed: Pulling fs layer [2025-03-19T05:21:43.917Z] 339a4e72a1f5: Pulling fs layer [2025-03-19T05:21:43.917Z] 988bab9f4d93: Pulling fs layer [2025-03-19T05:21:43.917Z] 1469e6f7b9e6: Pulling fs layer [2025-03-19T05:21:43.917Z] eaf3925da568: Pulling fs layer [2025-03-19T05:21:43.917Z] bab4dde63d76: Pulling fs layer [2025-03-19T05:21:43.917Z] bde34c3a00c8: Pulling fs layer [2025-03-19T05:21:43.917Z] b352a97aabf1: Pulling fs layer [2025-03-19T05:21:43.917Z] 4872d77fe225: Pulling fs layer [2025-03-19T05:21:43.917Z] 5851b861e8e6: Pulling fs layer [2025-03-19T05:21:43.917Z] 1469e6f7b9e6: Waiting [2025-03-19T05:21:43.917Z] bde34c3a00c8: Waiting [2025-03-19T05:21:43.917Z] eaf3925da568: Waiting [2025-03-19T05:21:43.917Z] 5851b861e8e6: Waiting [2025-03-19T05:21:43.917Z] bab4dde63d76: Waiting [2025-03-19T05:21:43.917Z] 4872d77fe225: Waiting [2025-03-19T05:21:43.917Z] b352a97aabf1: Waiting [2025-03-19T05:21:43.917Z] 988bab9f4d93: Waiting [2025-03-19T05:21:43.917Z] e2be974225ed: Download complete [2025-03-19T05:21:43.917Z] 988bab9f4d93: Verifying Checksum [2025-03-19T05:21:43.917Z] 988bab9f4d93: Download complete [2025-03-19T05:21:44.175Z] 1469e6f7b9e6: Verifying Checksum [2025-03-19T05:21:44.175Z] 1469e6f7b9e6: Download complete [2025-03-19T05:21:44.175Z] eaf3925da568: Verifying Checksum [2025-03-19T05:21:44.175Z] eaf3925da568: Download complete [2025-03-19T05:21:44.175Z] 339a4e72a1f5: Verifying Checksum [2025-03-19T05:21:44.175Z] 339a4e72a1f5: Download complete [2025-03-19T05:21:44.175Z] bde34c3a00c8: Verifying Checksum [2025-03-19T05:21:44.175Z] bde34c3a00c8: Download complete [2025-03-19T05:21:44.175Z] b352a97aabf1: Verifying Checksum [2025-03-19T05:21:44.175Z] b352a97aabf1: Download complete [2025-03-19T05:21:44.175Z] 4872d77fe225: Download complete [2025-03-19T05:21:44.175Z] 5851b861e8e6: Verifying Checksum [2025-03-19T05:21:44.175Z] 5851b861e8e6: Download complete [2025-03-19T05:21:44.175Z] b85a868b505f: Download complete [2025-03-19T05:21:44.434Z] bab4dde63d76: Verifying Checksum [2025-03-19T05:21:44.434Z] bab4dde63d76: Download complete [2025-03-19T05:21:45.367Z] b85a868b505f: Pull complete [2025-03-19T05:21:45.367Z] e2be974225ed: Pull complete [2025-03-19T05:21:45.935Z] 339a4e72a1f5: Pull complete [2025-03-19T05:21:45.935Z] 988bab9f4d93: Pull complete [2025-03-19T05:21:46.193Z] 1469e6f7b9e6: Pull complete [2025-03-19T05:21:46.457Z] eaf3925da568: Pull complete [2025-03-19T05:21:48.363Z] bab4dde63d76: Pull complete [2025-03-19T05:21:48.363Z] bde34c3a00c8: Pull complete [2025-03-19T05:21:48.363Z] b352a97aabf1: Pull complete [2025-03-19T05:21:48.363Z] 4872d77fe225: Pull complete [2025-03-19T05:21:48.363Z] 5851b861e8e6: Pull complete [2025-03-19T05:21:48.363Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-03-19T05:21:48.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-19T05:21:48.363Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-19T05:21:48.567Z] prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container [2025-03-19T05:21:48.594Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-03-19T05:21:49.892Z] $ docker top 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb -eo pid,comm [2025-03-19T05:21:49.945Z] 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-19T05:21:49.945Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-03-19T05:21:50.002Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-19T05:21:50.002Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-19T05:21:50.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-19T05:21:50.128Z] $ docker exec 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent [2025-03-19T05:21:50.237Z] SSH_AUTH_SOCK=/tmp/ssh-3uGVYdp3TxnR/agent.32 [2025-03-19T05:21:50.237Z] SSH_AGENT_PID=38 [2025-03-19T05:21:50.242Z] Running ssh-add (command line suppressed) [2025-03-19T05:21:50.355Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9044221134086682.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_9044221134086682.key) [2025-03-19T05:21:50.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-19T05:21:50.663Z] + git tag --points-at HEAD [Pipeline] } [2025-03-19T05:21:50.670Z] $ docker exec --env ******** --env ******** 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent -k [2025-03-19T05:21:50.763Z] unset SSH_AUTH_SOCK; [2025-03-19T05:21:50.763Z] unset SSH_AGENT_PID; [2025-03-19T05:21:50.763Z] echo Agent pid 38 killed; [2025-03-19T05:21:50.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-03-19T05:21:50.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-19T05:21:50.812Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-19T05:21:50.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-19T05:21:50.917Z] $ docker exec 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent [2025-03-19T05:21:51.018Z] SSH_AUTH_SOCK=/tmp/ssh-G4JaLHEBTZhI/agent.71 [2025-03-19T05:21:51.018Z] SSH_AGENT_PID=77 [2025-03-19T05:21:51.023Z] Running ssh-add (command line suppressed) [2025-03-19T05:21:51.111Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_13785048485571058781.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_13785048485571058781.key) [2025-03-19T05:21:51.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-19T05:21:51.424Z] + git semver init [2025-03-19T05:21:51.684Z] 2025-03-19 05:21:51,571 [run_init] DEBUG init version:0.0.0 force:False [2025-03-19T05:21:51.684Z] 2025-03-19 05:21:51,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-03-19T05:21:51.684Z] 2025-03-19 05:21:51,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-03-19T05:21:51.684Z] 2025-03-19 05:21:51,573 [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-19T05:21:52.253Z] 2025-03-19 05:21:52,197 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude [2025-03-19T05:21:52.253Z] 2025-03-19 05:21:52,198 [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-19T05:21:52.253Z] 2025-03-19 05:21:52,198 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-03-19T05:21:52.253Z] 2025-03-19 05:21:52,202 [execute] INFO git cat-file --batch-check [2025-03-19T05:21:52.253Z] 2025-03-19 05:21:52,202 [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-19T05:21:52.253Z] 2025-03-19 05:21:52,207 [execute] INFO git cat-file --batch [2025-03-19T05:21:52.253Z] 2025-03-19 05:21:52,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2025-03-19T05:21:52.253Z] 2025-03-19 05:21:52,211 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-03-19T05:21:52.254Z] 0.0.0 [Pipeline] } [2025-03-19T05:21:52.262Z] $ docker exec --env ******** --env ******** 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb ssh-agent -k [2025-03-19T05:21:52.354Z] unset SSH_AUTH_SOCK; [2025-03-19T05:21:52.355Z] unset SSH_AGENT_PID; [2025-03-19T05:21:52.355Z] echo Agent pid 77 killed; [2025-03-19T05:21:52.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-19T05:21:52.699Z] + git semver [Pipeline] } [2025-03-19T05:21:52.973Z] $ docker stop --time=1 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb [2025-03-19T05:21:54.283Z] $ docker rm -f --volumes 22fe034a9a703ed5f1ad8590ac28b14fb3d0ddf13a0164ff212562a34e31c4eb [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-19T05:21:54.628Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-03-19T05:21:54.867Z] Stashed 1 file(s) [Pipeline] echo [2025-03-19T05:21:54.872Z] [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-19T05:21:55.189Z] provisioning config files... [2025-03-19T05:21:55.198Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config17352576309088925549tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:21:55.526Z] ---> ****-login.sh [2025-03-19T05:21:55.526Z] nexus3.edgexfoundry.org:10001 [2025-03-19T05:21:55.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:55.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:55.526Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:55.526Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:55.526Z] [2025-03-19T05:21:55.526Z] Login Succeeded [2025-03-19T05:21:55.526Z] nexus3.edgexfoundry.org:10002 [2025-03-19T05:21:55.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:55.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:55.526Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:55.527Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:55.527Z] [2025-03-19T05:21:55.527Z] Login Succeeded [2025-03-19T05:21:55.527Z] nexus3.edgexfoundry.org:10003 [2025-03-19T05:21:55.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:55.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:55.786Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:55.786Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:55.786Z] [2025-03-19T05:21:55.786Z] Login Succeeded [2025-03-19T05:21:55.786Z] nexus3.edgexfoundry.org:10004 [2025-03-19T05:21:55.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:55.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:55.786Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:55.786Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:55.786Z] [2025-03-19T05:21:55.786Z] Login Succeeded [2025-03-19T05:21:55.786Z] ****.io [2025-03-19T05:21:55.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:21:56.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:21:56.046Z] Configure a credential helper to remove this warning. See [2025-03-19T05:21:56.046Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:21:56.046Z] [2025-03-19T05:21:56.046Z] Login Succeeded [2025-03-19T05:21:56.046Z] ---> ****-login.sh ends [Pipeline] } [2025-03-19T05:21:56.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-19T05:21:56.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-19T05:21:56.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-19T05:21:56.192Z] ========================================================= [2025-03-19T05:21:56.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-03-19T05:21:56.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:21:56.524Z] + 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-19T05:21:56.524Z] Sending build context to Docker daemon 2.788MB [2025-03-19T05:21:56.524Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2025-03-19T05:21:56.524Z] Step 2/12 : FROM ${BASE} AS builder [2025-03-19T05:21:56.524Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-03-19T05:21:56.524Z] da9db072f522: Pulling fs layer [2025-03-19T05:21:56.524Z] 6ef4a4ee8ca5: Pulling fs layer [2025-03-19T05:21:56.524Z] 06f05ace1117: Pulling fs layer [2025-03-19T05:21:56.524Z] 5fe327b54edc: Pulling fs layer [2025-03-19T05:21:56.524Z] 4f4fb700ef54: Pulling fs layer [2025-03-19T05:21:56.524Z] 92a5565b7b96: Pulling fs layer [2025-03-19T05:21:56.524Z] 5fe327b54edc: Waiting [2025-03-19T05:21:56.524Z] 4f4fb700ef54: Waiting [2025-03-19T05:21:56.524Z] ff9bb7016b71: Pulling fs layer [2025-03-19T05:21:56.524Z] b67dba6c2c7d: Pulling fs layer [2025-03-19T05:21:56.524Z] a813b0c90790: Pulling fs layer [2025-03-19T05:21:56.524Z] 92a5565b7b96: Waiting [2025-03-19T05:21:56.524Z] b67dba6c2c7d: Waiting [2025-03-19T05:21:56.524Z] a813b0c90790: Waiting [2025-03-19T05:21:56.784Z] 6ef4a4ee8ca5: Verifying Checksum [2025-03-19T05:21:56.784Z] 6ef4a4ee8ca5: Download complete [2025-03-19T05:21:56.784Z] 5fe327b54edc: Verifying Checksum [2025-03-19T05:21:56.784Z] 5fe327b54edc: Download complete [2025-03-19T05:21:56.784Z] 4f4fb700ef54: Download complete [2025-03-19T05:21:56.784Z] 92a5565b7b96: Download complete [2025-03-19T05:21:56.784Z] da9db072f522: Download complete [2025-03-19T05:21:56.784Z] ff9bb7016b71: Verifying Checksum [2025-03-19T05:21:56.784Z] ff9bb7016b71: Download complete [2025-03-19T05:21:56.784Z] da9db072f522: Pull complete [2025-03-19T05:21:57.043Z] a813b0c90790: Verifying Checksum [2025-03-19T05:21:57.043Z] a813b0c90790: Download complete [2025-03-19T05:21:57.043Z] 6ef4a4ee8ca5: Pull complete [2025-03-19T05:21:57.302Z] 06f05ace1117: Verifying Checksum [2025-03-19T05:21:57.302Z] 06f05ace1117: Download complete [2025-03-19T05:21:57.567Z] b67dba6c2c7d: Verifying Checksum [2025-03-19T05:21:57.567Z] b67dba6c2c7d: Download complete [2025-03-19T05:22:00.849Z] 06f05ace1117: Pull complete [2025-03-19T05:22:00.849Z] 5fe327b54edc: Pull complete [2025-03-19T05:22:00.849Z] 4f4fb700ef54: Pull complete [2025-03-19T05:22:01.107Z] 92a5565b7b96: Pull complete [2025-03-19T05:22:01.107Z] ff9bb7016b71: Pull complete [2025-03-19T05:22:03.635Z] b67dba6c2c7d: Pull complete [2025-03-19T05:22:03.895Z] a813b0c90790: Pull complete [2025-03-19T05:22:03.895Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-03-19T05:22:03.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-03-19T05:22:03.895Z] ---> 3ba60ce46760 [2025-03-19T05:22:03.895Z] Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-03-19T05:22:05.881Z] ---> Running in bb036413ab47 [2025-03-19T05:22:05.881Z] Removing intermediate container bb036413ab47 [2025-03-19T05:22:05.881Z] ---> ddf1cf9215ac [2025-03-19T05:22:05.881Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2025-03-19T05:22:05.881Z] ---> Running in a206e5466d33 [2025-03-19T05:22:05.881Z] Removing intermediate container a206e5466d33 [2025-03-19T05:22:05.881Z] ---> 1fc5aac9bb9f [2025-03-19T05:22:05.881Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-19T05:22:05.881Z] ---> Running in 5f1c2b50168a [2025-03-19T05:22:05.881Z] Removing intermediate container 5f1c2b50168a [2025-03-19T05:22:05.881Z] ---> 5afa5b592387 [2025-03-19T05:22:05.881Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-19T05:22:05.881Z] ---> Running in a6889e81fd09 [2025-03-19T05:22:06.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-19T05:22:06.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-19T05:22:06.674Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-03-19T05:22:06.674Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-03-19T05:22:06.674Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-03-19T05:22:06.674Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-03-19T05:22:06.674Z] Executing busybox-1.36.1-r29.trigger [2025-03-19T05:22:06.674Z] OK: 252 MiB in 62 packages [2025-03-19T05:22:07.242Z] Removing intermediate container a6889e81fd09 [2025-03-19T05:22:07.242Z] ---> 64b9df71a7f2 [2025-03-19T05:22:07.242Z] Step 7/12 : WORKDIR /sample-service [2025-03-19T05:22:07.242Z] ---> Running in c671a6dccbe5 [2025-03-19T05:22:07.242Z] Removing intermediate container c671a6dccbe5 [2025-03-19T05:22:07.242Z] ---> d99edbabef0b [2025-03-19T05:22:07.242Z] Step 8/12 : COPY go.mod vendor* ./ [2025-03-19T05:22:07.503Z] ---> a319e3f714bd [2025-03-19T05:22:07.503Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-19T05:22:07.503Z] ---> Running in 70598cfca3e7 [2025-03-19T05:22:17.489Z] Removing intermediate container 70598cfca3e7 [2025-03-19T05:22:17.489Z] ---> 0b3abf0511eb [2025-03-19T05:22:17.489Z] Step 10/12 : COPY . . [2025-03-19T05:22:17.489Z] ---> 83ad29f8657f [2025-03-19T05:22:17.489Z] Step 11/12 : ARG MAKE='make build' [2025-03-19T05:22:17.489Z] ---> Running in f3301ed76795 [2025-03-19T05:22:17.489Z] Removing intermediate container f3301ed76795 [2025-03-19T05:22:17.489Z] ---> 53cdc79736b9 [2025-03-19T05:22:17.489Z] Step 12/12 : RUN $MAKE [2025-03-19T05:22:17.489Z] ---> Running in 466912e3f548 [2025-03-19T05:22:17.489Z] noop [2025-03-19T05:22:17.748Z] Removing intermediate container 466912e3f548 [2025-03-19T05:22:17.748Z] ---> 900966627a44 [2025-03-19T05:22:17.748Z] Successfully built 900966627a44 [2025-03-19T05:22:17.748Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:18.084Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-19T05:22:18.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-19T05:22:18.167Z] prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container [2025-03-19T05:22:18.192Z] $ 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 ******** ci-base-image-x86_64 cat [2025-03-19T05:22:18.512Z] $ docker top 9ff93fb12a339b0849f204a7de4c80fd98468989347335d0ba079129e9e51bd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-19T05:22:18.869Z] + go version [2025-03-19T05:22:18.869Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-03-19T05:22:18.877Z] $ docker stop --time=1 9ff93fb12a339b0849f204a7de4c80fd98468989347335d0ba079129e9e51bd8 [2025-03-19T05:22:20.152Z] $ docker rm -f --volumes 9ff93fb12a339b0849f204a7de4c80fd98468989347335d0ba079129e9e51bd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:20.615Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-19T05:22:20.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-19T05:22:20.699Z] prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container [2025-03-19T05:22:20.726Z] $ 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 ******** ci-base-image-x86_64 cat [2025-03-19T05:22:21.066Z] $ docker top 87022d717aa07378c5b630b41e83bea9ecb7f791c22146d7066b6fcb71d42022 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-19T05:22:21.415Z] + git config --global --add safe.directory /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] fileExists [Pipeline] sh [2025-03-19T05:22:21.713Z] + make test 'GOTESTFLAGS=-json -v' [2025-03-19T05:22:21.713Z] CGO_ENABLED=1 go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest [2025-03-19T05:22:22.279Z] CGO_ENABLED=1 go test -json -v ./... -coverprofile=coverage.out | gotestfmt [2025-03-19T05:22:32.244Z] 📦 github.com/edgexfoundry/sample-service [2025-03-19T05:22:32.244Z] 🛑 no test files [2025-03-19T05:22:32.244Z] [2025-03-19T05:22:32.244Z] 📦 github.com/edgexfoundry/sample-service/cmd [2025-03-19T05:22:32.244Z] github.com/edgexfoundry/sample-service/cmd coverage: 0.0% of statements [2025-03-19T05:22:32.244Z] [2025-03-19T05:22:32.244Z] 📦 github.com/edgexfoundry/sample-service/driver (40% coverage) [2025-03-19T05:22:32.244Z] level=ERROR ts=2025-03-19T05:22:30.570496917Z app=devicerandom source=logger.go:74 msg="logTarget cannot be blank, using stdout only" [2025-03-19T05:22:32.244Z] ✅ TestHandleReadCommands (0s) [2025-03-19T05:22:32.244Z] ✅ TestHandleWriteCommands (0s) [2025-03-19T05:22:32.244Z] ✅ TestValue_Int16 (0s) [2025-03-19T05:22:32.244Z] ✅ TestValue_Int32 (0s) [2025-03-19T05:22:32.244Z] ✅ TestValue_Int64 (0s) [2025-03-19T05:22:32.244Z] ✅ TestValue_Int8 (0s) [2025-03-19T05:22:32.244Z] [2025-03-19T05:22:32.244Z] CGO_ENABLED=1 go vet ./... [2025-03-19T05:22:33.618Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-03-19T05:22:33.618Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-03-19T05:22:33.618Z] ./bin/test-attribution-txt.sh [2025-03-19T05:22:33.618Z] An attribution for golang.org/x/crypto is missing from Attribution.txt, please add [2025-03-19T05:22:33.618Z] An attribution for golang.org/x/sys is missing from Attribution.txt, please add [Pipeline] echo [2025-03-19T05:22:33.633Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } [2025-03-19T05:22:33.648Z] $ docker stop --time=1 87022d717aa07378c5b630b41e83bea9ecb7f791c22146d7066b6fcb71d42022 [2025-03-19T05:22:35.190Z] $ docker rm -f --volumes 87022d717aa07378c5b630b41e83bea9ecb7f791c22146d7066b6fcb71d42022 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-19T05:22:35.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-03-19T05:22:35.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-03-19T05:22:36.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-19T05:22:36.509Z] + ls -al . [2025-03-19T05:22:36.509Z] total 160 [2025-03-19T05:22:36.509Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 05:22 . [2025-03-19T05:22:36.509Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 05:21 .. [2025-03-19T05:22:36.509Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 05:21 .git [2025-03-19T05:22:36.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 05:21 .github [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 46 Mar 19 05:21 .gitignore [2025-03-19T05:22:36.509Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 19 05:21 .semver [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 4832 Mar 19 05:21 Attribution.txt [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 34862 Mar 19 05:21 CHANGELOG.md [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 1434 Mar 19 05:21 Dockerfile [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 821 Mar 19 05:21 Jenkinsfile [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 729 Mar 19 05:21 Jenkinsfile-sandbox [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 3586 Mar 19 05:21 Jenkinsfile.edgexSemver [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 19 05:21 LICENSE [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 1308 Mar 19 05:21 Makefile [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 3063 Mar 19 05:21 README.md [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 05:21 VERSION [2025-03-19T05:22:36.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 05:21 api [2025-03-19T05:22:36.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 05:21 bin [2025-03-19T05:22:36.509Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 05:21 cmd [2025-03-19T05:22:36.509Z] -rw-r--r-- 1 jenkins jenkins 5399 Mar 19 05:22 coverage.out [2025-03-19T05:22:36.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 05:21 driver [2025-03-19T05:22:36.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 05:21 example [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 1955 Mar 19 05:21 go.mod [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 13083 Mar 19 05:21 go.sum [2025-03-19T05:22:36.509Z] -rw-rw-r-- 1 jenkins jenkins 225 Mar 19 05:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:36.819Z] + 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-19T05:22:36.820Z] Sending build context to Docker daemon 2.794MB [2025-03-19T05:22:36.820Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2025-03-19T05:22:36.820Z] Step 2/23 : FROM ${BASE} AS builder [2025-03-19T05:22:36.820Z] ---> 900966627a44 [2025-03-19T05:22:36.820Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-03-19T05:22:36.820Z] ---> Running in dab655017ab0 [2025-03-19T05:22:36.820Z] Removing intermediate container dab655017ab0 [2025-03-19T05:22:36.820Z] ---> 25f4c9466ac2 [2025-03-19T05:22:36.820Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2025-03-19T05:22:37.079Z] ---> Running in de373bee24a9 [2025-03-19T05:22:37.079Z] Removing intermediate container de373bee24a9 [2025-03-19T05:22:37.079Z] ---> cb4b372892e5 [2025-03-19T05:22:37.079Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-19T05:22:37.079Z] ---> Running in ef0f79a32db4 [2025-03-19T05:22:37.079Z] Removing intermediate container ef0f79a32db4 [2025-03-19T05:22:37.079Z] ---> 6987de16267d [2025-03-19T05:22:37.079Z] Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-19T05:22:37.079Z] ---> Running in 6237a9dad383 [2025-03-19T05:22:37.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-19T05:22:37.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-19T05:22:37.853Z] OK: 252 MiB in 62 packages [2025-03-19T05:22:38.111Z] Removing intermediate container 6237a9dad383 [2025-03-19T05:22:38.111Z] ---> 5e7ebfd27fe0 [2025-03-19T05:22:38.111Z] Step 7/23 : WORKDIR /sample-service [2025-03-19T05:22:38.369Z] ---> Running in 425cf9b1e4a8 [2025-03-19T05:22:38.369Z] Removing intermediate container 425cf9b1e4a8 [2025-03-19T05:22:38.369Z] ---> 14bf9569ac4e [2025-03-19T05:22:38.369Z] Step 8/23 : COPY go.mod vendor* ./ [2025-03-19T05:22:38.369Z] ---> 3b336eb41847 [2025-03-19T05:22:38.369Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-19T05:22:38.369Z] ---> Running in f4be32b780c0 [2025-03-19T05:22:38.935Z] Removing intermediate container f4be32b780c0 [2025-03-19T05:22:38.935Z] ---> 6bd887fb8cc0 [2025-03-19T05:22:38.935Z] Step 10/23 : COPY . . [2025-03-19T05:22:39.194Z] ---> 630b21024863 [2025-03-19T05:22:39.194Z] Step 11/23 : ARG MAKE='make build' [2025-03-19T05:22:39.194Z] ---> Running in f8083997b4cb [2025-03-19T05:22:39.455Z] Removing intermediate container f8083997b4cb [2025-03-19T05:22:39.455Z] ---> 7640ffbf5f65 [2025-03-19T05:22:39.455Z] Step 12/23 : RUN $MAKE [2025-03-19T05:22:39.455Z] ---> Running in 64bbf1c86d0e [2025-03-19T05:22:39.722Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd [2025-03-19T05:22:49.696Z] Removing intermediate container 64bbf1c86d0e [2025-03-19T05:22:49.696Z] ---> cacb90eb2092 [2025-03-19T05:22:49.696Z] Step 13/23 : FROM alpine:3.18 [2025-03-19T05:22:49.696Z] 3.18: Pulling from library/alpine [2025-03-19T05:22:49.954Z] 44cf07d57ee4: Pulling fs layer [2025-03-19T05:22:49.954Z] 44cf07d57ee4: Download complete [2025-03-19T05:22:50.218Z] 44cf07d57ee4: Pull complete [2025-03-19T05:22:50.218Z] Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f [2025-03-19T05:22:50.218Z] Status: Downloaded newer image for alpine:3.18 [2025-03-19T05:22:50.218Z] ---> 802c91d52981 [2025-03-19T05:22:50.218Z] Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-19T05:22:50.218Z] ---> Running in 67608cb7145c [2025-03-19T05:22:50.218Z] Removing intermediate container 67608cb7145c [2025-03-19T05:22:50.218Z] ---> ae7fec0bee1b [2025-03-19T05:22:50.218Z] Step 15/23 : ENV APP_PORT=49999 [2025-03-19T05:22:50.218Z] ---> Running in ce31cd0c2faa [2025-03-19T05:22:50.476Z] Removing intermediate container ce31cd0c2faa [2025-03-19T05:22:50.476Z] ---> 75b5a3a2a237 [2025-03-19T05:22:50.476Z] Step 16/23 : EXPOSE $APP_PORT [2025-03-19T05:22:50.476Z] ---> Running in ecb5e47ee475 [2025-03-19T05:22:50.476Z] Removing intermediate container ecb5e47ee475 [2025-03-19T05:22:50.476Z] ---> 594569aff641 [2025-03-19T05:22:50.476Z] Step 17/23 : COPY --from=builder /sample-service/cmd / [2025-03-19T05:22:50.735Z] ---> d7367d3a089f [2025-03-19T05:22:50.735Z] Step 18/23 : COPY --from=builder /sample-service/LICENSE / [2025-03-19T05:22:50.994Z] ---> f3d6c29ba4dd [2025-03-19T05:22:50.994Z] Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / [2025-03-19T05:22:50.994Z] ---> df3af0c73e02 [2025-03-19T05:22:50.994Z] Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2025-03-19T05:22:50.994Z] ---> Running in fa408fd51fe6 [2025-03-19T05:22:50.994Z] Removing intermediate container fa408fd51fe6 [2025-03-19T05:22:50.994Z] ---> e97b73368edb [2025-03-19T05:22:50.994Z] Step 21/23 : LABEL arch=amd64 [2025-03-19T05:22:50.994Z] ---> Running in ad764f0e49f2 [2025-03-19T05:22:51.253Z] Removing intermediate container ad764f0e49f2 [2025-03-19T05:22:51.253Z] ---> d378d0cf4a4b [2025-03-19T05:22:51.253Z] Step 22/23 : LABEL git_sha=23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-19T05:22:51.253Z] ---> Running in c153f23edb47 [2025-03-19T05:22:51.253Z] Removing intermediate container c153f23edb47 [2025-03-19T05:22:51.253Z] ---> d85eba9ccb96 [2025-03-19T05:22:51.253Z] Step 23/23 : LABEL version=0.0.0 [2025-03-19T05:22:51.253Z] ---> Running in f5fd791650fa [2025-03-19T05:22:51.253Z] Removing intermediate container f5fd791650fa [2025-03-19T05:22:51.253Z] ---> 8ea6c2e4b6d0 [2025-03-19T05:22:51.253Z] [Warning] One or more build-args [ARCH] were not consumed [2025-03-19T05:22:51.513Z] Successfully built 8ea6c2e4b6d0 [2025-03-19T05:22:51.513Z] Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-19T05:22:51.555Z] build? true, push? true [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-19T05:22:51.639Z] provisioning config files... [2025-03-19T05:22:51.654Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config6859451598662906904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:22:51.961Z] ---> ****-login.sh [2025-03-19T05:22:51.961Z] nexus3.edgexfoundry.org:10001 [2025-03-19T05:22:51.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:22:51.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:22:51.962Z] Configure a credential helper to remove this warning. See [2025-03-19T05:22:51.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:22:51.962Z] [2025-03-19T05:22:51.962Z] Login Succeeded [2025-03-19T05:22:51.962Z] nexus3.edgexfoundry.org:10002 [2025-03-19T05:22:51.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:22:51.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:22:51.962Z] Configure a credential helper to remove this warning. See [2025-03-19T05:22:51.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:22:51.962Z] [2025-03-19T05:22:51.962Z] Login Succeeded [2025-03-19T05:22:51.962Z] nexus3.edgexfoundry.org:10003 [2025-03-19T05:22:52.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:22:52.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:22:52.222Z] Configure a credential helper to remove this warning. See [2025-03-19T05:22:52.222Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:22:52.222Z] [2025-03-19T05:22:52.222Z] Login Succeeded [2025-03-19T05:22:52.222Z] nexus3.edgexfoundry.org:10004 [2025-03-19T05:22:52.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:22:52.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:22:52.222Z] Configure a credential helper to remove this warning. See [2025-03-19T05:22:52.222Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:22:52.222Z] [2025-03-19T05:22:52.222Z] Login Succeeded [2025-03-19T05:22:52.222Z] ****.io [2025-03-19T05:22:52.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:22:52.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:22:52.482Z] Configure a credential helper to remove this warning. See [2025-03-19T05:22:52.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:22:52.482Z] [2025-03-19T05:22:52.482Z] Login Succeeded [2025-03-19T05:22:52.482Z] ---> ****-login.sh ends [Pipeline] } [2025-03-19T05:22:52.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-19T05:22:52.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-19T05:22:52.574Z] [edgeXDocker.push] Tagging docker image sample-service with the following tags: [2025-03-19T05:22:52.574Z] 23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-19T05:22:52.574Z] latest [2025-03-19T05:22:52.574Z] 0.0.0 [2025-03-19T05:22:52.574Z] 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [2025-03-19T05:22:52.574Z] PR-165 [2025-03-19T05:22:52.574Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:52.921Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:53.257Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-19T05:22:53.257Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-19T05:22:53.257Z] b56b9de8eb20: Preparing [2025-03-19T05:22:53.257Z] e6ec31b909fd: Preparing [2025-03-19T05:22:53.257Z] 9f966f4e1bb7: Preparing [2025-03-19T05:22:53.257Z] f44f286046d9: Preparing [2025-03-19T05:22:53.257Z] f44f286046d9: Layer already exists [2025-03-19T05:22:53.257Z] e6ec31b909fd: Pushed [2025-03-19T05:22:53.257Z] b56b9de8eb20: Pushed [2025-03-19T05:22:54.637Z] 9f966f4e1bb7: Pushed [2025-03-19T05:22:54.637Z] 23ff995a3aef02e85a45daf0513f418e4247a776: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:54.970Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:55.302Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-03-19T05:22:55.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-19T05:22:55.302Z] b56b9de8eb20: Preparing [2025-03-19T05:22:55.302Z] e6ec31b909fd: Preparing [2025-03-19T05:22:55.302Z] 9f966f4e1bb7: Preparing [2025-03-19T05:22:55.302Z] f44f286046d9: Preparing [2025-03-19T05:22:55.302Z] e6ec31b909fd: Layer already exists [2025-03-19T05:22:55.302Z] f44f286046d9: Layer already exists [2025-03-19T05:22:55.302Z] 9f966f4e1bb7: Layer already exists [2025-03-19T05:22:55.302Z] b56b9de8eb20: Layer already exists [2025-03-19T05:22:55.302Z] latest: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:55.630Z] + 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-19T05:22:56.016Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-03-19T05:22:56.016Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-19T05:22:56.016Z] b56b9de8eb20: Preparing [2025-03-19T05:22:56.016Z] e6ec31b909fd: Preparing [2025-03-19T05:22:56.016Z] 9f966f4e1bb7: Preparing [2025-03-19T05:22:56.016Z] f44f286046d9: Preparing [2025-03-19T05:22:56.016Z] 9f966f4e1bb7: Layer already exists [2025-03-19T05:22:56.016Z] f44f286046d9: Layer already exists [2025-03-19T05:22:56.016Z] b56b9de8eb20: Layer already exists [2025-03-19T05:22:56.016Z] e6ec31b909fd: Layer already exists [2025-03-19T05:22:56.016Z] 0.0.0: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:56.351Z] + 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-19T05:22:56.672Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [2025-03-19T05:22:56.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-19T05:22:56.672Z] b56b9de8eb20: Preparing [2025-03-19T05:22:56.672Z] e6ec31b909fd: Preparing [2025-03-19T05:22:56.672Z] 9f966f4e1bb7: Preparing [2025-03-19T05:22:56.672Z] f44f286046d9: Preparing [2025-03-19T05:22:56.672Z] f44f286046d9: Layer already exists [2025-03-19T05:22:56.672Z] 9f966f4e1bb7: Layer already exists [2025-03-19T05:22:56.672Z] e6ec31b909fd: Layer already exists [2025-03-19T05:22:56.672Z] b56b9de8eb20: Layer already exists [2025-03-19T05:22:56.672Z] 23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:57.005Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:22:57.330Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 [2025-03-19T05:22:57.330Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-03-19T05:22:57.330Z] b56b9de8eb20: Preparing [2025-03-19T05:22:57.330Z] e6ec31b909fd: Preparing [2025-03-19T05:22:57.330Z] 9f966f4e1bb7: Preparing [2025-03-19T05:22:57.330Z] f44f286046d9: Preparing [2025-03-19T05:22:57.330Z] f44f286046d9: Layer already exists [2025-03-19T05:22:57.330Z] 9f966f4e1bb7: Layer already exists [2025-03-19T05:22:57.330Z] b56b9de8eb20: Layer already exists [2025-03-19T05:22:57.330Z] e6ec31b909fd: Layer already exists [2025-03-19T05:22:57.330Z] PR-165: digest: sha256:dfb20e61f3c7ae0f6e34ad2591a78106669cb1e1aa079569847e13cea9d84954 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-19T05:22:57.409Z] ===================================================== [Pipeline] echo [2025-03-19T05:22:57.422Z] taggedImages: [2025-03-19T05:22:57.422Z] - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-19T05:22:57.422Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [2025-03-19T05:22:57.422Z] - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-03-19T05:22:57.422Z] - nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [2025-03-19T05:22:57.422Z] - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] echo [2025-03-19T05:22:57.459Z] ========================================================= [2025-03-19T05:22:57.459Z] [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-19T05:22:57.459Z] ========================================================= [Pipeline] node [2025-03-19T05:23:12.463Z] Still waiting to schedule task [2025-03-19T05:23:12.463Z] All nodes of label ‘centos7-docker-4c-2g’ are offline [2025-03-19T05:24:21.615Z] Running on prd-centos7-docker-4c-2g-41606 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-19T05:24:21.674Z] provisioning config files... [2025-03-19T05:24:21.693Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config13216743685348022421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:22.751Z] ---> ****-login.sh [2025-03-19T05:24:22.751Z] nexus3.edgexfoundry.org:10001 [2025-03-19T05:24:22.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:24:22.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:24:22.751Z] Configure a credential helper to remove this warning. See [2025-03-19T05:24:22.751Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:24:22.751Z] [2025-03-19T05:24:22.751Z] Login Succeeded [2025-03-19T05:24:22.751Z] nexus3.edgexfoundry.org:10002 [2025-03-19T05:24:23.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:24:23.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:24:23.022Z] Configure a credential helper to remove this warning. See [2025-03-19T05:24:23.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:24:23.022Z] [2025-03-19T05:24:23.022Z] Login Succeeded [2025-03-19T05:24:23.022Z] nexus3.edgexfoundry.org:10003 [2025-03-19T05:24:23.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:24:23.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:24:23.022Z] Configure a credential helper to remove this warning. See [2025-03-19T05:24:23.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:24:23.022Z] [2025-03-19T05:24:23.022Z] Login Succeeded [2025-03-19T05:24:23.022Z] nexus3.edgexfoundry.org:10004 [2025-03-19T05:24:23.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:24:23.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:24:23.022Z] Configure a credential helper to remove this warning. See [2025-03-19T05:24:23.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:24:23.023Z] [2025-03-19T05:24:23.023Z] Login Succeeded [2025-03-19T05:24:23.023Z] ****.io [2025-03-19T05:24:23.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-19T05:24:23.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-19T05:24:23.300Z] Configure a credential helper to remove this warning. See [2025-03-19T05:24:23.300Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-19T05:24:23.300Z] [2025-03-19T05:24:23.300Z] Login Succeeded [2025-03-19T05:24:23.300Z] ---> ****-login.sh ends [Pipeline] } [2025-03-19T05:24:23.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-19T05:24:23.763Z] + docker buildx ls [2025-03-19T05:24:24.343Z] NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS [2025-03-19T05:24:24.343Z] default * docker [2025-03-19T05:24:24.343Z] default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh [2025-03-19T05:24:24.686Z] + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use [2025-03-19T05:24:24.686Z] edgex-builder [Pipeline] sh [2025-03-19T05:24:25.067Z] + docker buildx inspect --bootstrap [2025-03-19T05:24:25.067Z] #1 [internal] booting buildkit [2025-03-19T05:24:25.352Z] #1 pulling image moby/buildkit:buildx-stable-1 [2025-03-19T05:24:28.722Z] #1 pulling image moby/buildkit:buildx-stable-1 3.0s done [2025-03-19T05:24:28.722Z] #1 creating container buildx_buildkit_edgex-builder0 [2025-03-19T05:24:30.149Z] #1 creating container buildx_buildkit_edgex-builder0 1.7s done [2025-03-19T05:24:30.149Z] #1 DONE 4.8s [2025-03-19T05:24:30.149Z] Name: edgex-builder [2025-03-19T05:24:30.149Z] Driver: docker-container [2025-03-19T05:24:30.149Z] [2025-03-19T05:24:30.149Z] Nodes: [2025-03-19T05:24:30.149Z] Name: edgex-builder0 [2025-03-19T05:24:30.149Z] Endpoint: unix:///var/run/docker.sock [2025-03-19T05:24:30.149Z] Status: running [2025-03-19T05:24:30.149Z] Buildkit: v0.20.1 [2025-03-19T05:24:30.149Z] Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh [2025-03-19T05:24:30.451Z] + docker buildx ls [2025-03-19T05:24:30.451Z] NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS [2025-03-19T05:24:30.451Z] edgex-builder * docker-container [2025-03-19T05:24:30.451Z] edgex-builder0 unix:///var/run/docker.sock running v0.20.1 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [2025-03-19T05:24:30.451Z] default docker [2025-03-19T05:24:30.451Z] default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh [2025-03-19T05:24:30.745Z] + echo -e nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [2025-03-19T05:24:30.745Z] nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] sh [2025-03-19T05:24:31.050Z] + echo -e nexus3.edgexfoundry.org:10004/sample-service:latest [2025-03-19T05:24:31.051Z] nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-03-19T05:24:31.357Z] + echo -e nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-03-19T05:24:31.357Z] nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] sh [2025-03-19T05:24:31.672Z] + echo -e nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [2025-03-19T05:24:31.672Z] nexus3.edgexfoundry.org:10004/sample-service:23ff995a3aef02e85a45daf0513f418e4247a776-0.0.0 [Pipeline] sh [2025-03-19T05:24:31.980Z] + echo -e nexus3.edgexfoundry.org:10004/sample-service:PR-165 [2025-03-19T05:24:31.980Z] nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-03-19T05:24:32.456Z] + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:32.776Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:33.359Z] ---> package-listing.sh [2025-03-19T05:24:33.359Z] ++ facter osfamily [2025-03-19T05:24:33.359Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-19T05:24:33.620Z] + OS_FAMILY=redhat [2025-03-19T05:24:33.620Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-03-19T05:24:33.620Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-19T05:24:33.620Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-19T05:24:33.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-19T05:24:33.620Z] + PACKAGES=/tmp/packages_start.txt [2025-03-19T05:24:33.620Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-03-19T05:24:33.620Z] + PACKAGES=/tmp/packages_end.txt [2025-03-19T05:24:33.620Z] + case "${OS_FAMILY}" in [2025-03-19T05:24:33.620Z] + rpm -qa [2025-03-19T05:24:33.620Z] + sort [2025-03-19T05:24:34.189Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-19T05:24:34.189Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-19T05:24:34.189Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-19T05:24:34.189Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-03-19T05:24:34.189Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-03-19T05:24:34.189Z] + 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-19T05:24:34.200Z] 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-19T05:24:34.485Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:24:35.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-19T05:24:35.056Z] [2025-03-19T05:24:35.056Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:24:35.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-19T05:24:35.356Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-19T05:24:35.356Z] 5eb5b503b376: Pulling fs layer [2025-03-19T05:24:35.356Z] 5c69ac0246d0: Pulling fs layer [2025-03-19T05:24:35.356Z] ec43610c2a17: Pulling fs layer [2025-03-19T05:24:35.356Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-19T05:24:35.356Z] 33b1e0a273af: Pulling fs layer [2025-03-19T05:24:35.356Z] 5d3b04190fa2: Pulling fs layer [2025-03-19T05:24:35.356Z] 2f39f015ded8: Pulling fs layer [2025-03-19T05:24:35.356Z] 3a2ae6a8a46f: Waiting [2025-03-19T05:24:35.356Z] 33b1e0a273af: Waiting [2025-03-19T05:24:35.356Z] 5d3b04190fa2: Waiting [2025-03-19T05:24:35.356Z] 2f39f015ded8: Waiting [2025-03-19T05:24:35.356Z] 5c69ac0246d0: Verifying Checksum [2025-03-19T05:24:35.356Z] 5c69ac0246d0: Download complete [2025-03-19T05:24:35.356Z] 3a2ae6a8a46f: Verifying Checksum [2025-03-19T05:24:35.356Z] 3a2ae6a8a46f: Download complete [2025-03-19T05:24:35.356Z] 33b1e0a273af: Verifying Checksum [2025-03-19T05:24:35.356Z] 33b1e0a273af: Download complete [2025-03-19T05:24:35.356Z] ec43610c2a17: Verifying Checksum [2025-03-19T05:24:35.356Z] ec43610c2a17: Download complete [2025-03-19T05:24:35.356Z] 5d3b04190fa2: Verifying Checksum [2025-03-19T05:24:35.356Z] 5d3b04190fa2: Download complete [2025-03-19T05:24:35.615Z] 5eb5b503b376: Verifying Checksum [2025-03-19T05:24:35.615Z] 5eb5b503b376: Download complete [2025-03-19T05:24:36.200Z] 2f39f015ded8: Verifying Checksum [2025-03-19T05:24:36.200Z] 2f39f015ded8: Download complete [2025-03-19T05:24:37.145Z] 5eb5b503b376: Pull complete [2025-03-19T05:24:37.145Z] 5c69ac0246d0: Pull complete [2025-03-19T05:24:37.409Z] ec43610c2a17: Pull complete [2025-03-19T05:24:37.409Z] 3a2ae6a8a46f: Pull complete [2025-03-19T05:24:37.672Z] 33b1e0a273af: Pull complete [2025-03-19T05:24:37.944Z] 5d3b04190fa2: Pull complete [2025-03-19T05:24:42.167Z] 2f39f015ded8: Pull complete [2025-03-19T05:24:42.167Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-19T05:24:42.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-19T05:24:42.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-19T05:24:42.327Z] prd-centos7-docker-4c-2g-41606 does not seem to be running inside a container [2025-03-19T05:24:42.362Z] $ 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-19T05:24:47.635Z] $ docker top 24cf9fc58387304b1e5f2af0a818fc127048e1aa4f5f8a97175b068156a7a7fd -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-19T05:24:48.040Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-19T05:24:48.349Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-19T05:24:48.662Z] + ls /var/log/sa-host [2025-03-19T05:24:48.662Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-19T05:24:48.837Z] provisioning config files... [2025-03-19T05:24:48.848Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config1456270349930792404tmp [Pipeline] { [Pipeline] echo [2025-03-19T05:24:48.867Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:49.153Z] ---> create-netrc.sh [Pipeline] } [2025-03-19T05:24:49.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:49.512Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-19T05:24:49.523Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:49.813Z] ---> sudo-logs.sh [2025-03-19T05:24:49.813Z] Archiving 'sudo' log.. [2025-03-19T05:24:49.813Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-41606.novalocal: Name or service not known [2025-03-19T05:24:49.813Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-41606.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2025-03-19T05:24:49.837Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:50.119Z] ---> job-cost.sh [2025-03-19T05:24:50.119Z] lf-activate-venv: SKIPPING [2025-03-19T05:24:50.119Z] INFO: No Stack... [2025-03-19T05:24:50.378Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2025-03-19T05:24:50.640Z] INFO: Archiving Costs [Pipeline] echo [2025-03-19T05:24:50.656Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:24:50.953Z] ---> logs-deploy.sh [2025-03-19T05:24:50.954Z] lf-activate-venv: SKIPPING [2025-03-19T05:24:50.954Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/12 [2025-03-19T05:24:50.954Z] INFO: archiving workspace using pattern(s): [2025-03-19T05:24:51.893Z] Archives upload complete. [2025-03-19T05:24:52.153Z] INFO: archiving logs to Nexus [2025-03-19T05:24:52.722Z] ---> uname -a: [2025-03-19T05:24:52.722Z] Linux prd-centos7-docker-4c-2g-41606.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] ---> lscpu: [2025-03-19T05:24:52.722Z] Architecture: x86_64 [2025-03-19T05:24:52.722Z] CPU op-mode(s): 32-bit, 64-bit [2025-03-19T05:24:52.722Z] Byte Order: Little Endian [2025-03-19T05:24:52.722Z] Address sizes: 40 bits physical, 48 bits virtual [2025-03-19T05:24:52.722Z] CPU(s): 2 [2025-03-19T05:24:52.722Z] On-line CPU(s) list: 0,1 [2025-03-19T05:24:52.722Z] Thread(s) per core: 1 [2025-03-19T05:24:52.722Z] Core(s) per socket: 1 [2025-03-19T05:24:52.722Z] Socket(s): 2 [2025-03-19T05:24:52.722Z] NUMA node(s): 1 [2025-03-19T05:24:52.722Z] Vendor ID: AuthenticAMD [2025-03-19T05:24:52.722Z] CPU family: 23 [2025-03-19T05:24:52.722Z] Model: 49 [2025-03-19T05:24:52.722Z] Model name: AMD EPYC-Rome Processor [2025-03-19T05:24:52.722Z] Stepping: 0 [2025-03-19T05:24:52.722Z] CPU MHz: 2799.998 [2025-03-19T05:24:52.722Z] BogoMIPS: 5599.99 [2025-03-19T05:24:52.722Z] Virtualization: AMD-V [2025-03-19T05:24:52.722Z] Hypervisor vendor: KVM [2025-03-19T05:24:52.722Z] Virtualization type: full [2025-03-19T05:24:52.722Z] L1d cache: 64 KiB [2025-03-19T05:24:52.722Z] L1i cache: 64 KiB [2025-03-19T05:24:52.722Z] L2 cache: 1 MiB [2025-03-19T05:24:52.722Z] L3 cache: 32 MiB [2025-03-19T05:24:52.722Z] NUMA node0 CPU(s): 0,1 [2025-03-19T05:24:52.722Z] Vulnerability Itlb multihit: Not affected [2025-03-19T05:24:52.722Z] Vulnerability L1tf: Not affected [2025-03-19T05:24:52.722Z] Vulnerability Mds: Not affected [2025-03-19T05:24:52.722Z] Vulnerability Meltdown: Not affected [2025-03-19T05:24:52.722Z] Vulnerability Mmio stale data: Not affected [2025-03-19T05:24:52.722Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2025-03-19T05:24:52.722Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2025-03-19T05:24:52.722Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2025-03-19T05:24:52.722Z] Vulnerability Srbds: Not affected [2025-03-19T05:24:52.722Z] Vulnerability Tsx async abort: Not affected [2025-03-19T05:24:52.722Z] 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 art rep_good nopl extd_apicid eagerfpu 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] ---> nproc: [2025-03-19T05:24:52.722Z] 2 [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] ---> df -h: [2025-03-19T05:24:52.722Z] Filesystem Size Used Avail Use% Mounted on [2025-03-19T05:24:52.722Z] overlay 40G 7.3G 33G 19% / [2025-03-19T05:24:52.722Z] tmpfs 64M 0 64M 0% /dev [2025-03-19T05:24:52.722Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2025-03-19T05:24:52.722Z] shm 64M 0 64M 0% /dev/shm [2025-03-19T05:24:52.722Z] /dev/vda1 40G 7.3G 33G 19% /facter-os [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] [2025-03-19T05:24:52.722Z] Cannot open /var/log/sysstat/sa19: No such file or directory [2025-03-19T05:24:52.722Z] Please check if data collecting is enabled [2025-03-19T05:24:52.722Z] subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-19T05:24:53.014Z] [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } [2025-03-19T05:24:53.016Z] $ docker stop --time=1 24cf9fc58387304b1e5f2af0a818fc127048e1aa4f5f8a97175b068156a7a7fd [2025-03-19T05:24:54.164Z] $ docker rm -f --volumes 24cf9fc58387304b1e5f2af0a818fc127048e1aa4f5f8a97175b068156a7a7fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs [2025-03-19T05:24:54.262Z] [WS-CLEANUP] Deleting project workspace... [2025-03-19T05:24:54.262Z] [WS-CLEANUP] Deferred wipeout is used... [2025-03-19T05:24:54.280Z] [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:24:54.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-19T05:24:54.781Z] [2025-03-19T05:24:54.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:24:55.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-19T05:24:55.092Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-19T05:24:55.092Z] 5eb5b503b376: Pulling fs layer [2025-03-19T05:24:55.092Z] 5c69ac0246d0: Pulling fs layer [2025-03-19T05:24:55.092Z] ec43610c2a17: Pulling fs layer [2025-03-19T05:24:55.092Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-19T05:24:55.092Z] 33b1e0a273af: Pulling fs layer [2025-03-19T05:24:55.092Z] 5d3b04190fa2: Pulling fs layer [2025-03-19T05:24:55.092Z] 2f39f015ded8: Pulling fs layer [2025-03-19T05:24:55.092Z] 33b1e0a273af: Waiting [2025-03-19T05:24:55.092Z] 3a2ae6a8a46f: Waiting [2025-03-19T05:24:55.092Z] 5d3b04190fa2: Waiting [2025-03-19T05:24:55.092Z] 2f39f015ded8: Waiting [2025-03-19T05:24:55.092Z] 5c69ac0246d0: Verifying Checksum [2025-03-19T05:24:55.092Z] 5c69ac0246d0: Download complete [2025-03-19T05:24:55.092Z] 3a2ae6a8a46f: Verifying Checksum [2025-03-19T05:24:55.092Z] 3a2ae6a8a46f: Download complete [2025-03-19T05:24:55.092Z] 33b1e0a273af: Verifying Checksum [2025-03-19T05:24:55.092Z] 33b1e0a273af: Download complete [2025-03-19T05:24:55.092Z] 5d3b04190fa2: Verifying Checksum [2025-03-19T05:24:55.092Z] 5d3b04190fa2: Download complete [2025-03-19T05:24:55.092Z] ec43610c2a17: Verifying Checksum [2025-03-19T05:24:55.092Z] ec43610c2a17: Download complete [2025-03-19T05:24:55.351Z] 5eb5b503b376: Verifying Checksum [2025-03-19T05:24:55.351Z] 5eb5b503b376: Download complete [2025-03-19T05:24:55.916Z] 2f39f015ded8: Verifying Checksum [2025-03-19T05:24:55.916Z] 2f39f015ded8: Download complete [2025-03-19T05:24:56.484Z] 5eb5b503b376: Pull complete [2025-03-19T05:24:56.743Z] 5c69ac0246d0: Pull complete [2025-03-19T05:24:57.309Z] ec43610c2a17: Pull complete [2025-03-19T05:24:57.309Z] 3a2ae6a8a46f: Pull complete [2025-03-19T05:24:57.569Z] 33b1e0a273af: Pull complete [2025-03-19T05:24:57.569Z] 5d3b04190fa2: Pull complete [2025-03-19T05:25:01.746Z] 2f39f015ded8: Pull complete [2025-03-19T05:25:01.746Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-19T05:25:01.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-19T05:25:01.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-19T05:25:01.853Z] prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container [2025-03-19T05:25:01.882Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-19T05:25:03.374Z] $ docker top 4f97da3aee8fd6bc2d599cd7811954516b27f3065e9ab8f83da2169de7b30e64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:03.784Z] ---> job-cost.sh [2025-03-19T05:25:03.784Z] lf-activate-venv: SKIPPING [2025-03-19T05:25:03.784Z] INFO: No Stack... [2025-03-19T05:25:04.042Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-19T05:25:04.609Z] INFO: Archiving Costs [Pipeline] sh [2025-03-19T05:25:04.897Z] + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv [2025-03-19T05:25:04.897Z] + cut -d, -f6 [Pipeline] lock [2025-03-19T05:25:04.913Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] [2025-03-19T05:25:04.923Z] Resource [jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] did not exist. Created. [2025-03-19T05:25:04.929Z] Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-19T05:25:05.331Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-03-19T05:25:05.384Z] Stashed 1 file(s) [Pipeline] } [2025-03-19T05:25:05.392Z] Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-12-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-19T05:25:05.413Z] $ docker stop --time=1 4f97da3aee8fd6bc2d599cd7811954516b27f3065e9ab8f83da2169de7b30e64 [2025-03-19T05:25:06.572Z] $ docker rm -f --volumes 4f97da3aee8fd6bc2d599cd7811954516b27f3065e9ab8f83da2169de7b30e64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2025-03-19T05:25:06.870Z] provisioning config files... [2025-03-19T05:25:06.877Z] copy managed file [sample-service-codecov-token] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config497622112593989960tmp [Pipeline] { [Pipeline] sh [2025-03-19T05:25:07.170Z] + set +x [2025-03-19T05:25:07.170Z] + curl -s https://codecov.io/bash [2025-03-19T05:25:07.170Z] + bash -s -- [2025-03-19T05:25:07.170Z] [2025-03-19T05:25:07.170Z] _____ _ [2025-03-19T05:25:07.170Z] / ____| | | [2025-03-19T05:25:07.170Z] | | ___ __| | ___ ___ _____ __ [2025-03-19T05:25:07.170Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2025-03-19T05:25:07.170Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2025-03-19T05:25:07.170Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2025-03-19T05:25:07.170Z] Bash-1.0.6 [2025-03-19T05:25:07.170Z] [2025-03-19T05:25:07.170Z] [2025-03-19T05:25:07.170Z] ==> git version 2.25.1 found [2025-03-19T05:25:07.170Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2025-03-19T05:25:07.170Z] Release-Date: 2020-01-08 [2025-03-19T05:25:07.170Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2025-03-19T05:25:07.170Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2025-03-19T05:25:07.170Z] ==> Jenkins CI detected. [2025-03-19T05:25:07.170Z] current dir:  /w/workspace/gexfoundry_sample-service_PR-165 [2025-03-19T05:25:07.170Z] project root: . [2025-03-19T05:25:07.170Z] --> token set from env [2025-03-19T05:25:07.170Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2025-03-19T05:25:07.170Z] ==> Running gcov in . (disable via -X gcov) [2025-03-19T05:25:07.170Z] ==> Python coveragepy not found [2025-03-19T05:25:07.170Z] ==> Searching for coverage reports in: [2025-03-19T05:25:07.170Z] + . [2025-03-19T05:25:07.430Z] -> Found 1 reports [2025-03-19T05:25:07.430Z] ==> Detecting git/mercurial file structure [2025-03-19T05:25:07.430Z] ==> Reading reports [2025-03-19T05:25:07.430Z] + ./coverage.out bytes=5399 [2025-03-19T05:25:07.430Z] ==> Appending adjustments [2025-03-19T05:25:07.430Z] https://docs.codecov.io/docs/fixing-reports [2025-03-19T05:25:07.430Z] + Found adjustments [2025-03-19T05:25:07.430Z] ==> Gzipping contents [2025-03-19T05:25:07.430Z] 4.0K /tmp/codecov.iIt5ac.gz [2025-03-19T05:25:07.430Z] ==> Uploading reports [2025-03-19T05:25:07.430Z] url: https://codecov.io [2025-03-19T05:25:07.430Z] query: branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F12%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= [2025-03-19T05:25:07.430Z] -> Pinging Codecov [2025-03-19T05:25:07.430Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-165&commit=23ff995a3aef02e85a45daf0513f418e4247a776&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fsample-service%2Fjob%2FPR-165%2F12%2F&name=&tag=&slug=edgexfoundry%2Fsample-service&service=jenkins&flags=&pr=165&job=&cmd_args= [2025-03-19T05:25:07.699Z] -> Uploading to [2025-03-19T05:25:07.699Z] https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/sample-service/23ff995a3aef02e85a45daf0513f418e4247a776/78dca8d6-7e06-4e52-a8e6-100203fc7a7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250319%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250319T052507Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=586d22bf33a10ea1ca88a095e212bdca9b94254f2729ec6402c9c26d645be8ee [2025-03-19T05:25:07.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-03-19T05:25:07.699Z] Dload Upload Total Spent Left Speed [2025-03-19T05:25:07.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1057 0 0 100 1057 0 6732 --:--:-- --:--:-- --:--:-- 6732 [2025-03-19T05:25:07.699Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/sample-service/commit/23ff995a3aef02e85a45daf0513f418e4247a776 [Pipeline] } [2025-03-19T05:25:07.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-03-19T05:25:08.562Z] + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [2025-03-19T05:25:08.562Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-03-19T05:25:08.562Z] total 16 [2025-03-19T05:25:08.562Z] drwxr-xr-x 3 root root 4096 Mar 19 05:25 . [2025-03-19T05:25:08.562Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 19 05:25 .. [2025-03-19T05:25:08.562Z] drwxr-xr-x 2 root root 4096 Mar 19 05:25 cost [2025-03-19T05:25:08.562Z] -rw-r--r-- 1 root root 87 Mar 19 05:25 cost.csv [2025-03-19T05:25:08.562Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-03-19T05:25:08.562Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-03-19T05:25:08.562Z] total 16 [2025-03-19T05:25:08.562Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 19 05:25 . [2025-03-19T05:25:08.562Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 19 05:25 .. [2025-03-19T05:25:08.562Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 19 05:25 cost [2025-03-19T05:25:08.562Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 19 05:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:08.850Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:09.707Z] ---> package-listing.sh [2025-03-19T05:25:09.707Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-19T05:25:09.707Z] ++ facter osfamily [2025-03-19T05:25:09.966Z] + OS_FAMILY=debian [2025-03-19T05:25:09.966Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-03-19T05:25:09.966Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-19T05:25:09.966Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-19T05:25:09.966Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-19T05:25:09.966Z] + PACKAGES=/tmp/packages_start.txt [2025-03-19T05:25:09.966Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-03-19T05:25:09.966Z] + PACKAGES=/tmp/packages_end.txt [2025-03-19T05:25:09.966Z] + case "${OS_FAMILY}" in [2025-03-19T05:25:09.966Z] + dpkg -l [2025-03-19T05:25:09.966Z] + grep '^ii' [2025-03-19T05:25:09.966Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-19T05:25:09.966Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-19T05:25:09.966Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-19T05:25:09.966Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-03-19T05:25:09.966Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-03-19T05:25:09.966Z] + 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-19T05:25:09.976Z] 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-19T05:25:10.252Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-19T05:25:10.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-19T05:25:10.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-19T05:25:10.896Z] prd-ubuntu20.04-docker-8c-8g-41605 does not seem to be running inside a container [2025-03-19T05:25:10.925Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-19T05:25:11.131Z] $ docker top 391ddf4cec29992541125094b5906eebfbdf7b0693000c72cc2ed14370d39a30 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-19T05:25:11.487Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-19T05:25:11.779Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-19T05:25:12.066Z] + ls /var/log/sa-host [2025-03-19T05:25:12.066Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-19T05:25:12.109Z] provisioning config files... [2025-03-19T05:25:12.117Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config6528011354530884017tmp [Pipeline] { [Pipeline] echo [2025-03-19T05:25:12.132Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:12.416Z] ---> create-netrc.sh [Pipeline] } [2025-03-19T05:25:12.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:12.736Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-19T05:25:12.746Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:13.031Z] ---> sudo-logs.sh [2025-03-19T05:25:13.031Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-03-19T05:25:13.064Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:13.347Z] ---> job-cost.sh [2025-03-19T05:25:13.347Z] lf-activate-venv: SKIPPING [2025-03-19T05:25:13.347Z] DEBUG: total: 0.2199999988079071 [2025-03-19T05:25:13.347Z] INFO: Retrieving Stack Cost... [2025-03-19T05:25:13.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-19T05:25:13.605Z] INFO: Archiving Costs [Pipeline] echo [2025-03-19T05:25:13.620Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-19T05:25:13.906Z] ---> logs-deploy.sh [2025-03-19T05:25:13.906Z] lf-activate-venv: SKIPPING [2025-03-19T05:25:13.906Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/12 [2025-03-19T05:25:13.906Z] INFO: archiving workspace using pattern(s): [2025-03-19T05:25:14.850Z] Archives upload complete. [2025-03-19T05:25:14.850Z] INFO: archiving logs to Nexus