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-ssh2010862717571350722.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/experimental revision b38de6d8b49cd97423da1bd10451a7b630a827b2 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-ssh15429059407176107832.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 b38de6d8b49cd97423da1bd10451a7b630a827b2 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-ssh15333303322145323460.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b38de6d8b49cd97423da1bd10451a7b630a827b2 (experimental) > git config core.sparsecheckout # timeout=10 > git checkout -f b38de6d8b49cd97423da1bd10451a7b630a827b2 # timeout=10 Commit message: "add sudo" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh780970577270956479.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-ssh12454682432643561067.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-42834’ is offline Running on prd-ubuntu20.04-docker-8c-8g-42835 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:34:23.564Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-04-07T09:34:23.645Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-04-07T09:34:23.673Z] ========================================================= [2025-04-07T09:34:23.673Z] EdgeX Global Pipelines Version Info [2025-04-07T09:34:23.673Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:34:24.789Z] ------------------- [2025-04-07T09:34:24.789Z] stable info: [2025-04-07T09:34:24.789Z] ------------------- [2025-04-07T09:34:24.789Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:34:24.789Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-04-07T09:34:24.789Z] Message: update stable to v1.0.274 [2025-04-07T09:34:25.049Z] ------------------- [2025-04-07T09:34:25.049Z] experimental info: [2025-04-07T09:34:25.049Z] ------------------- [2025-04-07T09:34:25.049Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-04-07T09:34:25.049Z] Commit SHA: b38de6d8b49cd97423da1bd10451a7b630a827b2 [2025-04-07T09:34:25.049Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-04-07T09:34:25.134Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = sample-service-settings [Pipeline] echo [2025-04-07T09:34:25.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = sample-service [Pipeline] echo [2025-04-07T09:34:25.182Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-04-07T09:34:25.203Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-04-07T09:34:25.227Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-04-07T09:34:25.253Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-04-07T09:34:25.274Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-04-07T09:34:25.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-04-07T09:34:25.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-04-07T09:34:25.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-04-07T09:34:25.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-04-07T09:34:25.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = sample-service [Pipeline] echo [2025-04-07T09:34:25.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-04-07T09:34:25.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-04-07T09:34:25.452Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:34:25.483Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-04-07T09:34:25.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:34:25.534Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-04-07T09:34:25.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-04-07T09:34:25.582Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-04-07T09:34:25.603Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-04-07T09:34:25.625Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-04-07T09:34:25.645Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-04-07T09:34:25.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-04-07T09:34:25.694Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-04-07T09:34:25.717Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-04-07T09:34:25.740Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-04-07T09:34:25.766Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:34:25.784Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2025-04-07T09:34:25.803Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2025-04-07T09:34:25.824Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:34:25.842Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb869c6 [Pipeline] echo [2025-04-07T09:34:25.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:34:25.931Z] provisioning config files... [2025-04-07T09:34:25.944Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config11796819055149086699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:34:26.277Z] ---> ****-login.sh [2025-04-07T09:34:26.277Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:34:26.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:26.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:26.544Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:26.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:26.544Z] [2025-04-07T09:34:26.544Z] Login Succeeded [2025-04-07T09:34:26.544Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:34:26.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:26.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:26.804Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:26.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:26.804Z] [2025-04-07T09:34:26.804Z] Login Succeeded [2025-04-07T09:34:26.804Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:34:26.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:26.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:26.805Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:26.805Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:26.805Z] [2025-04-07T09:34:26.805Z] Login Succeeded [2025-04-07T09:34:26.805Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:34:27.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:27.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:27.065Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:27.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:27.065Z] [2025-04-07T09:34:27.065Z] Login Succeeded [2025-04-07T09:34:27.065Z] ****.io [2025-04-07T09:34:27.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:27.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:27.331Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:27.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:27.331Z] [2025-04-07T09:34:27.331Z] Login Succeeded [2025-04-07T09:34:27.331Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:34:27.340Z] 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:34:27.744Z] + git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:34:27.773Z] -----------> git rev-list -1 --merges eb869c661586b1b6b4d3a43b635254038c5246fa~1..eb869c661586b1b6b4d3a43b635254038c5246fa eb869c661586b1b6b4d3a43b635254038c5246fa [false] [Pipeline] sh [2025-04-07T09:34:28.080Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:34:28.099Z] ========================================================= [2025-04-07T09:34:28.099Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-04-07T09:34:28.099Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-04-07T09:34:28.447Z] + git log --format=format:%s -1 eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] echo [2025-04-07T09:34:28.462Z] [semverPrep] GIT_COMMIT: eb869c661586b1b6b4d3a43b635254038c5246fa, Commit Message: ci: test multi-arch pipeline [Pipeline] echo [2025-04-07T09:34:28.476Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-04-07T09:34:28.838Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-04-07T09:34:28.839Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-04-07T09:34:28.839Z] + [ -e /tmp/ssh_known_hosts ] [2025-04-07T09:34:28.839Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-04-07T09:34:28.839Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-04-07T09:34:28.839Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-04-07T09:34:28.839Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:34:29.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:34:29.224Z] [2025-04-07T09:34:29.224Z] 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:34:29.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:34:29.537Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-04-07T09:34:29.537Z] b85a868b505f: Pulling fs layer [2025-04-07T09:34:29.537Z] e2be974225ed: Pulling fs layer [2025-04-07T09:34:29.537Z] 339a4e72a1f5: Pulling fs layer [2025-04-07T09:34:29.537Z] 988bab9f4d93: Pulling fs layer [2025-04-07T09:34:29.537Z] 1469e6f7b9e6: Pulling fs layer [2025-04-07T09:34:29.537Z] eaf3925da568: Pulling fs layer [2025-04-07T09:34:29.537Z] bab4dde63d76: Pulling fs layer [2025-04-07T09:34:29.537Z] bde34c3a00c8: Pulling fs layer [2025-04-07T09:34:29.537Z] b352a97aabf1: Pulling fs layer [2025-04-07T09:34:29.537Z] 4872d77fe225: Pulling fs layer [2025-04-07T09:34:29.537Z] 5851b861e8e6: Pulling fs layer [2025-04-07T09:34:29.537Z] eaf3925da568: Waiting [2025-04-07T09:34:29.537Z] bab4dde63d76: Waiting [2025-04-07T09:34:29.537Z] bde34c3a00c8: Waiting [2025-04-07T09:34:29.537Z] 4872d77fe225: Waiting [2025-04-07T09:34:29.537Z] 988bab9f4d93: Waiting [2025-04-07T09:34:29.537Z] 5851b861e8e6: Waiting [2025-04-07T09:34:29.537Z] 1469e6f7b9e6: Waiting [2025-04-07T09:34:29.537Z] e2be974225ed: Download complete [2025-04-07T09:34:29.537Z] 988bab9f4d93: Download complete [2025-04-07T09:34:29.798Z] 1469e6f7b9e6: Verifying Checksum [2025-04-07T09:34:29.798Z] 1469e6f7b9e6: Download complete [2025-04-07T09:34:29.798Z] 339a4e72a1f5: Verifying Checksum [2025-04-07T09:34:29.798Z] 339a4e72a1f5: Download complete [2025-04-07T09:34:29.798Z] bde34c3a00c8: Verifying Checksum [2025-04-07T09:34:29.798Z] bde34c3a00c8: Download complete [2025-04-07T09:34:29.798Z] b352a97aabf1: Download complete [2025-04-07T09:34:29.798Z] 4872d77fe225: Verifying Checksum [2025-04-07T09:34:29.798Z] 4872d77fe225: Download complete [2025-04-07T09:34:29.798Z] 5851b861e8e6: Download complete [2025-04-07T09:34:29.798Z] b85a868b505f: Download complete [2025-04-07T09:34:30.059Z] bab4dde63d76: Verifying Checksum [2025-04-07T09:34:30.059Z] bab4dde63d76: Download complete [2025-04-07T09:34:30.997Z] b85a868b505f: Pull complete [2025-04-07T09:34:30.997Z] e2be974225ed: Pull complete [2025-04-07T09:34:31.565Z] 339a4e72a1f5: Pull complete [2025-04-07T09:34:31.565Z] 988bab9f4d93: Pull complete [2025-04-07T09:34:31.827Z] 1469e6f7b9e6: Pull complete [2025-04-07T09:34:32.087Z] eaf3925da568: Pull complete [2025-04-07T09:34:33.994Z] bab4dde63d76: Pull complete [2025-04-07T09:34:33.994Z] bde34c3a00c8: Pull complete [2025-04-07T09:34:33.994Z] b352a97aabf1: Pull complete [2025-04-07T09:34:33.994Z] 4872d77fe225: Pull complete [2025-04-07T09:34:33.994Z] 5851b861e8e6: Pull complete [2025-04-07T09:34:33.994Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-04-07T09:34:33.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-04-07T09:34:33.994Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:34:34.149Z] prd-ubuntu20.04-docker-8c-8g-42835 does not seem to be running inside a container [2025-04-07T09:34:34.181Z] $ 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:34:35.479Z] $ docker top 76f4ce364d7343fa571725539abaf5ba8c7bb7c32e0ba26c7b83397d68b778be -eo pid,comm [2025-04-07T09:34:35.537Z] 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:34:35.537Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-04-07T09:34:35.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:34:35.604Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:34:35.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:34:35.719Z] $ docker exec 76f4ce364d7343fa571725539abaf5ba8c7bb7c32e0ba26c7b83397d68b778be ssh-agent [2025-04-07T09:34:35.833Z] SSH_AUTH_SOCK=/tmp/ssh-ydWgb91GKdM6/agent.32 [2025-04-07T09:34:35.833Z] SSH_AGENT_PID=38 [2025-04-07T09:34:35.838Z] Running ssh-add (command line suppressed) [2025-04-07T09:34:35.940Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17220369019160732919.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_17220369019160732919.key) [2025-04-07T09:34:35.954Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:34:36.249Z] + git tag --points-at HEAD [Pipeline] } [2025-04-07T09:34:36.260Z] $ docker exec --env ******** --env ******** 76f4ce364d7343fa571725539abaf5ba8c7bb7c32e0ba26c7b83397d68b778be ssh-agent -k [2025-04-07T09:34:36.347Z] unset SSH_AUTH_SOCK; [2025-04-07T09:34:36.348Z] unset SSH_AGENT_PID; [2025-04-07T09:34:36.348Z] echo Agent pid 38 killed; [2025-04-07T09:34:36.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-04-07T09:34:36.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-04-07T09:34:36.398Z] [ssh-agent] Looking for ssh-agent implementation... [2025-04-07T09:34:36.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-04-07T09:34:36.521Z] $ docker exec 76f4ce364d7343fa571725539abaf5ba8c7bb7c32e0ba26c7b83397d68b778be ssh-agent [2025-04-07T09:34:36.626Z] SSH_AUTH_SOCK=/tmp/ssh-Ezwer6CWekWp/agent.71 [2025-04-07T09:34:36.626Z] SSH_AGENT_PID=77 [2025-04-07T09:34:36.630Z] Running ssh-add (command line suppressed) [2025-04-07T09:34:36.751Z] Identity added: /w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12270157445197389825.key (/w/workspace/gexfoundry_sample-service_PR-165@tmp/private_key_12270157445197389825.key) [2025-04-07T09:34:36.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-04-07T09:34:37.063Z] + git semver init [2025-04-07T09:34:37.322Z] 2025-04-07 09:34:37,253 [run_init] DEBUG init version:0.0.0 force:False [2025-04-07T09:34:37.322Z] 2025-04-07 09:34:37,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:34:37.322Z] 2025-04-07 09:34:37,255 [execute] INFO git clone -b semver git@github.com:edgexfoundry/sample-service.git /w/workspace/gexfoundry_sample-service_PR-165/.semver [2025-04-07T09:34:37.322Z] 2025-04-07 09:34:37,255 [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:34:38.257Z] 2025-04-07 09:34:37,911 [append_file] DEBUG append to file:/w/workspace/gexfoundry_sample-service_PR-165/.git/info/exclude [2025-04-07T09:34:38.257Z] 2025-04-07 09:34:37,911 [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:34:38.257Z] 2025-04-07 09:34:37,911 [write_file] DEBUG write to file:/w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:34:38.257Z] 2025-04-07 09:34:37,916 [execute] INFO git cat-file --batch-check [2025-04-07T09:34:38.257Z] 2025-04-07 09:34:37,917 [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:34:38.257Z] 2025-04-07 09:34:37,923 [execute] INFO git cat-file --batch [2025-04-07T09:34:38.257Z] 2025-04-07 09:34:37,923 [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:34:38.257Z] 2025-04-07 09:34:37,929 [read_version] DEBUG read version from /w/workspace/gexfoundry_sample-service_PR-165/.semver/PR-165 [2025-04-07T09:34:38.257Z] 0.0.0 [Pipeline] } [2025-04-07T09:34:38.264Z] $ docker exec --env ******** --env ******** 76f4ce364d7343fa571725539abaf5ba8c7bb7c32e0ba26c7b83397d68b778be ssh-agent -k [2025-04-07T09:34:38.356Z] unset SSH_AUTH_SOCK; [2025-04-07T09:34:38.357Z] unset SSH_AGENT_PID; [2025-04-07T09:34:38.358Z] echo Agent pid 77 killed; [2025-04-07T09:34:38.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:34:38.692Z] + git semver [Pipeline] } [2025-04-07T09:34:38.962Z] $ docker stop --time=1 76f4ce364d7343fa571725539abaf5ba8c7bb7c32e0ba26c7b83397d68b778be [2025-04-07T09:34:40.268Z] $ docker rm -f --volumes 76f4ce364d7343fa571725539abaf5ba8c7bb7c32e0ba26c7b83397d68b778be [Pipeline] // withDockerContainer [Pipeline] sh [2025-04-07T09:34:40.618Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-04-07T09:34:40.885Z] Stashed 1 file(s) [Pipeline] echo [2025-04-07T09:34:40.890Z] [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:34:41.209Z] provisioning config files... [2025-04-07T09:34:41.227Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config18427779085985419979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:34:41.542Z] ---> ****-login.sh [2025-04-07T09:34:41.542Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:34:41.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:41.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:41.542Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:41.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:41.543Z] [2025-04-07T09:34:41.543Z] Login Succeeded [2025-04-07T09:34:41.543Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:34:41.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:41.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:41.543Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:41.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:41.543Z] [2025-04-07T09:34:41.543Z] Login Succeeded [2025-04-07T09:34:41.543Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:34:41.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:41.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:41.804Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:41.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:41.804Z] [2025-04-07T09:34:41.804Z] Login Succeeded [2025-04-07T09:34:41.804Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:34:41.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:41.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:41.804Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:41.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:41.804Z] [2025-04-07T09:34:41.804Z] Login Succeeded [2025-04-07T09:34:41.804Z] ****.io [2025-04-07T09:34:42.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:34:42.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:34:42.064Z] Configure a credential helper to remove this warning. See [2025-04-07T09:34:42.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:34:42.064Z] [2025-04-07T09:34:42.064Z] Login Succeeded [2025-04-07T09:34:42.064Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:34:42.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-04-07T09:34:42.156Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:34:42.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:34:42.197Z] ========================================================= [2025-04-07T09:34:42.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-04-07T09:34:42.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:34:42.531Z] + 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:34:42.531Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:34:42.531Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:34:42.531Z] Step 2/12 : FROM ${BASE} AS builder [2025-04-07T09:34:42.531Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-04-07T09:34:42.531Z] da9db072f522: Pulling fs layer [2025-04-07T09:34:42.531Z] 6ef4a4ee8ca5: Pulling fs layer [2025-04-07T09:34:42.531Z] 06f05ace1117: Pulling fs layer [2025-04-07T09:34:42.531Z] 5fe327b54edc: Pulling fs layer [2025-04-07T09:34:42.531Z] 4f4fb700ef54: Pulling fs layer [2025-04-07T09:34:42.531Z] 92a5565b7b96: Pulling fs layer [2025-04-07T09:34:42.531Z] ff9bb7016b71: Pulling fs layer [2025-04-07T09:34:42.531Z] b67dba6c2c7d: Pulling fs layer [2025-04-07T09:34:42.531Z] a813b0c90790: Pulling fs layer [2025-04-07T09:34:42.531Z] 5fe327b54edc: Waiting [2025-04-07T09:34:42.531Z] 92a5565b7b96: Waiting [2025-04-07T09:34:42.531Z] 4f4fb700ef54: Waiting [2025-04-07T09:34:42.531Z] ff9bb7016b71: Waiting [2025-04-07T09:34:42.531Z] 6ef4a4ee8ca5: Verifying Checksum [2025-04-07T09:34:42.531Z] 6ef4a4ee8ca5: Download complete [2025-04-07T09:34:42.531Z] 5fe327b54edc: Verifying Checksum [2025-04-07T09:34:42.531Z] 5fe327b54edc: Download complete [2025-04-07T09:34:42.531Z] 4f4fb700ef54: Verifying Checksum [2025-04-07T09:34:42.531Z] 4f4fb700ef54: Download complete [2025-04-07T09:34:42.531Z] da9db072f522: Verifying Checksum [2025-04-07T09:34:42.531Z] da9db072f522: Download complete [2025-04-07T09:34:42.531Z] 92a5565b7b96: Verifying Checksum [2025-04-07T09:34:42.531Z] 92a5565b7b96: Download complete [2025-04-07T09:34:42.790Z] ff9bb7016b71: Verifying Checksum [2025-04-07T09:34:42.790Z] ff9bb7016b71: Download complete [2025-04-07T09:34:42.790Z] da9db072f522: Pull complete [2025-04-07T09:34:42.790Z] a813b0c90790: Verifying Checksum [2025-04-07T09:34:42.790Z] a813b0c90790: Download complete [2025-04-07T09:34:43.049Z] 6ef4a4ee8ca5: Pull complete [2025-04-07T09:34:43.049Z] 06f05ace1117: Verifying Checksum [2025-04-07T09:34:43.049Z] 06f05ace1117: Download complete [2025-04-07T09:34:43.308Z] b67dba6c2c7d: Verifying Checksum [2025-04-07T09:34:43.308Z] b67dba6c2c7d: Download complete [2025-04-07T09:34:46.594Z] 06f05ace1117: Pull complete [2025-04-07T09:34:46.594Z] 5fe327b54edc: Pull complete [2025-04-07T09:34:46.853Z] 4f4fb700ef54: Pull complete [2025-04-07T09:34:46.853Z] 92a5565b7b96: Pull complete [2025-04-07T09:34:46.853Z] ff9bb7016b71: Pull complete [2025-04-07T09:34:49.412Z] b67dba6c2c7d: Pull complete [2025-04-07T09:34:49.676Z] a813b0c90790: Pull complete [2025-04-07T09:34:49.676Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-04-07T09:34:49.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-04-07T09:34:49.676Z] ---> 3ba60ce46760 [2025-04-07T09:34:49.676Z] Step 3/12 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:34:51.602Z] ---> Running in f4b63d2faa15 [2025-04-07T09:34:51.602Z] Removing intermediate container f4b63d2faa15 [2025-04-07T09:34:51.602Z] ---> f072893c2c82 [2025-04-07T09:34:51.602Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:34:51.602Z] ---> Running in 88fd367bed19 [2025-04-07T09:34:51.602Z] Removing intermediate container 88fd367bed19 [2025-04-07T09:34:51.602Z] ---> 3068328df609 [2025-04-07T09:34:51.602Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:34:51.602Z] ---> Running in 16578e094bca [2025-04-07T09:34:51.602Z] Removing intermediate container 16578e094bca [2025-04-07T09:34:51.602Z] ---> 5b2511a8ef3f [2025-04-07T09:34:51.602Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:34:51.602Z] ---> Running in 9727d513aed3 [2025-04-07T09:34:51.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:34:52.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:34:52.377Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-04-07T09:34:52.377Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-04-07T09:34:52.377Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-04-07T09:34:52.377Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-04-07T09:34:52.377Z] Executing busybox-1.36.1-r29.trigger [2025-04-07T09:34:52.377Z] OK: 252 MiB in 62 packages [2025-04-07T09:34:52.944Z] Removing intermediate container 9727d513aed3 [2025-04-07T09:34:52.944Z] ---> fb461ffca93f [2025-04-07T09:34:52.944Z] Step 7/12 : WORKDIR /sample-service [2025-04-07T09:34:52.944Z] ---> Running in 226b9f62005e [2025-04-07T09:34:52.944Z] Removing intermediate container 226b9f62005e [2025-04-07T09:34:52.944Z] ---> 734a9a79c9df [2025-04-07T09:34:52.944Z] Step 8/12 : COPY go.mod vendor* ./ [2025-04-07T09:34:53.206Z] ---> bf084b5b4938 [2025-04-07T09:34:53.206Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:34:53.206Z] ---> Running in 0ec2556d3e4c [2025-04-07T09:34:58.476Z] Removing intermediate container 0ec2556d3e4c [2025-04-07T09:34:58.476Z] ---> 677cf01cc713 [2025-04-07T09:34:58.476Z] Step 10/12 : COPY . . [2025-04-07T09:34:58.476Z] ---> b0bbe91935aa [2025-04-07T09:34:58.476Z] Step 11/12 : ARG MAKE='make build' [2025-04-07T09:34:58.476Z] ---> Running in c44496cd749f [2025-04-07T09:34:58.476Z] Removing intermediate container c44496cd749f [2025-04-07T09:34:58.476Z] ---> 473c60ef5b63 [2025-04-07T09:34:58.476Z] Step 12/12 : RUN $MAKE [2025-04-07T09:34:58.476Z] ---> Running in b60a89c507f5 [2025-04-07T09:34:58.736Z] noop [2025-04-07T09:34:58.994Z] Removing intermediate container b60a89c507f5 [2025-04-07T09:34:58.994Z] ---> adfca5b7a864 [2025-04-07T09:34:59.253Z] Successfully built adfca5b7a864 [2025-04-07T09:34:59.253Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:34:59.582Z] + docker inspect -f . ci-base-image-x86_64 [2025-04-07T09:34:59.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:34:59.664Z] prd-ubuntu20.04-docker-8c-8g-42835 does not seem to be running inside a container [2025-04-07T09:34:59.691Z] $ 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:35:00.100Z] $ docker top be78d22a97d2c594cac6633e55149cf23354f410deff1fdbf65dd93e2dd9f8b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:35:00.454Z] + go version [2025-04-07T09:35:00.454Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-04-07T09:35:00.464Z] $ docker stop --time=1 be78d22a97d2c594cac6633e55149cf23354f410deff1fdbf65dd93e2dd9f8b2 [2025-04-07T09:35:01.755Z] $ docker rm -f --volumes be78d22a97d2c594cac6633e55149cf23354f410deff1fdbf65dd93e2dd9f8b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-04-07T09:35:02.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-04-07T09:35:02.553Z] + ls -al . [2025-04-07T09:35:02.553Z] total 152 [2025-04-07T09:35:02.553Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:34 . [2025-04-07T09:35:02.553Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:34 .. [2025-04-07T09:35:02.553Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:34 .git [2025-04-07T09:35:02.553Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:34 .github [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 46 Apr 7 09:34 .gitignore [2025-04-07T09:35:02.553Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:34 .semver [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 4832 Apr 7 09:34 Attribution.txt [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 34862 Apr 7 09:34 CHANGELOG.md [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 1434 Apr 7 09:34 Dockerfile [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 706 Apr 7 09:34 Jenkinsfile [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 729 Apr 7 09:34 Jenkinsfile-sandbox [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 3586 Apr 7 09:34 Jenkinsfile.edgexSemver [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:34 LICENSE [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 1308 Apr 7 09:34 Makefile [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 3063 Apr 7 09:34 README.md [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:34 VERSION [2025-04-07T09:35:02.553Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:34 api [2025-04-07T09:35:02.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:34 bin [2025-04-07T09:35:02.553Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:34 cmd [2025-04-07T09:35:02.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:34 driver [2025-04-07T09:35:02.553Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:34 example [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 1955 Apr 7 09:34 go.mod [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 13083 Apr 7 09:34 go.sum [2025-04-07T09:35:02.553Z] -rw-rw-r-- 1 jenkins jenkins 225 Apr 7 09:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:02.868Z] + 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:35:02.868Z] Sending build context to Docker daemon 2.703MB [2025-04-07T09:35:02.868Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2025-04-07T09:35:02.868Z] Step 2/23 : FROM ${BASE} AS builder [2025-04-07T09:35:02.868Z] ---> adfca5b7a864 [2025-04-07T09:35:02.868Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2025-04-07T09:35:02.868Z] ---> Running in ebf7a0fa3863 [2025-04-07T09:35:02.868Z] Removing intermediate container ebf7a0fa3863 [2025-04-07T09:35:02.868Z] ---> b536b8aef3f2 [2025-04-07T09:35:02.868Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2025-04-07T09:35:02.868Z] ---> Running in 00fb52535e13 [2025-04-07T09:35:03.127Z] Removing intermediate container 00fb52535e13 [2025-04-07T09:35:03.127Z] ---> 51a453e9396d [2025-04-07T09:35:03.127Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:35:03.127Z] ---> Running in 8303fea1d930 [2025-04-07T09:35:03.127Z] Removing intermediate container 8303fea1d930 [2025-04-07T09:35:03.127Z] ---> 0ec840ba39a8 [2025-04-07T09:35:03.127Z] Step 6/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-04-07T09:35:03.127Z] ---> Running in 6b41568b471d [2025-04-07T09:35:03.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-04-07T09:35:03.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-04-07T09:35:03.905Z] OK: 252 MiB in 62 packages [2025-04-07T09:35:04.475Z] Removing intermediate container 6b41568b471d [2025-04-07T09:35:04.475Z] ---> 80478e9e63ca [2025-04-07T09:35:04.475Z] Step 7/23 : WORKDIR /sample-service [2025-04-07T09:35:04.475Z] ---> Running in 2a6ee1323a79 [2025-04-07T09:35:04.475Z] Removing intermediate container 2a6ee1323a79 [2025-04-07T09:35:04.475Z] ---> 828545bf36dc [2025-04-07T09:35:04.475Z] Step 8/23 : COPY go.mod vendor* ./ [2025-04-07T09:35:04.475Z] ---> d30e64e19e04 [2025-04-07T09:35:04.475Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-04-07T09:35:04.475Z] ---> Running in 89440a7ada0e [2025-04-07T09:35:05.410Z] Removing intermediate container 89440a7ada0e [2025-04-07T09:35:05.410Z] ---> d458701f0aa4 [2025-04-07T09:35:05.410Z] Step 10/23 : COPY . . [2025-04-07T09:35:05.410Z] ---> 98d756151519 [2025-04-07T09:35:05.410Z] Step 11/23 : ARG MAKE='make build' [2025-04-07T09:35:05.410Z] ---> Running in a4aee2050f96 [2025-04-07T09:35:05.410Z] Removing intermediate container a4aee2050f96 [2025-04-07T09:35:05.410Z] ---> 29ca514ac870 [2025-04-07T09:35:05.410Z] Step 12/23 : RUN $MAKE [2025-04-07T09:35:05.410Z] ---> Running in 02a9b84e0146 [2025-04-07T09:35:05.976Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/sample-service.Version=0.0.0" -o cmd/sample-service ./cmd [2025-04-07T09:35:15.944Z] Removing intermediate container 02a9b84e0146 [2025-04-07T09:35:15.945Z] ---> 7bafb5c46590 [2025-04-07T09:35:15.945Z] Step 13/23 : FROM alpine:3.18 [2025-04-07T09:35:15.945Z] 3.18: Pulling from library/alpine [2025-04-07T09:35:15.945Z] 44cf07d57ee4: Pulling fs layer [2025-04-07T09:35:16.203Z] 44cf07d57ee4: Verifying Checksum [2025-04-07T09:35:16.203Z] 44cf07d57ee4: Download complete [2025-04-07T09:35:16.464Z] 44cf07d57ee4: Pull complete [2025-04-07T09:35:16.464Z] Digest: sha256:de0eb0b3f2a47ba1eb89389859a9bd88b28e82f5826b6969ad604979713c2d4f [2025-04-07T09:35:16.464Z] Status: Downloaded newer image for alpine:3.18 [2025-04-07T09:35:16.464Z] ---> 802c91d52981 [2025-04-07T09:35:16.464Z] Step 14/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-04-07T09:35:16.464Z] ---> Running in eb9e2b6ccc10 [2025-04-07T09:35:16.464Z] Removing intermediate container eb9e2b6ccc10 [2025-04-07T09:35:16.464Z] ---> 1afdb43b6e1d [2025-04-07T09:35:16.464Z] Step 15/23 : ENV APP_PORT=49999 [2025-04-07T09:35:16.464Z] ---> Running in a26fce6b816d [2025-04-07T09:35:16.464Z] Removing intermediate container a26fce6b816d [2025-04-07T09:35:16.464Z] ---> f284ae5b45a6 [2025-04-07T09:35:16.464Z] Step 16/23 : EXPOSE $APP_PORT [2025-04-07T09:35:16.725Z] ---> Running in a386a5fa4cd2 [2025-04-07T09:35:16.725Z] Removing intermediate container a386a5fa4cd2 [2025-04-07T09:35:16.725Z] ---> ca5e824274c8 [2025-04-07T09:35:16.725Z] Step 17/23 : COPY --from=builder /sample-service/cmd / [2025-04-07T09:35:16.984Z] ---> 076864a3154f [2025-04-07T09:35:16.984Z] Step 18/23 : COPY --from=builder /sample-service/LICENSE / [2025-04-07T09:35:16.984Z] ---> b1ea1a46f4b4 [2025-04-07T09:35:16.984Z] Step 19/23 : COPY --from=builder /sample-service/Attribution.txt / [2025-04-07T09:35:17.243Z] ---> 367dde47ebf9 [2025-04-07T09:35:17.243Z] Step 20/23 : ENTRYPOINT ["/sample-service","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2025-04-07T09:35:17.243Z] ---> Running in 78854a301cc0 [2025-04-07T09:35:17.243Z] Removing intermediate container 78854a301cc0 [2025-04-07T09:35:17.243Z] ---> e10b963ba410 [2025-04-07T09:35:17.243Z] Step 21/23 : LABEL arch=amd64 [2025-04-07T09:35:17.243Z] ---> Running in e0f9270c9917 [2025-04-07T09:35:17.503Z] Removing intermediate container e0f9270c9917 [2025-04-07T09:35:17.503Z] ---> b848b783b672 [2025-04-07T09:35:17.503Z] Step 22/23 : LABEL git_sha=eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:35:17.503Z] ---> Running in c0bcc3f95194 [2025-04-07T09:35:17.503Z] Removing intermediate container c0bcc3f95194 [2025-04-07T09:35:17.503Z] ---> a709b7e8975e [2025-04-07T09:35:17.503Z] Step 23/23 : LABEL version=0.0.0 [2025-04-07T09:35:17.503Z] ---> Running in 21aeed331305 [2025-04-07T09:35:17.503Z] Removing intermediate container 21aeed331305 [2025-04-07T09:35:17.503Z] ---> c37d87982769 [2025-04-07T09:35:17.503Z] [Warning] One or more build-args [ARCH] were not consumed [2025-04-07T09:35:17.503Z] Successfully built c37d87982769 [2025-04-07T09:35:17.503Z] 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:35:17.613Z] provisioning config files... [2025-04-07T09:35:17.627Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config9602837132349396028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:17.943Z] ---> ****-login.sh [2025-04-07T09:35:17.944Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:35:17.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:17.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:17.944Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:17.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:17.944Z] [2025-04-07T09:35:17.944Z] Login Succeeded [2025-04-07T09:35:17.944Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:35:17.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:17.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:17.944Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:17.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:17.944Z] [2025-04-07T09:35:17.944Z] Login Succeeded [2025-04-07T09:35:17.944Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:35:18.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:18.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:18.209Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:18.209Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:18.209Z] [2025-04-07T09:35:18.209Z] Login Succeeded [2025-04-07T09:35:18.209Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:35:18.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:18.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:18.209Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:18.209Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:18.209Z] [2025-04-07T09:35:18.209Z] Login Succeeded [2025-04-07T09:35:18.209Z] ****.io [2025-04-07T09:35:18.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:18.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:18.469Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:18.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:18.469Z] [2025-04-07T09:35:18.469Z] Login Succeeded [2025-04-07T09:35:18.469Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:35:18.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:35:18.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-04-07T09:35:18.557Z] [edgeXDocker.push] Tagging docker image sample-service with the following tags: [2025-04-07T09:35:18.557Z] eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:35:18.557Z] latest [2025-04-07T09:35:18.557Z] 0.0.0 [2025-04-07T09:35:18.557Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:35:18.557Z] PR-165 [2025-04-07T09:35:18.557Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:18.910Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:19.240Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:35:19.240Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:35:19.240Z] 33e66b0cc9f3: Preparing [2025-04-07T09:35:19.240Z] 68a9e037eb0f: Preparing [2025-04-07T09:35:19.240Z] 46c1a861b848: Preparing [2025-04-07T09:35:19.240Z] f44f286046d9: Preparing [2025-04-07T09:35:19.240Z] f44f286046d9: Layer already exists [2025-04-07T09:35:19.240Z] 68a9e037eb0f: Pushed [2025-04-07T09:35:19.240Z] 33e66b0cc9f3: Pushed [2025-04-07T09:35:20.620Z] 46c1a861b848: Pushed [2025-04-07T09:35:20.620Z] eb869c661586b1b6b4d3a43b635254038c5246fa: digest: sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:20.956Z] + docker tag sample-service nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:21.292Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:35:21.292Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:35:21.292Z] 33e66b0cc9f3: Preparing [2025-04-07T09:35:21.292Z] 68a9e037eb0f: Preparing [2025-04-07T09:35:21.292Z] 46c1a861b848: Preparing [2025-04-07T09:35:21.292Z] f44f286046d9: Preparing [2025-04-07T09:35:21.292Z] 33e66b0cc9f3: Layer already exists [2025-04-07T09:35:21.292Z] 68a9e037eb0f: Layer already exists [2025-04-07T09:35:21.292Z] f44f286046d9: Layer already exists [2025-04-07T09:35:21.292Z] 46c1a861b848: Layer already exists [2025-04-07T09:35:21.292Z] latest: digest: sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:21.620Z] + 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:35:21.946Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:35:21.946Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:35:21.946Z] 33e66b0cc9f3: Preparing [2025-04-07T09:35:21.946Z] 68a9e037eb0f: Preparing [2025-04-07T09:35:21.946Z] 46c1a861b848: Preparing [2025-04-07T09:35:21.946Z] f44f286046d9: Preparing [2025-04-07T09:35:21.946Z] 46c1a861b848: Layer already exists [2025-04-07T09:35:21.946Z] 68a9e037eb0f: Layer already exists [2025-04-07T09:35:21.946Z] f44f286046d9: Layer already exists [2025-04-07T09:35:21.946Z] 33e66b0cc9f3: Layer already exists [2025-04-07T09:35:21.946Z] 0.0.0: digest: sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:22.277Z] + 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:35:22.614Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:35:22.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:35:22.614Z] 33e66b0cc9f3: Preparing [2025-04-07T09:35:22.614Z] 68a9e037eb0f: Preparing [2025-04-07T09:35:22.614Z] 46c1a861b848: Preparing [2025-04-07T09:35:22.614Z] f44f286046d9: Preparing [2025-04-07T09:35:22.614Z] 46c1a861b848: Layer already exists [2025-04-07T09:35:22.614Z] f44f286046d9: Layer already exists [2025-04-07T09:35:22.614Z] 33e66b0cc9f3: Layer already exists [2025-04-07T09:35:22.614Z] 68a9e037eb0f: Layer already exists [2025-04-07T09:35:22.614Z] eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0: digest: sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:22.953Z] + 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:35:23.281Z] + docker push nexus3.edgexfoundry.org:10004/sample-service:PR-165 [2025-04-07T09:35:23.281Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service] [2025-04-07T09:35:23.281Z] 33e66b0cc9f3: Preparing [2025-04-07T09:35:23.281Z] 68a9e037eb0f: Preparing [2025-04-07T09:35:23.281Z] 46c1a861b848: Preparing [2025-04-07T09:35:23.281Z] f44f286046d9: Preparing [2025-04-07T09:35:23.281Z] 46c1a861b848: Layer already exists [2025-04-07T09:35:23.281Z] 68a9e037eb0f: Layer already exists [2025-04-07T09:35:23.281Z] 33e66b0cc9f3: Layer already exists [2025-04-07T09:35:23.281Z] f44f286046d9: Layer already exists [2025-04-07T09:35:23.281Z] PR-165: digest: sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe size: 1154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-04-07T09:35:23.364Z] ===================================================== [Pipeline] echo [2025-04-07T09:35:23.378Z] taggedImages: [2025-04-07T09:35:23.378Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa [2025-04-07T09:35:23.378Z] - nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:35:23.378Z] - nexus3.edgexfoundry.org:10004/sample-service:0.0.0 [2025-04-07T09:35:23.378Z] - nexus3.edgexfoundry.org:10004/sample-service:eb869c661586b1b6b4d3a43b635254038c5246fa-0.0.0 [2025-04-07T09:35:23.378Z] - 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:35:23.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:35:23.811Z] [2025-04-07T09:35:23.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:24.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:35:24.127Z] latest: Pulling from edgex-lftools-log-publisher [2025-04-07T09:35:24.127Z] 5eb5b503b376: Pulling fs layer [2025-04-07T09:35:24.127Z] 5c69ac0246d0: Pulling fs layer [2025-04-07T09:35:24.127Z] ec43610c2a17: Pulling fs layer [2025-04-07T09:35:24.127Z] 3a2ae6a8a46f: Pulling fs layer [2025-04-07T09:35:24.127Z] 33b1e0a273af: Pulling fs layer [2025-04-07T09:35:24.127Z] 5d3b04190fa2: Pulling fs layer [2025-04-07T09:35:24.127Z] 2f39f015ded8: Pulling fs layer [2025-04-07T09:35:24.127Z] 33b1e0a273af: Waiting [2025-04-07T09:35:24.127Z] 5d3b04190fa2: Waiting [2025-04-07T09:35:24.127Z] 2f39f015ded8: Waiting [2025-04-07T09:35:24.127Z] 3a2ae6a8a46f: Waiting [2025-04-07T09:35:24.127Z] 5c69ac0246d0: Verifying Checksum [2025-04-07T09:35:24.127Z] 5c69ac0246d0: Download complete [2025-04-07T09:35:24.127Z] 3a2ae6a8a46f: Verifying Checksum [2025-04-07T09:35:24.127Z] 3a2ae6a8a46f: Download complete [2025-04-07T09:35:24.127Z] 33b1e0a273af: Verifying Checksum [2025-04-07T09:35:24.127Z] 33b1e0a273af: Download complete [2025-04-07T09:35:24.127Z] 5d3b04190fa2: Verifying Checksum [2025-04-07T09:35:24.127Z] 5d3b04190fa2: Download complete [2025-04-07T09:35:24.127Z] ec43610c2a17: Verifying Checksum [2025-04-07T09:35:24.127Z] ec43610c2a17: Download complete [2025-04-07T09:35:24.385Z] 5eb5b503b376: Verifying Checksum [2025-04-07T09:35:24.386Z] 5eb5b503b376: Download complete [2025-04-07T09:35:24.952Z] 2f39f015ded8: Download complete [2025-04-07T09:35:25.518Z] 5eb5b503b376: Pull complete [2025-04-07T09:35:25.518Z] 5c69ac0246d0: Pull complete [2025-04-07T09:35:26.081Z] ec43610c2a17: Pull complete [2025-04-07T09:35:26.082Z] 3a2ae6a8a46f: Pull complete [2025-04-07T09:35:26.339Z] 33b1e0a273af: Pull complete [2025-04-07T09:35:26.339Z] 5d3b04190fa2: Pull complete [2025-04-07T09:35:30.524Z] 2f39f015ded8: Pull complete [2025-04-07T09:35:30.524Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-04-07T09:35:30.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:35:30.524Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:35:30.635Z] prd-ubuntu20.04-docker-8c-8g-42835 does not seem to be running inside a container [2025-04-07T09:35:30.663Z] $ 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:35:32.208Z] $ docker top b2de5c8f84e1b7940a4c0d3ad36b8828ee9102c621fbf6b5c059355ade012860 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:32.592Z] ---> job-cost.sh [2025-04-07T09:35:32.592Z] lf-activate-venv: SKIPPING [2025-04-07T09:35:32.592Z] INFO: No Stack... [2025-04-07T09:35:32.851Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:35:33.109Z] INFO: Archiving Costs [Pipeline] sh [2025-04-07T09:35:33.399Z] + cat /w/workspace/gexfoundry_sample-service_PR-165/archives/cost.csv [2025-04-07T09:35:33.399Z] + cut -d, -f6 [Pipeline] lock [2025-04-07T09:35:33.415Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-sample-service-PR-165-32-stack-cost] [2025-04-07T09:35:33.424Z] Resource [jenkins-edgexfoundry-sample-service-PR-165-32-stack-cost] did not exist. Created. [2025-04-07T09:35:33.430Z] Lock acquired on [Resource: jenkins-edgexfoundry-sample-service-PR-165-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-04-07T09:35:33.745Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-04-07T09:35:33.795Z] Stashed 1 file(s) [Pipeline] } [2025-04-07T09:35:33.802Z] Lock released on resource [Resource: jenkins-edgexfoundry-sample-service-PR-165-32-stack-cost] [Pipeline] // lock [Pipeline] } [2025-04-07T09:35:33.825Z] $ docker stop --time=1 b2de5c8f84e1b7940a4c0d3ad36b8828ee9102c621fbf6b5c059355ade012860 [2025-04-07T09:35:34.985Z] $ docker rm -f --volumes b2de5c8f84e1b7940a4c0d3ad36b8828ee9102c621fbf6b5c059355ade012860 [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:35:35.488Z] + docker version [2025-04-07T09:35:35.488Z] Client: Docker Engine - Community [2025-04-07T09:35:35.488Z] Version: 20.10.18 [2025-04-07T09:35:35.488Z] API version: 1.41 [2025-04-07T09:35:35.488Z] Go version: go1.18.6 [2025-04-07T09:35:35.488Z] Git commit: b40c2f6 [2025-04-07T09:35:35.488Z] Built: Thu Sep 8 23:11:45 2022 [2025-04-07T09:35:35.488Z] OS/Arch: linux/amd64 [2025-04-07T09:35:35.488Z] Context: default [2025-04-07T09:35:35.488Z] Experimental: true [2025-04-07T09:35:35.488Z] [2025-04-07T09:35:35.488Z] Server: Docker Engine - Community [2025-04-07T09:35:35.488Z] Engine: [2025-04-07T09:35:35.488Z] Version: 20.10.18 [2025-04-07T09:35:35.488Z] API version: 1.41 (minimum version 1.12) [2025-04-07T09:35:35.488Z] Go version: go1.18.6 [2025-04-07T09:35:35.488Z] Git commit: e42327a [2025-04-07T09:35:35.488Z] Built: Thu Sep 8 23:09:37 2022 [2025-04-07T09:35:35.488Z] OS/Arch: linux/amd64 [2025-04-07T09:35:35.488Z] Experimental: false [2025-04-07T09:35:35.488Z] containerd: [2025-04-07T09:35:35.488Z] Version: 1.6.8 [2025-04-07T09:35:35.488Z] GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:35:35.488Z] runc: [2025-04-07T09:35:35.488Z] Version: 1.1.4 [2025-04-07T09:35:35.488Z] GitCommit: v1.1.4-0-g5fd4c4d [2025-04-07T09:35:35.488Z] docker-init: [2025-04-07T09:35:35.488Z] Version: 0.19.0 [2025-04-07T09:35:35.488Z] GitCommit: de40ad0 [Pipeline] sh [2025-04-07T09:35:35.781Z] + docker info [2025-04-07T09:35:36.352Z] Client: [2025-04-07T09:35:36.352Z] Context: default [2025-04-07T09:35:36.352Z] Debug Mode: false [2025-04-07T09:35:36.352Z] Plugins: [2025-04-07T09:35:36.352Z] app: Docker App (Docker Inc., v0.9.1-beta3) [2025-04-07T09:35:36.352Z] buildx: Docker Buildx (Docker Inc., v0.9.1-docker) [2025-04-07T09:35:36.352Z] scan: Docker Scan (Docker Inc., v0.17.0) [2025-04-07T09:35:36.352Z] [2025-04-07T09:35:36.352Z] Server: [2025-04-07T09:35:36.352Z] Containers: 0 [2025-04-07T09:35:36.352Z] Running: 0 [2025-04-07T09:35:36.352Z] Paused: 0 [2025-04-07T09:35:36.352Z] Stopped: 0 [2025-04-07T09:35:36.352Z] Images: 34 [2025-04-07T09:35:36.352Z] Server Version: 20.10.18 [2025-04-07T09:35:36.352Z] Storage Driver: overlay2 [2025-04-07T09:35:36.352Z] Backing Filesystem: extfs [2025-04-07T09:35:36.352Z] Supports d_type: true [2025-04-07T09:35:36.352Z] Native Overlay Diff: true [2025-04-07T09:35:36.352Z] userxattr: false [2025-04-07T09:35:36.352Z] Logging Driver: json-file [2025-04-07T09:35:36.352Z] Cgroup Driver: cgroupfs [2025-04-07T09:35:36.352Z] Cgroup Version: 1 [2025-04-07T09:35:36.352Z] Plugins: [2025-04-07T09:35:36.352Z] Volume: local [2025-04-07T09:35:36.352Z] Network: bridge host ipvlan macvlan null overlay [2025-04-07T09:35:36.352Z] Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog [2025-04-07T09:35:36.352Z] Swarm: inactive [2025-04-07T09:35:36.352Z] Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc [2025-04-07T09:35:36.352Z] Default Runtime: runc [2025-04-07T09:35:36.352Z] Init Binary: docker-init [2025-04-07T09:35:36.352Z] containerd version: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 [2025-04-07T09:35:36.352Z] runc version: v1.1.4-0-g5fd4c4d [2025-04-07T09:35:36.352Z] init version: de40ad0 [2025-04-07T09:35:36.352Z] Security Options: [2025-04-07T09:35:36.352Z] apparmor [2025-04-07T09:35:36.352Z] seccomp [2025-04-07T09:35:36.352Z] Profile: default [2025-04-07T09:35:36.352Z] Kernel Version: 5.4.0-126-generic [2025-04-07T09:35:36.352Z] Operating System: Ubuntu 20.04.5 LTS [2025-04-07T09:35:36.352Z] OSType: linux [2025-04-07T09:35:36.352Z] Architecture: x86_64 [2025-04-07T09:35:36.352Z] CPUs: 8 [2025-04-07T09:35:36.352Z] Total Memory: 31.36GiB [2025-04-07T09:35:36.352Z] Name: prd-ubuntu20-04-docker-8c-8g-42835 [2025-04-07T09:35:36.352Z] ID: B5C6:XBUP:AVU6:3QRK:F5J7:OLEW:3BBT:K62R:4CCP:S4GR:QIZL:K4IG [2025-04-07T09:35:36.352Z] Docker Root Dir: /var/lib/docker [2025-04-07T09:35:36.352Z] Debug Mode: false [2025-04-07T09:35:36.352Z] Username: edgexci [2025-04-07T09:35:36.352Z] Registry: https://index.docker.io/v1/ [2025-04-07T09:35:36.352Z] Labels: [2025-04-07T09:35:36.352Z] Experimental: false [2025-04-07T09:35:36.352Z] Insecure Registries: [2025-04-07T09:35:36.352Z] 127.0.0.0/8 [2025-04-07T09:35:36.352Z] Registry Mirrors: [2025-04-07T09:35:36.352Z] https://nexus3.edgexfoundry.org:10001/ [2025-04-07T09:35:36.352Z] Live Restore Enabled: false [2025-04-07T09:35:36.352Z] [2025-04-07T09:35:36.352Z] WARNING: API is accessible on http://0.0.0.0:5555 without encryption. [2025-04-07T09:35:36.352Z] Access to the remote API is equivalent to root access on the host. Refer [2025-04-07T09:35:36.352Z] to the 'Docker daemon attack surface' section in the documentation for [2025-04-07T09:35:36.352Z] more information: https://docs.docker.com/go/attack-surface/ [2025-04-07T09:35:36.352Z] WARNING: No swap limit support [Pipeline] echo [2025-04-07T09:35:36.365Z] building multi-arch image for nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:35:36.399Z] provisioning config files... [2025-04-07T09:35:36.409Z] copy managed file [sample-service-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config821505587868870687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:36.717Z] ---> ****-login.sh [2025-04-07T09:35:36.717Z] nexus3.edgexfoundry.org:10001 [2025-04-07T09:35:36.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:36.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:36.717Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:36.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:36.717Z] [2025-04-07T09:35:36.717Z] Login Succeeded [2025-04-07T09:35:36.717Z] nexus3.edgexfoundry.org:10002 [2025-04-07T09:35:36.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:36.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:36.717Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:36.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:36.717Z] [2025-04-07T09:35:36.717Z] Login Succeeded [2025-04-07T09:35:36.717Z] nexus3.edgexfoundry.org:10003 [2025-04-07T09:35:36.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:36.977Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:36.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:36.977Z] [2025-04-07T09:35:36.977Z] Login Succeeded [2025-04-07T09:35:36.977Z] nexus3.edgexfoundry.org:10004 [2025-04-07T09:35:36.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:36.977Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:36.978Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:36.978Z] [2025-04-07T09:35:36.978Z] Login Succeeded [2025-04-07T09:35:36.978Z] ****.io [2025-04-07T09:35:37.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-04-07T09:35:37.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-04-07T09:35:37.237Z] Configure a credential helper to remove this warning. See [2025-04-07T09:35:37.237Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-04-07T09:35:37.237Z] [2025-04-07T09:35:37.237Z] Login Succeeded [2025-04-07T09:35:37.237Z] ---> ****-login.sh ends [Pipeline] } [2025-04-07T09:35:37.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-04-07T09:35:37.581Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:35:37.581Z] latest: Pulling from sample-service [2025-04-07T09:35:37.581Z] Digest: sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe [2025-04-07T09:35:37.581Z] Status: Image is up to date for nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:35:37.581Z] nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:35:37.864Z] + docker pull nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:35:37.864Z] latest: Pulling from sample-service-arm64 [2025-04-07T09:35:37.864Z] 95459497489f: Pulling fs layer [2025-04-07T09:35:37.864Z] ceb2e31cc3b0: Pulling fs layer [2025-04-07T09:35:37.864Z] 8ad4e7edb9c4: Pulling fs layer [2025-04-07T09:35:37.864Z] 58ef3575707b: Pulling fs layer [2025-04-07T09:35:37.864Z] 58ef3575707b: Waiting [2025-04-07T09:35:37.864Z] 8ad4e7edb9c4: Verifying Checksum [2025-04-07T09:35:37.864Z] 8ad4e7edb9c4: Download complete [2025-04-07T09:35:37.864Z] 58ef3575707b: Verifying Checksum [2025-04-07T09:35:37.864Z] 58ef3575707b: Download complete [2025-04-07T09:35:37.864Z] 95459497489f: Verifying Checksum [2025-04-07T09:35:37.864Z] 95459497489f: Download complete [2025-04-07T09:35:37.864Z] ceb2e31cc3b0: Verifying Checksum [2025-04-07T09:35:37.864Z] ceb2e31cc3b0: Download complete [2025-04-07T09:35:38.122Z] 95459497489f: Pull complete [2025-04-07T09:35:38.122Z] ceb2e31cc3b0: Pull complete [2025-04-07T09:35:38.122Z] 8ad4e7edb9c4: Pull complete [2025-04-07T09:35:38.382Z] 58ef3575707b: Pull complete [2025-04-07T09:35:38.382Z] Digest: sha256:59404d1e53befa8610e04549965575a664056ff82a764edc0008b34f1badc679 [2025-04-07T09:35:38.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [2025-04-07T09:35:38.382Z] nexus3.edgexfoundry.org:10004/sample-service-arm64:latest [Pipeline] sh [2025-04-07T09:35:38.666Z] + docker tag nexus3.edgexfoundry.org:10004/sample-service:latest nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:35:38.666Z] + docker rmi -f nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:35:38.666Z] Untagged: nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:35:38.956Z] + docker push nexus3.edgexfoundry.org:10004/sample-service-amd64:latest [2025-04-07T09:35:38.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/sample-service-amd64] [2025-04-07T09:35:38.956Z] 33e66b0cc9f3: Preparing [2025-04-07T09:35:38.956Z] 68a9e037eb0f: Preparing [2025-04-07T09:35:38.956Z] 46c1a861b848: Preparing [2025-04-07T09:35:38.956Z] f44f286046d9: Preparing [2025-04-07T09:35:38.956Z] 68a9e037eb0f: Layer already exists [2025-04-07T09:35:38.956Z] 46c1a861b848: Layer already exists [2025-04-07T09:35:38.956Z] 33e66b0cc9f3: Layer already exists [2025-04-07T09:35:38.956Z] f44f286046d9: Layer already exists [2025-04-07T09:35:38.956Z] latest: digest: sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe size: 1154 [Pipeline] echo [2025-04-07T09:35:38.967Z] registry: https://nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh [2025-04-07T09:35:39.298Z] + 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:35:39.298Z] Created manifest list nexus3.edgexfoundry.org:10004/sample-service:latest [Pipeline] sh [2025-04-07T09:35:39.584Z] + sudo docker manifest inspect nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:35:39.584Z] { [2025-04-07T09:35:39.584Z] "schemaVersion": 2, [2025-04-07T09:35:39.584Z] "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json", [2025-04-07T09:35:39.584Z] "manifests": [ [2025-04-07T09:35:39.584Z] { [2025-04-07T09:35:39.584Z] "mediaType": "application/vnd.docker.distribution.manifest.v2+json", [2025-04-07T09:35:39.584Z] "size": 1154, [2025-04-07T09:35:39.585Z] "digest": "sha256:d5e2d93f0efe12dffca1c37489cb4fe6e9f95ac7877f2993002f4663e63437fe", [2025-04-07T09:35:39.585Z] "platform": { [2025-04-07T09:35:39.585Z] "architecture": "amd64", [2025-04-07T09:35:39.585Z] "os": "linux" [2025-04-07T09:35:39.585Z] } [2025-04-07T09:35:39.585Z] }, [2025-04-07T09:35:39.585Z] { [2025-04-07T09:35:39.585Z] "mediaType": "application/vnd.docker.distribution.manifest.v2+json", [2025-04-07T09:35:39.585Z] "size": 1154, [2025-04-07T09:35:39.585Z] "digest": "sha256:59404d1e53befa8610e04549965575a664056ff82a764edc0008b34f1badc679", [2025-04-07T09:35:39.585Z] "platform": { [2025-04-07T09:35:39.585Z] "architecture": "arm64", [2025-04-07T09:35:39.585Z] "os": "linux", [2025-04-07T09:35:39.585Z] "variant": "v8" [2025-04-07T09:35:39.585Z] } [2025-04-07T09:35:39.585Z] } [2025-04-07T09:35:39.585Z] ] [2025-04-07T09:35:39.585Z] } [Pipeline] sh [2025-04-07T09:35:39.873Z] + sudo docker manifest push nexus3.edgexfoundry.org:10004/sample-service:latest [2025-04-07T09:35:39.873Z] failed to mount blob sample-service-amd64@sha256:c37d87982769af01f3d0363afa443269618c3d9fef2bca4406644c848206bef7 to nexus3.edgexfoundry.org:10004/sample-service:latest: unauthorized: access to the requested resource is not authorized [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:35:40.734Z] + [ -d /w/workspace/gexfoundry_sample-service_PR-165/archives ] [2025-04-07T09:35:40.734Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:35:40.734Z] total 16 [2025-04-07T09:35:40.734Z] drwxr-xr-x 3 root root 4096 Apr 7 09:35 . [2025-04-07T09:35:40.734Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:35 .. [2025-04-07T09:35:40.734Z] drwxr-xr-x 2 root root 4096 Apr 7 09:35 cost [2025-04-07T09:35:40.734Z] -rw-r--r-- 1 root root 87 Apr 7 09:35 cost.csv [2025-04-07T09:35:40.734Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:35:40.734Z] + ls -al /w/workspace/gexfoundry_sample-service_PR-165/archives [2025-04-07T09:35:40.734Z] total 16 [2025-04-07T09:35:40.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 09:35 . [2025-04-07T09:35:40.734Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 09:35 .. [2025-04-07T09:35:40.734Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 09:35 cost [2025-04-07T09:35:40.734Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 7 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:41.026Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:41.886Z] ---> package-listing.sh [2025-04-07T09:35:41.886Z] ++ facter osfamily [2025-04-07T09:35:41.886Z] ++ tr '[:upper:]' '[:lower:]' [2025-04-07T09:35:42.146Z] + OS_FAMILY=debian [2025-04-07T09:35:42.146Z] + workspace=/w/workspace/gexfoundry_sample-service_PR-165 [2025-04-07T09:35:42.146Z] + START_PACKAGES=/tmp/packages_start.txt [2025-04-07T09:35:42.146Z] + END_PACKAGES=/tmp/packages_end.txt [2025-04-07T09:35:42.146Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-04-07T09:35:42.146Z] + PACKAGES=/tmp/packages_start.txt [2025-04-07T09:35:42.146Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:35:42.146Z] + PACKAGES=/tmp/packages_end.txt [2025-04-07T09:35:42.146Z] + case "${OS_FAMILY}" in [2025-04-07T09:35:42.146Z] + dpkg -l [2025-04-07T09:35:42.146Z] + grep '^ii' [2025-04-07T09:35:42.146Z] + '[' -f /tmp/packages_start.txt ']' [2025-04-07T09:35:42.146Z] + '[' -f /tmp/packages_end.txt ']' [2025-04-07T09:35:42.146Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-04-07T09:35:42.146Z] + '[' /w/workspace/gexfoundry_sample-service_PR-165 ']' [2025-04-07T09:35:42.146Z] + mkdir -p /w/workspace/gexfoundry_sample-service_PR-165/archives/ [2025-04-07T09:35:42.146Z] + 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:35:42.159Z] 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:35:42.437Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-04-07T09:35:43.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-04-07T09:35:43.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-04-07T09:35:43.079Z] prd-ubuntu20.04-docker-8c-8g-42835 does not seem to be running inside a container [2025-04-07T09:35:43.105Z] $ 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:35:43.364Z] $ docker top 799d69b56a11ed89dcd62997056048a02bb8235507824b2993d3862b1e73533f -eo pid,comm [Pipeline] { [Pipeline] sh [2025-04-07T09:35:43.722Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-04-07T09:35:44.010Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-04-07T09:35:44.300Z] + ls /var/log/sa-host [2025-04-07T09:35:44.300Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-04-07T09:35:44.382Z] provisioning config files... [2025-04-07T09:35:44.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_sample-service_PR-165@tmp/config15627505129148100500tmp [Pipeline] { [Pipeline] echo [2025-04-07T09:35:44.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:44.698Z] ---> create-netrc.sh [Pipeline] } [2025-04-07T09:35:44.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:45.039Z] ---> python-tools-install.sh [Pipeline] echo [2025-04-07T09:35:45.049Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:45.330Z] ---> sudo-logs.sh [2025-04-07T09:35:45.330Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-04-07T09:35:45.367Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:45.648Z] ---> job-cost.sh [2025-04-07T09:35:45.648Z] lf-activate-venv: SKIPPING [2025-04-07T09:35:45.648Z] DEBUG: total: 0.2199999988079071 [2025-04-07T09:35:45.648Z] INFO: Retrieving Stack Cost... [2025-04-07T09:35:45.648Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-04-07T09:35:45.907Z] INFO: Archiving Costs [Pipeline] echo [2025-04-07T09:35:45.919Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-04-07T09:35:46.201Z] ---> logs-deploy.sh [2025-04-07T09:35:46.201Z] lf-activate-venv: SKIPPING [2025-04-07T09:35:46.201Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/sample-service/PR-165/32 [2025-04-07T09:35:46.201Z] INFO: archiving workspace using pattern(s): [2025-04-07T09:35:47.137Z] Archives upload complete. [2025-04-07T09:35:47.137Z] INFO: archiving logs to Nexus