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 eb869c661586b1b6b4d3a43b635254038c5246fa+84423b89ce30e37f30f8c64be74fe5fa8ac28ccc (58c3fa9b8099333c00e2f274e26e6a9ca74396cc) 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-ssh4489960430527782228.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 99b66b4408c89e2a6456dddc15e6e611826d7459 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-ssh977919296468778444.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 99b66b4408c89e2a6456dddc15e6e611826d7459 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-ssh8033556195633783054.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 99b66b4408c89e2a6456dddc15e6e611826d7459 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 99b66b4408c89e2a6456dddc15e6e611826d7459 # timeout=10 Commit message: "add sudo" > 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-ssh17783435991940855339.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-ssh17625190267838091136.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] ========================================================= [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 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 ‘prd-ubuntu20.04-docker-8c-8g-42833’ is offline Running on prd-ubuntu20.04-docker-8c-8g-42834 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 eb869c661586b1b6b4d3a43b635254038c5246fa > 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 eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > 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 eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 Commit message: "ci: test multi-arch pipeline" > git rev-list --no-walk eb869c661586b1b6b4d3a43b635254038c5246fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-04-07T09:30:54.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-04-07T09:30:54.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-04-07T09:30:54.564Z] ========================================================= [2025-04-07T09:30:54.564Z] EdgeX Global Pipelines Version Info [2025-04-07T09:30:54.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:30:55.700Z] ------------------- [2025-04-07T09:30:55.701Z] stable info: [2025-04-07T09:30:55.701Z] ------------------- [2025-04-07T09:30:55.701Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:30:55.701Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-04-07T09:30:55.701Z] Message: update stable to v1.0.274 [2025-04-07T09:30:55.964Z] ------------------- [2025-04-07T09:30:55.964Z] experimental info: [2025-04-07T09:30:55.964Z] ------------------- [2025-04-07T09:30:55.964Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:30:55.964Z] Commit SHA: 99b66b4408c89e2a6456dddc15e6e611826d7459 [2025-04-07T09:30:55.964Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-04-07T09:30:56.046Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo [2025-04-07T09:30:56.074Z] [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo [2025-04-07T09:30:56.096Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-04-07T09:30:56.122Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-04-07T09:30:56.146Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-04-07T09:30:56.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-04-07T09:30:56.199Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-04-07T09:30:56.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-04-07T09:30:56.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-04-07T09:30:56.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-04-07T09:30:56.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-04-07T09:30:56.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo [2025-04-07T09:30:56.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-04-07T09:30:56.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-04-07T09:30:56.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:30:56.407Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:30:56.431Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:30:56.452Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:30:56.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-04-07T09:30:56.505Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-04-07T09:30:56.527Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-04-07T09:30:56.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-04-07T09:30:56.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-04-07T09:30:56.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-04-07T09:30:56.628Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-04-07T09:30:56.660Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-04-07T09:30:56.683Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-04-07T09:30:56.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:30:56.730Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:30:56.754Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2025-04-07T09:30:56.775Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:30:56.795Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo [2025-04-07T09:30:56.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:30:56.883Z] provisioning config files... [2025-04-07T09:30:56.898Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config1724887270841604182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:30:57.237Z] ---> ****-login.sh [2025-04-07T09:30:57.237Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:30:57.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:30:57.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:30:57.497Z] Configure a credential helper to remove this warning. See [2025-04-07T09:30:57.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:30:57.497Z] [2025-04-07T09:30:57.497Z] Login Succeeded [2025-04-07T09:30:57.497Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:30:57.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:30:57.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:30:57.765Z] Configure a credential helper to remove this warning. See [2025-04-07T09:30:57.765Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:30:57.765Z] [2025-04-07T09:30:57.765Z] Login Succeeded [2025-04-07T09:30:57.765Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:30:57.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:30:57.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:30:57.766Z] Configure a credential helper to remove this warning. See [2025-04-07T09:30:57.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:30:57.766Z] [2025-04-07T09:30:57.766Z] Login Succeeded [2025-04-07T09:30:57.766Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:30:58.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:30:58.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:30:58.030Z] Configure a credential helper to remove this warning. See [2025-04-07T09:30:58.030Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:30:58.030Z] [2025-04-07T09:30:58.030Z] Login Succeeded [2025-04-07T09:30:58.030Z] ****.io [2025-04-07T09:30:58.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:30:58.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:30:58.291Z] Configure a credential helper to remove this warning. See [2025-04-07T09:30:58.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:30:58.291Z] [2025-04-07T09:30:58.291Z] Login Succeeded [2025-04-07T09:30:58.291Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:30:58.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-04-07T09:30:58.719Z] + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:30:58.749Z] -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh [2025-04-07T09:30:59.043Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:30:59.058Z] ========================================================= [2025-04-07T09:30:59.058Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-04-07T09:30:59.058Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-04-07T09:30:59.399Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:30:59.412Z] [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo [2025-04-07T09:30:59.429Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-04-07T09:30:59.801Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-04-07T09:30:59.801Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-04-07T09:30:59.801Z] + [ -e /tmp/ssh_known_hosts ] [2025-04-07T09:30:59.801Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-04-07T09:30:59.801Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-04-07T09:30:59.801Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-04-07T09:30:59.801Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:31:00.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:31:00.187Z] [2025-04-07T09:31:00.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:31:01.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:31:01.149Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-04-07T09:31:01.149Z] b85a868b505f: Pulling fs layer [2025-04-07T09:31:01.149Z] e2be974225ed: Pulling fs layer [2025-04-07T09:31:01.149Z] 339a4e72a1f5: Pulling fs layer [2025-04-07T09:31:01.149Z] 988bab9f4d93: Pulling fs layer [2025-04-07T09:31:01.149Z] 1469e6f7b9e6: Pulling fs layer [2025-04-07T09:31:01.149Z] eaf3925da568: Pulling fs layer [2025-04-07T09:31:01.149Z] bab4dde63d76: Pulling fs layer [2025-04-07T09:31:01.149Z] bde34c3a00c8: Pulling fs layer [2025-04-07T09:31:01.149Z] b352a97aabf1: Pulling fs layer [2025-04-07T09:31:01.149Z] 4872d77fe225: Pulling fs layer [2025-04-07T09:31:01.149Z] 5851b861e8e6: Pulling fs layer [2025-04-07T09:31:01.149Z] 988bab9f4d93: Waiting [2025-04-07T09:31:01.149Z] 1469e6f7b9e6: Waiting [2025-04-07T09:31:01.149Z] eaf3925da568: Waiting [2025-04-07T09:31:01.149Z] bab4dde63d76: Waiting [2025-04-07T09:31:01.149Z] b352a97aabf1: Waiting [2025-04-07T09:31:01.149Z] 4872d77fe225: Waiting [2025-04-07T09:31:01.149Z] bde34c3a00c8: Waiting [2025-04-07T09:31:01.149Z] 5851b861e8e6: Waiting [2025-04-07T09:31:01.149Z] e2be974225ed: Download complete [2025-04-07T09:31:01.149Z] 988bab9f4d93: Verifying Checksum [2025-04-07T09:31:01.149Z] 988bab9f4d93: Download complete [2025-04-07T09:31:01.149Z] 1469e6f7b9e6: Verifying Checksum [2025-04-07T09:31:01.149Z] 1469e6f7b9e6: Download complete [2025-04-07T09:31:01.409Z] eaf3925da568: Verifying Checksum [2025-04-07T09:31:01.410Z] eaf3925da568: Download complete [2025-04-07T09:31:01.410Z] 339a4e72a1f5: Verifying Checksum [2025-04-07T09:31:01.410Z] 339a4e72a1f5: Download complete [2025-04-07T09:31:01.410Z] bde34c3a00c8: Verifying Checksum [2025-04-07T09:31:01.410Z] bde34c3a00c8: Download complete [2025-04-07T09:31:01.410Z] b352a97aabf1: Verifying Checksum [2025-04-07T09:31:01.410Z] b352a97aabf1: Download complete [2025-04-07T09:31:01.410Z] 4872d77fe225: Verifying Checksum [2025-04-07T09:31:01.410Z] 4872d77fe225: Download complete [2025-04-07T09:31:01.410Z] 5851b861e8e6: Verifying Checksum [2025-04-07T09:31:01.410Z] 5851b861e8e6: Download complete [2025-04-07T09:31:01.410Z] b85a868b505f: Verifying Checksum [2025-04-07T09:31:01.410Z] b85a868b505f: Download complete [2025-04-07T09:31:01.668Z] bab4dde63d76: Verifying Checksum [2025-04-07T09:31:01.668Z] bab4dde63d76: Download complete [2025-04-07T09:31:02.610Z] b85a868b505f: Pull complete [2025-04-07T09:31:02.610Z] e2be974225ed: Pull complete [2025-04-07T09:31:03.177Z] 339a4e72a1f5: Pull complete [2025-04-07T09:31:03.177Z] 988bab9f4d93: Pull complete [2025-04-07T09:31:03.439Z] 1469e6f7b9e6: Pull complete [2025-04-07T09:31:03.439Z] eaf3925da568: Pull complete [2025-04-07T09:31:05.343Z] bab4dde63d76: Pull complete [2025-04-07T09:31:05.343Z] bde34c3a00c8: Pull complete [2025-04-07T09:31:05.604Z] b352a97aabf1: Pull complete [2025-04-07T09:31:05.604Z] 4872d77fe225: Pull complete [2025-04-07T09:31:05.604Z] 5851b861e8e6: Pull complete [2025-04-07T09:31:05.604Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-04-07T09:31:05.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:31:05.604Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:31:06.385Z] prd-ubuntu20.04-docker-8c-8g-42834 does not seem to be running inside a container [2025-04-07T09:31:06.413Z] $ 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-04-07T09:31:09.564Z] $ docker top 3f0962cd8d0bdcf55a2d71c2de5897f7ec94160fe0205d21d6cc99f8d18c3bb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-04-07T09:31:10.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:31:10.251Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:31:10.378Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:31:10.380Z] $ docker exec 3f0962cd8d0bdcf55a2d71c2de5897f7ec94160fe0205d21d6cc99f8d18c3bb7 ssh-agent [2025-04-07T09:31:10.479Z] SSH_AUTH_SOCK=/tmp/ssh-xHNI7PMSdZef/agent.32 [2025-04-07T09:31:10.479Z] SSH_AGENT_PID=38 [2025-04-07T09:31:10.485Z] Running ssh-add (command line suppressed) [2025-04-07T09:31:10.606Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_15495097069850961183.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_15495097069850961183.key) [2025-04-07T09:31:10.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:31:10.935Z] + git tag --points-at HEAD [Pipeline] } [2025-04-07T09:31:10.946Z] $ docker exec --env ******** --env ******** 3f0962cd8d0bdcf55a2d71c2de5897f7ec94160fe0205d21d6cc99f8d18c3bb7 ssh-agent -k [2025-04-07T09:31:11.046Z] unset SSH_AUTH_SOCK; [2025-04-07T09:31:11.047Z] unset SSH_AGENT_PID; [2025-04-07T09:31:11.047Z] echo Agent pid 38 killed; [2025-04-07T09:31:11.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-04-07T09:31:11.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:31:11.099Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:31:11.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:31:11.207Z] $ docker exec 3f0962cd8d0bdcf55a2d71c2de5897f7ec94160fe0205d21d6cc99f8d18c3bb7 ssh-agent [2025-04-07T09:31:11.314Z] SSH_AUTH_SOCK=/tmp/ssh-sv3HQrKsmfcH/agent.71 [2025-04-07T09:31:11.314Z] SSH_AGENT_PID=77 [2025-04-07T09:31:11.318Z] Running ssh-add (command line suppressed) [2025-04-07T09:31:11.416Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14312734115813030298.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_14312734115813030298.key) [2025-04-07T09:31:11.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:31:11.724Z] + git semver init [2025-04-07T09:31:11.997Z] 2025-04-07 09:31:11,897 [run_init] DEBUG init version:0.0.0 force:False [2025-04-07T09:31:11.997Z] 2025-04-07 09:31:11,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:31:11.997Z] 2025-04-07 09:31:11,898 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:31:11.997Z] 2025-04-07 09:31:11,899 [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-04-07T09:31:13.738Z] 2025-04-07 09:31:12,544 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude [2025-04-07T09:31:13.738Z] 2025-04-07 09:31:12,545 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 with force:False [2025-04-07T09:31:13.738Z] 2025-04-07 09:31:12,545 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:31:13.738Z] 2025-04-07 09:31:12,549 [execute] INFO git cat-file --batch-check [2025-04-07T09:31:13.738Z] 2025-04-07 09:31:12,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=<valid stream>) [2025-04-07T09:31:13.738Z] 2025-04-07 09:31:12,555 [execute] INFO git cat-file --batch [2025-04-07T09:31:13.738Z] 2025-04-07 09:31:12,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=<valid stream>) [2025-04-07T09:31:13.738Z] 2025-04-07 09:31:12,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:31:13.738Z] 0.0.0 [Pipeline] } [2025-04-07T09:31:13.746Z] $ docker exec --env ******** --env ******** 3f0962cd8d0bdcf55a2d71c2de5897f7ec94160fe0205d21d6cc99f8d18c3bb7 ssh-agent -k [2025-04-07T09:31:13.836Z] unset SSH_AUTH_SOCK; [2025-04-07T09:31:13.837Z] unset SSH_AGENT_PID; [2025-04-07T09:31:13.837Z] echo Agent pid 77 killed; [2025-04-07T09:31:13.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:31:14.186Z] + git semver [Pipeline] } [2025-04-07T09:31:14.458Z] $ docker stop --time=1 3f0962cd8d0bdcf55a2d71c2de5897f7ec94160fe0205d21d6cc99f8d18c3bb7 [2025-04-07T09:31:17.661Z] $ docker rm -f --volumes 3f0962cd8d0bdcf55a2d71c2de5897f7ec94160fe0205d21d6cc99f8d18c3bb7 [Pipeline] // withDockerContainer [Pipeline] sh [2025-04-07T09:31:18.571Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-04-07T09:31:18.827Z] Stashed 1 file(s) [Pipeline] echo [2025-04-07T09:31:18.833Z] [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] { (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] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:31:19.074Z] provisioning config files... [2025-04-07T09:31:19.083Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config4499032961974505836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:31:19.389Z] ---> ****-login.sh [2025-04-07T09:31:19.389Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:31:19.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:31:19.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:31:19.390Z] Configure a credential helper to remove this warning. See [2025-04-07T09:31:19.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:31:19.390Z] [2025-04-07T09:31:19.390Z] Login Succeeded [2025-04-07T09:31:19.390Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:31:19.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:31:19.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:31:19.390Z] Configure a credential helper to remove this warning. See [2025-04-07T09:31:19.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:31:19.390Z] [2025-04-07T09:31:19.390Z] Login Succeeded [2025-04-07T09:31:19.390Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:31:19.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:31:19.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:31:19.653Z] Configure a credential helper to remove this warning. See [2025-04-07T09:31:19.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:31:19.653Z] [2025-04-07T09:31:19.653Z] Login Succeeded [2025-04-07T09:31:19.653Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:31:19.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:31:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:31:19.654Z] Configure a credential helper to remove this warning. See [2025-04-07T09:31:19.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:31:19.654Z] [2025-04-07T09:31:19.654Z] Login Succeeded [2025-04-07T09:31:19.654Z] ****.io [2025-04-07T09:31:19.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:31:19.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:31:19.915Z] Configure a credential helper to remove this warning. See [2025-04-07T09:31:19.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:31:19.915Z] [2025-04-07T09:31:19.915Z] Login Succeeded [2025-04-07T09:31:19.915Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:31:19.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-04-07T09:31:20.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:31:20.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:31:20.056Z] ========================================================= [2025-04-07T09:31:20.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-04-07T09:31:20.056Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:31:20.401Z] + 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-04-07T09:31:20.401Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:31:20.401Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:31:20.401Z] Step 2/12 : FROM ${BASE} AS builder [2025-04-07T09:31:20.401Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-04-07T09:31:20.401Z] da9db072f522: Pulling fs layer [2025-04-07T09:31:20.401Z] 6ef4a4ee8ca5: Pulling fs layer [2025-04-07T09:31:20.401Z] 06f05ace1117: Pulling fs layer [2025-04-07T09:31:20.401Z] 5fe327b54edc: Pulling fs layer [2025-04-07T09:31:20.401Z] 4f4fb700ef54: Pulling fs layer [2025-04-07T09:31:20.401Z] 92a5565b7b96: Pulling fs layer [2025-04-07T09:31:20.401Z] 5fe327b54edc: Waiting [2025-04-07T09:31:20.401Z] 4f4fb700ef54: Waiting [2025-04-07T09:31:20.401Z] ff9bb7016b71: Pulling fs layer [2025-04-07T09:31:20.401Z] b67dba6c2c7d: Pulling fs layer [2025-04-07T09:31:20.401Z] a813b0c90790: Pulling fs layer [2025-04-07T09:31:20.401Z] 92a5565b7b96: Waiting [2025-04-07T09:31:20.401Z] b67dba6c2c7d: Waiting [2025-04-07T09:31:20.401Z] a813b0c90790: Waiting [2025-04-07T09:31:20.401Z] 6ef4a4ee8ca5: Download complete [2025-04-07T09:31:20.401Z] 5fe327b54edc: Verifying Checksum [2025-04-07T09:31:20.401Z] 5fe327b54edc: Download complete [2025-04-07T09:31:20.401Z] 4f4fb700ef54: Verifying Checksum [2025-04-07T09:31:20.401Z] 4f4fb700ef54: Download complete [2025-04-07T09:31:20.401Z] da9db072f522: Download complete [2025-04-07T09:31:20.401Z] 92a5565b7b96: Verifying Checksum [2025-04-07T09:31:20.401Z] 92a5565b7b96: Download complete [2025-04-07T09:31:20.660Z] ff9bb7016b71: Verifying Checksum [2025-04-07T09:31:20.660Z] ff9bb7016b71: Download complete [2025-04-07T09:31:20.660Z] da9db072f522: Pull complete [2025-04-07T09:31:20.919Z] 6ef4a4ee8ca5: Pull complete [2025-04-07T09:31:20.919Z] a813b0c90790: Download complete [2025-04-07T09:31:20.919Z] 06f05ace1117: Verifying Checksum [2025-04-07T09:31:20.919Z] 06f05ace1117: Download complete [2025-04-07T09:31:21.485Z] b67dba6c2c7d: Verifying Checksum [2025-04-07T09:31:21.485Z] b67dba6c2c7d: Download complete [2025-04-07T09:31:24.771Z] 06f05ace1117: Pull complete [2025-04-07T09:31:24.771Z] 5fe327b54edc: Pull complete [2025-04-07T09:31:24.771Z] 4f4fb700ef54: Pull complete [2025-04-07T09:31:24.771Z] 92a5565b7b96: Pull complete [2025-04-07T09:31:24.771Z] ff9bb7016b71: Pull complete [2025-04-07T09:31:27.303Z] b67dba6c2c7d: Pull complete [2025-04-07T09:31:27.872Z] a813b0c90790: Pull complete [2025-04-07T09:31:27.872Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-04-07T09:31:27.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-04-07T09:31:27.872Z] ---> 3ba60ce46760 [2025-04-07T09:31:27.872Z] Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:31:31.172Z] ---> Running in 0c5d72e13554 [2025-04-07T09:31:31.172Z] Removing intermediate container 0c5d72e13554 [2025-04-07T09:31:31.172Z] ---> 200e09552451 [2025-04-07T09:31:31.172Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:31:31.172Z] ---> Running in b810a0c97a35 [2025-04-07T09:31:31.172Z] Removing intermediate container b810a0c97a35 [2025-04-07T09:31:31.172Z] ---> 195cabf1f530 [2025-04-07T09:31:31.172Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:31:31.172Z] ---> Running in 874629eebc98 [2025-04-07T09:31:31.431Z] Removing intermediate container 874629eebc98 [2025-04-07T09:31:31.431Z] ---> 3c46aa5f26b5 [2025-04-07T09:31:31.431Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:31:31.431Z] ---> Running in d4f02645f0de [2025-04-07T09:31:31.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:31:31.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:31:32.262Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-04-07T09:31:32.262Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-04-07T09:31:32.262Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-04-07T09:31:32.262Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-04-07T09:31:32.262Z] Executing busybox-1.36.1-r29.trigger [2025-04-07T09:31:32.262Z] OK: 252 MiB in 62 packages [2025-04-07T09:31:32.831Z] Removing intermediate container d4f02645f0de [2025-04-07T09:31:32.831Z] ---> 9c2f1485c9e5 [2025-04-07T09:31:32.831Z] Step 7/12 : WORKDIR /sample-service [2025-04-07T09:31:32.831Z] ---> Running in faa42c61a732 [2025-04-07T09:31:32.831Z] Removing intermediate container faa42c61a732 [2025-04-07T09:31:32.831Z] ---> 01a5ba9f7525 [2025-04-07T09:31:32.831Z] Step 8/12 : COPY go.mod vendor* ./ [2025-04-07T09:31:32.831Z] ---> 689371c6a3a2 [2025-04-07T09:31:32.831Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:31:33.091Z] ---> Running in 057d883a10a2 [2025-04-07T09:31:41.219Z] Removing intermediate container 057d883a10a2 [2025-04-07T09:31:41.219Z] ---> f00e792f7c36 [2025-04-07T09:31:41.219Z] Step 10/12 : COPY . . [2025-04-07T09:31:41.480Z] ---> 391cc03582d9 [2025-04-07T09:31:41.480Z] Step 11/12 : ARG MAKE='make build' [2025-04-07T09:31:41.480Z] ---> Running in cb3d72fbb6c3 [2025-04-07T09:31:41.480Z] Removing intermediate container cb3d72fbb6c3 [2025-04-07T09:31:41.480Z] ---> 653e80261e51 [2025-04-07T09:31:41.480Z] Step 12/12 : RUN $MAKE [2025-04-07T09:31:41.480Z] ---> Running in cc154103e461 [2025-04-07T09:31:41.740Z] noop [2025-04-07T09:31:42.310Z] Removing intermediate container cc154103e461 [2025-04-07T09:31:42.310Z] ---> e2aec699cd66 [2025-04-07T09:31:42.310Z] Successfully built e2aec699cd66 [2025-04-07T09:31:42.310Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:31:42.647Z] + docker inspect -f . ci-base-image-x86_64 [2025-04-07T09:31:42.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:31:42.729Z] prd-ubuntu20.04-docker-8c-8g-42834 does not seem to be running inside a container [2025-04-07T09:31:42.763Z] $ 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-04-07T09:31:43.104Z] $ docker top 8892ca323002977a2244a31eb0093c426e9fca14ae4d319a3e59af6dd3cc84e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:31:43.456Z] + go version [2025-04-07T09:31:43.456Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-04-07T09:31:43.466Z] $ docker stop --time=1 8892ca323002977a2244a31eb0093c426e9fca14ae4d319a3e59af6dd3cc84e7 [2025-04-07T09:31:44.756Z] $ docker rm -f --volumes 8892ca323002977a2244a31eb0093c426e9fca14ae4d319a3e59af6dd3cc84e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-04-07T09:31:45.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-04-07T09:31:45.568Z] + ls -al . [2025-04-07T09:31:45.568Z] total 152 [2025-04-07T09:31:45.568Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:31 . [2025-04-07T09:31:45.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:30 .. [2025-04-07T09:31:45.568Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:31 .git [2025-04-07T09:31:45.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:30 .github [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 46 Apr 7 09:30 .gitignore [2025-04-07T09:31:45.568Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:31 .semver [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 4832 Apr 7 09:30 Attribution.txt [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 34862 Apr 7 09:30 CHANGELOG.md [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 1434 Apr 7 09:30 Dockerfile [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 706 Apr 7 09:30 Jenkinsfile [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 729 Apr 7 09:30 Jenkinsfile-sandbox [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 3586 Apr 7 09:30 Jenkinsfile.edgexSemver [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:30 LICENSE [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 1308 Apr 7 09:30 Makefile [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 3063 Apr 7 09:30 README.md [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:31 VERSION [2025-04-07T09:31:45.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:30 api [2025-04-07T09:31:45.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:30 bin [2025-04-07T09:31:45.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:30 cmd [2025-04-07T09:31:45.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:30 driver [2025-04-07T09:31:45.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:30 example [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 1955 Apr 7 09:30 go.mod [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 13083 Apr 7 09:30 go.sum [2025-04-07T09:31:45.568Z] -rw-rw-r-- 1 jenkins jenkins 225 Apr 7 09:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:31:45.891Z] + 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=eb869c661586b1b6b4d3a43b635254038c5246fa --label arch=amd64 --label version=0.0.0 . [2025-04-07T09:31:45.891Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:31:45.891Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:31:45.891Z] Step 2/23 : FROM ${BASE} AS builder [2025-04-07T09:31:45.891Z] ---> e2aec699cd66 [2025-04-07T09:31:45.892Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:31:45.892Z] ---> Running in 2dfadb01e7aa [2025-04-07T09:31:45.892Z] Removing intermediate container 2dfadb01e7aa [2025-04-07T09:31:45.892Z] ---> 70a4caf50545 [2025-04-07T09:31:45.892Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:31:45.892Z] ---> Running in 171c3faab8bd [2025-04-07T09:31:46.150Z] Removing intermediate container 171c3faab8bd [2025-04-07T09:31:46.150Z] ---> 315ea040539c [2025-04-07T09:31:46.150Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:31:46.150Z] ---> Running in 41ab22d950aa [2025-04-07T09:31:46.150Z] Removing intermediate container 41ab22d950aa [2025-04-07T09:31:46.150Z] ---> 20ae8b6459dd [2025-04-07T09:31:46.150Z] Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:31:46.150Z] ---> Running in 84521a5c119c [2025-04-07T09:31:46.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:31:46.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:31:46.992Z] OK: 252 MiB in 62 packages [2025-04-07T09:31:47.253Z] Removing intermediate container 84521a5c119c [2025-04-07T09:31:47.253Z] ---> c55676c261c4 [2025-04-07T09:31:47.253Z] Step 7/23 : WORKDIR /sample-service [2025-04-07T09:31:47.253Z] ---> Running in 64955e034857 [2025-04-07T09:31:47.253Z] Removing intermediate container 64955e034857 [2025-04-07T09:31:47.253Z] ---> 4ef6f7bcb9d1 [2025-04-07T09:31:47.253Z] Step 8/23 : COPY go.mod vendor* ./ [2025-04-07T09:31:47.513Z] ---> 54b6b5621c2a [2025-04-07T09:31:47.513Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:31:47.513Z] ---> Running in b7b96069e260 [2025-04-07T09:31:48.079Z] Removing intermediate container b7b96069e260 [2025-04-07T09:31:48.079Z] ---> 4819e9a2534a [2025-04-07T09:31:48.079Z] Step 10/23 : COPY . . [2025-04-07T09:31:48.339Z] ---> 3f246ec66f3c [2025-04-07T09:31:48.339Z] Step 11/23 : ARG MAKE='make build' [2025-04-07T09:31:48.339Z] ---> Running in d538a6a9983c [2025-04-07T09:31:48.339Z] Removing intermediate container d538a6a9983c [2025-04-07T09:31:48.339Z] ---> 0d8f0e19f8af [2025-04-07T09:31:48.339Z] Step 12/23 : RUN $MAKE [2025-04-07T09:31:48.339Z] ---> Running in d8b5896a18ee [2025-04-07T09:31:48.614Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd [2025-04-07T09:32:00.851Z] Removing intermediate container d8b5896a18ee [2025-04-07T09:32:00.851Z] ---> ebcc19dc7f4f [2025-04-07T09:32:00.851Z] Step 13/23 : FROM alpine:3.18 [2025-04-07T09:32:00.851Z] 3.18: Pulling from library/alpine [2025-04-07T09:32:00.851Z] 44cf07d57ee4: Pulling fs layer [2025-04-07T09:32:00.851Z] 44cf07d57ee4: Download complete [2025-04-07T09:32:00.851Z] 44cf07d57ee4: Pull complete [2025-04-07T09:32:00.851Z] Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f [2025-04-07T09:32:00.851Z] Status: Downloaded newer image for alpine:3.18 [2025-04-07T09:32:00.851Z] ---> 802c91d52981 [2025-04-07T09:32:00.851Z] Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:32:00.851Z] ---> Running in 0c574df14c50 [2025-04-07T09:32:00.851Z] Removing intermediate container 0c574df14c50 [2025-04-07T09:32:00.851Z] ---> 2b08220e599c [2025-04-07T09:32:00.851Z] Step 15/23 : ENV APP_PORT=49999 [2025-04-07T09:32:00.851Z] ---> Running in e812f6aaf98d [2025-04-07T09:32:00.851Z] Removing intermediate container e812f6aaf98d [2025-04-07T09:32:00.851Z] ---> 2d5dbc2ff005 [2025-04-07T09:32:00.851Z] Step 16/23 : EXPOSE $APP_PORT [2025-04-07T09:32:00.851Z] ---> Running in 5155d27d2c33 [2025-04-07T09:32:00.851Z] Removing intermediate container 5155d27d2c33 [2025-04-07T09:32:00.851Z] ---> f6e3119b79fc [2025-04-07T09:32:00.851Z] Step 17/23 : COPY --from=builder /sample-service/cmd / [2025-04-07T09:32:00.851Z] ---> 610da76e6c4d [2025-04-07T09:32:00.851Z] Step 18/23 : COPY --from=builder /sample-service/LICENSE / [2025-04-07T09:32:00.851Z] ---> 0791fc95ff2f [2025-04-07T09:32:00.851Z] Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / [2025-04-07T09:32:00.851Z] ---> 6a6e28140d48 [2025-04-07T09:32:00.851Z] Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2025-04-07T09:32:00.851Z] ---> Running in 97915eb647f9 [2025-04-07T09:32:01.110Z] Removing intermediate container 97915eb647f9 [2025-04-07T09:32:01.110Z] ---> 4be6e7c5cb69 [2025-04-07T09:32:01.110Z] Step 21/23 : LABEL arch=amd64 [2025-04-07T09:32:01.110Z] ---> Running in 861c4e463415 [2025-04-07T09:32:01.110Z] Removing intermediate container 861c4e463415 [2025-04-07T09:32:01.110Z] ---> 5f86459c50bf [2025-04-07T09:32:01.110Z] Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:32:01.110Z] ---> Running in cf460d9c332e [2025-04-07T09:32:01.110Z] Removing intermediate container cf460d9c332e [2025-04-07T09:32:01.110Z] ---> 77a9d3d3be10 [2025-04-07T09:32:01.110Z] Step 23/23 : LABEL version=0.0.0 [2025-04-07T09:32:01.110Z] ---> Running in d686d65bcf84 [2025-04-07T09:32:01.370Z] Removing intermediate container d686d65bcf84 [2025-04-07T09:32:01.370Z] ---> 9c7577dd9409 [2025-04-07T09:32:01.370Z] [Warning] One or more build-args [ARCH] were not consumed [2025-04-07T09:32:01.370Z] Successfully built 9c7577dd9409 [2025-04-07T09:32:01.370Z] Successfully tagged sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:32:01.486Z] provisioning config files... [2025-04-07T09:32:01.498Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11206944822463622645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:01.805Z] ---> ****-login.sh [2025-04-07T09:32:01.805Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:32:01.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:01.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:01.806Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:01.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:01.806Z] [2025-04-07T09:32:01.806Z] Login Succeeded [2025-04-07T09:32:01.806Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:32:01.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:01.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:01.806Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:01.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:01.806Z] [2025-04-07T09:32:01.806Z] Login Succeeded [2025-04-07T09:32:01.806Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:32:02.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:02.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:02.066Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:02.066Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:02.066Z] [2025-04-07T09:32:02.066Z] Login Succeeded [2025-04-07T09:32:02.066Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:32:02.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:02.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:02.066Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:02.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:02.067Z] [2025-04-07T09:32:02.067Z] Login Succeeded [2025-04-07T09:32:02.067Z] ****.io [2025-04-07T09:32:02.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:02.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:02.329Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:02.329Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:02.329Z] [2025-04-07T09:32:02.329Z] Login Succeeded [2025-04-07T09:32:02.329Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:32:02.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:32:02.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:32:02.411Z] [edgeXDocker.push] Tagging docker image sample-service with the following tags: [2025-04-07T09:32:02.411Z] eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:32:02.411Z] latest [2025-04-07T09:32:02.411Z] 0.0.0 [2025-04-07T09:32:02.411Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:32:02.411Z] PR-165 [2025-04-07T09:32:02.411Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:02.749Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:03.079Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:32:03.079Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:32:03.079Z] 062893c24bfc: Preparing [2025-04-07T09:32:03.079Z] f0764fd5bf2e: Preparing [2025-04-07T09:32:03.079Z] 863ef0bf61f4: Preparing [2025-04-07T09:32:03.079Z] f44f286046d9: Preparing [2025-04-07T09:32:03.079Z] f44f286046d9: Layer already exists [2025-04-07T09:32:03.079Z] 062893c24bfc: Pushed [2025-04-07T09:32:03.079Z] f0764fd5bf2e: Pushed [2025-04-07T09:32:04.460Z] 863ef0bf61f4: Pushed [2025-04-07T09:32:04.460Z] eb869c661586b1b6b4d3a43b635254038c5246fa: digest: sha256:add2bb7b9b380dfab90dbcc3c16f679a5e4f7e34707c44e62bd0e57baab21178 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:04.794Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:05.121Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:32:05.121Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:32:05.121Z] 062893c24bfc: Preparing [2025-04-07T09:32:05.121Z] f0764fd5bf2e: Preparing [2025-04-07T09:32:05.121Z] 863ef0bf61f4: Preparing [2025-04-07T09:32:05.121Z] f44f286046d9: Preparing [2025-04-07T09:32:05.121Z] f44f286046d9: Layer already exists [2025-04-07T09:32:05.121Z] f0764fd5bf2e: Layer already exists [2025-04-07T09:32:05.121Z] 062893c24bfc: Layer already exists [2025-04-07T09:32:05.121Z] 863ef0bf61f4: Layer already exists [2025-04-07T09:32:05.121Z] latest: digest: sha256:add2bb7b9b380dfab90dbcc3c16f679a5e4f7e34707c44e62bd0e57baab21178 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:05.458Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:05.790Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:32:05.790Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:32:06.050Z] 062893c24bfc: Preparing [2025-04-07T09:32:06.050Z] f0764fd5bf2e: Preparing [2025-04-07T09:32:06.050Z] 863ef0bf61f4: Preparing [2025-04-07T09:32:06.050Z] f44f286046d9: Preparing [2025-04-07T09:32:07.428Z] 062893c24bfc: Layer already exists [2025-04-07T09:32:07.428Z] 863ef0bf61f4: Layer already exists [2025-04-07T09:32:07.428Z] f0764fd5bf2e: Layer already exists [2025-04-07T09:32:07.428Z] f44f286046d9: Layer already exists [2025-04-07T09:32:07.428Z] 0.0.0: digest: sha256:add2bb7b9b380dfab90dbcc3c16f679a5e4f7e34707c44e62bd0e57baab21178 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:07.759Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:08.084Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:32:08.084Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:32:08.084Z] 062893c24bfc: Preparing [2025-04-07T09:32:08.084Z] f0764fd5bf2e: Preparing [2025-04-07T09:32:08.084Z] 863ef0bf61f4: Preparing [2025-04-07T09:32:08.084Z] f44f286046d9: Preparing [2025-04-07T09:32:08.084Z] f0764fd5bf2e: Layer already exists [2025-04-07T09:32:08.084Z] f44f286046d9: Layer already exists [2025-04-07T09:32:08.084Z] 062893c24bfc: Layer already exists [2025-04-07T09:32:08.084Z] 863ef0bf61f4: Layer already exists [2025-04-07T09:32:08.084Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0: digest: sha256:add2bb7b9b380dfab90dbcc3c16f679a5e4f7e34707c44e62bd0e57baab21178 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:08.413Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:PR-165 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:08.747Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 [2025-04-07T09:32:08.747Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:32:08.747Z] 062893c24bfc: Preparing [2025-04-07T09:32:08.747Z] f0764fd5bf2e: Preparing [2025-04-07T09:32:08.747Z] 863ef0bf61f4: Preparing [2025-04-07T09:32:08.747Z] f44f286046d9: Preparing [2025-04-07T09:32:08.747Z] f44f286046d9: Layer already exists [2025-04-07T09:32:08.747Z] 863ef0bf61f4: Layer already exists [2025-04-07T09:32:08.747Z] 062893c24bfc: Layer already exists [2025-04-07T09:32:08.747Z] f0764fd5bf2e: Layer already exists [2025-04-07T09:32:08.747Z] PR-165: digest: sha256:add2bb7b9b380dfab90dbcc3c16f679a5e4f7e34707c44e62bd0e57baab21178 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:32:08.833Z] ===================================================== [Pipeline] echo [2025-04-07T09:32:08.848Z] taggedImages: [2025-04-07T09:32:08.848Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:32:08.848Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:32:08.848Z] - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:32:08.848Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:32:08.848Z] - nexus3.edgexfoundry.org:10004/sample-service:PR-165 [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-04-07T09:32:09.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:32:09.258Z] [2025-04-07T09:32:09.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:09.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:32:09.568Z] latest: Pulling from edgex-lftools-log-publisher [2025-04-07T09:32:09.568Z] 5eb5b503b376: Pulling fs layer [2025-04-07T09:32:09.568Z] 5c69ac0246d0: Pulling fs layer [2025-04-07T09:32:09.568Z] ec43610c2a17: Pulling fs layer [2025-04-07T09:32:09.568Z] 3a2ae6a8a46f: Pulling fs layer [2025-04-07T09:32:09.568Z] 33b1e0a273af: Pulling fs layer [2025-04-07T09:32:09.568Z] 5d3b04190fa2: Pulling fs layer [2025-04-07T09:32:09.568Z] 2f39f015ded8: Pulling fs layer [2025-04-07T09:32:09.568Z] 3a2ae6a8a46f: Waiting [2025-04-07T09:32:09.568Z] 33b1e0a273af: Waiting [2025-04-07T09:32:09.568Z] 5d3b04190fa2: Waiting [2025-04-07T09:32:09.568Z] 2f39f015ded8: Waiting [2025-04-07T09:32:09.568Z] 5c69ac0246d0: Download complete [2025-04-07T09:32:09.568Z] 3a2ae6a8a46f: Verifying Checksum [2025-04-07T09:32:09.568Z] 3a2ae6a8a46f: Download complete [2025-04-07T09:32:09.568Z] 33b1e0a273af: Verifying Checksum [2025-04-07T09:32:09.568Z] 33b1e0a273af: Download complete [2025-04-07T09:32:09.568Z] 5d3b04190fa2: Download complete [2025-04-07T09:32:09.568Z] ec43610c2a17: Verifying Checksum [2025-04-07T09:32:09.568Z] ec43610c2a17: Download complete [2025-04-07T09:32:09.825Z] 5eb5b503b376: Verifying Checksum [2025-04-07T09:32:09.825Z] 5eb5b503b376: Download complete [2025-04-07T09:32:10.390Z] 2f39f015ded8: Download complete [2025-04-07T09:32:10.956Z] 5eb5b503b376: Pull complete [2025-04-07T09:32:11.214Z] 5c69ac0246d0: Pull complete [2025-04-07T09:32:11.779Z] ec43610c2a17: Pull complete [2025-04-07T09:32:11.779Z] 3a2ae6a8a46f: Pull complete [2025-04-07T09:32:12.037Z] 33b1e0a273af: Pull complete [2025-04-07T09:32:12.037Z] 5d3b04190fa2: Pull complete [2025-04-07T09:32:17.329Z] 2f39f015ded8: Pull complete [2025-04-07T09:32:17.330Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-04-07T09:32:17.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:32:17.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:32:17.446Z] prd-ubuntu20.04-docker-8c-8g-42834 does not seem to be running inside a container [2025-04-07T09:32:17.475Z] $ 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-04-07T09:32:19.656Z] $ docker top 4570931eceb46cea363fe0db0d00b0a073a2abf9c9d0941718f501b3f690938b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:20.071Z] ---> job-cost.sh [2025-04-07T09:32:20.071Z] lf-activate-venv: SKIPPING [2025-04-07T09:32:20.071Z] INFO: No Stack... [2025-04-07T09:32:20.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:32:20.592Z] INFO: Archiving Costs [Pipeline] sh [2025-04-07T09:32:20.891Z] + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv [2025-04-07T09:32:20.891Z] + cut -d, -f6 [Pipeline] lock [2025-04-07T09:32:20.909Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-31-stack-cost] [2025-04-07T09:32:20.916Z] Resource [jenkins-edgexfoundry-sample-service-PR-165-31-stack-cost] did not exist. Created. [2025-04-07T09:32:20.925Z] Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-04-07T09:32:21.239Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-04-07T09:32:21.276Z] Stashed 1 file(s) [Pipeline] } [2025-04-07T09:32:21.292Z] Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-31-stack-cost] [Pipeline] // lock [Pipeline] } [2025-04-07T09:32:21.322Z] $ docker stop --time=1 4570931eceb46cea363fe0db0d00b0a073a2abf9c9d0941718f501b3f690938b [2025-04-07T09:32:22.470Z] $ docker rm -f --volumes 4570931eceb46cea363fe0db0d00b0a073a2abf9c9d0941718f501b3f690938b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-04-07T09:32:22.975Z] + docker version [2025-04-07T09:32:22.975Z] Client: Docker Engine - Community [2025-04-07T09:32:22.975Z] Version: 20.10.18 [2025-04-07T09:32:22.975Z] API version: 1.41 [2025-04-07T09:32:22.975Z] Go version: go1.18.6 [2025-04-07T09:32:22.975Z] Git commit: b40c2f6 [2025-04-07T09:32:22.975Z] Built: Thu Sep 8 23:11:45 2022 [2025-04-07T09:32:22.975Z] OS/Arch: linux/amd64 [2025-04-07T09:32:22.975Z] Context: default [2025-04-07T09:32:22.975Z] Experimental: true [2025-04-07T09:32:22.975Z] [2025-04-07T09:32:22.975Z] Server: Docker Engine - Community [2025-04-07T09:32:22.975Z] Engine: [2025-04-07T09:32:22.975Z] Version: 20.10.18 [2025-04-07T09:32:22.975Z] API version: 1.41 (minimum version 1.12) [2025-04-07T09:32:22.975Z] Go version: go1.18.6 [2025-04-07T09:32:22.975Z] Git commit: e42327a [2025-04-07T09:32:22.975Z] Built: Thu Sep 8 23:09:37 2022 [2025-04-07T09:32:22.975Z] OS/Arch: linux/amd64 [2025-04-07T09:32:22.975Z] Experimental: false [2025-04-07T09:32:22.975Z] containerd: [2025-04-07T09:32:22.975Z] Version: 1.6.8 [2025-04-07T09:32:22.975Z] GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:32:22.975Z] runc: [2025-04-07T09:32:22.975Z] Version: 1.1.4 [2025-04-07T09:32:22.975Z] GitCommit: v1.1.4-0-g5fd4c4d [2025-04-07T09:32:22.975Z] docker-init: [2025-04-07T09:32:22.975Z] Version: 0.19.0 [2025-04-07T09:32:22.975Z] GitCommit: de40ad0 [Pipeline] sh [2025-04-07T09:32:23.262Z] + docker info [2025-04-07T09:32:23.832Z] Client: [2025-04-07T09:32:23.832Z] Context: default [2025-04-07T09:32:23.832Z] Debug Mode: false [2025-04-07T09:32:23.832Z] Plugins: [2025-04-07T09:32:23.832Z] app: Docker App (Docker Inc., v0.9.1-beta3) [2025-04-07T09:32:23.832Z] buildx: Docker Buildx (Docker Inc., v0.9.1-docker) [2025-04-07T09:32:23.832Z] scan: Docker Scan (Docker Inc., v0.17.0) [2025-04-07T09:32:23.832Z] [2025-04-07T09:32:23.832Z] Server: [2025-04-07T09:32:23.832Z] Containers: 0 [2025-04-07T09:32:23.832Z] Running: 0 [2025-04-07T09:32:23.832Z] Paused: 0 [2025-04-07T09:32:23.832Z] Stopped: 0 [2025-04-07T09:32:23.832Z] Images: 34 [2025-04-07T09:32:23.832Z] Server Version: 20.10.18 [2025-04-07T09:32:23.832Z] Storage Driver: overlay2 [2025-04-07T09:32:23.832Z] Backing Filesystem: extfs [2025-04-07T09:32:23.832Z] Supports d_type: true [2025-04-07T09:32:23.832Z] Native Overlay Diff: true [2025-04-07T09:32:23.832Z] userxattr: false [2025-04-07T09:32:23.832Z] Logging Driver: json-file [2025-04-07T09:32:23.832Z] Cgroup Driver: cgroupfs [2025-04-07T09:32:23.832Z] Cgroup Version: 1 [2025-04-07T09:32:23.832Z] Plugins: [2025-04-07T09:32:23.832Z] Volume: local [2025-04-07T09:32:23.832Z] Network: bridge host ipvlan macvlan null overlay [2025-04-07T09:32:23.832Z] Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog [2025-04-07T09:32:23.832Z] Swarm: inactive [2025-04-07T09:32:23.832Z] Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc [2025-04-07T09:32:23.832Z] Default Runtime: runc [2025-04-07T09:32:23.832Z] Init Binary: docker-init [2025-04-07T09:32:23.832Z] containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:32:23.832Z] runc version: v1.1.4-0-g5fd4c4d [2025-04-07T09:32:23.832Z] init version: de40ad0 [2025-04-07T09:32:23.832Z] Security Options: [2025-04-07T09:32:23.832Z] apparmor [2025-04-07T09:32:23.832Z] seccomp [2025-04-07T09:32:23.832Z] Profile: default [2025-04-07T09:32:23.832Z] Kernel Version: 5.4.0-126-generic [2025-04-07T09:32:23.832Z] Operating System: Ubuntu 20.04.5 LTS [2025-04-07T09:32:23.832Z] OSType: linux [2025-04-07T09:32:23.832Z] Architecture: x86_64 [2025-04-07T09:32:23.832Z] CPUs: 8 [2025-04-07T09:32:23.832Z] Total Memory: 31.36GiB [2025-04-07T09:32:23.832Z] Name: prd-ubuntu20-04-docker-8c-8g-42834 [2025-04-07T09:32:23.832Z] ID: B5C6:XBUP:AVU6:3QRK:F5J7:OLEW:3BBT:K62R:4CCP:S4GR:QIZL:K4IG [2025-04-07T09:32:23.832Z] Docker Root Dir: /var/lib/docker [2025-04-07T09:32:23.832Z] Debug Mode: false [2025-04-07T09:32:23.832Z] Username: edgexci [2025-04-07T09:32:23.832Z] Registry: https://index.docker.io/v1/ [2025-04-07T09:32:23.832Z] Labels: [2025-04-07T09:32:23.832Z] Experimental: false [2025-04-07T09:32:23.832Z] Insecure Registries: [2025-04-07T09:32:23.832Z] 127.0.0.0/8 [2025-04-07T09:32:23.832Z] Registry Mirrors: [2025-04-07T09:32:23.832Z] https://nexus3.edgexfoundry.org:10001/ [2025-04-07T09:32:23.832Z] Live Restore Enabled: false [2025-04-07T09:32:23.832Z] [2025-04-07T09:32:23.832Z] WARNING: API is accessible on http://0.0.0.0:5555 without encryption. [2025-04-07T09:32:23.832Z] Access to the remote API is equivalent to root access on the host. Refer [2025-04-07T09:32:23.832Z] to the 'Docker daemon attack surface' section in the documentation for [2025-04-07T09:32:23.832Z] more information: https://docs.docker.com/go/attack-surface/ [2025-04-07T09:32:23.832Z] WARNING: No swap limit support [Pipeline] echo [2025-04-07T09:32:23.845Z] building multi-arch image for nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:32:23.887Z] provisioning config files... [2025-04-07T09:32:23.899Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config6191860986155912292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:24.214Z] ---> ****-login.sh [2025-04-07T09:32:24.214Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:32:24.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:24.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:24.214Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:24.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:24.214Z] [2025-04-07T09:32:24.214Z] Login Succeeded [2025-04-07T09:32:24.214Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:32:24.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:24.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:24.214Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:24.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:24.214Z] [2025-04-07T09:32:24.214Z] Login Succeeded [2025-04-07T09:32:24.214Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:32:24.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:24.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:24.474Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:24.474Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:24.474Z] [2025-04-07T09:32:24.474Z] Login Succeeded [2025-04-07T09:32:24.474Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:32:24.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:24.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:24.474Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:24.474Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:24.474Z] [2025-04-07T09:32:24.474Z] Login Succeeded [2025-04-07T09:32:24.474Z] ****.io [2025-04-07T09:32:24.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:32:24.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:32:24.734Z] Configure a credential helper to remove this warning. See [2025-04-07T09:32:24.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:32:24.734Z] [2025-04-07T09:32:24.734Z] Login Succeeded [2025-04-07T09:32:24.734Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:32:24.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:32:25.073Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:32:25.073Z] latest: Pulling from sample-service [2025-04-07T09:32:25.073Z] Digest: sha256:add2bb7b9b380dfab90dbcc3c16f679a5e4f7e34707c44e62bd0e57baab21178 [2025-04-07T09:32:25.073Z] Status: Image is up to date for nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:32:25.073Z] nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:32:25.364Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:32:25.364Z] latest: Pulling from sample-service-arm64 [2025-04-07T09:32:25.364Z] 95459497489f: Pulling fs layer [2025-04-07T09:32:25.364Z] ceb2e31cc3b0: Pulling fs layer [2025-04-07T09:32:25.364Z] 8ad4e7edb9c4: Pulling fs layer [2025-04-07T09:32:25.364Z] 58ef3575707b: Pulling fs layer [2025-04-07T09:32:25.364Z] 58ef3575707b: Waiting [2025-04-07T09:32:25.364Z] 8ad4e7edb9c4: Verifying Checksum [2025-04-07T09:32:25.364Z] 8ad4e7edb9c4: Download complete [2025-04-07T09:32:25.364Z] 58ef3575707b: Download complete [2025-04-07T09:32:25.364Z] 95459497489f: Verifying Checksum [2025-04-07T09:32:25.364Z] 95459497489f: Download complete [2025-04-07T09:32:25.364Z] ceb2e31cc3b0: Verifying Checksum [2025-04-07T09:32:25.364Z] ceb2e31cc3b0: Download complete [2025-04-07T09:32:25.623Z] 95459497489f: Pull complete [2025-04-07T09:32:25.623Z] ceb2e31cc3b0: Pull complete [2025-04-07T09:32:25.883Z] 8ad4e7edb9c4: Pull complete [2025-04-07T09:32:25.883Z] 58ef3575707b: Pull complete [2025-04-07T09:32:25.883Z] Digest: sha256:59404d1e53befa8610e04549965575a664056ff82a764edc0008b34f1badc679 [2025-04-07T09:32:25.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:32:25.883Z] nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [Pipeline] sh [2025-04-07T09:32:26.173Z] + docker tag nexus3.edgexfoundry.org:10004/sample-service:latest nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:32:26.173Z] + docker rmi -f nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:32:26.173Z] Untagged: nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:32:26.466Z] + docker push nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:32:26.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service-amd64] [2025-04-07T09:32:26.466Z] 062893c24bfc: Preparing [2025-04-07T09:32:26.466Z] f0764fd5bf2e: Preparing [2025-04-07T09:32:26.466Z] 863ef0bf61f4: Preparing [2025-04-07T09:32:26.466Z] f44f286046d9: Preparing [2025-04-07T09:32:26.466Z] 863ef0bf61f4: Layer already exists [2025-04-07T09:32:26.466Z] f0764fd5bf2e: Layer already exists [2025-04-07T09:32:26.466Z] f44f286046d9: Layer already exists [2025-04-07T09:32:26.466Z] 062893c24bfc: Layer already exists [2025-04-07T09:32:26.466Z] latest: digest: sha256:add2bb7b9b380dfab90dbcc3c16f679a5e4f7e34707c44e62bd0e57baab21178 size: 1154 [Pipeline] echo [2025-04-07T09:32:26.477Z] registry: https://nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh [2025-04-07T09:32:26.821Z] + sudo docker manifest create nexus3.edgexfoundry.org:10004/sample-service:latest --amend nexus3.edgexfoundry.org:10004/sample-service-amd64:latest --amend nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:32:26.821Z] Created manifest list nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:32:27.115Z] + docker manifest inspect nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:32:27.115Z] open /etc/docker/certs.d/nexus3.edgexfoundry.org:10004: permission denied [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-04-07T09:32:27.993Z] + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [2025-04-07T09:32:27.993Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:32:27.993Z] total 16 [2025-04-07T09:32:27.993Z] drwxr-xr-x 3 root root 4096 Apr 7 09:32 . [2025-04-07T09:32:27.993Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:32 .. [2025-04-07T09:32:27.993Z] drwxr-xr-x 2 root root 4096 Apr 7 09:32 cost [2025-04-07T09:32:27.993Z] -rw-r--r-- 1 root root 87 Apr 7 09:32 cost.csv [2025-04-07T09:32:27.993Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:32:27.993Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:32:27.993Z] total 16 [2025-04-07T09:32:27.993Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:32 . [2025-04-07T09:32:27.993Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:32 .. [2025-04-07T09:32:27.993Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:32 cost [2025-04-07T09:32:27.993Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 7 09:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:28.287Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:29.154Z] ---> package-listing.sh [2025-04-07T09:32:29.154Z] ++ facter osfamily [2025-04-07T09:32:29.154Z] ++ tr '[:upper:]' '[:lower:]' [2025-04-07T09:32:29.414Z] + OS_FAMILY=debian [2025-04-07T09:32:29.414Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-04-07T09:32:29.414Z] + START_PACKAGES=/tmp/packages_start.txt [2025-04-07T09:32:29.414Z] + END_PACKAGES=/tmp/packages_end.txt [2025-04-07T09:32:29.414Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-04-07T09:32:29.414Z] + PACKAGES=/tmp/packages_start.txt [2025-04-07T09:32:29.414Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:32:29.414Z] + PACKAGES=/tmp/packages_end.txt [2025-04-07T09:32:29.414Z] + case "${OS_FAMILY}" in [2025-04-07T09:32:29.414Z] + grep '^ii' [2025-04-07T09:32:29.414Z] + dpkg -l [2025-04-07T09:32:29.414Z] + '[' -f /tmp/packages_start.txt ']' [2025-04-07T09:32:29.414Z] + '[' -f /tmp/packages_end.txt ']' [2025-04-07T09:32:29.414Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-04-07T09:32:29.414Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:32:29.414Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-04-07T09:32:29.414Z] + 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-04-07T09:32:29.427Z] 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-04-07T09:32:29.705Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:32:30.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:32:30.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:32:30.358Z] prd-ubuntu20.04-docker-8c-8g-42834 does not seem to be running inside a container [2025-04-07T09:32:30.386Z] $ 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-04-07T09:32:30.677Z] $ docker top 378698efc16266cedbc03848c711cf554a862e465bd24746086af18707226203 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:32:31.035Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-04-07T09:32:31.322Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-04-07T09:32:31.609Z] + ls /var/log/sa-host [2025-04-07T09:32:31.609Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:32:31.684Z] provisioning config files... [2025-04-07T09:32:31.694Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config14251661008911370976tmp [Pipeline] { [Pipeline] echo [2025-04-07T09:32:31.709Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:31.992Z] ---> create-netrc.sh [Pipeline] } [2025-04-07T09:32:31.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:32.339Z] ---> python-tools-install.sh [Pipeline] echo [2025-04-07T09:32:32.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:32.636Z] ---> sudo-logs.sh [2025-04-07T09:32:32.636Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-04-07T09:32:32.673Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:32.960Z] ---> job-cost.sh [2025-04-07T09:32:32.960Z] lf-activate-venv: SKIPPING [2025-04-07T09:32:32.960Z] DEBUG: total: 0.2199999988079071 [2025-04-07T09:32:32.960Z] INFO: Retrieving Stack Cost... [2025-04-07T09:32:32.960Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:32:33.220Z] INFO: Archiving Costs [Pipeline] echo [2025-04-07T09:32:33.236Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:32:33.519Z] ---> logs-deploy.sh [2025-04-07T09:32:33.519Z] lf-activate-venv: SKIPPING [2025-04-07T09:32:33.519Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/31 [2025-04-07T09:32:33.519Z] INFO: archiving workspace using pattern(s): [2025-04-07T09:32:34.458Z] Archives upload complete. [2025-04-07T09:32:34.458Z] INFO: archiving logs to Nexus