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-ssh11130945842173390706.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision 440408d7503b335ae3c1e2169438273d63ce5539 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-ssh2826911619795529313.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 440408d7503b335ae3c1e2169438273d63ce5539 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-ssh4098918940791850197.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 440408d7503b335ae3c1e2169438273d63ce5539 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f 440408d7503b335ae3c1e2169438273d63ce5539 # timeout=10 Commit message: "test sample-device" > 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-ssh12066764087976398470.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-ssh11092324458223317989.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-44772 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 > 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 Merging remotes/origin/main commit 84423b89ce30e37f30f8c64be74fe5fa8ac28ccc into PR head commit eb869c661586b1b6b4d3a43b635254038c5246fa Merge succeeded, producing eb869c661586b1b6b4d3a43b635254038c5246fa Checking out Revision eb869c661586b1b6b4d3a43b635254038c5246fa (PR-165) > 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-11T10:18:06.922Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-04-11T10:18:07.056Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-04-11T10:18:07.087Z] ========================================================= [2025-04-11T10:18:07.087Z] EdgeX Global Pipelines Version Info [2025-04-11T10:18:07.087Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:18:08.271Z] ------------------- [2025-04-11T10:18:08.271Z] stable info: [2025-04-11T10:18:08.271Z] ------------------- [2025-04-11T10:18:08.271Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-11T10:18:08.271Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-04-11T10:18:08.271Z] Message: update stable to v1.0.274 [2025-04-11T10:18:08.532Z] ------------------- [2025-04-11T10:18:08.532Z] experimental info: [2025-04-11T10:18:08.532Z] ------------------- [2025-04-11T10:18:08.532Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-11T10:18:08.532Z] Commit SHA: 440408d7503b335ae3c1e2169438273d63ce5539 [2025-04-11T10:18:08.532Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-04-11T10:18:08.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo [2025-04-11T10:18:08.705Z] [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo [2025-04-11T10:18:08.730Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-04-11T10:18:08.743Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-04-11T10:18:08.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-04-11T10:18:08.781Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-04-11T10:18:08.796Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-04-11T10:18:08.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-04-11T10:18:08.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-04-11T10:18:08.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-04-11T10:18:08.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-04-11T10:18:08.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo [2025-04-11T10:18:08.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-04-11T10:18:08.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-04-11T10:18:08.896Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-04-11T10:18:08.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-04-11T10:18:08.918Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-04-11T10:18:08.929Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-04-11T10:18:08.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-04-11T10:18:08.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-04-11T10:18:08.960Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-04-11T10:18:08.971Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-04-11T10:18:08.982Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-04-11T10:18:08.992Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-04-11T10:18:09.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-04-11T10:18:09.091Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-04-11T10:18:09.261Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-04-11T10:18:09.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2025-04-11T10:18:09.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2025-04-11T10:18:09.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2025-04-11T10:18:09.446Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-11T10:18:09.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo [2025-04-11T10:18:09.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-11T10:18:09.715Z] provisioning config files... [2025-04-11T10:18:09.737Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config18358378560384346024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:18:10.137Z] ---> ****-login.sh [2025-04-11T10:18:10.137Z] nexus3.edgexfoundry.org:10001 [2025-04-11T10:18:10.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:18:10.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:18:10.661Z] Configure a credential helper to remove this warning. See [2025-04-11T10:18:10.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:18:10.661Z] [2025-04-11T10:18:10.661Z] Login Succeeded [2025-04-11T10:18:10.661Z] nexus3.edgexfoundry.org:10002 [2025-04-11T10:18:10.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:18:10.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:18:10.944Z] Configure a credential helper to remove this warning. See [2025-04-11T10:18:10.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:18:10.944Z] [2025-04-11T10:18:10.944Z] Login Succeeded [2025-04-11T10:18:10.944Z] nexus3.edgexfoundry.org:10003 [2025-04-11T10:18:10.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:18:10.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:18:10.944Z] Configure a credential helper to remove this warning. See [2025-04-11T10:18:10.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:18:10.944Z] [2025-04-11T10:18:10.944Z] Login Succeeded [2025-04-11T10:18:10.944Z] nexus3.edgexfoundry.org:10004 [2025-04-11T10:18:10.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:18:10.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:18:10.944Z] Configure a credential helper to remove this warning. See [2025-04-11T10:18:10.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:18:10.944Z] [2025-04-11T10:18:10.944Z] Login Succeeded [2025-04-11T10:18:10.944Z] ****.io [2025-04-11T10:18:11.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:18:11.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:18:11.204Z] Configure a credential helper to remove this warning. See [2025-04-11T10:18:11.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:18:11.204Z] [2025-04-11T10:18:11.204Z] Login Succeeded [2025-04-11T10:18:11.204Z] ---> ****-login.sh ends [Pipeline] } [2025-04-11T10:18:11.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-04-11T10:18:11.965Z] + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-11T10:18:12.002Z] -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh [2025-04-11T10:18:12.293Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-11T10:18:12.318Z] ========================================================= [2025-04-11T10:18:12.318Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-04-11T10:18:12.318Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-04-11T10:18:12.712Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-11T10:18:12.724Z] [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo [2025-04-11T10:18:12.736Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-04-11T10:18:13.392Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-04-11T10:18:13.392Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-04-11T10:18:13.392Z] + [ -e /tmp/ssh_known_hosts ] [2025-04-11T10:18:13.392Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-04-11T10:18:13.392Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-04-11T10:18:13.392Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-04-11T10:18:13.392Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:18:13.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-11T10:18:13.890Z] [2025-04-11T10:18:13.890Z] 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-11T10:18:14.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-11T10:18:14.261Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-04-11T10:18:14.261Z] b85a868b505f: Pulling fs layer [2025-04-11T10:18:14.261Z] e2be974225ed: Pulling fs layer [2025-04-11T10:18:14.261Z] 339a4e72a1f5: Pulling fs layer [2025-04-11T10:18:14.261Z] 988bab9f4d93: Pulling fs layer [2025-04-11T10:18:14.261Z] 1469e6f7b9e6: Pulling fs layer [2025-04-11T10:18:14.261Z] eaf3925da568: Pulling fs layer [2025-04-11T10:18:14.261Z] bab4dde63d76: Pulling fs layer [2025-04-11T10:18:14.261Z] bde34c3a00c8: Pulling fs layer [2025-04-11T10:18:14.261Z] b352a97aabf1: Pulling fs layer [2025-04-11T10:18:14.261Z] 4872d77fe225: Pulling fs layer [2025-04-11T10:18:14.261Z] 5851b861e8e6: Pulling fs layer [2025-04-11T10:18:14.261Z] bde34c3a00c8: Waiting [2025-04-11T10:18:14.261Z] bab4dde63d76: Waiting [2025-04-11T10:18:14.261Z] 988bab9f4d93: Waiting [2025-04-11T10:18:14.261Z] eaf3925da568: Waiting [2025-04-11T10:18:14.261Z] b352a97aabf1: Waiting [2025-04-11T10:18:14.261Z] 5851b861e8e6: Waiting [2025-04-11T10:18:14.261Z] 4872d77fe225: Waiting [2025-04-11T10:18:14.261Z] e2be974225ed: Verifying Checksum [2025-04-11T10:18:14.261Z] e2be974225ed: Download complete [2025-04-11T10:18:14.261Z] 988bab9f4d93: Verifying Checksum [2025-04-11T10:18:14.261Z] 988bab9f4d93: Download complete [2025-04-11T10:18:14.520Z] 339a4e72a1f5: Verifying Checksum [2025-04-11T10:18:14.520Z] 339a4e72a1f5: Download complete [2025-04-11T10:18:14.520Z] 1469e6f7b9e6: Verifying Checksum [2025-04-11T10:18:14.520Z] 1469e6f7b9e6: Download complete [2025-04-11T10:18:14.520Z] eaf3925da568: Verifying Checksum [2025-04-11T10:18:14.520Z] eaf3925da568: Download complete [2025-04-11T10:18:14.520Z] bde34c3a00c8: Verifying Checksum [2025-04-11T10:18:14.520Z] bde34c3a00c8: Download complete [2025-04-11T10:18:14.520Z] b352a97aabf1: Download complete [2025-04-11T10:18:14.520Z] 4872d77fe225: Verifying Checksum [2025-04-11T10:18:14.520Z] 4872d77fe225: Download complete [2025-04-11T10:18:14.520Z] 5851b861e8e6: Verifying Checksum [2025-04-11T10:18:14.520Z] 5851b861e8e6: Download complete [2025-04-11T10:18:14.520Z] b85a868b505f: Verifying Checksum [2025-04-11T10:18:14.520Z] b85a868b505f: Download complete [2025-04-11T10:18:14.780Z] bab4dde63d76: Verifying Checksum [2025-04-11T10:18:14.780Z] bab4dde63d76: Download complete [2025-04-11T10:18:15.726Z] b85a868b505f: Pull complete [2025-04-11T10:18:15.986Z] e2be974225ed: Pull complete [2025-04-11T10:18:16.558Z] 339a4e72a1f5: Pull complete [2025-04-11T10:18:16.558Z] 988bab9f4d93: Pull complete [2025-04-11T10:18:16.816Z] 1469e6f7b9e6: Pull complete [2025-04-11T10:18:16.816Z] eaf3925da568: Pull complete [2025-04-11T10:18:18.737Z] bab4dde63d76: Pull complete [2025-04-11T10:18:18.737Z] bde34c3a00c8: Pull complete [2025-04-11T10:18:18.999Z] b352a97aabf1: Pull complete [2025-04-11T10:18:18.999Z] 4872d77fe225: Pull complete [2025-04-11T10:18:18.999Z] 5851b861e8e6: Pull complete [2025-04-11T10:18:19.265Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-04-11T10:18:19.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-11T10:18:19.265Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-11T10:18:19.401Z] prd-ubuntu20.04-docker-8c-8g-44772 does not seem to be running inside a container [2025-04-11T10:18:19.438Z] $ 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-11T10:18:22.788Z] $ docker top e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 -eo pid,comm [2025-04-11T10:18:22.845Z] 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-11T10:18:22.845Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-04-11T10:18:22.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-11T10:18:22.930Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-11T10:18:23.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-11T10:18:23.074Z] $ docker exec e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent [2025-04-11T10:18:23.191Z] SSH_AUTH_SOCK=/tmp/ssh-pybkvqNW8oHX/agent.33 [2025-04-11T10:18:23.191Z] SSH_AGENT_PID=39 [2025-04-11T10:18:23.196Z] Running ssh-add (command line suppressed) [2025-04-11T10:18:23.302Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12351042618055701685.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12351042618055701685.key) [2025-04-11T10:18:23.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-11T10:18:23.604Z] + git tag --points-at HEAD [Pipeline] } [2025-04-11T10:18:23.614Z] $ docker exec --env ******** --env ******** e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent -k [2025-04-11T10:18:23.710Z] unset SSH_AUTH_SOCK; [2025-04-11T10:18:23.711Z] unset SSH_AGENT_PID; [2025-04-11T10:18:23.711Z] echo Agent pid 39 killed; [2025-04-11T10:18:23.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-04-11T10:18:23.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-11T10:18:23.815Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-11T10:18:23.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-11T10:18:23.925Z] $ docker exec e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent [2025-04-11T10:18:24.036Z] SSH_AUTH_SOCK=/tmp/ssh-eQGjHFjkoBjv/agent.72 [2025-04-11T10:18:24.036Z] SSH_AGENT_PID=78 [2025-04-11T10:18:24.041Z] Running ssh-add (command line suppressed) [2025-04-11T10:18:24.148Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_3683225826212640058.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_3683225826212640058.key) [2025-04-11T10:18:24.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-11T10:18:24.477Z] + git semver init [2025-04-11T10:18:24.740Z] 2025-04-11 10:18:24,640 [run_init] DEBUG init version:0.0.0 force:False [2025-04-11T10:18:24.740Z] 2025-04-11 10:18:24,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-11T10:18:24.740Z] 2025-04-11 10:18:24,641 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-11T10:18:24.740Z] 2025-04-11 10:18:24,641 [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-11T10:18:25.355Z] 2025-04-11 10:18:25,295 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude [2025-04-11T10:18:25.355Z] 2025-04-11 10:18:25,296 [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-11T10:18:25.355Z] 2025-04-11 10:18:25,296 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-11T10:18:25.355Z] 2025-04-11 10:18:25,300 [execute] INFO git cat-file --batch-check [2025-04-11T10:18:25.355Z] 2025-04-11 10:18:25,300 [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-11T10:18:25.355Z] 2025-04-11 10:18:25,306 [execute] INFO git cat-file --batch [2025-04-11T10:18:25.355Z] 2025-04-11 10:18:25,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_sample-service_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2025-04-11T10:18:25.355Z] 2025-04-11 10:18:25,319 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-11T10:18:25.355Z] 0.0.0 [Pipeline] } [2025-04-11T10:18:25.434Z] $ docker exec --env ******** --env ******** e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 ssh-agent -k [2025-04-11T10:18:25.515Z] unset SSH_AUTH_SOCK; [2025-04-11T10:18:25.516Z] unset SSH_AGENT_PID; [2025-04-11T10:18:25.516Z] echo Agent pid 78 killed; [2025-04-11T10:18:25.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-11T10:18:25.863Z] + git semver [Pipeline] } [2025-04-11T10:18:26.142Z] $ docker stop --time=1 e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 [2025-04-11T10:18:27.467Z] $ docker rm -f --volumes e085e1866ab58da5b9b1c981d92741d216e5d4490d70b4a20c482208fb83fab1 [Pipeline] // withDockerContainer [Pipeline] sh [2025-04-11T10:18:27.826Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-04-11T10:18:28.080Z] Stashed 1 file(s) [Pipeline] echo [2025-04-11T10:18:28.083Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-04-11T10:18:28.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-04-11T10:18:29.072Z] + ls -al . [2025-04-11T10:18:29.072Z] total 152 [2025-04-11T10:18:29.072Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 10:18 . [2025-04-11T10:18:29.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:18 .. [2025-04-11T10:18:29.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 10:18 .git [2025-04-11T10:18:29.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 .github [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 46 Apr 11 10:18 .gitignore [2025-04-11T10:18:29.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 10:18 .semver [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 4832 Apr 11 10:18 Attribution.txt [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 34862 Apr 11 10:18 CHANGELOG.md [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 1434 Apr 11 10:18 Dockerfile [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 706 Apr 11 10:18 Jenkinsfile [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 729 Apr 11 10:18 Jenkinsfile-sandbox [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 3586 Apr 11 10:18 Jenkinsfile.edgexSemver [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 10:18 LICENSE [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 1308 Apr 11 10:18 Makefile [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 3063 Apr 11 10:18 README.md [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 10:18 VERSION [2025-04-11T10:18:29.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 api [2025-04-11T10:18:29.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 bin [2025-04-11T10:18:29.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 cmd [2025-04-11T10:18:29.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 driver [2025-04-11T10:18:29.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 example [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 1955 Apr 11 10:18 go.mod [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 13083 Apr 11 10:18 go.sum [2025-04-11T10:18:29.072Z] -rw-rw-r-- 1 jenkins jenkins 225 Apr 11 10:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:18:29.397Z] + docker build -t sample-service -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa --label build_arch=amd64 --label version=0.0.0 . [2025-04-11T10:18:29.397Z] Sending build context to Docker daemon 2.703MB [2025-04-11T10:18:29.397Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2025-04-11T10:18:29.397Z] Step 2/23 : FROM ${BASE} AS builder [2025-04-11T10:18:29.397Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-04-11T10:18:29.397Z] 0a9a5dfd008f: Pulling fs layer [2025-04-11T10:18:29.397Z] dbfa0bcfca99: Pulling fs layer [2025-04-11T10:18:29.397Z] 70eabb1d9476: Pulling fs layer [2025-04-11T10:18:29.397Z] 957bedc73fa3: Pulling fs layer [2025-04-11T10:18:29.397Z] 4f4fb700ef54: Pulling fs layer [2025-04-11T10:18:29.397Z] f40432e63723: Pulling fs layer [2025-04-11T10:18:29.397Z] 90b4343acab7: Pulling fs layer [2025-04-11T10:18:29.397Z] 4f4fb700ef54: Waiting [2025-04-11T10:18:29.397Z] f40432e63723: Waiting [2025-04-11T10:18:29.397Z] 9f67ea4ac784: Pulling fs layer [2025-04-11T10:18:29.397Z] 9228b9a606be: Pulling fs layer [2025-04-11T10:18:29.397Z] 90b4343acab7: Waiting [2025-04-11T10:18:29.397Z] 9f67ea4ac784: Waiting [2025-04-11T10:18:29.397Z] dbfa0bcfca99: Verifying Checksum [2025-04-11T10:18:29.397Z] dbfa0bcfca99: Download complete [2025-04-11T10:18:29.397Z] 957bedc73fa3: Download complete [2025-04-11T10:18:29.681Z] 4f4fb700ef54: Verifying Checksum [2025-04-11T10:18:29.681Z] 4f4fb700ef54: Download complete [2025-04-11T10:18:29.681Z] 0a9a5dfd008f: Verifying Checksum [2025-04-11T10:18:29.681Z] 0a9a5dfd008f: Download complete [2025-04-11T10:18:29.681Z] f40432e63723: Verifying Checksum [2025-04-11T10:18:29.681Z] f40432e63723: Download complete [2025-04-11T10:18:29.681Z] 90b4343acab7: Verifying Checksum [2025-04-11T10:18:29.681Z] 90b4343acab7: Download complete [2025-04-11T10:18:29.681Z] 0a9a5dfd008f: Pull complete [2025-04-11T10:18:29.943Z] 9228b9a606be: Verifying Checksum [2025-04-11T10:18:29.943Z] 9228b9a606be: Download complete [2025-04-11T10:18:29.943Z] dbfa0bcfca99: Pull complete [2025-04-11T10:18:29.943Z] 70eabb1d9476: Download complete [2025-04-11T10:18:30.513Z] 9f67ea4ac784: Verifying Checksum [2025-04-11T10:18:30.513Z] 9f67ea4ac784: Download complete [2025-04-11T10:18:33.810Z] 70eabb1d9476: Pull complete [2025-04-11T10:18:33.810Z] 957bedc73fa3: Pull complete [2025-04-11T10:18:33.810Z] 4f4fb700ef54: Pull complete [2025-04-11T10:18:34.070Z] f40432e63723: Pull complete [2025-04-11T10:18:34.070Z] 90b4343acab7: Pull complete [2025-04-11T10:18:36.628Z] 9f67ea4ac784: Pull complete [2025-04-11T10:18:36.886Z] 9228b9a606be: Pull complete [2025-04-11T10:18:37.146Z] Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 [2025-04-11T10:18:37.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-04-11T10:18:37.146Z] ---> 69404ca5bff2 [2025-04-11T10:18:37.146Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-11T10:18:43.723Z] ---> Running in d66c844c1f37 [2025-04-11T10:18:43.723Z] Removing intermediate container d66c844c1f37 [2025-04-11T10:18:43.723Z] ---> 42a0fe2d86ca [2025-04-11T10:18:43.723Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2025-04-11T10:18:43.723Z] ---> Running in 1a68d9c23f51 [2025-04-11T10:18:43.723Z] Removing intermediate container 1a68d9c23f51 [2025-04-11T10:18:43.723Z] ---> ffb784437c88 [2025-04-11T10:18:43.723Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-11T10:18:43.723Z] ---> Running in 0c0510d63901 [2025-04-11T10:18:43.723Z] Removing intermediate container 0c0510d63901 [2025-04-11T10:18:43.723Z] ---> bbb3a3a6b26e [2025-04-11T10:18:43.723Z] Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-11T10:18:43.723Z] ---> Running in a5b83c8ca084 [2025-04-11T10:18:43.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-11T10:18:44.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-11T10:18:44.510Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-04-11T10:18:44.510Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-04-11T10:18:44.510Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-04-11T10:18:44.774Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-04-11T10:18:44.774Z] Executing busybox-1.36.1-r29.trigger [2025-04-11T10:18:44.774Z] OK: 252 MiB in 62 packages [2025-04-11T10:18:45.347Z] Removing intermediate container a5b83c8ca084 [2025-04-11T10:18:45.347Z] ---> c2a74b803ffe [2025-04-11T10:18:45.347Z] Step 7/23 : WORKDIR /sample-service [2025-04-11T10:18:45.347Z] ---> Running in 0e4306a699bb [2025-04-11T10:18:45.347Z] Removing intermediate container 0e4306a699bb [2025-04-11T10:18:45.347Z] ---> 36a286725fc9 [2025-04-11T10:18:45.347Z] Step 8/23 : COPY go.mod vendor* ./ [2025-04-11T10:18:45.347Z] ---> d22b359cb154 [2025-04-11T10:18:45.347Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-11T10:18:45.347Z] ---> Running in 8560d22b6281 [2025-04-11T10:18:55.376Z] Removing intermediate container 8560d22b6281 [2025-04-11T10:18:55.376Z] ---> 0c2607ac0cc4 [2025-04-11T10:18:55.376Z] Step 10/23 : COPY . . [2025-04-11T10:18:55.376Z] ---> c4f288079ba0 [2025-04-11T10:18:55.376Z] Step 11/23 : ARG MAKE='make build' [2025-04-11T10:18:55.376Z] ---> Running in 7779ff8471d9 [2025-04-11T10:18:55.376Z] Removing intermediate container 7779ff8471d9 [2025-04-11T10:18:55.376Z] ---> 86a2d3075bdc [2025-04-11T10:18:55.376Z] Step 12/23 : RUN $MAKE [2025-04-11T10:18:55.376Z] ---> Running in 671769906b07 [2025-04-11T10:18:55.376Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd [2025-04-11T10:19:07.666Z] Removing intermediate container 671769906b07 [2025-04-11T10:19:07.666Z] ---> c1d9082277a3 [2025-04-11T10:19:07.666Z] Step 13/23 : FROM alpine:3.18 [2025-04-11T10:19:07.666Z] 3.18: Pulling from library/alpine [2025-04-11T10:19:07.934Z] 44cf07d57ee4: Pulling fs layer [2025-04-11T10:19:08.207Z] 44cf07d57ee4: Download complete [2025-04-11T10:19:08.207Z] 44cf07d57ee4: Pull complete [2025-04-11T10:19:08.207Z] Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f [2025-04-11T10:19:08.207Z] Status: Downloaded newer image for alpine:3.18 [2025-04-11T10:19:08.207Z] ---> 802c91d52981 [2025-04-11T10:19:08.207Z] Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-11T10:19:08.479Z] ---> Running in 7f7672c16229 [2025-04-11T10:19:08.479Z] Removing intermediate container 7f7672c16229 [2025-04-11T10:19:08.479Z] ---> dc030ebbb888 [2025-04-11T10:19:08.479Z] Step 15/23 : ENV APP_PORT=49999 [2025-04-11T10:19:08.479Z] ---> Running in 00b24616a21c [2025-04-11T10:19:08.479Z] Removing intermediate container 00b24616a21c [2025-04-11T10:19:08.479Z] ---> e5af8c62c2d2 [2025-04-11T10:19:08.479Z] Step 16/23 : EXPOSE $APP_PORT [2025-04-11T10:19:08.479Z] ---> Running in 91ab20801bbb [2025-04-11T10:19:08.744Z] Removing intermediate container 91ab20801bbb [2025-04-11T10:19:08.744Z] ---> 4cd000af23fd [2025-04-11T10:19:08.744Z] Step 17/23 : COPY --from=builder /sample-service/cmd / [2025-04-11T10:19:09.002Z] ---> 82c068477de3 [2025-04-11T10:19:09.002Z] Step 18/23 : COPY --from=builder /sample-service/LICENSE / [2025-04-11T10:19:09.279Z] ---> b18fbbbaafd6 [2025-04-11T10:19:09.279Z] Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / [2025-04-11T10:19:09.279Z] ---> 26eb8db9dfb3 [2025-04-11T10:19:09.279Z] Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2025-04-11T10:19:09.279Z] ---> Running in 0937fd3afda1 [2025-04-11T10:19:09.546Z] Removing intermediate container 0937fd3afda1 [2025-04-11T10:19:09.546Z] ---> 712d36b7d501 [2025-04-11T10:19:09.546Z] Step 21/23 : LABEL build_arch=amd64 [2025-04-11T10:19:09.546Z] ---> Running in f9838849d6cf [2025-04-11T10:19:09.546Z] Removing intermediate container f9838849d6cf [2025-04-11T10:19:09.546Z] ---> 950ef7c18f2b [2025-04-11T10:19:09.546Z] Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-11T10:19:09.546Z] ---> Running in e5e895cf1249 [2025-04-11T10:19:09.546Z] Removing intermediate container e5e895cf1249 [2025-04-11T10:19:09.546Z] ---> d7c6e4c11c8c [2025-04-11T10:19:09.546Z] Step 23/23 : LABEL version=0.0.0 [2025-04-11T10:19:09.823Z] ---> Running in db3e721ce0e0 [2025-04-11T10:19:09.823Z] Removing intermediate container db3e721ce0e0 [2025-04-11T10:19:09.823Z] ---> b56231854e7f [2025-04-11T10:19:09.823Z] [Warning] One or more build-args [ARCH] were not consumed [2025-04-11T10:19:09.823Z] Successfully built b56231854e7f [2025-04-11T10:19:09.823Z] 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-11T10:19:09.966Z] provisioning config files... [2025-04-11T10:19:09.979Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15717071224859820331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:19:10.314Z] ---> ****-login.sh [2025-04-11T10:19:10.314Z] nexus3.edgexfoundry.org:10001 [2025-04-11T10:19:10.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:19:10.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:19:10.315Z] Configure a credential helper to remove this warning. See [2025-04-11T10:19:10.315Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:19:10.315Z] [2025-04-11T10:19:10.315Z] Login Succeeded [2025-04-11T10:19:10.315Z] nexus3.edgexfoundry.org:10002 [2025-04-11T10:19:10.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:19:10.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:19:10.576Z] Configure a credential helper to remove this warning. See [2025-04-11T10:19:10.576Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:19:10.576Z] [2025-04-11T10:19:10.576Z] Login Succeeded [2025-04-11T10:19:10.576Z] nexus3.edgexfoundry.org:10003 [2025-04-11T10:19:10.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:19:10.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:19:10.576Z] Configure a credential helper to remove this warning. See [2025-04-11T10:19:10.576Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:19:10.576Z] [2025-04-11T10:19:10.576Z] Login Succeeded [2025-04-11T10:19:10.576Z] nexus3.edgexfoundry.org:10004 [2025-04-11T10:19:10.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:19:10.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:19:10.576Z] Configure a credential helper to remove this warning. See [2025-04-11T10:19:10.576Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:19:10.576Z] [2025-04-11T10:19:10.576Z] Login Succeeded [2025-04-11T10:19:10.861Z] ****.io [2025-04-11T10:19:10.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:19:10.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:19:10.861Z] Configure a credential helper to remove this warning. See [2025-04-11T10:19:10.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:19:10.861Z] [2025-04-11T10:19:10.861Z] Login Succeeded [2025-04-11T10:19:10.861Z] ---> ****-login.sh ends [Pipeline] } [2025-04-11T10:19:10.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-11T10:19:10.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-11T10:19:10.940Z] [edgeXDocker.push] Tagging docker image sample-service with the following tags: [2025-04-11T10:19:10.940Z] latest [2025-04-11T10:19:10.940Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:19:11.382Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:19:11.713Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-11T10:19:11.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-11T10:19:11.713Z] d108758c4628: Preparing [2025-04-11T10:19:11.713Z] fe7fed9a8ed5: Preparing [2025-04-11T10:19:11.713Z] ea71c56e4162: Preparing [2025-04-11T10:19:11.713Z] f44f286046d9: Preparing [2025-04-11T10:19:11.713Z] f44f286046d9: Layer already exists [2025-04-11T10:19:11.713Z] d108758c4628: Pushed [2025-04-11T10:19:11.713Z] fe7fed9a8ed5: Pushed [2025-04-11T10:19:13.127Z] ea71c56e4162: Pushed [2025-04-11T10:19:13.127Z] latest: digest: sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-11T10:19:13.207Z] ===================================================== [Pipeline] echo [2025-04-11T10:19:13.227Z] taggedImages: [2025-04-11T10:19:13.227Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] echo [2025-04-11T10:19:13.261Z] ========================================================= [2025-04-11T10:19:13.261Z] [edgeXBuildMultiArch] RAW Config: [2025-04-11T10:19:13.261Z] images: [2025-04-11T10:19:13.261Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-11T10:19:13.261Z] settingsFile: [2025-04-11T10:19:13.261Z] sample-service-settings [2025-04-11T10:19:13.261Z] ========================================================= [Pipeline] node [2025-04-11T10:19:28.267Z] Still waiting to schedule task [2025-04-11T10:19:28.268Z] All nodes of label ‘centos7-docker-4c-2g’ are offline [2025-04-11T10:20:29.498Z] Running on prd-centos7-docker-4c-2g-44773 in /w/workspace/gexfoundry_sample-service_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-11T10:20:29.542Z] provisioning config files... [2025-04-11T10:20:29.627Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config1628821368097949266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:20:30.679Z] ---> ****-login.sh [2025-04-11T10:20:30.679Z] nexus3.edgexfoundry.org:10001 [2025-04-11T10:20:30.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:20:30.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:20:30.948Z] Configure a credential helper to remove this warning. See [2025-04-11T10:20:30.948Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:20:30.948Z] [2025-04-11T10:20:30.948Z] Login Succeeded [2025-04-11T10:20:30.948Z] nexus3.edgexfoundry.org:10002 [2025-04-11T10:20:30.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:20:31.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:20:31.225Z] Configure a credential helper to remove this warning. See [2025-04-11T10:20:31.225Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:20:31.225Z] [2025-04-11T10:20:31.225Z] Login Succeeded [2025-04-11T10:20:31.225Z] nexus3.edgexfoundry.org:10003 [2025-04-11T10:20:31.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:20:31.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:20:31.225Z] Configure a credential helper to remove this warning. See [2025-04-11T10:20:31.225Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:20:31.225Z] [2025-04-11T10:20:31.225Z] Login Succeeded [2025-04-11T10:20:31.225Z] nexus3.edgexfoundry.org:10004 [2025-04-11T10:20:31.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:20:31.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:20:31.225Z] Configure a credential helper to remove this warning. See [2025-04-11T10:20:31.225Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:20:31.225Z] [2025-04-11T10:20:31.225Z] Login Succeeded [2025-04-11T10:20:31.225Z] ****.io [2025-04-11T10:20:31.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-11T10:20:31.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-11T10:20:31.486Z] Configure a credential helper to remove this warning. See [2025-04-11T10:20:31.486Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-11T10:20:31.486Z] [2025-04-11T10:20:31.486Z] Login Succeeded [2025-04-11T10:20:31.486Z] ---> ****-login.sh ends [Pipeline] } [2025-04-11T10:20:31.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-11T10:20:31.837Z] + docker buildx ls [2025-04-11T10:20:32.957Z] NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS [2025-04-11T10:20:32.957Z] default * docker [2025-04-11T10:20:32.957Z] default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh [2025-04-11T10:20:33.268Z] + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use [2025-04-11T10:20:33.268Z] edgex-builder [Pipeline] sh [2025-04-11T10:20:34.273Z] + docker buildx inspect --bootstrap [2025-04-11T10:20:34.273Z] #1 [internal] booting buildkit [2025-04-11T10:20:34.273Z] #1 pulling image moby/buildkit:buildx-stable-1 [2025-04-11T10:20:38.242Z] #1 pulling image moby/buildkit:buildx-stable-1 4.8s done [2025-04-11T10:20:38.242Z] #1 ERROR: Error response from daemon: Get "https://registry-1.docker.io/v2/": read tcp 10.30.123.84:41058->3.94.224.37:443: read: connection reset by peer [2025-04-11T10:20:38.242Z] ------ [2025-04-11T10:20:38.242Z] > [internal] booting buildkit: [2025-04-11T10:20:38.242Z] ------ [2025-04-11T10:20:38.242Z] Name: edgex-builder [2025-04-11T10:20:38.242Z] Driver: docker-container [2025-04-11T10:20:38.242Z] [2025-04-11T10:20:38.242Z] Nodes: [2025-04-11T10:20:38.242Z] Name: edgex-builder0 [2025-04-11T10:20:38.242Z] Endpoint: unix:///var/run/docker.sock [2025-04-11T10:20:38.242Z] Error: Error response from daemon: Get "https://registry-1.docker.io/v2/": read tcp 10.30.123.84:41058->3.94.224.37:443: read: connection reset by peer [Pipeline] sh [2025-04-11T10:20:38.575Z] + docker buildx ls [2025-04-11T10:20:38.575Z] NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS [2025-04-11T10:20:38.575Z] edgex-builder * docker-container [2025-04-11T10:20:38.575Z] edgex-builder0 unix:///var/run/docker.sock inactive linux/amd64*, linux/arm64* [2025-04-11T10:20:38.575Z] default docker [2025-04-11T10:20:38.575Z] default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh [2025-04-11T10:20:39.726Z] + docker buildx build --platform linux/amd64,linux/arm64 --label support_platforms=linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/sample-service:latest --push - [2025-04-11T10:20:39.727Z] + echo -e 'FROM nexus3.edgexfoundry.org:10004/sample-service:latest' [2025-04-11T10:20:39.727Z] #1 [internal] booting buildkit [2025-04-11T10:20:39.727Z] #1 pulling image moby/buildkit:buildx-stable-1 [2025-04-11T10:20:43.049Z] #1 pulling image moby/buildkit:buildx-stable-1 3.6s done [2025-04-11T10:20:43.049Z] #1 creating container buildx_buildkit_edgex-builder0 [2025-04-11T10:20:44.989Z] #1 creating container buildx_buildkit_edgex-builder0 2.6s done [2025-04-11T10:20:44.989Z] #1 DONE 6.2s [2025-04-11T10:20:44.989Z] [2025-04-11T10:20:44.989Z] #2 [internal] load build definition from Dockerfile [2025-04-11T10:20:44.989Z] #2 transferring dockerfile: 165B done [2025-04-11T10:20:44.989Z] #2 DONE 0.0s [2025-04-11T10:20:45.251Z] [2025-04-11T10:20:45.251Z] #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-11T10:20:45.251Z] #3 DONE 0.1s [2025-04-11T10:20:45.251Z] [2025-04-11T10:20:45.251Z] #4 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-11T10:20:45.251Z] #4 DONE 0.1s [2025-04-11T10:20:45.251Z] [2025-04-11T10:20:45.251Z] #5 [internal] load .dockerignore [2025-04-11T10:20:45.251Z] #5 transferring context: 2B done [2025-04-11T10:20:45.251Z] #5 DONE 0.0s [2025-04-11T10:20:45.251Z] [2025-04-11T10:20:45.251Z] #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b [2025-04-11T10:20:45.251Z] #6 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b 0.0s done [2025-04-11T10:20:45.252Z] #6 DONE 0.0s [2025-04-11T10:20:45.252Z] [2025-04-11T10:20:45.252Z] #7 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b [2025-04-11T10:20:45.252Z] #7 resolve nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:bd720b9dbb10e39bd3e2640e3f9cc8eb31af1057a916ab872632bbf51f00903b 0.0s done [2025-04-11T10:20:45.252Z] #7 DONE 0.1s [2025-04-11T10:20:45.252Z] [2025-04-11T10:20:45.252Z] #8 exporting to image [2025-04-11T10:20:45.252Z] #8 exporting layers done [2025-04-11T10:20:45.252Z] #8 exporting manifest sha256:3fadef335885855b37adddbd98e8caa44dbb17067830c66329823836d08fa5b5 0.0s done [2025-04-11T10:20:45.252Z] #8 exporting config sha256:aa6a1e034846f7f8a51a88374fdc46794c3b01436b44b393e2a43a019952a46f done [2025-04-11T10:20:45.252Z] #8 exporting manifest sha256:7561f6de8a3b77afc5235e4517cd5cb0fa6dcd3bc8d2af84d4ffb10a7c64c6a3 done [2025-04-11T10:20:45.252Z] #8 exporting config sha256:214682da0abd90115a7bba607d08d4cf49096d75c59bb7379e5014f25a35a3e8 done [2025-04-11T10:20:45.252Z] #8 exporting manifest list sha256:654af50c97e516816b548212d0e2cb958eb6badec167e66317f5eae70510038c 0.0s done [2025-04-11T10:20:45.252Z] #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [2025-04-11T10:20:45.513Z] #8 ... [2025-04-11T10:20:45.513Z] [2025-04-11T10:20:45.513Z] #9 [auth] sample-service:pull,push token for nexus3.edgexfoundry.org:10004 [2025-04-11T10:20:45.513Z] #9 DONE 0.0s [2025-04-11T10:20:45.513Z] [2025-04-11T10:20:45.513Z] #8 exporting to image [2025-04-11T10:20:45.513Z] #8 pushing layers 0.1s done [2025-04-11T10:20:45.513Z] #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:654af50c97e516816b548212d0e2cb958eb6badec167e66317f5eae70510038c [2025-04-11T10:20:45.513Z] #8 pushing manifest for nexus3.edgexfoundry.org:10004/sample-service:latest@sha256:654af50c97e516816b548212d0e2cb958eb6badec167e66317f5eae70510038c 0.1s done [2025-04-11T10:20:45.513Z] #8 DONE 0.2s [2025-04-11T10:20:45.513Z] [2025-04-11T10:20:45.513Z] 1 warning found (use --debug to expand): [2025-04-11T10:20:45.513Z]  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-04-11T10:20:45.929Z] + '[' -d /w/workspace/gexfoundry_sample-service_PR-165/archives ']' [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:20:46.234Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:20:46.812Z] ---> package-listing.sh [2025-04-11T10:20:46.812Z] ++ facter osfamily [2025-04-11T10:20:46.812Z] ++ tr '[:upper:]' '[:lower:]' [2025-04-11T10:20:47.079Z] + OS_FAMILY=redhat [2025-04-11T10:20:47.079Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-04-11T10:20:47.079Z] + START_PACKAGES=/tmp/packages_start.txt [2025-04-11T10:20:47.079Z] + END_PACKAGES=/tmp/packages_end.txt [2025-04-11T10:20:47.079Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-04-11T10:20:47.079Z] + PACKAGES=/tmp/packages_start.txt [2025-04-11T10:20:47.079Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-11T10:20:47.079Z] + PACKAGES=/tmp/packages_end.txt [2025-04-11T10:20:47.079Z] + case "${OS_FAMILY}" in [2025-04-11T10:20:47.079Z] + rpm -qa [2025-04-11T10:20:47.079Z] + sort [2025-04-11T10:20:47.655Z] + '[' -f /tmp/packages_start.txt ']' [2025-04-11T10:20:47.655Z] + '[' -f /tmp/packages_end.txt ']' [2025-04-11T10:20:47.655Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-04-11T10:20:47.655Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-11T10:20:47.655Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-04-11T10:20:47.655Z] + 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-11T10:20:47.663Z] 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-11T10:20:47.951Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:20:48.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-11T10:20:48.548Z] [2025-04-11T10:20:48.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:20:48.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-11T10:20:48.898Z] latest: Pulling from edgex-lftools-log-publisher [2025-04-11T10:20:48.898Z] 5eb5b503b376: Pulling fs layer [2025-04-11T10:20:48.898Z] 5c69ac0246d0: Pulling fs layer [2025-04-11T10:20:48.898Z] ec43610c2a17: Pulling fs layer [2025-04-11T10:20:48.898Z] 3a2ae6a8a46f: Pulling fs layer [2025-04-11T10:20:48.898Z] 33b1e0a273af: Pulling fs layer [2025-04-11T10:20:48.898Z] 5d3b04190fa2: Pulling fs layer [2025-04-11T10:20:48.898Z] 2f39f015ded8: Pulling fs layer [2025-04-11T10:20:48.898Z] 3a2ae6a8a46f: Waiting [2025-04-11T10:20:48.898Z] 33b1e0a273af: Waiting [2025-04-11T10:20:48.898Z] 5d3b04190fa2: Waiting [2025-04-11T10:20:48.898Z] 2f39f015ded8: Waiting [2025-04-11T10:20:48.898Z] 5c69ac0246d0: Verifying Checksum [2025-04-11T10:20:48.898Z] 5c69ac0246d0: Download complete [2025-04-11T10:20:48.898Z] 3a2ae6a8a46f: Verifying Checksum [2025-04-11T10:20:48.898Z] 3a2ae6a8a46f: Download complete [2025-04-11T10:20:48.898Z] ec43610c2a17: Verifying Checksum [2025-04-11T10:20:48.898Z] ec43610c2a17: Download complete [2025-04-11T10:20:48.898Z] 5d3b04190fa2: Verifying Checksum [2025-04-11T10:20:48.898Z] 5d3b04190fa2: Download complete [2025-04-11T10:20:49.161Z] 33b1e0a273af: Verifying Checksum [2025-04-11T10:20:49.161Z] 33b1e0a273af: Download complete [2025-04-11T10:20:49.161Z] 5eb5b503b376: Verifying Checksum [2025-04-11T10:20:49.161Z] 5eb5b503b376: Download complete [2025-04-11T10:20:49.760Z] 2f39f015ded8: Verifying Checksum [2025-04-11T10:20:49.760Z] 2f39f015ded8: Download complete [2025-04-11T10:20:50.740Z] 5eb5b503b376: Pull complete [2025-04-11T10:20:50.740Z] 5c69ac0246d0: Pull complete [2025-04-11T10:20:51.006Z] ec43610c2a17: Pull complete [2025-04-11T10:20:51.272Z] 3a2ae6a8a46f: Pull complete [2025-04-11T10:20:51.534Z] 33b1e0a273af: Pull complete [2025-04-11T10:20:52.109Z] 5d3b04190fa2: Pull complete [2025-04-11T10:20:55.444Z] 2f39f015ded8: Pull complete [2025-04-11T10:20:55.444Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-04-11T10:20:55.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-11T10:20:55.444Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-11T10:20:55.633Z] prd-centos7-docker-4c-2g-44773 does not seem to be running inside a container [2025-04-11T10:20:55.685Z] $ 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-11T10:21:02.158Z] $ docker top b3b6d8b0f8630e5ab68a63ba0edfce4b59b530d27480e3b532f16b052647e25d -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-11T10:21:02.532Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-04-11T10:21:02.828Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-04-11T10:21:03.131Z] + ls /var/log/sa-host [2025-04-11T10:21:03.131Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-11T10:21:03.371Z] provisioning config files... [2025-04-11T10:21:03.404Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config9720776299364622269tmp [Pipeline] { [Pipeline] echo [2025-04-11T10:21:03.467Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:03.760Z] ---> create-netrc.sh [Pipeline] } [2025-04-11T10:21:03.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:04.212Z] ---> python-tools-install.sh [Pipeline] echo [2025-04-11T10:21:04.233Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:04.528Z] ---> sudo-logs.sh [2025-04-11T10:21:04.529Z] Archiving 'sudo' log.. [2025-04-11T10:21:04.529Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-44773.novalocal: Name or service not known [2025-04-11T10:21:04.529Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-44773.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2025-04-11T10:21:04.563Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:04.872Z] ---> job-cost.sh [2025-04-11T10:21:04.872Z] lf-activate-venv: SKIPPING [2025-04-11T10:21:04.872Z] INFO: No Stack... [2025-04-11T10:21:05.135Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2025-04-11T10:21:05.714Z] INFO: Archiving Costs [Pipeline] echo [2025-04-11T10:21:05.725Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:06.028Z] ---> logs-deploy.sh [2025-04-11T10:21:06.028Z] lf-activate-venv: SKIPPING [2025-04-11T10:21:06.028Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/37 [2025-04-11T10:21:06.028Z] INFO: archiving workspace using pattern(s): [2025-04-11T10:21:06.979Z] Archives upload complete. [2025-04-11T10:21:06.979Z] INFO: archiving logs to Nexus [2025-04-11T10:21:07.584Z] ---> uname -a: [2025-04-11T10:21:07.584Z] Linux prd-centos7-docker-4c-2g-44773.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] ---> lscpu: [2025-04-11T10:21:07.584Z] Architecture: x86_64 [2025-04-11T10:21:07.584Z] CPU op-mode(s): 32-bit, 64-bit [2025-04-11T10:21:07.584Z] Byte Order: Little Endian [2025-04-11T10:21:07.584Z] Address sizes: 40 bits physical, 48 bits virtual [2025-04-11T10:21:07.584Z] CPU(s): 2 [2025-04-11T10:21:07.584Z] On-line CPU(s) list: 0,1 [2025-04-11T10:21:07.584Z] Thread(s) per core: 1 [2025-04-11T10:21:07.584Z] Core(s) per socket: 1 [2025-04-11T10:21:07.584Z] Socket(s): 2 [2025-04-11T10:21:07.584Z] NUMA node(s): 1 [2025-04-11T10:21:07.584Z] Vendor ID: AuthenticAMD [2025-04-11T10:21:07.584Z] CPU family: 23 [2025-04-11T10:21:07.584Z] Model: 49 [2025-04-11T10:21:07.584Z] Model name: AMD EPYC-Rome Processor [2025-04-11T10:21:07.584Z] Stepping: 0 [2025-04-11T10:21:07.584Z] CPU MHz: 2800.000 [2025-04-11T10:21:07.584Z] BogoMIPS: 5600.00 [2025-04-11T10:21:07.584Z] Virtualization: AMD-V [2025-04-11T10:21:07.584Z] Hypervisor vendor: KVM [2025-04-11T10:21:07.584Z] Virtualization type: full [2025-04-11T10:21:07.584Z] L1d cache: 64 KiB [2025-04-11T10:21:07.584Z] L1i cache: 64 KiB [2025-04-11T10:21:07.584Z] L2 cache: 1 MiB [2025-04-11T10:21:07.584Z] L3 cache: 32 MiB [2025-04-11T10:21:07.584Z] NUMA node0 CPU(s): 0,1 [2025-04-11T10:21:07.584Z] Vulnerability Itlb multihit: Not affected [2025-04-11T10:21:07.584Z] Vulnerability L1tf: Not affected [2025-04-11T10:21:07.584Z] Vulnerability Mds: Not affected [2025-04-11T10:21:07.584Z] Vulnerability Meltdown: Not affected [2025-04-11T10:21:07.584Z] Vulnerability Mmio stale data: Not affected [2025-04-11T10:21:07.584Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2025-04-11T10:21:07.584Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2025-04-11T10:21:07.584Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2025-04-11T10:21:07.584Z] Vulnerability Srbds: Not affected [2025-04-11T10:21:07.584Z] Vulnerability Tsx async abort: Not affected [2025-04-11T10:21:07.584Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] ---> nproc: [2025-04-11T10:21:07.584Z] 2 [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] ---> df -h: [2025-04-11T10:21:07.584Z] Filesystem Size Used Avail Use% Mounted on [2025-04-11T10:21:07.584Z] overlay 40G 7.3G 33G 19% / [2025-04-11T10:21:07.584Z] tmpfs 64M 0 64M 0% /dev [2025-04-11T10:21:07.584Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2025-04-11T10:21:07.584Z] shm 64M 0 64M 0% /dev/shm [2025-04-11T10:21:07.584Z] /dev/vda1 40G 7.3G 33G 19% /facter-os [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] [2025-04-11T10:21:07.584Z] Cannot open /var/log/sysstat/sa11: No such file or directory [2025-04-11T10:21:07.584Z] Please check if data collecting is enabled [2025-04-11T10:21:07.584Z] subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-11T10:21:07.899Z] [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } [2025-04-11T10:21:07.902Z] $ docker stop --time=1 b3b6d8b0f8630e5ab68a63ba0edfce4b59b530d27480e3b532f16b052647e25d [2025-04-11T10:21:09.063Z] $ docker rm -f --volumes b3b6d8b0f8630e5ab68a63ba0edfce4b59b530d27480e3b532f16b052647e25d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs [2025-04-11T10:21:09.159Z] [WS-CLEANUP] Deleting project workspace... [2025-04-11T10:21:09.160Z] [WS-CLEANUP] Deferred wipeout is used... [2025-04-11T10:21:09.185Z] [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:21:09.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-11T10:21:09.626Z] [2025-04-11T10:21:09.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:21:09.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-11T10:21:09.944Z] latest: Pulling from edgex-lftools-log-publisher [2025-04-11T10:21:09.944Z] 5eb5b503b376: Pulling fs layer [2025-04-11T10:21:09.944Z] 5c69ac0246d0: Pulling fs layer [2025-04-11T10:21:09.944Z] ec43610c2a17: Pulling fs layer [2025-04-11T10:21:09.944Z] 3a2ae6a8a46f: Pulling fs layer [2025-04-11T10:21:09.944Z] 33b1e0a273af: Pulling fs layer [2025-04-11T10:21:09.944Z] 5d3b04190fa2: Pulling fs layer [2025-04-11T10:21:09.944Z] 2f39f015ded8: Pulling fs layer [2025-04-11T10:21:09.944Z] 3a2ae6a8a46f: Waiting [2025-04-11T10:21:09.944Z] 33b1e0a273af: Waiting [2025-04-11T10:21:09.944Z] 5d3b04190fa2: Waiting [2025-04-11T10:21:09.944Z] 2f39f015ded8: Waiting [2025-04-11T10:21:09.944Z] 5c69ac0246d0: Verifying Checksum [2025-04-11T10:21:09.944Z] 5c69ac0246d0: Download complete [2025-04-11T10:21:09.944Z] 3a2ae6a8a46f: Verifying Checksum [2025-04-11T10:21:09.944Z] 3a2ae6a8a46f: Download complete [2025-04-11T10:21:09.944Z] 33b1e0a273af: Verifying Checksum [2025-04-11T10:21:09.944Z] 33b1e0a273af: Download complete [2025-04-11T10:21:09.944Z] 5d3b04190fa2: Verifying Checksum [2025-04-11T10:21:09.944Z] 5d3b04190fa2: Download complete [2025-04-11T10:21:10.214Z] ec43610c2a17: Verifying Checksum [2025-04-11T10:21:10.214Z] ec43610c2a17: Download complete [2025-04-11T10:21:10.214Z] 5eb5b503b376: Verifying Checksum [2025-04-11T10:21:10.214Z] 5eb5b503b376: Download complete [2025-04-11T10:21:10.803Z] 2f39f015ded8: Download complete [2025-04-11T10:21:11.398Z] 5eb5b503b376: Pull complete [2025-04-11T10:21:11.669Z] 5c69ac0246d0: Pull complete [2025-04-11T10:21:12.250Z] ec43610c2a17: Pull complete [2025-04-11T10:21:12.250Z] 3a2ae6a8a46f: Pull complete [2025-04-11T10:21:12.524Z] 33b1e0a273af: Pull complete [2025-04-11T10:21:12.524Z] 5d3b04190fa2: Pull complete [2025-04-11T10:21:16.782Z] 2f39f015ded8: Pull complete [2025-04-11T10:21:16.782Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-04-11T10:21:16.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-11T10:21:16.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-11T10:21:16.882Z] prd-ubuntu20.04-docker-8c-8g-44772 does not seem to be running inside a container [2025-04-11T10:21:16.933Z] $ 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-11T10:21:20.972Z] $ docker top e14e5b483d7951ece15d9d71d7e30e7b7a08460aae2104100dd7107f9bee0fc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:21.423Z] ---> job-cost.sh [2025-04-11T10:21:21.423Z] lf-activate-venv: SKIPPING [2025-04-11T10:21:21.423Z] INFO: No Stack... [2025-04-11T10:21:21.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-11T10:21:21.979Z] INFO: Archiving Costs [Pipeline] sh [2025-04-11T10:21:22.303Z] + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv [2025-04-11T10:21:22.303Z] + cut -d, -f6 [Pipeline] lock [2025-04-11T10:21:22.339Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] [2025-04-11T10:21:22.360Z] Resource [jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] did not exist. Created. [2025-04-11T10:21:22.396Z] Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-04-11T10:21:22.757Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-04-11T10:21:22.799Z] Stashed 1 file(s) [Pipeline] } [2025-04-11T10:21:22.834Z] Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-37-stack-cost] [Pipeline] // lock [Pipeline] } [2025-04-11T10:21:22.868Z] $ docker stop --time=1 e14e5b483d7951ece15d9d71d7e30e7b7a08460aae2104100dd7107f9bee0fc7 [2025-04-11T10:21:24.033Z] $ docker rm -f --volumes e14e5b483d7951ece15d9d71d7e30e7b7a08460aae2104100dd7107f9bee0fc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-04-11T10:21:24.614Z] + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [2025-04-11T10:21:24.614Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-11T10:21:24.614Z] total 16 [2025-04-11T10:21:24.614Z] drwxr-xr-x 3 root root 4096 Apr 11 10:21 . [2025-04-11T10:21:24.614Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:21 .. [2025-04-11T10:21:24.614Z] drwxr-xr-x 2 root root 4096 Apr 11 10:21 cost [2025-04-11T10:21:24.614Z] -rw-r--r-- 1 root root 87 Apr 11 10:21 cost.csv [2025-04-11T10:21:24.614Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-11T10:21:24.614Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-11T10:21:24.614Z] total 16 [2025-04-11T10:21:24.614Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 10:21 . [2025-04-11T10:21:24.614Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:21 .. [2025-04-11T10:21:24.614Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 10:21 cost [2025-04-11T10:21:24.614Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 11 10:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:24.907Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:25.811Z] ---> package-listing.sh [2025-04-11T10:21:25.811Z] ++ facter osfamily [2025-04-11T10:21:25.811Z] ++ tr '[:upper:]' '[:lower:]' [2025-04-11T10:21:26.069Z] + OS_FAMILY=debian [2025-04-11T10:21:26.069Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-04-11T10:21:26.069Z] + START_PACKAGES=/tmp/packages_start.txt [2025-04-11T10:21:26.069Z] + END_PACKAGES=/tmp/packages_end.txt [2025-04-11T10:21:26.069Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-04-11T10:21:26.069Z] + PACKAGES=/tmp/packages_start.txt [2025-04-11T10:21:26.069Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-11T10:21:26.069Z] + PACKAGES=/tmp/packages_end.txt [2025-04-11T10:21:26.069Z] + case "${OS_FAMILY}" in [2025-04-11T10:21:26.069Z] + dpkg -l [2025-04-11T10:21:26.069Z] + grep '^ii' [2025-04-11T10:21:26.069Z] + '[' -f /tmp/packages_start.txt ']' [2025-04-11T10:21:26.069Z] + '[' -f /tmp/packages_end.txt ']' [2025-04-11T10:21:26.069Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-04-11T10:21:26.069Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-11T10:21:26.069Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-04-11T10:21:26.069Z] + 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-11T10:21:26.084Z] 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-11T10:21:26.383Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-11T10:21:26.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-11T10:21:26.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-11T10:21:26.812Z] prd-ubuntu20.04-docker-8c-8g-44772 does not seem to be running inside a container [2025-04-11T10:21:26.874Z] $ 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-11T10:21:27.083Z] $ docker top 99dfe0b5d74d69e473c1ae826f44571ce5f86ac5befa265516cf26fdd492a26c -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-11T10:21:27.454Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-04-11T10:21:27.756Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-04-11T10:21:28.045Z] + ls /var/log/sa-host [2025-04-11T10:21:28.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-11T10:21:28.081Z] provisioning config files... [2025-04-11T10:21:28.089Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config406633673985520834tmp [Pipeline] { [Pipeline] echo [2025-04-11T10:21:28.104Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:28.392Z] ---> create-netrc.sh [Pipeline] } [2025-04-11T10:21:28.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:28.709Z] ---> python-tools-install.sh [Pipeline] echo [2025-04-11T10:21:28.732Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:29.031Z] ---> sudo-logs.sh [2025-04-11T10:21:29.031Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-04-11T10:21:29.077Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:29.370Z] ---> job-cost.sh [2025-04-11T10:21:29.370Z] lf-activate-venv: SKIPPING [2025-04-11T10:21:29.370Z] DEBUG: total: 0.2199999988079071 [2025-04-11T10:21:29.370Z] INFO: Retrieving Stack Cost... [2025-04-11T10:21:29.370Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-11T10:21:29.637Z] INFO: Archiving Costs [Pipeline] echo [2025-04-11T10:21:29.651Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-11T10:21:29.995Z] ---> logs-deploy.sh [2025-04-11T10:21:29.995Z] lf-activate-venv: SKIPPING [2025-04-11T10:21:29.995Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/37 [2025-04-11T10:21:29.995Z] INFO: archiving workspace using pattern(s): [2025-04-11T10:21:30.955Z] Archives upload complete. [2025-04-11T10:21:30.955Z] INFO: archiving logs to Nexus