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-ssh6052476846973036156.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 63f44a6c9a17745cef4eb4284ab1c8f5a48f990e 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-ssh164032485677256534.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 63f44a6c9a17745cef4eb4284ab1c8f5a48f990e 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-ssh16876208483101424508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 63f44a6c9a17745cef4eb4284ab1c8f5a48f990e (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 63f44a6c9a17745cef4eb4284ab1c8f5a48f990e # timeout=10 Commit message: "use multiArch(image)" > 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-ssh3647210915809991544.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-ssh3572929904519256457.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-42831’ is offline Running on prd-ubuntu20.04-docker-8c-8g-42832 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 Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/sample-service.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/sample-service.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/sample-service.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 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:12:32.107Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-04-07T09:12:32.180Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-04-07T09:12:32.210Z] ========================================================= [2025-04-07T09:12:32.210Z] EdgeX Global Pipelines Version Info [2025-04-07T09:12:32.210Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:12:33.321Z] ------------------- [2025-04-07T09:12:33.321Z] stable info: [2025-04-07T09:12:33.321Z] ------------------- [2025-04-07T09:12:33.321Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:12:33.321Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-04-07T09:12:33.321Z] Message: update stable to v1.0.274 [2025-04-07T09:12:33.582Z] ------------------- [2025-04-07T09:12:33.582Z] experimental info: [2025-04-07T09:12:33.582Z] ------------------- [2025-04-07T09:12:33.582Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:12:33.583Z] Commit SHA: 63f44a6c9a17745cef4eb4284ab1c8f5a48f990e [2025-04-07T09:12:33.583Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-04-07T09:12:33.657Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo [2025-04-07T09:12:33.681Z] [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo [2025-04-07T09:12:33.707Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-04-07T09:12:33.731Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-04-07T09:12:33.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-04-07T09:12:33.776Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-04-07T09:12:33.799Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-04-07T09:12:33.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-04-07T09:12:33.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-04-07T09:12:33.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-04-07T09:12:33.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-04-07T09:12:33.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo [2025-04-07T09:12:33.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-04-07T09:12:33.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-04-07T09:12:33.995Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:12:34.018Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:12:34.045Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:12:34.073Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:12:34.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-04-07T09:12:34.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-04-07T09:12:34.390Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-04-07T09:12:34.414Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-04-07T09:12:34.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-04-07T09:12:34.453Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-04-07T09:12:34.471Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-04-07T09:12:34.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-04-07T09:12:34.517Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-04-07T09:12:34.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:12:34.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:12:34.582Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2025-04-07T09:12:34.602Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:12:34.630Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo [2025-04-07T09:12:34.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:12:34.721Z] provisioning config files... [2025-04-07T09:12:34.737Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config5945287223169010830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:12:35.074Z] ---> ****-login.sh [2025-04-07T09:12:35.074Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:12:35.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:35.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:35.334Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:35.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:35.334Z] [2025-04-07T09:12:35.334Z] Login Succeeded [2025-04-07T09:12:35.334Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:12:35.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:35.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:35.595Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:35.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:35.595Z] [2025-04-07T09:12:35.595Z] Login Succeeded [2025-04-07T09:12:35.595Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:12:35.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:35.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:35.595Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:35.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:35.596Z] [2025-04-07T09:12:35.596Z] Login Succeeded [2025-04-07T09:12:35.596Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:12:35.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:35.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:35.856Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:35.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:35.856Z] [2025-04-07T09:12:35.856Z] Login Succeeded [2025-04-07T09:12:35.856Z] ****.io [2025-04-07T09:12:35.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:36.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:36.116Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:36.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:36.117Z] [2025-04-07T09:12:36.117Z] Login Succeeded [2025-04-07T09:12:36.117Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:12:36.125Z] 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:12:36.530Z] + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:12:36.561Z] -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh [2025-04-07T09:12:36.853Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:12:36.871Z] ========================================================= [2025-04-07T09:12:36.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-04-07T09:12:36.871Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-04-07T09:12:37.221Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:12:37.234Z] [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo [2025-04-07T09:12:37.253Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-04-07T09:12:37.617Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-04-07T09:12:37.617Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-04-07T09:12:37.617Z] + [ -e /tmp/ssh_known_hosts ] [2025-04-07T09:12:37.617Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-04-07T09:12:37.617Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-04-07T09:12:37.617Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-04-07T09:12:37.617Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:12:37.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:12:37.971Z] [2025-04-07T09:12:37.971Z] 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:12:38.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:12:38.282Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-04-07T09:12:38.282Z] b85a868b505f: Pulling fs layer [2025-04-07T09:12:38.282Z] e2be974225ed: Pulling fs layer [2025-04-07T09:12:38.282Z] 339a4e72a1f5: Pulling fs layer [2025-04-07T09:12:38.282Z] 988bab9f4d93: Pulling fs layer [2025-04-07T09:12:38.282Z] 1469e6f7b9e6: Pulling fs layer [2025-04-07T09:12:38.282Z] eaf3925da568: Pulling fs layer [2025-04-07T09:12:38.282Z] bab4dde63d76: Pulling fs layer [2025-04-07T09:12:38.282Z] bde34c3a00c8: Pulling fs layer [2025-04-07T09:12:38.282Z] b352a97aabf1: Pulling fs layer [2025-04-07T09:12:38.282Z] 4872d77fe225: Pulling fs layer [2025-04-07T09:12:38.282Z] 5851b861e8e6: Pulling fs layer [2025-04-07T09:12:38.282Z] bde34c3a00c8: Waiting [2025-04-07T09:12:38.282Z] b352a97aabf1: Waiting [2025-04-07T09:12:38.282Z] eaf3925da568: Waiting [2025-04-07T09:12:38.282Z] 4872d77fe225: Waiting [2025-04-07T09:12:38.282Z] 5851b861e8e6: Waiting [2025-04-07T09:12:38.282Z] 988bab9f4d93: Waiting [2025-04-07T09:12:38.282Z] 1469e6f7b9e6: Waiting [2025-04-07T09:12:38.282Z] bab4dde63d76: Waiting [2025-04-07T09:12:38.282Z] e2be974225ed: Download complete [2025-04-07T09:12:38.282Z] 988bab9f4d93: Verifying Checksum [2025-04-07T09:12:38.282Z] 988bab9f4d93: Download complete [2025-04-07T09:12:38.282Z] 1469e6f7b9e6: Verifying Checksum [2025-04-07T09:12:38.282Z] 1469e6f7b9e6: Download complete [2025-04-07T09:12:38.282Z] eaf3925da568: Verifying Checksum [2025-04-07T09:12:38.282Z] eaf3925da568: Download complete [2025-04-07T09:12:38.282Z] 339a4e72a1f5: Download complete [2025-04-07T09:12:38.282Z] bde34c3a00c8: Verifying Checksum [2025-04-07T09:12:38.282Z] bde34c3a00c8: Download complete [2025-04-07T09:12:38.542Z] b352a97aabf1: Download complete [2025-04-07T09:12:38.542Z] 4872d77fe225: Verifying Checksum [2025-04-07T09:12:38.542Z] 4872d77fe225: Download complete [2025-04-07T09:12:38.542Z] 5851b861e8e6: Verifying Checksum [2025-04-07T09:12:38.542Z] 5851b861e8e6: Download complete [2025-04-07T09:12:38.542Z] b85a868b505f: Verifying Checksum [2025-04-07T09:12:38.542Z] b85a868b505f: Download complete [2025-04-07T09:12:38.800Z] bab4dde63d76: Verifying Checksum [2025-04-07T09:12:38.800Z] bab4dde63d76: Download complete [2025-04-07T09:12:39.742Z] b85a868b505f: Pull complete [2025-04-07T09:12:39.742Z] e2be974225ed: Pull complete [2025-04-07T09:12:40.311Z] 339a4e72a1f5: Pull complete [2025-04-07T09:12:40.311Z] 988bab9f4d93: Pull complete [2025-04-07T09:12:40.571Z] 1469e6f7b9e6: Pull complete [2025-04-07T09:12:40.571Z] eaf3925da568: Pull complete [2025-04-07T09:12:42.474Z] bab4dde63d76: Pull complete [2025-04-07T09:12:42.474Z] bde34c3a00c8: Pull complete [2025-04-07T09:12:42.474Z] b352a97aabf1: Pull complete [2025-04-07T09:12:42.474Z] 4872d77fe225: Pull complete [2025-04-07T09:12:42.735Z] 5851b861e8e6: Pull complete [2025-04-07T09:12:42.735Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-04-07T09:12:42.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:12:42.735Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:12:42.883Z] prd-ubuntu20.04-docker-8c-8g-42832 does not seem to be running inside a container [2025-04-07T09:12:42.914Z] $ 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:12:44.749Z] $ docker top 2eaf72def408578035932498ad14cf9ad195d31e3d23b485ed5d5ebd95e40d73 -eo pid,comm [2025-04-07T09:12:44.807Z] 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:12:44.807Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-04-07T09:12:44.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:12:44.864Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:12:44.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:12:44.972Z] $ docker exec 2eaf72def408578035932498ad14cf9ad195d31e3d23b485ed5d5ebd95e40d73 ssh-agent [2025-04-07T09:12:45.079Z] SSH_AUTH_SOCK=/tmp/ssh-M3veIzo6AnBL/agent.32 [2025-04-07T09:12:45.079Z] SSH_AGENT_PID=38 [2025-04-07T09:12:45.084Z] Running ssh-add (command line suppressed) [2025-04-07T09:12:45.187Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_8629790587639135011.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_8629790587639135011.key) [2025-04-07T09:12:45.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:12:45.508Z] + git tag --points-at HEAD [Pipeline] } [2025-04-07T09:12:45.518Z] $ docker exec --env ******** --env ******** 2eaf72def408578035932498ad14cf9ad195d31e3d23b485ed5d5ebd95e40d73 ssh-agent -k [2025-04-07T09:12:45.622Z] unset SSH_AUTH_SOCK; [2025-04-07T09:12:45.622Z] unset SSH_AGENT_PID; [2025-04-07T09:12:45.622Z] echo Agent pid 38 killed; [2025-04-07T09:12:45.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-04-07T09:12:45.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:12:45.677Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:12:45.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:12:45.801Z] $ docker exec 2eaf72def408578035932498ad14cf9ad195d31e3d23b485ed5d5ebd95e40d73 ssh-agent [2025-04-07T09:12:45.925Z] SSH_AUTH_SOCK=/tmp/ssh-aZjiT8ASarUv/agent.71 [2025-04-07T09:12:45.926Z] SSH_AGENT_PID=77 [2025-04-07T09:12:45.931Z] Running ssh-add (command line suppressed) [2025-04-07T09:12:46.044Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_1952397004917672734.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_1952397004917672734.key) [2025-04-07T09:12:46.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:12:46.356Z] + git semver init [2025-04-07T09:12:46.616Z] 2025-04-07 09:12:46,553 [run_init] DEBUG init version:0.0.0 force:False [2025-04-07T09:12:46.616Z] 2025-04-07 09:12:46,553 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:12:46.616Z] 2025-04-07 09:12:46,554 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:12:46.616Z] 2025-04-07 09:12:46,554 [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:12:47.186Z] 2025-04-07 09:12:47,171 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude [2025-04-07T09:12:47.186Z] 2025-04-07 09:12:47,172 [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:12:47.186Z] 2025-04-07 09:12:47,172 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:12:47.186Z] 2025-04-07 09:12:47,176 [execute] INFO git cat-file --batch-check [2025-04-07T09:12:47.186Z] 2025-04-07 09:12:47,177 [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:12:47.186Z] 2025-04-07 09:12:47,183 [execute] INFO git cat-file --batch [2025-04-07T09:12:47.186Z] 2025-04-07 09:12:47,183 [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:12:47.446Z] 2025-04-07 09:12:47,188 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:12:47.446Z] 0.0.0 [Pipeline] } [2025-04-07T09:12:47.455Z] $ docker exec --env ******** --env ******** 2eaf72def408578035932498ad14cf9ad195d31e3d23b485ed5d5ebd95e40d73 ssh-agent -k [2025-04-07T09:12:47.555Z] unset SSH_AUTH_SOCK; [2025-04-07T09:12:47.555Z] unset SSH_AGENT_PID; [2025-04-07T09:12:47.555Z] echo Agent pid 77 killed; [2025-04-07T09:12:47.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:12:47.892Z] + git semver [Pipeline] } [2025-04-07T09:12:48.163Z] $ docker stop --time=1 2eaf72def408578035932498ad14cf9ad195d31e3d23b485ed5d5ebd95e40d73 [2025-04-07T09:12:49.462Z] $ docker rm -f --volumes 2eaf72def408578035932498ad14cf9ad195d31e3d23b485ed5d5ebd95e40d73 [Pipeline] // withDockerContainer [Pipeline] sh [2025-04-07T09:12:49.816Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-04-07T09:12:50.047Z] Stashed 1 file(s) [Pipeline] echo [2025-04-07T09:12:50.052Z] [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:12:50.323Z] provisioning config files... [2025-04-07T09:12:50.338Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config10633128982568765742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:12:50.649Z] ---> ****-login.sh [2025-04-07T09:12:50.649Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:12:50.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:50.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:50.649Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:50.649Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:50.649Z] [2025-04-07T09:12:50.649Z] Login Succeeded [2025-04-07T09:12:50.649Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:12:50.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:50.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:50.649Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:50.650Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:50.650Z] [2025-04-07T09:12:50.650Z] Login Succeeded [2025-04-07T09:12:50.650Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:12:50.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:50.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:50.909Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:50.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:50.909Z] [2025-04-07T09:12:50.909Z] Login Succeeded [2025-04-07T09:12:50.909Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:12:50.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:50.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:50.909Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:50.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:50.909Z] [2025-04-07T09:12:50.909Z] Login Succeeded [2025-04-07T09:12:50.909Z] ****.io [2025-04-07T09:12:50.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:12:51.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:12:51.169Z] Configure a credential helper to remove this warning. See [2025-04-07T09:12:51.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:12:51.169Z] [2025-04-07T09:12:51.170Z] Login Succeeded [2025-04-07T09:12:51.170Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:12:51.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-04-07T09:12:51.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:12:51.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:12:51.310Z] ========================================================= [2025-04-07T09:12:51.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-04-07T09:12:51.310Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:12:51.641Z] + 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:12:51.641Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:12:51.641Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:12:51.641Z] Step 2/12 : FROM ${BASE} AS builder [2025-04-07T09:12:51.641Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-04-07T09:12:51.641Z] da9db072f522: Pulling fs layer [2025-04-07T09:12:51.641Z] 6ef4a4ee8ca5: Pulling fs layer [2025-04-07T09:12:51.641Z] 06f05ace1117: Pulling fs layer [2025-04-07T09:12:51.641Z] 5fe327b54edc: Pulling fs layer [2025-04-07T09:12:51.641Z] 4f4fb700ef54: Pulling fs layer [2025-04-07T09:12:51.641Z] 92a5565b7b96: Pulling fs layer [2025-04-07T09:12:51.641Z] ff9bb7016b71: Pulling fs layer [2025-04-07T09:12:51.641Z] b67dba6c2c7d: Pulling fs layer [2025-04-07T09:12:51.641Z] a813b0c90790: Pulling fs layer [2025-04-07T09:12:51.641Z] 4f4fb700ef54: Waiting [2025-04-07T09:12:51.641Z] 92a5565b7b96: Waiting [2025-04-07T09:12:51.641Z] ff9bb7016b71: Waiting [2025-04-07T09:12:51.641Z] b67dba6c2c7d: Waiting [2025-04-07T09:12:51.641Z] a813b0c90790: Waiting [2025-04-07T09:12:51.641Z] 5fe327b54edc: Waiting [2025-04-07T09:12:51.641Z] 6ef4a4ee8ca5: Verifying Checksum [2025-04-07T09:12:51.641Z] 6ef4a4ee8ca5: Download complete [2025-04-07T09:12:51.641Z] 5fe327b54edc: Download complete [2025-04-07T09:12:51.641Z] 4f4fb700ef54: Verifying Checksum [2025-04-07T09:12:51.641Z] 4f4fb700ef54: Download complete [2025-04-07T09:12:51.641Z] 92a5565b7b96: Verifying Checksum [2025-04-07T09:12:51.641Z] 92a5565b7b96: Download complete [2025-04-07T09:12:51.641Z] da9db072f522: Download complete [2025-04-07T09:12:51.900Z] ff9bb7016b71: Verifying Checksum [2025-04-07T09:12:51.900Z] ff9bb7016b71: Download complete [2025-04-07T09:12:51.900Z] da9db072f522: Pull complete [2025-04-07T09:12:51.900Z] 6ef4a4ee8ca5: Pull complete [2025-04-07T09:12:52.158Z] a813b0c90790: Verifying Checksum [2025-04-07T09:12:52.158Z] a813b0c90790: Download complete [2025-04-07T09:12:52.158Z] 06f05ace1117: Verifying Checksum [2025-04-07T09:12:52.158Z] 06f05ace1117: Download complete [2025-04-07T09:12:52.416Z] b67dba6c2c7d: Download complete [2025-04-07T09:12:55.699Z] 06f05ace1117: Pull complete [2025-04-07T09:12:55.699Z] 5fe327b54edc: Pull complete [2025-04-07T09:12:55.700Z] 4f4fb700ef54: Pull complete [2025-04-07T09:12:55.700Z] 92a5565b7b96: Pull complete [2025-04-07T09:12:55.957Z] ff9bb7016b71: Pull complete [2025-04-07T09:12:58.484Z] b67dba6c2c7d: Pull complete [2025-04-07T09:12:58.484Z] a813b0c90790: Pull complete [2025-04-07T09:12:58.484Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-04-07T09:12:58.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-04-07T09:12:58.484Z] ---> 3ba60ce46760 [2025-04-07T09:12:58.484Z] Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:13:01.782Z] ---> Running in 4e2540121e51 [2025-04-07T09:13:01.782Z] Removing intermediate container 4e2540121e51 [2025-04-07T09:13:01.782Z] ---> bc259454c7d0 [2025-04-07T09:13:01.782Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:13:01.782Z] ---> Running in 6609626cd2b9 [2025-04-07T09:13:01.782Z] Removing intermediate container 6609626cd2b9 [2025-04-07T09:13:01.782Z] ---> d5d1e38d4545 [2025-04-07T09:13:01.782Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:13:01.782Z] ---> Running in dee6acabc47a [2025-04-07T09:13:01.782Z] Removing intermediate container dee6acabc47a [2025-04-07T09:13:01.782Z] ---> a551246d719c [2025-04-07T09:13:01.782Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:13:01.782Z] ---> Running in ac21e23b2fbd [2025-04-07T09:13:02.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:13:02.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:13:02.302Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-04-07T09:13:02.302Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-04-07T09:13:02.302Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-04-07T09:13:02.302Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-04-07T09:13:02.302Z] Executing busybox-1.36.1-r29.trigger [2025-04-07T09:13:02.302Z] OK: 252 MiB in 62 packages [2025-04-07T09:13:02.869Z] Removing intermediate container ac21e23b2fbd [2025-04-07T09:13:02.869Z] ---> 3a45b93b1cff [2025-04-07T09:13:02.869Z] Step 7/12 : WORKDIR /sample-service [2025-04-07T09:13:02.869Z] ---> Running in 1720b6e47cba [2025-04-07T09:13:02.869Z] Removing intermediate container 1720b6e47cba [2025-04-07T09:13:02.869Z] ---> c7b3f2e19942 [2025-04-07T09:13:02.869Z] Step 8/12 : COPY go.mod vendor* ./ [2025-04-07T09:13:02.869Z] ---> d054aa452ef4 [2025-04-07T09:13:02.869Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:13:02.869Z] ---> Running in 0166fa7f80ce [2025-04-07T09:13:12.851Z] Removing intermediate container 0166fa7f80ce [2025-04-07T09:13:12.851Z] ---> c9ee1446915e [2025-04-07T09:13:12.851Z] Step 10/12 : COPY . . [2025-04-07T09:13:12.851Z] ---> 67a49ebebc2a [2025-04-07T09:13:12.851Z] Step 11/12 : ARG MAKE='make build' [2025-04-07T09:13:12.851Z] ---> Running in deeaecbb4a0f [2025-04-07T09:13:12.851Z] Removing intermediate container deeaecbb4a0f [2025-04-07T09:13:12.851Z] ---> 4e8c71a2e865 [2025-04-07T09:13:12.851Z] Step 12/12 : RUN $MAKE [2025-04-07T09:13:12.851Z] ---> Running in 8ce4fe9e5e73 [2025-04-07T09:13:12.851Z] noop [2025-04-07T09:13:12.851Z] Removing intermediate container 8ce4fe9e5e73 [2025-04-07T09:13:12.851Z] ---> a52e5cf7b332 [2025-04-07T09:13:12.851Z] Successfully built a52e5cf7b332 [2025-04-07T09:13:12.851Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:13.180Z] + docker inspect -f . ci-base-image-x86_64 [2025-04-07T09:13:13.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:13:13.265Z] prd-ubuntu20.04-docker-8c-8g-42832 does not seem to be running inside a container [2025-04-07T09:13:13.291Z] $ 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:13:13.625Z] $ docker top 723583d0fa8c1b352bab0f30bac3edb7422f09d78c9affc088aca621de6c1ebf -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:13:13.988Z] + go version [2025-04-07T09:13:13.988Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-04-07T09:13:13.998Z] $ docker stop --time=1 723583d0fa8c1b352bab0f30bac3edb7422f09d78c9affc088aca621de6c1ebf [2025-04-07T09:13:15.312Z] $ docker rm -f --volumes 723583d0fa8c1b352bab0f30bac3edb7422f09d78c9affc088aca621de6c1ebf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-04-07T09:13:15.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-04-07T09:13:16.154Z] + ls -al . [2025-04-07T09:13:16.154Z] total 152 [2025-04-07T09:13:16.154Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:12 . [2025-04-07T09:13:16.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:12 .. [2025-04-07T09:13:16.154Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:12 .git [2025-04-07T09:13:16.154Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:12 .github [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 46 Apr 7 09:12 .gitignore [2025-04-07T09:13:16.154Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:12 .semver [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 4832 Apr 7 09:12 Attribution.txt [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 34862 Apr 7 09:12 CHANGELOG.md [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 1434 Apr 7 09:12 Dockerfile [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 706 Apr 7 09:12 Jenkinsfile [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 729 Apr 7 09:12 Jenkinsfile-sandbox [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 3586 Apr 7 09:12 Jenkinsfile.edgexSemver [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:12 LICENSE [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 1308 Apr 7 09:12 Makefile [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 3063 Apr 7 09:12 README.md [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:12 VERSION [2025-04-07T09:13:16.154Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:12 api [2025-04-07T09:13:16.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:12 bin [2025-04-07T09:13:16.154Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:12 cmd [2025-04-07T09:13:16.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:12 driver [2025-04-07T09:13:16.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:12 example [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 1955 Apr 7 09:12 go.mod [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 13083 Apr 7 09:12 go.sum [2025-04-07T09:13:16.154Z] -rw-rw-r-- 1 jenkins jenkins 225 Apr 7 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:16.480Z] + 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:13:16.480Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:13:16.480Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:13:16.480Z] Step 2/23 : FROM ${BASE} AS builder [2025-04-07T09:13:16.480Z] ---> a52e5cf7b332 [2025-04-07T09:13:16.480Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:13:16.480Z] ---> Running in 62d795878b28 [2025-04-07T09:13:16.480Z] Removing intermediate container 62d795878b28 [2025-04-07T09:13:16.480Z] ---> 0eebd93f0864 [2025-04-07T09:13:16.480Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:13:16.480Z] ---> Running in 33aa52f54e88 [2025-04-07T09:13:16.739Z] Removing intermediate container 33aa52f54e88 [2025-04-07T09:13:16.739Z] ---> 3adfd147854d [2025-04-07T09:13:16.739Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:13:16.739Z] ---> Running in 0faf3a9c077d [2025-04-07T09:13:16.739Z] Removing intermediate container 0faf3a9c077d [2025-04-07T09:13:16.739Z] ---> afa27162e37b [2025-04-07T09:13:16.739Z] Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:13:16.739Z] ---> Running in 0ade19af5ed5 [2025-04-07T09:13:16.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:13:17.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:13:17.515Z] OK: 252 MiB in 62 packages [2025-04-07T09:13:17.774Z] Removing intermediate container 0ade19af5ed5 [2025-04-07T09:13:17.774Z] ---> ca716b4865ff [2025-04-07T09:13:17.774Z] Step 7/23 : WORKDIR /sample-service [2025-04-07T09:13:17.774Z] ---> Running in 6ec5a8007e26 [2025-04-07T09:13:18.032Z] Removing intermediate container 6ec5a8007e26 [2025-04-07T09:13:18.032Z] ---> 71c664465327 [2025-04-07T09:13:18.032Z] Step 8/23 : COPY go.mod vendor* ./ [2025-04-07T09:13:18.032Z] ---> 9a7989cc38fb [2025-04-07T09:13:18.032Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:13:18.032Z] ---> Running in ad4070c95b0f [2025-04-07T09:13:18.968Z] Removing intermediate container ad4070c95b0f [2025-04-07T09:13:18.968Z] ---> 7c667972da2d [2025-04-07T09:13:18.968Z] Step 10/23 : COPY . . [2025-04-07T09:13:18.968Z] ---> 2651773e7fa8 [2025-04-07T09:13:18.968Z] Step 11/23 : ARG MAKE='make build' [2025-04-07T09:13:18.968Z] ---> Running in 5d34fd945638 [2025-04-07T09:13:19.226Z] Removing intermediate container 5d34fd945638 [2025-04-07T09:13:19.226Z] ---> 7bea7c3d44ad [2025-04-07T09:13:19.226Z] Step 12/23 : RUN $MAKE [2025-04-07T09:13:19.226Z] ---> Running in 94145d962c42 [2025-04-07T09:13:19.485Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd [2025-04-07T09:13:31.688Z] Removing intermediate container 94145d962c42 [2025-04-07T09:13:31.688Z] ---> b5126f0637e0 [2025-04-07T09:13:31.688Z] Step 13/23 : FROM alpine:3.18 [2025-04-07T09:13:31.688Z] 3.18: Pulling from library/alpine [2025-04-07T09:13:31.688Z] 44cf07d57ee4: Pulling fs layer [2025-04-07T09:13:31.688Z] 44cf07d57ee4: Verifying Checksum [2025-04-07T09:13:31.688Z] 44cf07d57ee4: Download complete [2025-04-07T09:13:31.688Z] 44cf07d57ee4: Pull complete [2025-04-07T09:13:31.688Z] Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f [2025-04-07T09:13:31.688Z] Status: Downloaded newer image for alpine:3.18 [2025-04-07T09:13:31.688Z] ---> 802c91d52981 [2025-04-07T09:13:31.688Z] Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:13:31.688Z] ---> Running in f7ab768bda82 [2025-04-07T09:13:31.688Z] Removing intermediate container f7ab768bda82 [2025-04-07T09:13:31.688Z] ---> 19dae5b5ba5c [2025-04-07T09:13:31.688Z] Step 15/23 : ENV APP_PORT=49999 [2025-04-07T09:13:31.688Z] ---> Running in 9578b5aef852 [2025-04-07T09:13:31.688Z] Removing intermediate container 9578b5aef852 [2025-04-07T09:13:31.688Z] ---> a51c9de6fd0a [2025-04-07T09:13:31.688Z] Step 16/23 : EXPOSE $APP_PORT [2025-04-07T09:13:31.688Z] ---> Running in 068b88611c6b [2025-04-07T09:13:31.688Z] Removing intermediate container 068b88611c6b [2025-04-07T09:13:31.688Z] ---> 9d672dccd766 [2025-04-07T09:13:31.688Z] Step 17/23 : COPY --from=builder /sample-service/cmd / [2025-04-07T09:13:31.688Z] ---> d2b60b528acb [2025-04-07T09:13:31.688Z] Step 18/23 : COPY --from=builder /sample-service/LICENSE / [2025-04-07T09:13:31.688Z] ---> eb869127e68d [2025-04-07T09:13:31.688Z] Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / [2025-04-07T09:13:31.689Z] ---> c42c445b66fa [2025-04-07T09:13:31.689Z] Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2025-04-07T09:13:31.689Z] ---> Running in 6574185519e8 [2025-04-07T09:13:31.689Z] Removing intermediate container 6574185519e8 [2025-04-07T09:13:31.689Z] ---> c9f989650c7b [2025-04-07T09:13:31.689Z] Step 21/23 : LABEL arch=amd64 [2025-04-07T09:13:31.689Z] ---> Running in 83fc750b0149 [2025-04-07T09:13:31.689Z] Removing intermediate container 83fc750b0149 [2025-04-07T09:13:31.689Z] ---> 4b93ebed9269 [2025-04-07T09:13:31.689Z] Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:13:31.689Z] ---> Running in ceaa4474e9f8 [2025-04-07T09:13:31.689Z] Removing intermediate container ceaa4474e9f8 [2025-04-07T09:13:31.689Z] ---> 705476e52698 [2025-04-07T09:13:31.689Z] Step 23/23 : LABEL version=0.0.0 [2025-04-07T09:13:31.689Z] ---> Running in 942a4cbb7774 [2025-04-07T09:13:31.949Z] Removing intermediate container 942a4cbb7774 [2025-04-07T09:13:31.949Z] ---> 8050367e0939 [2025-04-07T09:13:31.949Z] [Warning] One or more build-args [ARCH] were not consumed [2025-04-07T09:13:31.949Z] Successfully built 8050367e0939 [2025-04-07T09:13:31.949Z] 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:13:32.100Z] provisioning config files... [2025-04-07T09:13:32.108Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11376224858991308912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:13:32.413Z] ---> ****-login.sh [2025-04-07T09:13:32.413Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:13:32.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:32.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:32.414Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:32.414Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:32.414Z] [2025-04-07T09:13:32.414Z] Login Succeeded [2025-04-07T09:13:32.414Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:13:32.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:32.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:32.414Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:32.414Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:32.414Z] [2025-04-07T09:13:32.414Z] Login Succeeded [2025-04-07T09:13:32.414Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:13:32.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:32.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:32.675Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:32.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:32.675Z] [2025-04-07T09:13:32.675Z] Login Succeeded [2025-04-07T09:13:32.675Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:13:32.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:32.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:32.675Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:32.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:32.675Z] [2025-04-07T09:13:32.675Z] Login Succeeded [2025-04-07T09:13:32.675Z] ****.io [2025-04-07T09:13:32.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:32.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:32.934Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:32.934Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:32.934Z] [2025-04-07T09:13:32.934Z] Login Succeeded [2025-04-07T09:13:32.934Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:13:32.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:13:33.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:13:33.035Z] [edgeXDocker.push] Tagging docker image sample-service with the following tags: [2025-04-07T09:13:33.035Z] eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:13:33.035Z] latest [2025-04-07T09:13:33.035Z] 0.0.0 [2025-04-07T09:13:33.035Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:13:33.035Z] PR-165 [2025-04-07T09:13:33.035Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:33.386Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:33.718Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:13:33.718Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:13:33.718Z] add624256335: Preparing [2025-04-07T09:13:33.718Z] bbacb3b6c9c7: Preparing [2025-04-07T09:13:33.718Z] a3ad3ccd9cff: Preparing [2025-04-07T09:13:33.718Z] f44f286046d9: Preparing [2025-04-07T09:13:33.718Z] f44f286046d9: Layer already exists [2025-04-07T09:13:33.718Z] add624256335: Pushed [2025-04-07T09:13:33.718Z] bbacb3b6c9c7: Pushed [2025-04-07T09:13:35.092Z] a3ad3ccd9cff: Pushed [2025-04-07T09:13:35.092Z] eb869c661586b1b6b4d3a43b635254038c5246fa: digest: sha256:1ed287fc0e33c2fd2484310d5a081a251318816996033dc6d633009368203058 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:35.436Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:35.760Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:13:35.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:13:35.760Z] add624256335: Preparing [2025-04-07T09:13:35.760Z] bbacb3b6c9c7: Preparing [2025-04-07T09:13:35.760Z] a3ad3ccd9cff: Preparing [2025-04-07T09:13:35.760Z] f44f286046d9: Preparing [2025-04-07T09:13:35.760Z] bbacb3b6c9c7: Layer already exists [2025-04-07T09:13:35.760Z] f44f286046d9: Layer already exists [2025-04-07T09:13:35.760Z] add624256335: Layer already exists [2025-04-07T09:13:35.760Z] a3ad3ccd9cff: Layer already exists [2025-04-07T09:13:35.760Z] latest: digest: sha256:1ed287fc0e33c2fd2484310d5a081a251318816996033dc6d633009368203058 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:36.101Z] + 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:13:36.436Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:13:36.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:13:36.436Z] add624256335: Preparing [2025-04-07T09:13:36.436Z] bbacb3b6c9c7: Preparing [2025-04-07T09:13:36.436Z] a3ad3ccd9cff: Preparing [2025-04-07T09:13:36.436Z] f44f286046d9: Preparing [2025-04-07T09:13:36.436Z] f44f286046d9: Layer already exists [2025-04-07T09:13:36.436Z] bbacb3b6c9c7: Layer already exists [2025-04-07T09:13:36.436Z] add624256335: Layer already exists [2025-04-07T09:13:36.436Z] a3ad3ccd9cff: Layer already exists [2025-04-07T09:13:36.436Z] 0.0.0: digest: sha256:1ed287fc0e33c2fd2484310d5a081a251318816996033dc6d633009368203058 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:36.778Z] + 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:13:37.107Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:13:37.107Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:13:37.107Z] add624256335: Preparing [2025-04-07T09:13:37.107Z] bbacb3b6c9c7: Preparing [2025-04-07T09:13:37.107Z] a3ad3ccd9cff: Preparing [2025-04-07T09:13:37.107Z] f44f286046d9: Preparing [2025-04-07T09:13:37.107Z] a3ad3ccd9cff: Layer already exists [2025-04-07T09:13:37.107Z] bbacb3b6c9c7: Layer already exists [2025-04-07T09:13:37.107Z] add624256335: Layer already exists [2025-04-07T09:13:37.107Z] f44f286046d9: Layer already exists [2025-04-07T09:13:37.107Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0: digest: sha256:1ed287fc0e33c2fd2484310d5a081a251318816996033dc6d633009368203058 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:37.450Z] + 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:13:37.966Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 [2025-04-07T09:13:37.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:13:37.966Z] add624256335: Preparing [2025-04-07T09:13:37.966Z] bbacb3b6c9c7: Preparing [2025-04-07T09:13:37.966Z] a3ad3ccd9cff: Preparing [2025-04-07T09:13:37.966Z] f44f286046d9: Preparing [2025-04-07T09:13:37.966Z] add624256335: Layer already exists [2025-04-07T09:13:37.966Z] bbacb3b6c9c7: Layer already exists [2025-04-07T09:13:37.966Z] f44f286046d9: Layer already exists [2025-04-07T09:13:37.966Z] a3ad3ccd9cff: Layer already exists [2025-04-07T09:13:37.966Z] PR-165: digest: sha256:1ed287fc0e33c2fd2484310d5a081a251318816996033dc6d633009368203058 size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:13:38.045Z] ===================================================== [Pipeline] echo [2025-04-07T09:13:38.062Z] taggedImages: [2025-04-07T09:13:38.062Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:13:38.062Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:13:38.062Z] - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:13:38.062Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:13:38.062Z] - 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:13:38.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:13:38.485Z] [2025-04-07T09:13:38.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:38.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:13:38.788Z] latest: Pulling from edgex-lftools-log-publisher [2025-04-07T09:13:38.789Z] 5eb5b503b376: Pulling fs layer [2025-04-07T09:13:38.789Z] 5c69ac0246d0: Pulling fs layer [2025-04-07T09:13:38.789Z] ec43610c2a17: Pulling fs layer [2025-04-07T09:13:38.789Z] 3a2ae6a8a46f: Pulling fs layer [2025-04-07T09:13:38.789Z] 33b1e0a273af: Pulling fs layer [2025-04-07T09:13:38.789Z] 5d3b04190fa2: Pulling fs layer [2025-04-07T09:13:38.789Z] 2f39f015ded8: Pulling fs layer [2025-04-07T09:13:38.789Z] 3a2ae6a8a46f: Waiting [2025-04-07T09:13:38.789Z] 5d3b04190fa2: Waiting [2025-04-07T09:13:38.789Z] 33b1e0a273af: Waiting [2025-04-07T09:13:38.789Z] 5c69ac0246d0: Verifying Checksum [2025-04-07T09:13:38.789Z] 5c69ac0246d0: Download complete [2025-04-07T09:13:38.789Z] 3a2ae6a8a46f: Verifying Checksum [2025-04-07T09:13:38.789Z] 3a2ae6a8a46f: Download complete [2025-04-07T09:13:38.789Z] 33b1e0a273af: Download complete [2025-04-07T09:13:38.789Z] 5d3b04190fa2: Verifying Checksum [2025-04-07T09:13:38.789Z] 5d3b04190fa2: Download complete [2025-04-07T09:13:38.789Z] ec43610c2a17: Verifying Checksum [2025-04-07T09:13:39.047Z] 5eb5b503b376: Verifying Checksum [2025-04-07T09:13:39.047Z] 5eb5b503b376: Download complete [2025-04-07T09:13:39.612Z] 2f39f015ded8: Download complete [2025-04-07T09:13:40.179Z] 5eb5b503b376: Pull complete [2025-04-07T09:13:40.179Z] 5c69ac0246d0: Pull complete [2025-04-07T09:13:40.439Z] ec43610c2a17: Pull complete [2025-04-07T09:13:40.697Z] 3a2ae6a8a46f: Pull complete [2025-04-07T09:13:40.697Z] 33b1e0a273af: Pull complete [2025-04-07T09:13:40.697Z] 5d3b04190fa2: Pull complete [2025-04-07T09:13:44.925Z] 2f39f015ded8: Pull complete [2025-04-07T09:13:44.925Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-04-07T09:13:44.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:13:44.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:13:45.023Z] prd-ubuntu20.04-docker-8c-8g-42832 does not seem to be running inside a container [2025-04-07T09:13:45.046Z] $ 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:13:47.363Z] $ docker top f6822d78c1372176b256b5532ece392707701c014f962ba94a7eaa3e9177a81e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:13:47.790Z] ---> job-cost.sh [2025-04-07T09:13:47.791Z] lf-activate-venv: SKIPPING [2025-04-07T09:13:47.791Z] INFO: No Stack... [2025-04-07T09:13:48.048Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:13:48.306Z] INFO: Archiving Costs [Pipeline] sh [2025-04-07T09:13:48.596Z] + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv [2025-04-07T09:13:48.596Z] + cut -d, -f6 [Pipeline] lock [2025-04-07T09:13:48.611Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-29-stack-cost] [2025-04-07T09:13:48.618Z] Resource [jenkins-edgexfoundry-sample-service-PR-165-29-stack-cost] did not exist. Created. [2025-04-07T09:13:48.624Z] Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-04-07T09:13:48.940Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-04-07T09:13:48.983Z] Stashed 1 file(s) [Pipeline] } [2025-04-07T09:13:48.994Z] Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-29-stack-cost] [Pipeline] // lock [Pipeline] } [2025-04-07T09:13:49.018Z] $ docker stop --time=1 f6822d78c1372176b256b5532ece392707701c014f962ba94a7eaa3e9177a81e [2025-04-07T09:13:50.175Z] $ docker rm -f --volumes f6822d78c1372176b256b5532ece392707701c014f962ba94a7eaa3e9177a81e [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:13:50.699Z] + docker version [2025-04-07T09:13:50.700Z] Client: Docker Engine - Community [2025-04-07T09:13:50.700Z] Version: 20.10.18 [2025-04-07T09:13:50.700Z] API version: 1.41 [2025-04-07T09:13:50.700Z] Go version: go1.18.6 [2025-04-07T09:13:50.700Z] Git commit: b40c2f6 [2025-04-07T09:13:50.700Z] Built: Thu Sep 8 23:11:45 2022 [2025-04-07T09:13:50.700Z] OS/Arch: linux/amd64 [2025-04-07T09:13:50.700Z] Context: default [2025-04-07T09:13:50.700Z] Experimental: true [2025-04-07T09:13:50.700Z] [2025-04-07T09:13:50.700Z] Server: Docker Engine - Community [2025-04-07T09:13:50.700Z] Engine: [2025-04-07T09:13:50.700Z] Version: 20.10.18 [2025-04-07T09:13:50.700Z] API version: 1.41 (minimum version 1.12) [2025-04-07T09:13:50.700Z] Go version: go1.18.6 [2025-04-07T09:13:50.700Z] Git commit: e42327a [2025-04-07T09:13:50.700Z] Built: Thu Sep 8 23:09:37 2022 [2025-04-07T09:13:50.700Z] OS/Arch: linux/amd64 [2025-04-07T09:13:50.700Z] Experimental: false [2025-04-07T09:13:50.700Z] containerd: [2025-04-07T09:13:50.700Z] Version: 1.6.8 [2025-04-07T09:13:50.700Z] GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:13:50.700Z] runc: [2025-04-07T09:13:50.700Z] Version: 1.1.4 [2025-04-07T09:13:50.700Z] GitCommit: v1.1.4-0-g5fd4c4d [2025-04-07T09:13:50.700Z] docker-init: [2025-04-07T09:13:50.700Z] Version: 0.19.0 [2025-04-07T09:13:50.700Z] GitCommit: de40ad0 [Pipeline] sh [2025-04-07T09:13:50.986Z] + docker info [2025-04-07T09:13:51.555Z] Client: [2025-04-07T09:13:51.555Z] Context: default [2025-04-07T09:13:51.555Z] Debug Mode: false [2025-04-07T09:13:51.555Z] Plugins: [2025-04-07T09:13:51.555Z] app: Docker App (Docker Inc., v0.9.1-beta3) [2025-04-07T09:13:51.555Z] buildx: Docker Buildx (Docker Inc., v0.9.1-docker) [2025-04-07T09:13:51.555Z] scan: Docker Scan (Docker Inc., v0.17.0) [2025-04-07T09:13:51.555Z] [2025-04-07T09:13:51.555Z] Server: [2025-04-07T09:13:51.555Z] Containers: 0 [2025-04-07T09:13:51.555Z] Running: 0 [2025-04-07T09:13:51.555Z] Paused: 0 [2025-04-07T09:13:51.555Z] Stopped: 0 [2025-04-07T09:13:51.555Z] Images: 34 [2025-04-07T09:13:51.555Z] Server Version: 20.10.18 [2025-04-07T09:13:51.555Z] Storage Driver: overlay2 [2025-04-07T09:13:51.555Z] Backing Filesystem: extfs [2025-04-07T09:13:51.555Z] Supports d_type: true [2025-04-07T09:13:51.555Z] Native Overlay Diff: true [2025-04-07T09:13:51.555Z] userxattr: false [2025-04-07T09:13:51.555Z] Logging Driver: json-file [2025-04-07T09:13:51.555Z] Cgroup Driver: cgroupfs [2025-04-07T09:13:51.555Z] Cgroup Version: 1 [2025-04-07T09:13:51.555Z] Plugins: [2025-04-07T09:13:51.555Z] Volume: local [2025-04-07T09:13:51.555Z] Network: bridge host ipvlan macvlan null overlay [2025-04-07T09:13:51.555Z] Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog [2025-04-07T09:13:51.555Z] Swarm: inactive [2025-04-07T09:13:51.555Z] Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc [2025-04-07T09:13:51.555Z] Default Runtime: runc [2025-04-07T09:13:51.555Z] Init Binary: docker-init [2025-04-07T09:13:51.555Z] containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:13:51.555Z] runc version: v1.1.4-0-g5fd4c4d [2025-04-07T09:13:51.555Z] init version: de40ad0 [2025-04-07T09:13:51.555Z] Security Options: [2025-04-07T09:13:51.555Z] apparmor [2025-04-07T09:13:51.555Z] seccomp [2025-04-07T09:13:51.555Z] Profile: default [2025-04-07T09:13:51.555Z] Kernel Version: 5.4.0-126-generic [2025-04-07T09:13:51.555Z] Operating System: Ubuntu 20.04.5 LTS [2025-04-07T09:13:51.555Z] OSType: linux [2025-04-07T09:13:51.555Z] Architecture: x86_64 [2025-04-07T09:13:51.555Z] CPUs: 8 [2025-04-07T09:13:51.555Z] Total Memory: 31.36GiB [2025-04-07T09:13:51.555Z] Name: prd-ubuntu20-04-docker-8c-8g-42832 [2025-04-07T09:13:51.555Z] ID: B5C6:XBUP:AVU6:3QRK:F5J7:OLEW:3BBT:K62R:4CCP:S4GR:QIZL:K4IG [2025-04-07T09:13:51.555Z] Docker Root Dir: /var/lib/docker [2025-04-07T09:13:51.555Z] Debug Mode: false [2025-04-07T09:13:51.555Z] Username: edgexci [2025-04-07T09:13:51.555Z] Registry: https://index.docker.io/v1/ [2025-04-07T09:13:51.555Z] Labels: [2025-04-07T09:13:51.555Z] Experimental: false [2025-04-07T09:13:51.555Z] Insecure Registries: [2025-04-07T09:13:51.555Z] 127.0.0.0/8 [2025-04-07T09:13:51.555Z] Registry Mirrors: [2025-04-07T09:13:51.555Z] https://nexus3.edgexfoundry.org:10001/ [2025-04-07T09:13:51.555Z] Live Restore Enabled: false [2025-04-07T09:13:51.555Z] [2025-04-07T09:13:51.555Z] WARNING: API is accessible on http://0.0.0.0:5555 without encryption. [2025-04-07T09:13:51.555Z] Access to the remote API is equivalent to root access on the host. Refer [2025-04-07T09:13:51.555Z] to the 'Docker daemon attack surface' section in the documentation for [2025-04-07T09:13:51.555Z] more information: https://docs.docker.com/go/attack-surface/ [2025-04-07T09:13:51.555Z] WARNING: No swap limit support [Pipeline] echo [2025-04-07T09:13:51.569Z] building multi-arch image for nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:13:51.605Z] provisioning config files... [2025-04-07T09:13:51.615Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config16225110085311707103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:13:51.920Z] ---> ****-login.sh [2025-04-07T09:13:51.920Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:13:51.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:51.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:51.920Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:51.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:51.920Z] [2025-04-07T09:13:51.920Z] Login Succeeded [2025-04-07T09:13:51.920Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:13:51.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:51.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:51.920Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:51.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:51.920Z] [2025-04-07T09:13:51.920Z] Login Succeeded [2025-04-07T09:13:51.920Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:13:52.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:52.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:52.180Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:52.181Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:52.181Z] [2025-04-07T09:13:52.181Z] Login Succeeded [2025-04-07T09:13:52.181Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:13:52.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:52.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:52.181Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:52.181Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:52.181Z] [2025-04-07T09:13:52.181Z] Login Succeeded [2025-04-07T09:13:52.181Z] ****.io [2025-04-07T09:13:52.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:13:52.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:13:52.442Z] Configure a credential helper to remove this warning. See [2025-04-07T09:13:52.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:13:52.442Z] [2025-04-07T09:13:52.442Z] Login Succeeded [2025-04-07T09:13:52.442Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:13:52.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:13:52.782Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:13:52.782Z] latest: Pulling from sample-service [2025-04-07T09:13:52.782Z] Digest: sha256:1ed287fc0e33c2fd2484310d5a081a251318816996033dc6d633009368203058 [2025-04-07T09:13:52.782Z] Status: Image is up to date for nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:13:52.782Z] nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:13:53.069Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:13:53.069Z] latest: Pulling from sample-service-arm64 [2025-04-07T09:13:53.069Z] 95459497489f: Pulling fs layer [2025-04-07T09:13:53.069Z] ceb2e31cc3b0: Pulling fs layer [2025-04-07T09:13:53.069Z] 8ad4e7edb9c4: Pulling fs layer [2025-04-07T09:13:53.069Z] 58ef3575707b: Pulling fs layer [2025-04-07T09:13:53.069Z] 58ef3575707b: Waiting [2025-04-07T09:13:53.069Z] 8ad4e7edb9c4: Verifying Checksum [2025-04-07T09:13:53.069Z] 8ad4e7edb9c4: Download complete [2025-04-07T09:13:53.069Z] 58ef3575707b: Verifying Checksum [2025-04-07T09:13:53.069Z] 58ef3575707b: Download complete [2025-04-07T09:13:53.069Z] 95459497489f: Verifying Checksum [2025-04-07T09:13:53.069Z] 95459497489f: Download complete [2025-04-07T09:13:53.069Z] ceb2e31cc3b0: Verifying Checksum [2025-04-07T09:13:53.069Z] ceb2e31cc3b0: Download complete [2025-04-07T09:13:53.327Z] 95459497489f: Pull complete [2025-04-07T09:13:53.327Z] ceb2e31cc3b0: Pull complete [2025-04-07T09:13:53.587Z] 8ad4e7edb9c4: Pull complete [2025-04-07T09:13:53.587Z] 58ef3575707b: Pull complete [2025-04-07T09:13:53.587Z] Digest: sha256:59404d1e53befa8610e04549965575a664056ff82a764edc0008b34f1badc679 [2025-04-07T09:13:53.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:13:53.587Z] nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [Pipeline] sh [2025-04-07T09:13:53.869Z] + docker tag nexus3.edgexfoundry.org:10004/sample-service:latest nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:13:53.869Z] + docker rmi -f nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:13:53.869Z] Untagged: nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:13:54.153Z] + docker push nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:13:54.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service-amd64] [2025-04-07T09:13:54.153Z] add624256335: Preparing [2025-04-07T09:13:54.153Z] bbacb3b6c9c7: Preparing [2025-04-07T09:13:54.153Z] a3ad3ccd9cff: Preparing [2025-04-07T09:13:54.153Z] f44f286046d9: Preparing [2025-04-07T09:13:54.153Z] bbacb3b6c9c7: Layer already exists [2025-04-07T09:13:54.153Z] a3ad3ccd9cff: Layer already exists [2025-04-07T09:13:54.153Z] add624256335: Layer already exists [2025-04-07T09:13:54.153Z] f44f286046d9: Layer already exists [2025-04-07T09:13:54.153Z] latest: digest: sha256:1ed287fc0e33c2fd2484310d5a081a251318816996033dc6d633009368203058 size: 1154 [Pipeline] echo [2025-04-07T09:13:54.163Z] registry: https://nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh [2025-04-07T09:13:54.491Z] + 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:13:54.491Z] Created manifest list nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:13:54.491Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:13:54.491Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:13:54.491Z] tag does not exist: 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:13:55.380Z] + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [2025-04-07T09:13:55.380Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:13:55.380Z] total 16 [2025-04-07T09:13:55.380Z] drwxr-xr-x 3 root root 4096 Apr 7 09:13 . [2025-04-07T09:13:55.380Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:13 .. [2025-04-07T09:13:55.380Z] drwxr-xr-x 2 root root 4096 Apr 7 09:13 cost [2025-04-07T09:13:55.380Z] -rw-r--r-- 1 root root 87 Apr 7 09:13 cost.csv [2025-04-07T09:13:55.380Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:13:55.380Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:13:55.380Z] total 16 [2025-04-07T09:13:55.380Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:13 . [2025-04-07T09:13:55.380Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:13 .. [2025-04-07T09:13:55.380Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:13 cost [2025-04-07T09:13:55.380Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 7 09:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:13:55.671Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:13:56.532Z] ---> package-listing.sh [2025-04-07T09:13:56.532Z] ++ facter osfamily [2025-04-07T09:13:56.532Z] ++ tr '[:upper:]' '[:lower:]' [2025-04-07T09:13:56.791Z] + OS_FAMILY=debian [2025-04-07T09:13:56.791Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-04-07T09:13:56.791Z] + START_PACKAGES=/tmp/packages_start.txt [2025-04-07T09:13:56.791Z] + END_PACKAGES=/tmp/packages_end.txt [2025-04-07T09:13:56.791Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-04-07T09:13:56.791Z] + PACKAGES=/tmp/packages_start.txt [2025-04-07T09:13:56.791Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:13:56.791Z] + PACKAGES=/tmp/packages_end.txt [2025-04-07T09:13:56.791Z] + case "${OS_FAMILY}" in [2025-04-07T09:13:56.791Z] + dpkg -l [2025-04-07T09:13:56.791Z] + grep '^ii' [2025-04-07T09:13:56.791Z] + '[' -f /tmp/packages_start.txt ']' [2025-04-07T09:13:56.791Z] + '[' -f /tmp/packages_end.txt ']' [2025-04-07T09:13:56.791Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-04-07T09:13:56.791Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:13:56.791Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-04-07T09:13:56.791Z] + 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:13:56.804Z] 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:13:57.087Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:13:57.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:13:57.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:13:57.747Z] prd-ubuntu20.04-docker-8c-8g-42832 does not seem to be running inside a container [2025-04-07T09:13:57.774Z] $ 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:13:58.090Z] $ docker top d7ecf5f2ff35db450c97304663f49f3991c5e22b1fc81572f969db270b324880 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:13:58.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-04-07T09:13:58.849Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-04-07T09:13:59.194Z] + ls /var/log/sa-host [2025-04-07T09:13:59.194Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:13:59.283Z] provisioning config files... [2025-04-07T09:13:59.292Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config5763627475561488583tmp [Pipeline] { [Pipeline] echo [2025-04-07T09:13:59.315Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:13:59.600Z] ---> create-netrc.sh [Pipeline] } [2025-04-07T09:13:59.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:13:59.947Z] ---> python-tools-install.sh [Pipeline] echo [2025-04-07T09:13:59.958Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:14:00.246Z] ---> sudo-logs.sh [2025-04-07T09:14:00.246Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-04-07T09:14:00.275Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:14:00.556Z] ---> job-cost.sh [2025-04-07T09:14:00.556Z] lf-activate-venv: SKIPPING [2025-04-07T09:14:00.556Z] DEBUG: total: 0.2199999988079071 [2025-04-07T09:14:00.557Z] INFO: Retrieving Stack Cost... [2025-04-07T09:14:00.557Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:14:00.816Z] INFO: Archiving Costs [Pipeline] echo [2025-04-07T09:14:00.831Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:14:01.115Z] ---> logs-deploy.sh [2025-04-07T09:14:01.115Z] lf-activate-venv: SKIPPING [2025-04-07T09:14:01.115Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/29 [2025-04-07T09:14:01.115Z] INFO: archiving workspace using pattern(s): [2025-04-07T09:14:02.050Z] Archives upload complete. [2025-04-07T09:14:02.050Z] INFO: archiving logs to Nexus