Pull request #474 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8de79d5f3f98f3a274d37d0a54a2b45793ff8841+29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 (255e64eecbec7da00365e65d5fea84a0656d73aa) Loading library edgex-global-pipelines@stable Attempting to resolve stable 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-ssh4676976534927847298.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh11031592797259267883.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/device-rest-go/branches/PR-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7423439841626101700.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/device-rest-go/branches/PR-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh579257315936525842.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh88061013217241031.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-474/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/device-rest-go/branches/PR-474/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10659313298844031946.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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:device-rest-go] ========================================================= [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: device-rest-go-settings PROJECT: device-rest-go 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: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3810 in /w/workspace/gexfoundry_device-rest-go_PR-474 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-474 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 into PR head commit 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 Merge succeeded, producing 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 Checking out Revision 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 (PR-474) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 # 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 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-06-23T22:58:24.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-06-23T22:58:24.548Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-06-23T22:58:24.643Z] ========================================================= [2025-06-23T22:58:24.643Z] EdgeX Global Pipelines Version Info [2025-06-23T22:58:24.643Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-06-23T22:58:25.413Z] ------------------- [2025-06-23T22:58:25.413Z] stable info: [2025-06-23T22:58:25.413Z] ------------------- [2025-06-23T22:58:25.413Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-06-23T22:58:25.413Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-06-23T22:58:25.413Z] Message: update stable to v1.0.274 [2025-06-23T22:58:26.354Z] ------------------- [2025-06-23T22:58:26.354Z] experimental info: [2025-06-23T22:58:26.354Z] ------------------- [2025-06-23T22:58:26.354Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2025-06-23T22:58:26.354Z] Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 [2025-06-23T22:58:26.354Z] Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-06-23T22:58:26.553Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2025-06-23T22:58:26.599Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2025-06-23T22:58:26.639Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-06-23T22:58:26.686Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-06-23T22:58:26.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-06-23T22:58:26.763Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-06-23T22:58:26.809Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-06-23T22:58:26.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-06-23T22:58:26.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-06-23T22:58:26.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-06-23T22:58:27.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-06-23T22:58:27.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2025-06-23T22:58:27.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-06-23T22:58:27.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-06-23T22:58:27.197Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-06-23T22:58:27.236Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-06-23T22:58:27.283Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-06-23T22:58:27.331Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-06-23T22:58:27.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-06-23T22:58:27.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-06-23T22:58:27.489Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-06-23T22:58:27.542Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-06-23T22:58:27.599Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-06-23T22:58:27.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-06-23T22:58:27.703Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-06-23T22:58:27.757Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-06-23T22:58:27.804Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-06-23T22:58:27.856Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-474 [Pipeline] echo [2025-06-23T22:58:27.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-474 [Pipeline] echo [2025-06-23T22:58:27.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-474 [Pipeline] echo [2025-06-23T22:58:28.014Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 [Pipeline] echo [2025-06-23T22:58:28.063Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8de79d5 [Pipeline] echo [2025-06-23T22:58:28.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-06-23T22:58:28.246Z] provisioning config files... [2025-06-23T22:58:28.261Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-474@tmp/config11412650141884997831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-06-23T22:58:28.633Z] ---> ****-login.sh [2025-06-23T22:58:28.634Z] nexus3.edgexfoundry.org:10001 [2025-06-23T22:58:28.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:29.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:29.156Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:29.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:29.156Z] [2025-06-23T22:58:29.156Z] Login Succeeded [2025-06-23T22:58:29.156Z] nexus3.edgexfoundry.org:10002 [2025-06-23T22:58:29.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:29.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:29.156Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:29.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:29.156Z] [2025-06-23T22:58:29.156Z] Login Succeeded [2025-06-23T22:58:29.156Z] nexus3.edgexfoundry.org:10003 [2025-06-23T22:58:29.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:29.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:29.157Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:29.157Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:29.157Z] [2025-06-23T22:58:29.157Z] Login Succeeded [2025-06-23T22:58:29.417Z] nexus3.edgexfoundry.org:10004 [2025-06-23T22:58:29.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:29.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:29.417Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:29.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:29.418Z] [2025-06-23T22:58:29.418Z] Login Succeeded [2025-06-23T22:58:29.418Z] ****.io [2025-06-23T22:58:29.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:29.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:29.680Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:29.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:29.680Z] [2025-06-23T22:58:29.680Z] Login Succeeded [2025-06-23T22:58:29.680Z] ---> ****-login.sh ends [Pipeline] } [2025-06-23T22:58:29.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-06-23T22:58:30.372Z] + git rev-list -1 --merges 8de79d5f3f98f3a274d37d0a54a2b45793ff8841~1..8de79d5f3f98f3a274d37d0a54a2b45793ff8841 [Pipeline] echo [2025-06-23T22:58:30.420Z] -----------> git rev-list -1 --merges 8de79d5f3f98f3a274d37d0a54a2b45793ff8841~1..8de79d5f3f98f3a274d37d0a54a2b45793ff8841 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 [false] [Pipeline] sh [2025-06-23T22:58:30.736Z] + git log --format=format:%s -1 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 [Pipeline] echo [2025-06-23T22:58:30.772Z] ========================================================= [2025-06-23T22:58:30.772Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-06-23T22:58:30.772Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-06-23T22:58:31.216Z] + git log --format=format:%s -1 8de79d5f3f98f3a274d37d0a54a2b45793ff8841 [Pipeline] echo [2025-06-23T22:58:31.253Z] [semverPrep] GIT_COMMIT: 8de79d5f3f98f3a274d37d0a54a2b45793ff8841, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2025-06-23T22:58:31.286Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-06-23T22:58:31.700Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-06-23T22:58:31.700Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-06-23T22:58:31.700Z] + [ -e /tmp/ssh_known_hosts ] [2025-06-23T22:58:31.700Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-06-23T22:58:31.700Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-06-23T22:58:31.700Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-06-23T22:58:31.700Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T22:58:32.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-06-23T22:58:32.220Z] [2025-06-23T22:58:32.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T22:58:32.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-06-23T22:58:32.601Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-06-23T22:58:32.601Z] 3dae71ba6b94: Pulling fs layer [2025-06-23T22:58:32.601Z] 6bf1a483ea7c: Pulling fs layer [2025-06-23T22:58:32.601Z] f5dfc541a4d3: Pulling fs layer [2025-06-23T22:58:32.601Z] 461d9e800cba: Pulling fs layer [2025-06-23T22:58:32.601Z] 80192f66455f: Pulling fs layer [2025-06-23T22:58:32.601Z] 2e8e34ca0e6c: Pulling fs layer [2025-06-23T22:58:32.601Z] 80192f66455f: Waiting [2025-06-23T22:58:32.601Z] 461d9e800cba: Waiting [2025-06-23T22:58:32.601Z] 2e8e34ca0e6c: Waiting [2025-06-23T22:58:32.601Z] a29436f7fd5d: Pulling fs layer [2025-06-23T22:58:32.601Z] 923cac83aea3: Pulling fs layer [2025-06-23T22:58:32.601Z] 25ad8b0a4227: Pulling fs layer [2025-06-23T22:58:32.601Z] db01528c6b51: Pulling fs layer [2025-06-23T22:58:32.601Z] 28988de357af: Pulling fs layer [2025-06-23T22:58:32.601Z] 923cac83aea3: Waiting [2025-06-23T22:58:32.601Z] 28988de357af: Waiting [2025-06-23T22:58:32.601Z] 25ad8b0a4227: Waiting [2025-06-23T22:58:32.601Z] db01528c6b51: Waiting [2025-06-23T22:58:32.601Z] a29436f7fd5d: Waiting [2025-06-23T22:58:32.601Z] 6bf1a483ea7c: Verifying Checksum [2025-06-23T22:58:32.601Z] 6bf1a483ea7c: Download complete [2025-06-23T22:58:32.864Z] 461d9e800cba: Download complete [2025-06-23T22:58:32.864Z] 80192f66455f: Verifying Checksum [2025-06-23T22:58:32.864Z] 80192f66455f: Download complete [2025-06-23T22:58:32.864Z] f5dfc541a4d3: Verifying Checksum [2025-06-23T22:58:32.864Z] f5dfc541a4d3: Download complete [2025-06-23T22:58:33.124Z] 3dae71ba6b94: Verifying Checksum [2025-06-23T22:58:33.124Z] 3dae71ba6b94: Download complete [2025-06-23T22:58:33.124Z] 923cac83aea3: Download complete [2025-06-23T22:58:33.124Z] 25ad8b0a4227: Verifying Checksum [2025-06-23T22:58:33.124Z] 25ad8b0a4227: Download complete [2025-06-23T22:58:33.124Z] db01528c6b51: Verifying Checksum [2025-06-23T22:58:33.124Z] db01528c6b51: Download complete [2025-06-23T22:58:33.124Z] 28988de357af: Verifying Checksum [2025-06-23T22:58:33.124Z] 28988de357af: Download complete [2025-06-23T22:58:33.382Z] a29436f7fd5d: Verifying Checksum [2025-06-23T22:58:33.382Z] a29436f7fd5d: Download complete [2025-06-23T22:58:33.956Z] 2e8e34ca0e6c: Verifying Checksum [2025-06-23T22:58:33.956Z] 2e8e34ca0e6c: Download complete [2025-06-23T22:58:34.216Z] 3dae71ba6b94: Pull complete [2025-06-23T22:58:34.216Z] 6bf1a483ea7c: Pull complete [2025-06-23T22:58:35.154Z] f5dfc541a4d3: Pull complete [2025-06-23T22:58:35.154Z] 461d9e800cba: Pull complete [2025-06-23T22:58:35.154Z] 80192f66455f: Pull complete [2025-06-23T22:58:38.440Z] 2e8e34ca0e6c: Pull complete [2025-06-23T22:58:39.006Z] a29436f7fd5d: Pull complete [2025-06-23T22:58:39.265Z] 923cac83aea3: Pull complete [2025-06-23T22:58:39.265Z] 25ad8b0a4227: Pull complete [2025-06-23T22:58:39.525Z] db01528c6b51: Pull complete [2025-06-23T22:58:39.525Z] 28988de357af: Pull complete [2025-06-23T22:58:39.525Z] Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 [2025-06-23T22:58:39.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-06-23T22:58:39.525Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-23T22:58:39.794Z] prd-ubuntu20.04-docker-8c-8g-3810 does not seem to be running inside a container [2025-06-23T22:58:39.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-474 -v /w/workspace/gexfoundry_device-rest-go_PR-474:/w/workspace/gexfoundry_device-rest-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-474@tmp:/w/workspace/gexfoundry_device-rest-go_PR-474@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-06-23T22:58:44.597Z] $ docker top 44a42d7c84365183fbdc6d2a876a21be623a6fae1b8d75ea0d8a7bcca2f1ff5c -eo pid,comm [2025-06-23T22:58:44.646Z] 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-06-23T22:58:44.646Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-06-23T22:58:44.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-06-23T22:58:44.785Z] [ssh-agent] Looking for ssh-agent implementation... [2025-06-23T22:58:44.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-06-23T22:58:44.901Z] $ docker exec 44a42d7c84365183fbdc6d2a876a21be623a6fae1b8d75ea0d8a7bcca2f1ff5c ssh-agent [2025-06-23T22:58:45.004Z] SSH_AUTH_SOCK=/tmp/ssh-CIS7XJkjUQn4/agent.32 [2025-06-23T22:58:45.004Z] SSH_AGENT_PID=38 [2025-06-23T22:58:45.012Z] Running ssh-add (command line suppressed) [2025-06-23T22:58:45.136Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-474@tmp/private_key_14505051972613647830.key (/w/workspace/gexfoundry_device-rest-go_PR-474@tmp/private_key_14505051972613647830.key) [2025-06-23T22:58:45.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-06-23T22:58:45.483Z] + git tag --points-at HEAD [Pipeline] } [2025-06-23T22:58:45.513Z] $ docker exec --env ******** --env ******** 44a42d7c84365183fbdc6d2a876a21be623a6fae1b8d75ea0d8a7bcca2f1ff5c ssh-agent -k [2025-06-23T22:58:45.610Z] unset SSH_AUTH_SOCK; [2025-06-23T22:58:45.610Z] unset SSH_AGENT_PID; [2025-06-23T22:58:45.610Z] echo Agent pid 38 killed; [2025-06-23T22:58:45.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-06-23T22:58:45.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-06-23T22:58:45.724Z] [ssh-agent] Looking for ssh-agent implementation... [2025-06-23T22:58:45.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-06-23T22:58:45.855Z] $ docker exec 44a42d7c84365183fbdc6d2a876a21be623a6fae1b8d75ea0d8a7bcca2f1ff5c ssh-agent [2025-06-23T22:58:45.978Z] SSH_AUTH_SOCK=/tmp/ssh-vUNWRhXnjnmw/agent.71 [2025-06-23T22:58:45.978Z] SSH_AGENT_PID=77 [2025-06-23T22:58:45.983Z] Running ssh-add (command line suppressed) [2025-06-23T22:58:46.100Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-474@tmp/private_key_17962820707381200699.key (/w/workspace/gexfoundry_device-rest-go_PR-474@tmp/private_key_17962820707381200699.key) [2025-06-23T22:58:46.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-06-23T22:58:46.447Z] + git semver init [2025-06-23T22:58:46.707Z] 2025-06-23 22:58:46,666 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') [2025-06-23T22:58:46.707Z] 2025-06-23 22:58:46,669 [run_init] DEBUG init version:0.0.0 force:False [2025-06-23T22:58:46.707Z] 2025-06-23 22:58:46,670 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-474/.semver [2025-06-23T22:58:46.707Z] 2025-06-23 22:58:46,671 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-474/.semver [2025-06-23T22:58:46.707Z] 2025-06-23 22:58:46,671 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-474/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-474, stdin=None, shell=False, universal_newlines=False) [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,325 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-474/.git/info/exclude [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-474/.semver/PR-474 with force:False [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,326 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-474/.semver/PR-474 [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,330 [execute] INFO git cat-file --batch-check [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-474/.semver, stdin=, shell=False, universal_newlines=False) [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,336 [execute] INFO git cat-file --batch [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-474/.semver, stdin=, shell=False, universal_newlines=False) [2025-06-23T22:58:48.613Z] 2025-06-23 22:58:48,339 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-474/.semver/PR-474 [2025-06-23T22:58:48.613Z] 0.0.0 [Pipeline] } [2025-06-23T22:58:48.647Z] $ docker exec --env ******** --env ******** 44a42d7c84365183fbdc6d2a876a21be623a6fae1b8d75ea0d8a7bcca2f1ff5c ssh-agent -k [2025-06-23T22:58:48.735Z] unset SSH_AUTH_SOCK; [2025-06-23T22:58:48.736Z] unset SSH_AGENT_PID; [2025-06-23T22:58:48.736Z] echo Agent pid 77 killed; [2025-06-23T22:58:48.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-06-23T22:58:49.186Z] + git semver [Pipeline] } [2025-06-23T22:58:49.785Z] $ docker stop --time=1 44a42d7c84365183fbdc6d2a876a21be623a6fae1b8d75ea0d8a7bcca2f1ff5c [2025-06-23T22:58:51.125Z] $ docker rm -f --volumes 44a42d7c84365183fbdc6d2a876a21be623a6fae1b8d75ea0d8a7bcca2f1ff5c [Pipeline] // withDockerContainer [Pipeline] sh [2025-06-23T22:58:51.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-06-23T22:58:51.859Z] Stashed 1 file(s) [Pipeline] echo [2025-06-23T22:58:51.882Z] [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] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [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] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-06-23T22:58:52.888Z] provisioning config files... [2025-06-23T22:58:52.899Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-474@tmp/config7542987895797001547tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-06-23T22:58:53.357Z] ---> ****-login.sh [2025-06-23T22:58:53.357Z] nexus3.edgexfoundry.org:10001 [2025-06-23T22:58:53.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:53.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:53.357Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:53.357Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:53.357Z] [2025-06-23T22:58:53.357Z] Login Succeeded [2025-06-23T22:58:53.357Z] nexus3.edgexfoundry.org:10002 [2025-06-23T22:58:53.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:53.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:53.358Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:53.358Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:53.358Z] [2025-06-23T22:58:53.358Z] Login Succeeded [2025-06-23T22:58:53.358Z] nexus3.edgexfoundry.org:10003 [2025-06-23T22:58:53.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:53.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:53.618Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:53.618Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:53.618Z] [2025-06-23T22:58:53.618Z] Login Succeeded [2025-06-23T22:58:53.618Z] nexus3.edgexfoundry.org:10004 [2025-06-23T22:58:53.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:53.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:53.619Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:53.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:53.619Z] [2025-06-23T22:58:53.619Z] Login Succeeded [2025-06-23T22:58:53.619Z] ****.io [2025-06-23T22:58:53.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-23T22:58:53.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-23T22:58:53.879Z] Configure a credential helper to remove this warning. See [2025-06-23T22:58:53.879Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-23T22:58:53.879Z] [2025-06-23T22:58:53.879Z] Login Succeeded [2025-06-23T22:58:53.879Z] ---> ****-login.sh ends [Pipeline] } [2025-06-23T22:58:53.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-06-23T22:58:54.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-06-23T22:58:54.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-06-23T22:58:54.237Z] ========================================================= [2025-06-23T22:58:54.237Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-06-23T22:58:54.237Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T22:58:54.835Z] + 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-06-23T22:58:54.835Z] Sending build context to Docker daemon 21.65MB [2025-06-23T22:58:54.835Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2025-06-23T22:58:54.835Z] Step 2/12 : FROM ${BASE} AS builder [2025-06-23T22:58:55.096Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-06-23T22:58:55.096Z] 0a9a5dfd008f: Pulling fs layer [2025-06-23T22:58:55.096Z] 36466aa92d05: Pulling fs layer [2025-06-23T22:58:55.096Z] e10405b45d13: Pulling fs layer [2025-06-23T22:58:55.096Z] 096b7ceb2af7: Pulling fs layer [2025-06-23T22:58:55.096Z] 4f4fb700ef54: Pulling fs layer [2025-06-23T22:58:55.096Z] 8213a616a21b: Pulling fs layer [2025-06-23T22:58:55.096Z] 985586143405: Pulling fs layer [2025-06-23T22:58:55.096Z] 0eae2285b678: Pulling fs layer [2025-06-23T22:58:55.096Z] d3ac315be8c5: Pulling fs layer [2025-06-23T22:58:55.096Z] 8213a616a21b: Waiting [2025-06-23T22:58:55.096Z] 985586143405: Waiting [2025-06-23T22:58:55.096Z] 0eae2285b678: Waiting [2025-06-23T22:58:55.096Z] d3ac315be8c5: Waiting [2025-06-23T22:58:55.096Z] 096b7ceb2af7: Waiting [2025-06-23T22:58:55.096Z] 4f4fb700ef54: Waiting [2025-06-23T22:58:55.096Z] 36466aa92d05: Verifying Checksum [2025-06-23T22:58:55.096Z] 36466aa92d05: Download complete [2025-06-23T22:58:55.096Z] 096b7ceb2af7: Verifying Checksum [2025-06-23T22:58:55.096Z] 096b7ceb2af7: Download complete [2025-06-23T22:58:55.096Z] 4f4fb700ef54: Verifying Checksum [2025-06-23T22:58:55.096Z] 4f4fb700ef54: Download complete [2025-06-23T22:58:55.096Z] 8213a616a21b: Download complete [2025-06-23T22:58:55.096Z] 0a9a5dfd008f: Verifying Checksum [2025-06-23T22:58:55.096Z] 985586143405: Verifying Checksum [2025-06-23T22:58:55.096Z] 985586143405: Download complete [2025-06-23T22:58:55.368Z] 0a9a5dfd008f: Pull complete [2025-06-23T22:58:55.368Z] d3ac315be8c5: Verifying Checksum [2025-06-23T22:58:55.368Z] d3ac315be8c5: Download complete [2025-06-23T22:58:55.368Z] 36466aa92d05: Pull complete [2025-06-23T22:58:55.625Z] e10405b45d13: Download complete [2025-06-23T22:58:55.883Z] 0eae2285b678: Verifying Checksum [2025-06-23T22:58:55.883Z] 0eae2285b678: Download complete [2025-06-23T22:58:59.178Z] e10405b45d13: Pull complete [2025-06-23T22:58:59.178Z] 096b7ceb2af7: Pull complete [2025-06-23T22:58:59.438Z] 4f4fb700ef54: Pull complete [2025-06-23T22:58:59.438Z] 8213a616a21b: Pull complete [2025-06-23T22:58:59.438Z] 985586143405: Pull complete [2025-06-23T22:59:01.971Z] 0eae2285b678: Pull complete [2025-06-23T22:59:02.232Z] d3ac315be8c5: Pull complete [2025-06-23T22:59:02.232Z] Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 [2025-06-23T22:59:02.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-06-23T22:59:02.232Z] ---> ea6120ae94a0 [2025-06-23T22:59:02.232Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2025-06-23T22:59:06.432Z] ---> Running in cbc4d6c3c62a [2025-06-23T22:59:06.433Z] Removing intermediate container cbc4d6c3c62a [2025-06-23T22:59:06.433Z] ---> 6ace364b5cdd [2025-06-23T22:59:06.433Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-06-23T22:59:06.433Z] ---> Running in c99c10a69624 [2025-06-23T22:59:06.433Z] Removing intermediate container c99c10a69624 [2025-06-23T22:59:06.433Z] ---> 231ec89f06cb [2025-06-23T22:59:06.433Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-06-23T22:59:06.433Z] ---> Running in 4206cc1f2ab9 [2025-06-23T22:59:06.692Z] Removing intermediate container 4206cc1f2ab9 [2025-06-23T22:59:06.692Z] ---> 90eb7e3fe539 [2025-06-23T22:59:06.692Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2025-06-23T22:59:06.692Z] ---> Running in 36bcfe36368c [2025-06-23T22:59:06.692Z] Removing intermediate container 36bcfe36368c [2025-06-23T22:59:06.692Z] ---> 4442696f5de8 [2025-06-23T22:59:06.692Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-06-23T22:59:06.692Z] ---> Running in 829cb8cd3b32 [2025-06-23T22:59:06.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-23T22:59:07.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-23T22:59:07.468Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-06-23T22:59:07.468Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-06-23T22:59:07.468Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-06-23T22:59:07.468Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-06-23T22:59:07.468Z] Executing busybox-1.36.1-r29.trigger [2025-06-23T22:59:07.468Z] OK: 252 MiB in 62 packages [2025-06-23T22:59:08.036Z] Removing intermediate container 829cb8cd3b32 [2025-06-23T22:59:08.036Z] ---> 1c09fbdbabfc [2025-06-23T22:59:08.036Z] Step 8/12 : WORKDIR /device-rest-go [2025-06-23T22:59:08.036Z] ---> Running in f0acb8d9a007 [2025-06-23T22:59:08.297Z] Removing intermediate container f0acb8d9a007 [2025-06-23T22:59:08.297Z] ---> 3f7d7af9169d [2025-06-23T22:59:08.297Z] Step 9/12 : COPY go.mod vendor* ./ [2025-06-23T22:59:08.297Z] ---> 1926a316532e [2025-06-23T22:59:08.297Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-06-23T22:59:08.297Z] ---> Running in a825e8089a93 [2025-06-23T23:00:29.755Z] Removing intermediate container a825e8089a93 [2025-06-23T23:00:29.755Z] ---> 3b088351a2ac [2025-06-23T23:00:29.755Z] Step 11/12 : COPY . . [2025-06-23T23:00:29.755Z] ---> 113858724cda [2025-06-23T23:00:29.755Z] Step 12/12 : RUN $MAKE [2025-06-23T23:00:29.755Z] ---> Running in 0ed7fc192767 [2025-06-23T23:00:29.755Z] noop [2025-06-23T23:00:29.755Z] Removing intermediate container 0ed7fc192767 [2025-06-23T23:00:29.755Z] ---> e95e5e9888bb [2025-06-23T23:00:29.755Z] Successfully built e95e5e9888bb [2025-06-23T23:00:29.755Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T23:00:30.233Z] + docker inspect -f . ci-base-image-x86_64 [2025-06-23T23:00:30.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-23T23:00:30.395Z] prd-ubuntu20.04-docker-8c-8g-3810 does not seem to be running inside a container [2025-06-23T23:00:30.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-474 -v /w/workspace/gexfoundry_device-rest-go_PR-474:/w/workspace/gexfoundry_device-rest-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-474@tmp:/w/workspace/gexfoundry_device-rest-go_PR-474@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 ******** ci-base-image-x86_64 cat [2025-06-23T23:00:30.767Z] $ docker top f19b406327c5ec4bd4ef9a8f2711e8da845d7b829523af552689032fae3b4c9d -eo pid,comm [Pipeline] { [Pipeline] sh [2025-06-23T23:00:31.156Z] + go version [2025-06-23T23:00:31.156Z] go version go1.23.9 linux/amd64 [Pipeline] } [2025-06-23T23:00:31.193Z] $ docker stop --time=1 f19b406327c5ec4bd4ef9a8f2711e8da845d7b829523af552689032fae3b4c9d [2025-06-23T23:00:32.446Z] $ docker rm -f --volumes f19b406327c5ec4bd4ef9a8f2711e8da845d7b829523af552689032fae3b4c9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T23:00:33.180Z] + docker inspect -f . ci-base-image-x86_64 [2025-06-23T23:00:33.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-23T23:00:33.343Z] prd-ubuntu20.04-docker-8c-8g-3810 does not seem to be running inside a container [2025-06-23T23:00:33.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-474 -v /w/workspace/gexfoundry_device-rest-go_PR-474:/w/workspace/gexfoundry_device-rest-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-474@tmp:/w/workspace/gexfoundry_device-rest-go_PR-474@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 ******** ci-base-image-x86_64 cat [2025-06-23T23:00:33.721Z] $ docker top 2a5b51e1b8adb3b439785e8c66f64f16babbd8e0dcc544105b66337278ff7c02 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-06-23T23:00:34.119Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-474 [Pipeline] fileExists [Pipeline] sh [2025-06-23T23:00:34.510Z] + make test [2025-06-23T23:00:34.510Z] go test ./... -coverprofile=coverage.out ./... [2025-06-23T23:00:35.891Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2025-06-23T23:00:53.962Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2025-06-23T23:00:53.962Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements [2025-06-23T23:01:02.067Z] go vet ./... [2025-06-23T23:01:07.331Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-06-23T23:01:07.331Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-06-23T23:01:07.331Z] ./bin/test-attribution-txt.sh [2025-06-23T23:01:07.331Z] An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add [2025-06-23T23:01:07.331Z] An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo [2025-06-23T23:01:07.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } [2025-06-23T23:01:07.404Z] $ docker stop --time=1 2a5b51e1b8adb3b439785e8c66f64f16babbd8e0dcc544105b66337278ff7c02 [2025-06-23T23:01:11.575Z] $ docker rm -f --volumes 2a5b51e1b8adb3b439785e8c66f64f16babbd8e0dcc544105b66337278ff7c02 [Pipeline] // withDockerContainer [Pipeline] sh [2025-06-23T23:01:12.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-06-23T23:01:12.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-06-23T23:01:12.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-06-23T23:01:13.307Z] + ls -al . [2025-06-23T23:01:13.307Z] total 244 [2025-06-23T23:01:13.307Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 23:00 . [2025-06-23T23:01:13.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 22:58 .. [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 23 22:58 .dockerignore [2025-06-23T23:01:13.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 23:00 .git [2025-06-23T23:01:13.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 22:58 .github [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 264 Jun 23 22:58 .gitignore [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 23 22:58 .golangci.yml [2025-06-23T23:01:13.307Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 22:58 .semver [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 20138 Jun 23 22:58 Attribution.txt [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 18492 Jun 23 22:58 CHANGELOG.md [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jun 23 22:58 Dockerfile [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 22:58 GOVERNANCE.md [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 23 22:58 Jenkinsfile [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 22:58 LICENSE [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 2598 Jun 23 22:58 Makefile [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 23 22:58 OWNERS.md [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jun 23 22:58 README.md [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 22:58 VERSION [2025-06-23T23:01:13.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 22:58 bin [2025-06-23T23:01:13.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 22:58 cmd [2025-06-23T23:01:13.307Z] -rw-r--r-- 1 jenkins jenkins 14565 Jun 23 23:00 coverage.out [2025-06-23T23:01:13.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 22:58 driver [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 6272 Jun 23 22:58 go.mod [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 86413 Jun 23 22:58 go.sum [2025-06-23T23:01:13.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 22:58 openapi [2025-06-23T23:01:13.307Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 23 22:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T23:01:13.713Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8de79d5f3f98f3a274d37d0a54a2b45793ff8841 --label arch=amd64 --label version=0.0.0 . [2025-06-23T23:01:13.713Z] Sending build context to Docker daemon 21.67MB [2025-06-23T23:01:13.713Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2025-06-23T23:01:13.713Z] Step 2/26 : FROM ${BASE} AS builder [2025-06-23T23:01:13.713Z] ---> e95e5e9888bb [2025-06-23T23:01:13.713Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2025-06-23T23:01:13.973Z] ---> Running in a88c621001d1 [2025-06-23T23:01:13.973Z] Removing intermediate container a88c621001d1 [2025-06-23T23:01:13.973Z] ---> 6ed8d5ffa9be [2025-06-23T23:01:13.973Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-06-23T23:01:13.973Z] ---> Running in 58baecc7ab26 [2025-06-23T23:01:13.973Z] Removing intermediate container 58baecc7ab26 [2025-06-23T23:01:13.973Z] ---> 93eca16cc5a4 [2025-06-23T23:01:13.973Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-06-23T23:01:14.232Z] ---> Running in 4458726584be [2025-06-23T23:01:14.232Z] Removing intermediate container 4458726584be [2025-06-23T23:01:14.232Z] ---> 99da0801c8fc [2025-06-23T23:01:14.232Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2025-06-23T23:01:14.232Z] ---> Running in 44f88180e6b9 [2025-06-23T23:01:14.232Z] Removing intermediate container 44f88180e6b9 [2025-06-23T23:01:14.232Z] ---> 02fff85e5db6 [2025-06-23T23:01:14.232Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-06-23T23:01:14.232Z] ---> Running in eaccd73b9a99 [2025-06-23T23:01:14.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-23T23:01:14.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-23T23:01:15.013Z] OK: 252 MiB in 62 packages [2025-06-23T23:01:15.272Z] Removing intermediate container eaccd73b9a99 [2025-06-23T23:01:15.272Z] ---> 78c4ad156266 [2025-06-23T23:01:15.272Z] Step 8/26 : WORKDIR /device-rest-go [2025-06-23T23:01:15.272Z] ---> Running in 740005665aff [2025-06-23T23:01:15.531Z] Removing intermediate container 740005665aff [2025-06-23T23:01:15.532Z] ---> b65116b54a41 [2025-06-23T23:01:15.532Z] Step 9/26 : COPY go.mod vendor* ./ [2025-06-23T23:01:15.532Z] ---> 72250bd11495 [2025-06-23T23:01:15.532Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-06-23T23:01:15.532Z] ---> Running in e5128e5af122 [2025-06-23T23:01:16.099Z] Removing intermediate container e5128e5af122 [2025-06-23T23:01:16.099Z] ---> 0e64cca923cf [2025-06-23T23:01:16.099Z] Step 11/26 : COPY . . [2025-06-23T23:01:16.667Z] ---> f5e0409a9998 [2025-06-23T23:01:16.667Z] Step 12/26 : RUN $MAKE [2025-06-23T23:01:16.667Z] ---> Running in 02e6007e17b1 [2025-06-23T23:01:16.926Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.16 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2025-06-23T23:01:48.991Z] Removing intermediate container 02e6007e17b1 [2025-06-23T23:01:48.991Z] ---> b8315a0e78dc [2025-06-23T23:01:48.991Z] Step 13/26 : FROM alpine:3.20 [2025-06-23T23:01:48.991Z] 3.20: Pulling from library/alpine [2025-06-23T23:01:48.991Z] 0a9a5dfd008f: Already exists [2025-06-23T23:01:48.991Z] Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f [2025-06-23T23:01:48.991Z] Status: Downloaded newer image for alpine:3.20 [2025-06-23T23:01:48.991Z] ---> ff221270b9fb [2025-06-23T23:01:48.991Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-06-23T23:01:48.991Z] ---> Running in d024daa54729 [2025-06-23T23:01:48.991Z] Removing intermediate container d024daa54729 [2025-06-23T23:01:48.991Z] ---> b97ff92c5e4f [2025-06-23T23:01:48.991Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2025-06-23T23:01:48.991Z] ---> Running in cbfe20d2849d [2025-06-23T23:01:48.991Z] Removing intermediate container cbfe20d2849d [2025-06-23T23:01:48.991Z] ---> fced7ef6aef3 [2025-06-23T23:01:48.991Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2025-06-23T23:01:48.991Z] ---> Running in 5b8ac7022755 [2025-06-23T23:01:48.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-23T23:01:48.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-23T23:01:48.991Z] (1/1) Installing dumb-init (1.2.5-r3) [2025-06-23T23:01:48.991Z] Executing busybox-1.36.1-r29.trigger [2025-06-23T23:01:48.991Z] OK: 8 MiB in 15 packages [2025-06-23T23:01:48.991Z] Removing intermediate container 5b8ac7022755 [2025-06-23T23:01:48.991Z] ---> c1ed03bb2bfb [2025-06-23T23:01:48.991Z] Step 17/26 : RUN apk --no-cache upgrade [2025-06-23T23:01:48.991Z] ---> Running in dc1febf6987f [2025-06-23T23:01:48.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-23T23:01:48.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-23T23:01:48.991Z] OK: 8 MiB in 15 packages [2025-06-23T23:01:48.991Z] Removing intermediate container dc1febf6987f [2025-06-23T23:01:48.991Z] ---> 7d787325803f [2025-06-23T23:01:48.991Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2025-06-23T23:01:49.250Z] ---> d5351ff92b02 [2025-06-23T23:01:49.250Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2025-06-23T23:01:49.509Z] ---> 10ee2a78a19b [2025-06-23T23:01:49.509Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2025-06-23T23:01:49.509Z] ---> 6d14e97bcd81 [2025-06-23T23:01:49.509Z] Step 21/26 : EXPOSE 59986 [2025-06-23T23:01:49.509Z] ---> Running in 0a00c4bd8f2c [2025-06-23T23:01:49.769Z] Removing intermediate container 0a00c4bd8f2c [2025-06-23T23:01:49.769Z] ---> 3de4c05d3d02 [2025-06-23T23:01:49.769Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2025-06-23T23:01:49.769Z] ---> Running in f8bcc6d7bbf7 [2025-06-23T23:01:49.769Z] Removing intermediate container f8bcc6d7bbf7 [2025-06-23T23:01:49.769Z] ---> fe542526b31d [2025-06-23T23:01:49.769Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-06-23T23:01:49.769Z] ---> Running in beeb36bd5179 [2025-06-23T23:01:49.769Z] Removing intermediate container beeb36bd5179 [2025-06-23T23:01:49.769Z] ---> 9b85d24348d0 [2025-06-23T23:01:49.769Z] Step 24/26 : LABEL arch=amd64 [2025-06-23T23:01:49.769Z] ---> Running in 7571e7d7b411 [2025-06-23T23:01:50.029Z] Removing intermediate container 7571e7d7b411 [2025-06-23T23:01:50.029Z] ---> b7df5b521188 [2025-06-23T23:01:50.029Z] Step 25/26 : LABEL git_sha=8de79d5f3f98f3a274d37d0a54a2b45793ff8841 [2025-06-23T23:01:50.029Z] ---> Running in 6610d423d601 [2025-06-23T23:01:50.029Z] Removing intermediate container 6610d423d601 [2025-06-23T23:01:50.029Z] ---> a08f60366197 [2025-06-23T23:01:50.029Z] Step 26/26 : LABEL version=0.0.0 [2025-06-23T23:01:50.029Z] ---> Running in 03eda1b2b833 [2025-06-23T23:01:50.029Z] Removing intermediate container 03eda1b2b833 [2025-06-23T23:01:50.029Z] ---> 545de161bdc5 [2025-06-23T23:01:50.029Z] [Warning] One or more build-args [ARCH] were not consumed [2025-06-23T23:01:50.029Z] Successfully built 545de161bdc5 [2025-06-23T23:01:50.029Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [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-06-23T23:01:50.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-23T23:01:50.999Z] [2025-06-23T23:01:50.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T23:01:51.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-23T23:01:51.380Z] latest: Pulling from edgex-lftools-log-publisher [2025-06-23T23:01:51.380Z] 5eb5b503b376: Pulling fs layer [2025-06-23T23:01:51.380Z] 5c69ac0246d0: Pulling fs layer [2025-06-23T23:01:51.380Z] ec43610c2a17: Pulling fs layer [2025-06-23T23:01:51.380Z] 3a2ae6a8a46f: Pulling fs layer [2025-06-23T23:01:51.380Z] 33b1e0a273af: Pulling fs layer [2025-06-23T23:01:51.380Z] 5d3b04190fa2: Pulling fs layer [2025-06-23T23:01:51.380Z] 2f39f015ded8: Pulling fs layer [2025-06-23T23:01:51.380Z] 33b1e0a273af: Waiting [2025-06-23T23:01:51.380Z] 5d3b04190fa2: Waiting [2025-06-23T23:01:51.380Z] 2f39f015ded8: Waiting [2025-06-23T23:01:51.380Z] 3a2ae6a8a46f: Waiting [2025-06-23T23:01:51.380Z] 5c69ac0246d0: Verifying Checksum [2025-06-23T23:01:51.380Z] 5c69ac0246d0: Download complete [2025-06-23T23:01:51.380Z] 3a2ae6a8a46f: Verifying Checksum [2025-06-23T23:01:51.380Z] 3a2ae6a8a46f: Download complete [2025-06-23T23:01:51.380Z] 33b1e0a273af: Verifying Checksum [2025-06-23T23:01:51.380Z] 33b1e0a273af: Download complete [2025-06-23T23:01:51.639Z] ec43610c2a17: Verifying Checksum [2025-06-23T23:01:51.639Z] ec43610c2a17: Download complete [2025-06-23T23:01:51.639Z] 5d3b04190fa2: Download complete [2025-06-23T23:01:51.639Z] 5eb5b503b376: Verifying Checksum [2025-06-23T23:01:51.639Z] 5eb5b503b376: Download complete [2025-06-23T23:01:52.574Z] 2f39f015ded8: Verifying Checksum [2025-06-23T23:01:52.574Z] 2f39f015ded8: Download complete [2025-06-23T23:01:52.832Z] 5eb5b503b376: Pull complete [2025-06-23T23:01:53.090Z] 5c69ac0246d0: Pull complete [2025-06-23T23:01:53.349Z] ec43610c2a17: Pull complete [2025-06-23T23:01:53.349Z] 3a2ae6a8a46f: Pull complete [2025-06-23T23:01:53.608Z] 33b1e0a273af: Pull complete [2025-06-23T23:01:53.608Z] 5d3b04190fa2: Pull complete [2025-06-23T23:01:57.794Z] 2f39f015ded8: Pull complete [2025-06-23T23:01:57.794Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-06-23T23:01:57.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-23T23:01:57.794Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-23T23:01:58.026Z] prd-ubuntu20.04-docker-8c-8g-3810 does not seem to be running inside a container [2025-06-23T23:01:58.060Z] $ 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_device-rest-go_PR-474 -v /w/workspace/gexfoundry_device-rest-go_PR-474:/w/workspace/gexfoundry_device-rest-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-474@tmp:/w/workspace/gexfoundry_device-rest-go_PR-474@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-06-23T23:02:01.491Z] $ docker top 639f2eb621f8ec4f7b213f10c4aae741d336b7bd7a5dea115d9c574439251ee1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:01.955Z] ---> job-cost.sh [2025-06-23T23:02:01.955Z] lf-activate-venv: SKIPPING [2025-06-23T23:02:01.955Z] INFO: No Stack... [2025-06-23T23:02:02.214Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-06-23T23:02:02.783Z] INFO: Archiving Costs [Pipeline] sh [2025-06-23T23:02:03.121Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-474/archives/cost.csv [2025-06-23T23:02:03.121Z] + cut -d, -f6 [Pipeline] lock [2025-06-23T23:02:03.169Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-474-1-stack-cost] [2025-06-23T23:02:03.175Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-474-1-stack-cost] did not exist. Created. [2025-06-23T23:02:03.181Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-06-23T23:02:03.583Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-06-23T23:02:03.635Z] Stashed 1 file(s) [Pipeline] } [2025-06-23T23:02:03.678Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } [2025-06-23T23:02:03.773Z] $ docker stop --time=1 639f2eb621f8ec4f7b213f10c4aae741d336b7bd7a5dea115d9c574439251ee1 [2025-06-23T23:02:04.920Z] $ docker rm -f --volumes 639f2eb621f8ec4f7b213f10c4aae741d336b7bd7a5dea115d9c574439251ee1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2025-06-23T23:02:05.641Z] provisioning config files... [2025-06-23T23:02:05.648Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-474@tmp/config4483930968457034773tmp [Pipeline] { [Pipeline] sh [2025-06-23T23:02:05.993Z] + set +x [2025-06-23T23:02:05.993Z] + curl -s https://codecov.io/bash [2025-06-23T23:02:05.993Z] + bash -s -- [2025-06-23T23:02:06.254Z] [2025-06-23T23:02:06.254Z] _____ _ [2025-06-23T23:02:06.254Z] / ____| | | [2025-06-23T23:02:06.254Z] | | ___ __| | ___ ___ _____ __ [2025-06-23T23:02:06.254Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2025-06-23T23:02:06.254Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2025-06-23T23:02:06.254Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2025-06-23T23:02:06.254Z] Bash-1.0.6 [2025-06-23T23:02:06.254Z] [2025-06-23T23:02:06.254Z] [2025-06-23T23:02:06.254Z] ==> git version 2.25.1 found [2025-06-23T23:02:06.254Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2025-06-23T23:02:06.254Z] Release-Date: 2020-01-08 [2025-06-23T23:02:06.254Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2025-06-23T23:02:06.254Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2025-06-23T23:02:06.254Z] ==> Jenkins CI detected. [2025-06-23T23:02:06.254Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-474 [2025-06-23T23:02:06.254Z] project root: . [2025-06-23T23:02:06.254Z] --> token set from env [2025-06-23T23:02:06.254Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2025-06-23T23:02:06.254Z] ==> Running gcov in . (disable via -X gcov) [2025-06-23T23:02:06.254Z] ==> Python coveragepy not found [2025-06-23T23:02:06.254Z] ==> Searching for coverage reports in: [2025-06-23T23:02:06.254Z] + . [2025-06-23T23:02:06.254Z] -> Found 1 reports [2025-06-23T23:02:06.254Z] ==> Detecting git/mercurial file structure [2025-06-23T23:02:06.254Z] ==> Reading reports [2025-06-23T23:02:06.254Z] + ./coverage.out bytes=14565 [2025-06-23T23:02:06.254Z] ==> Appending adjustments [2025-06-23T23:02:06.254Z] https://docs.codecov.io/docs/fixing-reports [2025-06-23T23:02:06.254Z] + Found adjustments [2025-06-23T23:02:06.254Z] ==> Gzipping contents [2025-06-23T23:02:06.254Z] 4.0K /tmp/codecov.EvRlaH.gz [2025-06-23T23:02:06.254Z] ==> Uploading reports [2025-06-23T23:02:06.254Z] url: https://codecov.io [2025-06-23T23:02:06.254Z] query: branch=PR-474&commit=8de79d5f3f98f3a274d37d0a54a2b45793ff8841&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=474&job=&cmd_args= [2025-06-23T23:02:06.254Z] -> Pinging Codecov [2025-06-23T23:02:06.254Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-474&commit=8de79d5f3f98f3a274d37d0a54a2b45793ff8841&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=474&job=&cmd_args= [2025-06-23T23:02:06.514Z] -> Uploading to [2025-06-23T23:02:06.514Z] https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/8de79d5f3f98f3a274d37d0a54a2b45793ff8841/ef914030-e3cd-43c5-acda-9674692e7baf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250623%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250623T230206Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=90d3b85392ec9a4838b39e2f66dd2807273aa5f7a44191aa84d6437a37086f5e [2025-06-23T23:02:06.514Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-06-23T23:02:06.514Z] Dload Upload Total Spent Left Speed [2025-06-23T23:02:06.774Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 9940 --:--:-- --:--:-- --:--:-- 9940 [2025-06-23T23:02:06.774Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8de79d5f3f98f3a274d37d0a54a2b45793ff8841 [Pipeline] } [2025-06-23T23:02:06.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-06-23T23:02:08.895Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-474/archives ] [2025-06-23T23:02:08.895Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-474/archives [2025-06-23T23:02:08.895Z] total 16 [2025-06-23T23:02:08.895Z] drwxr-xr-x 3 root root 4096 Jun 23 23:02 . [2025-06-23T23:02:08.895Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 23:02 .. [2025-06-23T23:02:08.895Z] drwxr-xr-x 2 root root 4096 Jun 23 23:02 cost [2025-06-23T23:02:08.895Z] -rw-r--r-- 1 root root 86 Jun 23 23:02 cost.csv [2025-06-23T23:02:08.895Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-474/archives [2025-06-23T23:02:08.895Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-474/archives [2025-06-23T23:02:08.895Z] total 16 [2025-06-23T23:02:08.895Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 23:02 . [2025-06-23T23:02:08.895Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 23:02 .. [2025-06-23T23:02:08.895Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 23:02 cost [2025-06-23T23:02:08.895Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 23 23:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:09.232Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:10.122Z] ---> package-listing.sh [2025-06-23T23:02:10.122Z] ++ facter osfamily [2025-06-23T23:02:10.122Z] ++ tr '[:upper:]' '[:lower:]' [2025-06-23T23:02:10.382Z] + OS_FAMILY=debian [2025-06-23T23:02:10.382Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-474 [2025-06-23T23:02:10.382Z] + START_PACKAGES=/tmp/packages_start.txt [2025-06-23T23:02:10.382Z] + END_PACKAGES=/tmp/packages_end.txt [2025-06-23T23:02:10.382Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-06-23T23:02:10.382Z] + PACKAGES=/tmp/packages_start.txt [2025-06-23T23:02:10.382Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-474 ']' [2025-06-23T23:02:10.382Z] + PACKAGES=/tmp/packages_end.txt [2025-06-23T23:02:10.382Z] + case "${OS_FAMILY}" in [2025-06-23T23:02:10.382Z] + dpkg -l [2025-06-23T23:02:10.382Z] + grep '^ii' [2025-06-23T23:02:10.382Z] + '[' -f /tmp/packages_start.txt ']' [2025-06-23T23:02:10.382Z] + '[' -f /tmp/packages_end.txt ']' [2025-06-23T23:02:10.382Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-06-23T23:02:10.382Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-474 ']' [2025-06-23T23:02:10.382Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-474/archives/ [2025-06-23T23:02:10.382Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-474/archives/ [Pipeline] echo [2025-06-23T23:02:10.424Z] 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_device-rest-go_PR-474/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-06-23T23:02:10.719Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-23T23:02:11.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-23T23:02:11.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-23T23:02:11.523Z] prd-ubuntu20.04-docker-8c-8g-3810 does not seem to be running inside a container [2025-06-23T23:02:11.557Z] $ 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_device-rest-go_PR-474/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-474 -v /w/workspace/gexfoundry_device-rest-go_PR-474:/w/workspace/gexfoundry_device-rest-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-474@tmp:/w/workspace/gexfoundry_device-rest-go_PR-474@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-06-23T23:02:11.738Z] $ docker top 1ac87c00fbb3dd1fb85adfd9b067c68c70ce670a899c796db328bd5958851b6b -eo pid,comm [Pipeline] { [Pipeline] sh [2025-06-23T23:02:12.143Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-06-23T23:02:12.454Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-06-23T23:02:12.763Z] + ls /var/log/sa-host [2025-06-23T23:02:12.763Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-06-23T23:02:12.982Z] provisioning config files... [2025-06-23T23:02:12.991Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-474@tmp/config16545525533588892055tmp [Pipeline] { [Pipeline] echo [2025-06-23T23:02:13.045Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:13.358Z] ---> create-netrc.sh [Pipeline] } [2025-06-23T23:02:13.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:13.805Z] ---> python-tools-install.sh [Pipeline] echo [2025-06-23T23:02:13.843Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:14.168Z] ---> sudo-logs.sh [2025-06-23T23:02:14.168Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-06-23T23:02:14.273Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:14.584Z] ---> job-cost.sh [2025-06-23T23:02:14.585Z] lf-activate-venv: SKIPPING [2025-06-23T23:02:14.585Z] DEBUG: total: 0.2199999988079071 [2025-06-23T23:02:14.585Z] INFO: Retrieving Stack Cost... [2025-06-23T23:02:14.585Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-06-23T23:02:14.844Z] INFO: Archiving Costs [Pipeline] echo [2025-06-23T23:02:14.883Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-23T23:02:15.212Z] ---> logs-deploy.sh [2025-06-23T23:02:15.212Z] lf-activate-venv: SKIPPING [2025-06-23T23:02:15.212Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-474/1 [2025-06-23T23:02:15.212Z] INFO: archiving workspace using pattern(s): [2025-06-23T23:02:16.152Z] Archives upload complete. [2025-06-23T23:02:16.152Z] INFO: archiving logs to Nexus