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-ssh12710459824190788198.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 57e8765b0de11911d891cd17a866ff25918d271a 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-ssh11215121811991715272.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 57e8765b0de11911d891cd17a866ff25918d271a 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-ssh17271383515997041822.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57e8765b0de11911d891cd17a866ff25918d271a (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 57e8765b0de11911d891cd17a866ff25918d271a # timeout=10 Commit message: "manifest" > 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-ssh1397024030508841129.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-ssh13831449889995906095.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-42832’ is offline Running on prd-ubuntu20.04-docker-8c-8g-42833 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 Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > git checkout -f eb869c661586b1b6b4d3a43b635254038c5246fa # 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 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:20:57.538Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-04-07T09:20:57.628Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-04-07T09:20:57.657Z] ========================================================= [2025-04-07T09:20:57.657Z] EdgeX Global Pipelines Version Info [2025-04-07T09:20:57.657Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:20:58.764Z] ------------------- [2025-04-07T09:20:58.764Z] stable info: [2025-04-07T09:20:58.764Z] ------------------- [2025-04-07T09:20:58.764Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:20:58.764Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-04-07T09:20:58.764Z] Message: update stable to v1.0.274 [2025-04-07T09:20:59.025Z] ------------------- [2025-04-07T09:20:59.025Z] experimental info: [2025-04-07T09:20:59.025Z] ------------------- [2025-04-07T09:20:59.025Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:20:59.025Z] Commit SHA: 57e8765b0de11911d891cd17a866ff25918d271a [2025-04-07T09:20:59.025Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-04-07T09:20:59.149Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo [2025-04-07T09:20:59.174Z] [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo [2025-04-07T09:20:59.203Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-04-07T09:20:59.230Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-04-07T09:20:59.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-04-07T09:20:59.280Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-04-07T09:20:59.308Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-04-07T09:20:59.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-04-07T09:20:59.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-04-07T09:20:59.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-04-07T09:20:59.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-04-07T09:20:59.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo [2025-04-07T09:20:59.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-04-07T09:20:59.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-04-07T09:20:59.495Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:20:59.523Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:20:59.546Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:20:59.567Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:20:59.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-04-07T09:20:59.616Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-04-07T09:20:59.644Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-04-07T09:20:59.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-04-07T09:20:59.685Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-04-07T09:20:59.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-04-07T09:20:59.736Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-04-07T09:20:59.757Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-04-07T09:20:59.784Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-04-07T09:20:59.806Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:20:59.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:20:59.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2025-04-07T09:20:59.878Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:20:59.896Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo [2025-04-07T09:20:59.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:20:59.976Z] provisioning config files... [2025-04-07T09:20:59.990Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15327736190518539817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:21:00.326Z] ---> ****-login.sh [2025-04-07T09:21:00.326Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:21:00.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:00.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:00.847Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:00.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:00.847Z] [2025-04-07T09:21:00.847Z] Login Succeeded [2025-04-07T09:21:00.847Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:21:00.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:00.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:00.848Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:00.848Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:00.848Z] [2025-04-07T09:21:00.848Z] Login Succeeded [2025-04-07T09:21:00.848Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:21:00.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:01.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:01.109Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:01.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:01.109Z] [2025-04-07T09:21:01.109Z] Login Succeeded [2025-04-07T09:21:01.109Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:21:01.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:01.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:01.110Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:01.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:01.110Z] [2025-04-07T09:21:01.110Z] Login Succeeded [2025-04-07T09:21:01.110Z] ****.io [2025-04-07T09:21:01.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:01.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:01.370Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:01.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:01.370Z] [2025-04-07T09:21:01.370Z] Login Succeeded [2025-04-07T09:21:01.370Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:21:01.378Z] 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:21:01.823Z] + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:21:01.854Z] -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh [2025-04-07T09:21:02.149Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:21:02.165Z] ========================================================= [2025-04-07T09:21:02.165Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-04-07T09:21:02.165Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-04-07T09:21:02.523Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:21:02.537Z] [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo [2025-04-07T09:21:02.551Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-04-07T09:21:03.001Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-04-07T09:21:03.001Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-04-07T09:21:03.001Z] + [ -e /tmp/ssh_known_hosts ] [2025-04-07T09:21:03.001Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-04-07T09:21:03.001Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-04-07T09:21:03.001Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-04-07T09:21:03.001Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:03.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:21:03.433Z] [2025-04-07T09:21:03.433Z] 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:21:03.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:21:03.737Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-04-07T09:21:03.737Z] b85a868b505f: Pulling fs layer [2025-04-07T09:21:03.737Z] e2be974225ed: Pulling fs layer [2025-04-07T09:21:03.737Z] 339a4e72a1f5: Pulling fs layer [2025-04-07T09:21:03.737Z] 988bab9f4d93: Pulling fs layer [2025-04-07T09:21:03.737Z] 1469e6f7b9e6: Pulling fs layer [2025-04-07T09:21:03.737Z] eaf3925da568: Pulling fs layer [2025-04-07T09:21:03.737Z] bab4dde63d76: Pulling fs layer [2025-04-07T09:21:03.737Z] bde34c3a00c8: Pulling fs layer [2025-04-07T09:21:03.737Z] b352a97aabf1: Pulling fs layer [2025-04-07T09:21:03.737Z] 4872d77fe225: Pulling fs layer [2025-04-07T09:21:03.737Z] 5851b861e8e6: Pulling fs layer [2025-04-07T09:21:03.737Z] bde34c3a00c8: Waiting [2025-04-07T09:21:03.737Z] 988bab9f4d93: Waiting [2025-04-07T09:21:03.737Z] 1469e6f7b9e6: Waiting [2025-04-07T09:21:03.737Z] b352a97aabf1: Waiting [2025-04-07T09:21:03.737Z] eaf3925da568: Waiting [2025-04-07T09:21:03.737Z] bab4dde63d76: Waiting [2025-04-07T09:21:03.737Z] 4872d77fe225: Waiting [2025-04-07T09:21:03.737Z] 5851b861e8e6: Waiting [2025-04-07T09:21:03.737Z] e2be974225ed: Verifying Checksum [2025-04-07T09:21:03.737Z] e2be974225ed: Download complete [2025-04-07T09:21:03.737Z] 988bab9f4d93: Verifying Checksum [2025-04-07T09:21:03.737Z] 988bab9f4d93: Download complete [2025-04-07T09:21:03.737Z] 339a4e72a1f5: Verifying Checksum [2025-04-07T09:21:03.737Z] 339a4e72a1f5: Download complete [2025-04-07T09:21:03.737Z] 1469e6f7b9e6: Verifying Checksum [2025-04-07T09:21:03.737Z] 1469e6f7b9e6: Download complete [2025-04-07T09:21:03.737Z] eaf3925da568: Verifying Checksum [2025-04-07T09:21:03.737Z] eaf3925da568: Download complete [2025-04-07T09:21:03.996Z] bde34c3a00c8: Download complete [2025-04-07T09:21:03.996Z] b352a97aabf1: Verifying Checksum [2025-04-07T09:21:03.996Z] b352a97aabf1: Download complete [2025-04-07T09:21:03.996Z] 4872d77fe225: Verifying Checksum [2025-04-07T09:21:03.996Z] 4872d77fe225: Download complete [2025-04-07T09:21:03.996Z] 5851b861e8e6: Verifying Checksum [2025-04-07T09:21:03.996Z] 5851b861e8e6: Download complete [2025-04-07T09:21:03.996Z] b85a868b505f: Verifying Checksum [2025-04-07T09:21:03.996Z] b85a868b505f: Download complete [2025-04-07T09:21:04.254Z] bab4dde63d76: Verifying Checksum [2025-04-07T09:21:04.254Z] bab4dde63d76: Download complete [2025-04-07T09:21:05.194Z] b85a868b505f: Pull complete [2025-04-07T09:21:05.454Z] e2be974225ed: Pull complete [2025-04-07T09:21:05.714Z] 339a4e72a1f5: Pull complete [2025-04-07T09:21:05.975Z] 988bab9f4d93: Pull complete [2025-04-07T09:21:06.234Z] 1469e6f7b9e6: Pull complete [2025-04-07T09:21:06.234Z] eaf3925da568: Pull complete [2025-04-07T09:21:08.137Z] bab4dde63d76: Pull complete [2025-04-07T09:21:08.137Z] bde34c3a00c8: Pull complete [2025-04-07T09:21:08.137Z] b352a97aabf1: Pull complete [2025-04-07T09:21:08.137Z] 4872d77fe225: Pull complete [2025-04-07T09:21:08.396Z] 5851b861e8e6: Pull complete [2025-04-07T09:21:08.396Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-04-07T09:21:08.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:21:08.396Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:21:08.546Z] prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container [2025-04-07T09:21:08.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-04-07T09:21:09.931Z] $ docker top a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 -eo pid,comm [2025-04-07T09:21:09.987Z] 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-04-07T09:21:09.987Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-04-07T09:21:10.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:21:10.053Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:21:10.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:21:10.158Z] $ docker exec a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent [2025-04-07T09:21:10.265Z] SSH_AUTH_SOCK=/tmp/ssh-sDATLYdgpYh9/agent.32 [2025-04-07T09:21:10.266Z] SSH_AGENT_PID=38 [2025-04-07T09:21:10.273Z] Running ssh-add (command line suppressed) [2025-04-07T09:21:10.379Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_813921717519119277.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_813921717519119277.key) [2025-04-07T09:21:10.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:21:10.692Z] + git tag --points-at HEAD [Pipeline] } [2025-04-07T09:21:10.703Z] $ docker exec --env ******** --env ******** a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent -k [2025-04-07T09:21:10.814Z] unset SSH_AUTH_SOCK; [2025-04-07T09:21:10.815Z] unset SSH_AGENT_PID; [2025-04-07T09:21:10.815Z] echo Agent pid 38 killed; [2025-04-07T09:21:10.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-04-07T09:21:10.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:21:10.867Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:21:10.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:21:10.986Z] $ docker exec a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent [2025-04-07T09:21:11.093Z] SSH_AUTH_SOCK=/tmp/ssh-Ado7mt75yYlv/agent.71 [2025-04-07T09:21:11.093Z] SSH_AGENT_PID=77 [2025-04-07T09:21:11.099Z] Running ssh-add (command line suppressed) [2025-04-07T09:21:11.213Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12801918622696878680.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12801918622696878680.key) [2025-04-07T09:21:11.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:21:11.517Z] + git semver init [2025-04-07T09:21:11.775Z] 2025-04-07 09:21:11,724 [run_init] DEBUG init version:0.0.0 force:False [2025-04-07T09:21:11.775Z] 2025-04-07 09:21:11,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:21:11.775Z] 2025-04-07 09:21:11,725 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:21:11.775Z] 2025-04-07 09:21:11,726 [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:21:12.711Z] 2025-04-07 09:21:12,349 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude [2025-04-07T09:21:12.711Z] 2025-04-07 09:21:12,349 [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:21:12.711Z] 2025-04-07 09:21:12,349 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:21:12.711Z] 2025-04-07 09:21:12,353 [execute] INFO git cat-file --batch-check [2025-04-07T09:21:12.711Z] 2025-04-07 09:21:12,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2025-04-07T09:21:12.711Z] 2025-04-07 09:21:12,360 [execute] INFO git cat-file --batch [2025-04-07T09:21:12.711Z] 2025-04-07 09:21:12,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2025-04-07T09:21:12.711Z] 2025-04-07 09:21:12,366 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:21:12.711Z] 0.0.0 [Pipeline] } [2025-04-07T09:21:12.721Z] $ docker exec --env ******** --env ******** a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 ssh-agent -k [2025-04-07T09:21:12.822Z] unset SSH_AUTH_SOCK; [2025-04-07T09:21:12.823Z] unset SSH_AGENT_PID; [2025-04-07T09:21:12.823Z] echo Agent pid 77 killed; [2025-04-07T09:21:12.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:21:13.162Z] + git semver [Pipeline] } [2025-04-07T09:21:13.436Z] $ docker stop --time=1 a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 [2025-04-07T09:21:14.741Z] $ docker rm -f --volumes a5df33438fafff00c2ec6e85a304a18296a369bb159530095ed743aab2b045f3 [Pipeline] // withDockerContainer [Pipeline] sh [2025-04-07T09:21:15.079Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-04-07T09:21:15.332Z] Stashed 1 file(s) [Pipeline] echo [2025-04-07T09:21:15.337Z] [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:21:15.629Z] provisioning config files... [2025-04-07T09:21:15.639Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15756445279388355665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:21:15.943Z] ---> ****-login.sh [2025-04-07T09:21:15.943Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:21:15.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:15.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:15.943Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:15.943Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:15.943Z] [2025-04-07T09:21:15.943Z] Login Succeeded [2025-04-07T09:21:15.943Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:21:15.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:15.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:15.944Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:15.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:15.944Z] [2025-04-07T09:21:15.944Z] Login Succeeded [2025-04-07T09:21:15.944Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:21:16.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:16.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:16.204Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:16.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:16.204Z] [2025-04-07T09:21:16.204Z] Login Succeeded [2025-04-07T09:21:16.204Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:21:16.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:16.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:16.204Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:16.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:16.204Z] [2025-04-07T09:21:16.204Z] Login Succeeded [2025-04-07T09:21:16.204Z] ****.io [2025-04-07T09:21:16.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:16.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:16.464Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:16.464Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:16.464Z] [2025-04-07T09:21:16.464Z] Login Succeeded [2025-04-07T09:21:16.464Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:21:16.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-04-07T09:21:16.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:21:16.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:21:16.696Z] ========================================================= [2025-04-07T09:21:16.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-04-07T09:21:16.696Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:17.041Z] + 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:21:17.041Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:21:17.041Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:21:17.041Z] Step 2/12 : FROM ${BASE} AS builder [2025-04-07T09:21:17.041Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-04-07T09:21:17.041Z] da9db072f522: Pulling fs layer [2025-04-07T09:21:17.042Z] 6ef4a4ee8ca5: Pulling fs layer [2025-04-07T09:21:17.042Z] 06f05ace1117: Pulling fs layer [2025-04-07T09:21:17.042Z] 5fe327b54edc: Pulling fs layer [2025-04-07T09:21:17.042Z] 4f4fb700ef54: Pulling fs layer [2025-04-07T09:21:17.042Z] 92a5565b7b96: Pulling fs layer [2025-04-07T09:21:17.042Z] ff9bb7016b71: Pulling fs layer [2025-04-07T09:21:17.042Z] b67dba6c2c7d: Pulling fs layer [2025-04-07T09:21:17.042Z] a813b0c90790: Pulling fs layer [2025-04-07T09:21:17.042Z] 5fe327b54edc: Waiting [2025-04-07T09:21:17.042Z] 92a5565b7b96: Waiting [2025-04-07T09:21:17.042Z] ff9bb7016b71: Waiting [2025-04-07T09:21:17.042Z] b67dba6c2c7d: Waiting [2025-04-07T09:21:17.042Z] a813b0c90790: Waiting [2025-04-07T09:21:17.042Z] 4f4fb700ef54: Waiting [2025-04-07T09:21:17.042Z] 6ef4a4ee8ca5: Verifying Checksum [2025-04-07T09:21:17.042Z] 6ef4a4ee8ca5: Download complete [2025-04-07T09:21:17.042Z] 5fe327b54edc: Verifying Checksum [2025-04-07T09:21:17.042Z] 5fe327b54edc: Download complete [2025-04-07T09:21:17.042Z] 4f4fb700ef54: Verifying Checksum [2025-04-07T09:21:17.042Z] 4f4fb700ef54: Download complete [2025-04-07T09:21:17.042Z] 92a5565b7b96: Verifying Checksum [2025-04-07T09:21:17.042Z] 92a5565b7b96: Download complete [2025-04-07T09:21:17.042Z] da9db072f522: Download complete [2025-04-07T09:21:17.301Z] ff9bb7016b71: Verifying Checksum [2025-04-07T09:21:17.302Z] ff9bb7016b71: Download complete [2025-04-07T09:21:17.302Z] da9db072f522: Pull complete [2025-04-07T09:21:17.561Z] a813b0c90790: Verifying Checksum [2025-04-07T09:21:17.561Z] a813b0c90790: Download complete [2025-04-07T09:21:17.561Z] 6ef4a4ee8ca5: Pull complete [2025-04-07T09:21:17.561Z] 06f05ace1117: Download complete [2025-04-07T09:21:17.819Z] b67dba6c2c7d: Verifying Checksum [2025-04-07T09:21:17.819Z] b67dba6c2c7d: Download complete [2025-04-07T09:21:21.142Z] 06f05ace1117: Pull complete [2025-04-07T09:21:21.402Z] 5fe327b54edc: Pull complete [2025-04-07T09:21:21.402Z] 4f4fb700ef54: Pull complete [2025-04-07T09:21:21.402Z] 92a5565b7b96: Pull complete [2025-04-07T09:21:21.402Z] ff9bb7016b71: Pull complete [2025-04-07T09:21:23.932Z] b67dba6c2c7d: Pull complete [2025-04-07T09:21:24.190Z] a813b0c90790: Pull complete [2025-04-07T09:21:24.190Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-04-07T09:21:24.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-04-07T09:21:24.450Z] ---> 3ba60ce46760 [2025-04-07T09:21:24.450Z] Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:21:25.831Z] ---> Running in b1ae743eb97b [2025-04-07T09:21:26.091Z] Removing intermediate container b1ae743eb97b [2025-04-07T09:21:26.091Z] ---> 342e4b32a812 [2025-04-07T09:21:26.091Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:21:26.091Z] ---> Running in ed5c220fa68c [2025-04-07T09:21:26.091Z] Removing intermediate container ed5c220fa68c [2025-04-07T09:21:26.091Z] ---> 0df1ca0555cb [2025-04-07T09:21:26.091Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:21:26.091Z] ---> Running in e700fafbfff0 [2025-04-07T09:21:26.091Z] Removing intermediate container e700fafbfff0 [2025-04-07T09:21:26.091Z] ---> f50ad7d04751 [2025-04-07T09:21:26.091Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:21:26.091Z] ---> Running in d6310519ae22 [2025-04-07T09:21:26.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:21:26.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:21:26.868Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-04-07T09:21:26.868Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-04-07T09:21:26.868Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-04-07T09:21:26.868Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-04-07T09:21:26.868Z] Executing busybox-1.36.1-r29.trigger [2025-04-07T09:21:26.868Z] OK: 252 MiB in 62 packages [2025-04-07T09:21:27.436Z] Removing intermediate container d6310519ae22 [2025-04-07T09:21:27.436Z] ---> 4bda0ebc5266 [2025-04-07T09:21:27.436Z] Step 7/12 : WORKDIR /sample-service [2025-04-07T09:21:27.436Z] ---> Running in 9aa19fe07c51 [2025-04-07T09:21:27.436Z] Removing intermediate container 9aa19fe07c51 [2025-04-07T09:21:27.436Z] ---> e48be0a6f452 [2025-04-07T09:21:27.436Z] Step 8/12 : COPY go.mod vendor* ./ [2025-04-07T09:21:27.697Z] ---> ba2bc3f888f5 [2025-04-07T09:21:27.697Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:21:27.697Z] ---> Running in 6bfffe94fa07 [2025-04-07T09:21:32.978Z] Removing intermediate container 6bfffe94fa07 [2025-04-07T09:21:32.978Z] ---> 4728d101b4b4 [2025-04-07T09:21:32.978Z] Step 10/12 : COPY . . [2025-04-07T09:21:32.978Z] ---> 5295593268d8 [2025-04-07T09:21:32.978Z] Step 11/12 : ARG MAKE='make build' [2025-04-07T09:21:32.978Z] ---> Running in 271b7bf89178 [2025-04-07T09:21:32.978Z] Removing intermediate container 271b7bf89178 [2025-04-07T09:21:32.978Z] ---> dc2b3f789895 [2025-04-07T09:21:32.978Z] Step 12/12 : RUN $MAKE [2025-04-07T09:21:32.978Z] ---> Running in 7791f9c843bc [2025-04-07T09:21:33.237Z] noop [2025-04-07T09:21:33.496Z] Removing intermediate container 7791f9c843bc [2025-04-07T09:21:33.496Z] ---> 504a23890184 [2025-04-07T09:21:33.496Z] Successfully built 504a23890184 [2025-04-07T09:21:33.496Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:33.826Z] + docker inspect -f . ci-base-image-x86_64 [2025-04-07T09:21:33.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:21:33.915Z] prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container [2025-04-07T09:21:33.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2025-04-07T09:21:34.281Z] $ docker top bd41a894eaf290658deefc37f5f84fef4789d7b8a52a8e9174ef42c65f464a28 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:21:34.636Z] + go version [2025-04-07T09:21:34.636Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-04-07T09:21:34.648Z] $ docker stop --time=1 bd41a894eaf290658deefc37f5f84fef4789d7b8a52a8e9174ef42c65f464a28 [2025-04-07T09:21:35.870Z] $ docker rm -f --volumes bd41a894eaf290658deefc37f5f84fef4789d7b8a52a8e9174ef42c65f464a28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-04-07T09:21:36.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-04-07T09:21:36.963Z] + ls -al . [2025-04-07T09:21:36.963Z] total 152 [2025-04-07T09:21:36.963Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:21 . [2025-04-07T09:21:36.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:20 .. [2025-04-07T09:21:36.963Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:21 .git [2025-04-07T09:21:36.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:20 .github [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 46 Apr 7 09:20 .gitignore [2025-04-07T09:21:36.963Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:21 .semver [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 4832 Apr 7 09:20 Attribution.txt [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 34862 Apr 7 09:20 CHANGELOG.md [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 1434 Apr 7 09:20 Dockerfile [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 706 Apr 7 09:20 Jenkinsfile [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 729 Apr 7 09:20 Jenkinsfile-sandbox [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 3586 Apr 7 09:20 Jenkinsfile.edgexSemver [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:20 LICENSE [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 1308 Apr 7 09:20 Makefile [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 3063 Apr 7 09:20 README.md [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:21 VERSION [2025-04-07T09:21:36.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:20 api [2025-04-07T09:21:36.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:20 bin [2025-04-07T09:21:36.963Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:20 cmd [2025-04-07T09:21:36.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:20 driver [2025-04-07T09:21:36.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:20 example [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 1955 Apr 7 09:20 go.mod [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 13083 Apr 7 09:20 go.sum [2025-04-07T09:21:36.963Z] -rw-rw-r-- 1 jenkins jenkins 225 Apr 7 09:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:37.286Z] + 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:21:37.286Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:21:37.286Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:21:37.286Z] Step 2/23 : FROM ${BASE} AS builder [2025-04-07T09:21:37.286Z] ---> 504a23890184 [2025-04-07T09:21:37.286Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:21:37.286Z] ---> Running in 706f6c20734b [2025-04-07T09:21:37.286Z] Removing intermediate container 706f6c20734b [2025-04-07T09:21:37.286Z] ---> 3b132e07f478 [2025-04-07T09:21:37.286Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:21:37.286Z] ---> Running in 034c1b1f32da [2025-04-07T09:21:37.545Z] Removing intermediate container 034c1b1f32da [2025-04-07T09:21:37.545Z] ---> 5bea1e3d44a1 [2025-04-07T09:21:37.545Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:21:37.545Z] ---> Running in f88246e10000 [2025-04-07T09:21:37.545Z] Removing intermediate container f88246e10000 [2025-04-07T09:21:37.545Z] ---> 2481af919676 [2025-04-07T09:21:37.545Z] Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:21:37.545Z] ---> Running in bea3c197ca62 [2025-04-07T09:21:37.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:21:38.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:21:38.326Z] OK: 252 MiB in 62 packages [2025-04-07T09:21:38.585Z] Removing intermediate container bea3c197ca62 [2025-04-07T09:21:38.585Z] ---> 9c0bc3e913b9 [2025-04-07T09:21:38.585Z] Step 7/23 : WORKDIR /sample-service [2025-04-07T09:21:38.585Z] ---> Running in 434f68b5a738 [2025-04-07T09:21:38.844Z] Removing intermediate container 434f68b5a738 [2025-04-07T09:21:38.845Z] ---> 5ebcff2ec677 [2025-04-07T09:21:38.845Z] Step 8/23 : COPY go.mod vendor* ./ [2025-04-07T09:21:38.845Z] ---> eb3e710ff387 [2025-04-07T09:21:38.845Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:21:38.845Z] ---> Running in e0fd88d0e5d7 [2025-04-07T09:21:39.413Z] Removing intermediate container e0fd88d0e5d7 [2025-04-07T09:21:39.413Z] ---> ce014b8ad4d0 [2025-04-07T09:21:39.413Z] Step 10/23 : COPY . . [2025-04-07T09:21:39.672Z] ---> 29a34afe1fd5 [2025-04-07T09:21:39.672Z] Step 11/23 : ARG MAKE='make build' [2025-04-07T09:21:39.672Z] ---> Running in e3903e5cbc9f [2025-04-07T09:21:39.672Z] Removing intermediate container e3903e5cbc9f [2025-04-07T09:21:39.672Z] ---> e040c5fe9972 [2025-04-07T09:21:39.672Z] Step 12/23 : RUN $MAKE [2025-04-07T09:21:39.672Z] ---> Running in d0abbf263f2f [2025-04-07T09:21:39.930Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd [2025-04-07T09:21:49.906Z] Removing intermediate container d0abbf263f2f [2025-04-07T09:21:49.906Z] ---> 6cf89e2f991d [2025-04-07T09:21:49.906Z] Step 13/23 : FROM alpine:3.18 [2025-04-07T09:21:49.906Z] 3.18: Pulling from library/alpine [2025-04-07T09:21:49.906Z] 44cf07d57ee4: Pulling fs layer [2025-04-07T09:21:49.906Z] 44cf07d57ee4: Verifying Checksum [2025-04-07T09:21:49.906Z] 44cf07d57ee4: Download complete [2025-04-07T09:21:50.166Z] 44cf07d57ee4: Pull complete [2025-04-07T09:21:50.166Z] Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f [2025-04-07T09:21:50.166Z] Status: Downloaded newer image for alpine:3.18 [2025-04-07T09:21:50.166Z] ---> 802c91d52981 [2025-04-07T09:21:50.166Z] Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:21:50.166Z] ---> Running in 7c24f4d194a5 [2025-04-07T09:21:50.166Z] Removing intermediate container 7c24f4d194a5 [2025-04-07T09:21:50.166Z] ---> cf12a30b31b3 [2025-04-07T09:21:50.166Z] Step 15/23 : ENV APP_PORT=49999 [2025-04-07T09:21:50.166Z] ---> Running in 12e8c6133095 [2025-04-07T09:21:50.166Z] Removing intermediate container 12e8c6133095 [2025-04-07T09:21:50.166Z] ---> 1af4456bbf76 [2025-04-07T09:21:50.166Z] Step 16/23 : EXPOSE $APP_PORT [2025-04-07T09:21:50.425Z] ---> Running in cebefa979824 [2025-04-07T09:21:50.425Z] Removing intermediate container cebefa979824 [2025-04-07T09:21:50.425Z] ---> 1889f3a59fdc [2025-04-07T09:21:50.425Z] Step 17/23 : COPY --from=builder /sample-service/cmd / [2025-04-07T09:21:50.682Z] ---> 26e78f773f23 [2025-04-07T09:21:50.682Z] Step 18/23 : COPY --from=builder /sample-service/LICENSE / [2025-04-07T09:21:50.682Z] ---> 66ff2eb643b3 [2025-04-07T09:21:50.682Z] Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / [2025-04-07T09:21:50.939Z] ---> 691565261ab0 [2025-04-07T09:21:50.939Z] Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2025-04-07T09:21:50.939Z] ---> Running in 2239107069b3 [2025-04-07T09:21:50.939Z] Removing intermediate container 2239107069b3 [2025-04-07T09:21:50.939Z] ---> 7bde1cc27e09 [2025-04-07T09:21:50.939Z] Step 21/23 : LABEL arch=amd64 [2025-04-07T09:21:50.939Z] ---> Running in 0fb87a6f9f67 [2025-04-07T09:21:51.199Z] Removing intermediate container 0fb87a6f9f67 [2025-04-07T09:21:51.199Z] ---> 9caad37cf8a6 [2025-04-07T09:21:51.199Z] Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:21:51.199Z] ---> Running in 0df1be14b64f [2025-04-07T09:21:51.199Z] Removing intermediate container 0df1be14b64f [2025-04-07T09:21:51.199Z] ---> 62cc438f7f85 [2025-04-07T09:21:51.199Z] Step 23/23 : LABEL version=0.0.0 [2025-04-07T09:21:51.199Z] ---> Running in e4de99b00f60 [2025-04-07T09:21:51.199Z] Removing intermediate container e4de99b00f60 [2025-04-07T09:21:51.199Z] ---> bdf800bae665 [2025-04-07T09:21:51.199Z] [Warning] One or more build-args [ARCH] were not consumed [2025-04-07T09:21:51.199Z] Successfully built bdf800bae665 [2025-04-07T09:21:51.199Z] 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:21:51.318Z] provisioning config files... [2025-04-07T09:21:51.336Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config10916915143618243390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:21:51.660Z] ---> ****-login.sh [2025-04-07T09:21:51.660Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:21:51.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:51.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:51.660Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:51.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:51.661Z] [2025-04-07T09:21:51.661Z] Login Succeeded [2025-04-07T09:21:51.661Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:21:51.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:51.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:51.661Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:51.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:51.661Z] [2025-04-07T09:21:51.661Z] Login Succeeded [2025-04-07T09:21:51.661Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:21:51.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:51.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:51.923Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:51.923Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:51.923Z] [2025-04-07T09:21:51.923Z] Login Succeeded [2025-04-07T09:21:51.923Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:21:51.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:51.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:51.923Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:51.923Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:51.923Z] [2025-04-07T09:21:51.923Z] Login Succeeded [2025-04-07T09:21:51.923Z] ****.io [2025-04-07T09:21:51.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:21:52.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:21:52.182Z] Configure a credential helper to remove this warning. See [2025-04-07T09:21:52.182Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:21:52.182Z] [2025-04-07T09:21:52.182Z] Login Succeeded [2025-04-07T09:21:52.182Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:21:52.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:21:52.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:21:52.267Z] [edgeXDocker.push] Tagging docker image sample-service with the following tags: [2025-04-07T09:21:52.267Z] eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:21:52.267Z] latest [2025-04-07T09:21:52.267Z] 0.0.0 [2025-04-07T09:21:52.267Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:21:52.267Z] PR-165 [2025-04-07T09:21:52.267Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:52.625Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:52.958Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:21:52.958Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:21:52.958Z] bd0187548a60: Preparing [2025-04-07T09:21:52.958Z] 502a3f8be5e4: Preparing [2025-04-07T09:21:52.958Z] 1abd459c6ca2: Preparing [2025-04-07T09:21:52.958Z] f44f286046d9: Preparing [2025-04-07T09:21:52.958Z] f44f286046d9: Layer already exists [2025-04-07T09:21:52.958Z] 502a3f8be5e4: Pushed [2025-04-07T09:21:52.958Z] bd0187548a60: Pushed [2025-04-07T09:21:54.340Z] 1abd459c6ca2: Pushed [2025-04-07T09:21:54.340Z] eb869c661586b1b6b4d3a43b635254038c5246fa: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:54.668Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:54.992Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:21:54.992Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:21:54.992Z] bd0187548a60: Preparing [2025-04-07T09:21:54.992Z] 502a3f8be5e4: Preparing [2025-04-07T09:21:54.992Z] 1abd459c6ca2: Preparing [2025-04-07T09:21:54.992Z] f44f286046d9: Preparing [2025-04-07T09:21:54.992Z] 502a3f8be5e4: Layer already exists [2025-04-07T09:21:54.992Z] bd0187548a60: Layer already exists [2025-04-07T09:21:54.992Z] 1abd459c6ca2: Layer already exists [2025-04-07T09:21:54.992Z] f44f286046d9: Layer already exists [2025-04-07T09:21:54.992Z] latest: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:55.317Z] + 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:21:55.654Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:21:55.655Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:21:55.655Z] bd0187548a60: Preparing [2025-04-07T09:21:55.655Z] 502a3f8be5e4: Preparing [2025-04-07T09:21:55.655Z] 1abd459c6ca2: Preparing [2025-04-07T09:21:55.655Z] f44f286046d9: Preparing [2025-04-07T09:21:55.655Z] f44f286046d9: Layer already exists [2025-04-07T09:21:55.655Z] bd0187548a60: Layer already exists [2025-04-07T09:21:55.655Z] 1abd459c6ca2: Layer already exists [2025-04-07T09:21:55.655Z] 502a3f8be5e4: Layer already exists [2025-04-07T09:21:55.655Z] 0.0.0: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:56.002Z] + 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:21:56.331Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:21:56.331Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:21:56.331Z] bd0187548a60: Preparing [2025-04-07T09:21:56.331Z] 502a3f8be5e4: Preparing [2025-04-07T09:21:56.331Z] 1abd459c6ca2: Preparing [2025-04-07T09:21:56.331Z] f44f286046d9: Preparing [2025-04-07T09:21:56.331Z] 1abd459c6ca2: Layer already exists [2025-04-07T09:21:56.331Z] f44f286046d9: Layer already exists [2025-04-07T09:21:56.331Z] bd0187548a60: Layer already exists [2025-04-07T09:21:56.331Z] 502a3f8be5e4: Layer already exists [2025-04-07T09:21:56.331Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:56.662Z] + 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:21:56.993Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 [2025-04-07T09:21:56.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:21:56.994Z] bd0187548a60: Preparing [2025-04-07T09:21:56.994Z] 502a3f8be5e4: Preparing [2025-04-07T09:21:56.994Z] 1abd459c6ca2: Preparing [2025-04-07T09:21:56.994Z] f44f286046d9: Preparing [2025-04-07T09:21:56.994Z] 1abd459c6ca2: Layer already exists [2025-04-07T09:21:56.994Z] 502a3f8be5e4: Layer already exists [2025-04-07T09:21:56.994Z] bd0187548a60: Layer already exists [2025-04-07T09:21:56.994Z] f44f286046d9: Layer already exists [2025-04-07T09:21:56.994Z] PR-165: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:21:57.096Z] ===================================================== [Pipeline] echo [2025-04-07T09:21:57.118Z] taggedImages: [2025-04-07T09:21:57.118Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:21:57.118Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:21:57.118Z] - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:21:57.118Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:21:57.118Z] - 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:21:57.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:21:57.543Z] [2025-04-07T09:21:57.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:21:57.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:21:57.856Z] latest: Pulling from edgex-lftools-log-publisher [2025-04-07T09:21:57.856Z] 5eb5b503b376: Pulling fs layer [2025-04-07T09:21:57.856Z] 5c69ac0246d0: Pulling fs layer [2025-04-07T09:21:57.856Z] ec43610c2a17: Pulling fs layer [2025-04-07T09:21:57.856Z] 3a2ae6a8a46f: Pulling fs layer [2025-04-07T09:21:57.856Z] 33b1e0a273af: Pulling fs layer [2025-04-07T09:21:57.856Z] 5d3b04190fa2: Pulling fs layer [2025-04-07T09:21:57.856Z] 2f39f015ded8: Pulling fs layer [2025-04-07T09:21:57.856Z] 33b1e0a273af: Waiting [2025-04-07T09:21:57.856Z] 5d3b04190fa2: Waiting [2025-04-07T09:21:57.856Z] 2f39f015ded8: Waiting [2025-04-07T09:21:57.856Z] 3a2ae6a8a46f: Waiting [2025-04-07T09:21:57.856Z] 5c69ac0246d0: Download complete [2025-04-07T09:21:57.856Z] 3a2ae6a8a46f: Verifying Checksum [2025-04-07T09:21:57.856Z] 3a2ae6a8a46f: Download complete [2025-04-07T09:21:57.856Z] 33b1e0a273af: Verifying Checksum [2025-04-07T09:21:57.856Z] 33b1e0a273af: Download complete [2025-04-07T09:21:57.856Z] ec43610c2a17: Verifying Checksum [2025-04-07T09:21:57.856Z] ec43610c2a17: Download complete [2025-04-07T09:21:57.856Z] 5d3b04190fa2: Download complete [2025-04-07T09:21:58.114Z] 5eb5b503b376: Verifying Checksum [2025-04-07T09:21:58.114Z] 5eb5b503b376: Download complete [2025-04-07T09:21:58.680Z] 2f39f015ded8: Verifying Checksum [2025-04-07T09:21:58.680Z] 2f39f015ded8: Download complete [2025-04-07T09:21:59.250Z] 5eb5b503b376: Pull complete [2025-04-07T09:21:59.508Z] 5c69ac0246d0: Pull complete [2025-04-07T09:21:59.767Z] ec43610c2a17: Pull complete [2025-04-07T09:22:00.025Z] 3a2ae6a8a46f: Pull complete [2025-04-07T09:22:00.026Z] 33b1e0a273af: Pull complete [2025-04-07T09:22:00.283Z] 5d3b04190fa2: Pull complete [2025-04-07T09:22:04.642Z] 2f39f015ded8: Pull complete [2025-04-07T09:22:04.642Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-04-07T09:22:04.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:22:04.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:22:04.752Z] prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container [2025-04-07T09:22:04.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_sample-service_PR-165 -v /w/workspace/gexfoundry_sample-service_PR-165:/w/workspace/gexfoundry_sample-service_PR-165:rw,z -v /w/workspace/gexfoundry_sample-service_PR-165@tmp:/w/workspace/gexfoundry_sample-service_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-04-07T09:22:06.427Z] $ docker top 9b2c72175dd9d4c1fb67d4cf4083b3aadb2d2773fea06d0c4b696394ce016a26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:06.851Z] ---> job-cost.sh [2025-04-07T09:22:06.851Z] lf-activate-venv: SKIPPING [2025-04-07T09:22:06.851Z] INFO: No Stack... [2025-04-07T09:22:07.110Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:22:07.369Z] INFO: Archiving Costs [Pipeline] sh [2025-04-07T09:22:07.661Z] + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv [2025-04-07T09:22:07.661Z] + cut -d, -f6 [Pipeline] lock [2025-04-07T09:22:07.675Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] [2025-04-07T09:22:07.685Z] Resource [jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] did not exist. Created. [2025-04-07T09:22:07.691Z] Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-04-07T09:22:07.993Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-04-07T09:22:08.039Z] Stashed 1 file(s) [Pipeline] } [2025-04-07T09:22:08.046Z] Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-30-stack-cost] [Pipeline] // lock [Pipeline] } [2025-04-07T09:22:08.079Z] $ docker stop --time=1 9b2c72175dd9d4c1fb67d4cf4083b3aadb2d2773fea06d0c4b696394ce016a26 [2025-04-07T09:22:09.240Z] $ docker rm -f --volumes 9b2c72175dd9d4c1fb67d4cf4083b3aadb2d2773fea06d0c4b696394ce016a26 [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:22:09.751Z] + docker version [2025-04-07T09:22:09.751Z] Client: Docker Engine - Community [2025-04-07T09:22:09.752Z] Version: 20.10.18 [2025-04-07T09:22:09.752Z] API version: 1.41 [2025-04-07T09:22:09.752Z] Go version: go1.18.6 [2025-04-07T09:22:09.752Z] Git commit: b40c2f6 [2025-04-07T09:22:09.752Z] Built: Thu Sep 8 23:11:45 2022 [2025-04-07T09:22:09.752Z] OS/Arch: linux/amd64 [2025-04-07T09:22:09.752Z] Context: default [2025-04-07T09:22:09.752Z] Experimental: true [2025-04-07T09:22:09.752Z] [2025-04-07T09:22:09.752Z] Server: Docker Engine - Community [2025-04-07T09:22:09.752Z] Engine: [2025-04-07T09:22:09.752Z] Version: 20.10.18 [2025-04-07T09:22:09.752Z] API version: 1.41 (minimum version 1.12) [2025-04-07T09:22:09.752Z] Go version: go1.18.6 [2025-04-07T09:22:09.752Z] Git commit: e42327a [2025-04-07T09:22:09.752Z] Built: Thu Sep 8 23:09:37 2022 [2025-04-07T09:22:09.752Z] OS/Arch: linux/amd64 [2025-04-07T09:22:09.752Z] Experimental: false [2025-04-07T09:22:09.752Z] containerd: [2025-04-07T09:22:09.752Z] Version: 1.6.8 [2025-04-07T09:22:09.752Z] GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:22:09.752Z] runc: [2025-04-07T09:22:09.752Z] Version: 1.1.4 [2025-04-07T09:22:09.752Z] GitCommit: v1.1.4-0-g5fd4c4d [2025-04-07T09:22:09.752Z] docker-init: [2025-04-07T09:22:09.752Z] Version: 0.19.0 [2025-04-07T09:22:09.752Z] GitCommit: de40ad0 [Pipeline] sh [2025-04-07T09:22:10.037Z] + docker info [2025-04-07T09:22:10.607Z] Client: [2025-04-07T09:22:10.607Z] Context: default [2025-04-07T09:22:10.607Z] Debug Mode: false [2025-04-07T09:22:10.607Z] Plugins: [2025-04-07T09:22:10.607Z] app: Docker App (Docker Inc., v0.9.1-beta3) [2025-04-07T09:22:10.607Z] buildx: Docker Buildx (Docker Inc., v0.9.1-docker) [2025-04-07T09:22:10.607Z] scan: Docker Scan (Docker Inc., v0.17.0) [2025-04-07T09:22:10.607Z] [2025-04-07T09:22:10.607Z] Server: [2025-04-07T09:22:10.607Z] Containers: 0 [2025-04-07T09:22:10.607Z] Running: 0 [2025-04-07T09:22:10.607Z] Paused: 0 [2025-04-07T09:22:10.607Z] Stopped: 0 [2025-04-07T09:22:10.607Z] Images: 34 [2025-04-07T09:22:10.607Z] Server Version: 20.10.18 [2025-04-07T09:22:10.607Z] Storage Driver: overlay2 [2025-04-07T09:22:10.607Z] Backing Filesystem: extfs [2025-04-07T09:22:10.607Z] Supports d_type: true [2025-04-07T09:22:10.607Z] Native Overlay Diff: true [2025-04-07T09:22:10.607Z] userxattr: false [2025-04-07T09:22:10.607Z] Logging Driver: json-file [2025-04-07T09:22:10.607Z] Cgroup Driver: cgroupfs [2025-04-07T09:22:10.607Z] Cgroup Version: 1 [2025-04-07T09:22:10.607Z] Plugins: [2025-04-07T09:22:10.607Z] Volume: local [2025-04-07T09:22:10.607Z] Network: bridge host ipvlan macvlan null overlay [2025-04-07T09:22:10.607Z] Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog [2025-04-07T09:22:10.607Z] Swarm: inactive [2025-04-07T09:22:10.607Z] Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc [2025-04-07T09:22:10.607Z] Default Runtime: runc [2025-04-07T09:22:10.607Z] Init Binary: docker-init [2025-04-07T09:22:10.607Z] containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:22:10.607Z] runc version: v1.1.4-0-g5fd4c4d [2025-04-07T09:22:10.607Z] init version: de40ad0 [2025-04-07T09:22:10.607Z] Security Options: [2025-04-07T09:22:10.607Z] apparmor [2025-04-07T09:22:10.607Z] seccomp [2025-04-07T09:22:10.607Z] Profile: default [2025-04-07T09:22:10.607Z] Kernel Version: 5.4.0-126-generic [2025-04-07T09:22:10.607Z] Operating System: Ubuntu 20.04.5 LTS [2025-04-07T09:22:10.607Z] OSType: linux [2025-04-07T09:22:10.607Z] Architecture: x86_64 [2025-04-07T09:22:10.607Z] CPUs: 8 [2025-04-07T09:22:10.607Z] Total Memory: 31.36GiB [2025-04-07T09:22:10.607Z] Name: prd-ubuntu20-04-docker-8c-8g-42833 [2025-04-07T09:22:10.607Z] ID: B5C6:XBUP:AVU6:3QRK:F5J7:OLEW:3BBT:K62R:4CCP:S4GR:QIZL:K4IG [2025-04-07T09:22:10.607Z] Docker Root Dir: /var/lib/docker [2025-04-07T09:22:10.607Z] Debug Mode: false [2025-04-07T09:22:10.607Z] Username: edgexci [2025-04-07T09:22:10.607Z] Registry: https://index.docker.io/v1/ [2025-04-07T09:22:10.607Z] Labels: [2025-04-07T09:22:10.607Z] Experimental: false [2025-04-07T09:22:10.607Z] Insecure Registries: [2025-04-07T09:22:10.607Z] 127.0.0.0/8 [2025-04-07T09:22:10.607Z] Registry Mirrors: [2025-04-07T09:22:10.607Z] https://nexus3.edgexfoundry.org:10001/ [2025-04-07T09:22:10.607Z] Live Restore Enabled: false [2025-04-07T09:22:10.607Z] [2025-04-07T09:22:10.607Z] WARNING: API is accessible on http://0.0.0.0:5555 without encryption. [2025-04-07T09:22:10.607Z] Access to the remote API is equivalent to root access on the host. Refer [2025-04-07T09:22:10.607Z] to the 'Docker daemon attack surface' section in the documentation for [2025-04-07T09:22:10.607Z] more information: https://docs.docker.com/go/attack-surface/ [2025-04-07T09:22:10.607Z] WARNING: No swap limit support [Pipeline] echo [2025-04-07T09:22:10.621Z] building multi-arch image for nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:22:10.657Z] provisioning config files... [2025-04-07T09:22:10.665Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11078984052726500087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:10.973Z] ---> ****-login.sh [2025-04-07T09:22:10.974Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:22:10.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:22:10.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:22:10.974Z] Configure a credential helper to remove this warning. See [2025-04-07T09:22:10.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:22:10.974Z] [2025-04-07T09:22:10.974Z] Login Succeeded [2025-04-07T09:22:10.974Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:22:10.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:22:10.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:22:10.974Z] Configure a credential helper to remove this warning. See [2025-04-07T09:22:10.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:22:10.974Z] [2025-04-07T09:22:10.974Z] Login Succeeded [2025-04-07T09:22:10.974Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:22:11.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:22:11.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:22:11.233Z] Configure a credential helper to remove this warning. See [2025-04-07T09:22:11.233Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:22:11.233Z] [2025-04-07T09:22:11.233Z] Login Succeeded [2025-04-07T09:22:11.233Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:22:11.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:22:11.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:22:11.234Z] Configure a credential helper to remove this warning. See [2025-04-07T09:22:11.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:22:11.234Z] [2025-04-07T09:22:11.234Z] Login Succeeded [2025-04-07T09:22:11.234Z] ****.io [2025-04-07T09:22:11.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:22:11.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:22:11.752Z] Configure a credential helper to remove this warning. See [2025-04-07T09:22:11.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:22:11.752Z] [2025-04-07T09:22:11.752Z] Login Succeeded [2025-04-07T09:22:11.752Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:22:11.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:22:12.093Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:22:12.093Z] latest: Pulling from sample-service [2025-04-07T09:22:12.093Z] Digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 [2025-04-07T09:22:12.093Z] Status: Image is up to date for nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:22:12.093Z] nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:22:12.392Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:22:12.392Z] latest: Pulling from sample-service-arm64 [2025-04-07T09:22:12.392Z] 95459497489f: Pulling fs layer [2025-04-07T09:22:12.392Z] ceb2e31cc3b0: Pulling fs layer [2025-04-07T09:22:12.392Z] 8ad4e7edb9c4: Pulling fs layer [2025-04-07T09:22:12.392Z] 58ef3575707b: Pulling fs layer [2025-04-07T09:22:12.392Z] 58ef3575707b: Waiting [2025-04-07T09:22:12.392Z] 8ad4e7edb9c4: Verifying Checksum [2025-04-07T09:22:12.392Z] 8ad4e7edb9c4: Download complete [2025-04-07T09:22:12.392Z] 58ef3575707b: Verifying Checksum [2025-04-07T09:22:12.392Z] 58ef3575707b: Download complete [2025-04-07T09:22:12.392Z] 95459497489f: Download complete [2025-04-07T09:22:12.392Z] ceb2e31cc3b0: Download complete [2025-04-07T09:22:12.652Z] 95459497489f: Pull complete [2025-04-07T09:22:12.652Z] ceb2e31cc3b0: Pull complete [2025-04-07T09:22:12.652Z] 8ad4e7edb9c4: Pull complete [2025-04-07T09:22:12.652Z] 58ef3575707b: Pull complete [2025-04-07T09:22:12.911Z] Digest: sha256:59404d1e53befa8610e04549965575a664056ff82a764edc0008b34f1badc679 [2025-04-07T09:22:12.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:22:12.911Z] nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [Pipeline] sh [2025-04-07T09:22:13.198Z] + docker tag nexus3.edgexfoundry.org:10004/sample-service:latest nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:22:13.198Z] + docker rmi -f nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:22:13.198Z] Untagged: nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:22:13.482Z] + docker push nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:22:13.482Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service-amd64] [2025-04-07T09:22:13.482Z] bd0187548a60: Preparing [2025-04-07T09:22:13.482Z] 502a3f8be5e4: Preparing [2025-04-07T09:22:13.482Z] 1abd459c6ca2: Preparing [2025-04-07T09:22:13.482Z] f44f286046d9: Preparing [2025-04-07T09:22:13.482Z] f44f286046d9: Layer already exists [2025-04-07T09:22:13.482Z] bd0187548a60: Layer already exists [2025-04-07T09:22:13.482Z] 502a3f8be5e4: Layer already exists [2025-04-07T09:22:13.482Z] 1abd459c6ca2: Layer already exists [2025-04-07T09:22:13.482Z] latest: digest: sha256:e4d21e7502184542374920f93ecc6a20b59aa5b5b64dc3e67c4c20c51038cab5 size: 1154 [Pipeline] echo [2025-04-07T09:22:13.492Z] registry: https://nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh [2025-04-07T09:22:13.824Z] + 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:22:13.824Z] Created manifest list nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:22:13.824Z] + docker manifest push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:22:13.824Z] No such manifest: nexus3.edgexfoundry.org:10004/sample-service:latest [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:22:14.721Z] + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [2025-04-07T09:22:14.721Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:22:14.721Z] total 16 [2025-04-07T09:22:14.721Z] drwxr-xr-x 3 root root 4096 Apr 7 09:22 . [2025-04-07T09:22:14.721Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:22 .. [2025-04-07T09:22:14.721Z] drwxr-xr-x 2 root root 4096 Apr 7 09:22 cost [2025-04-07T09:22:14.721Z] -rw-r--r-- 1 root root 87 Apr 7 09:22 cost.csv [2025-04-07T09:22:14.721Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:22:14.721Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:22:14.721Z] total 16 [2025-04-07T09:22:14.721Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:22 . [2025-04-07T09:22:14.721Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:22 .. [2025-04-07T09:22:14.721Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:22 cost [2025-04-07T09:22:14.721Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 7 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:15.007Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:15.862Z] ---> package-listing.sh [2025-04-07T09:22:15.862Z] ++ facter osfamily [2025-04-07T09:22:15.862Z] ++ tr '[:upper:]' '[:lower:]' [2025-04-07T09:22:16.121Z] + OS_FAMILY=debian [2025-04-07T09:22:16.121Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-04-07T09:22:16.121Z] + START_PACKAGES=/tmp/packages_start.txt [2025-04-07T09:22:16.121Z] + END_PACKAGES=/tmp/packages_end.txt [2025-04-07T09:22:16.121Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-04-07T09:22:16.121Z] + PACKAGES=/tmp/packages_start.txt [2025-04-07T09:22:16.121Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:22:16.121Z] + PACKAGES=/tmp/packages_end.txt [2025-04-07T09:22:16.121Z] + case "${OS_FAMILY}" in [2025-04-07T09:22:16.121Z] + dpkg -l [2025-04-07T09:22:16.121Z] + grep '^ii' [2025-04-07T09:22:16.121Z] + '[' -f /tmp/packages_start.txt ']' [2025-04-07T09:22:16.121Z] + '[' -f /tmp/packages_end.txt ']' [2025-04-07T09:22:16.121Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-04-07T09:22:16.121Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:22:16.121Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-04-07T09:22:16.121Z] + 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:22:16.132Z] 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:22:16.409Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:22:16.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:22:16.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:22:17.077Z] prd-ubuntu20.04-docker-8c-8g-42833 does not seem to be running inside a container [2025-04-07T09:22:17.109Z] $ 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-04-07T09:22:17.368Z] $ docker top 6234f6eb7df3ca021fcdb9ac9b9196cc4370ed7730d430e62c204140f3c6a6e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:22:17.729Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-04-07T09:22:18.017Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-04-07T09:22:18.303Z] + ls /var/log/sa-host [2025-04-07T09:22:18.303Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:22:18.487Z] provisioning config files... [2025-04-07T09:22:18.498Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config5795795714040756009tmp [Pipeline] { [Pipeline] echo [2025-04-07T09:22:18.518Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:18.801Z] ---> create-netrc.sh [Pipeline] } [2025-04-07T09:22:18.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:19.155Z] ---> python-tools-install.sh [Pipeline] echo [2025-04-07T09:22:19.166Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:19.447Z] ---> sudo-logs.sh [2025-04-07T09:22:19.447Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-04-07T09:22:19.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:19.768Z] ---> job-cost.sh [2025-04-07T09:22:19.768Z] lf-activate-venv: SKIPPING [2025-04-07T09:22:19.768Z] DEBUG: total: 0.2199999988079071 [2025-04-07T09:22:19.768Z] INFO: Retrieving Stack Cost... [2025-04-07T09:22:19.768Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:22:20.028Z] INFO: Archiving Costs [Pipeline] echo [2025-04-07T09:22:20.043Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:22:20.403Z] ---> logs-deploy.sh [2025-04-07T09:22:20.403Z] lf-activate-venv: SKIPPING [2025-04-07T09:22:20.403Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/30 [2025-04-07T09:22:20.403Z] INFO: archiving workspace using pattern(s): [2025-04-07T09:22:21.369Z] Archives upload complete. [2025-04-07T09:22:21.369Z] INFO: archiving logs to Nexus