Pull request #467 opened 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 cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2+b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e (c6f70402cc20134ff56792c909ea72d426eb8aec) 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-ssh5442653231616106911.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-ssh2700136444530003536.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-467/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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14226319852799334416.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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16142568454349522019.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-ssh16471417920448572092.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-467/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-467/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7687502161842136889.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2996’ Running on prd-ubuntu20.04-docker-8c-8g-3003 in /w/workspace/gexfoundry_device-rest-go_PR-467 [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-467 # 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 > 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/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e into PR head commit 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 Merge succeeded, producing 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 Checking out Revision 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 (PR-467) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 # 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 b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 # timeout=10 Commit message: "build: Upgrade Device SDK to v4.1-dev" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-06-09T05:00:37.204Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-06-09T05:00:37.399Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-06-09T05:00:37.505Z] ========================================================= [2025-06-09T05:00:37.505Z] EdgeX Global Pipelines Version Info [2025-06-09T05:00:37.505Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:00:38.627Z] ------------------- [2025-06-09T05:00:38.627Z] stable info: [2025-06-09T05:00:38.627Z] ------------------- [2025-06-09T05:00:38.627Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-06-09T05:00:38.627Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-06-09T05:00:38.627Z] Message: update stable to v1.0.274 [2025-06-09T05:00:38.889Z] ------------------- [2025-06-09T05:00:38.889Z] experimental info: [2025-06-09T05:00:38.889Z] ------------------- [2025-06-09T05:00:38.889Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2025-06-09T05:00:38.889Z] Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 [2025-06-09T05:00:38.889Z] Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-06-09T05:00:39.090Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2025-06-09T05:00:39.141Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2025-06-09T05:00:39.187Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-06-09T05:00:39.235Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-06-09T05:00:39.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-06-09T05:00:39.336Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-06-09T05:00:39.388Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-06-09T05:00:39.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-06-09T05:00:39.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-06-09T05:00:39.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-06-09T05:00:39.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-06-09T05:00:39.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2025-06-09T05:00:39.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-06-09T05:00:39.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-06-09T05:00:39.791Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-06-09T05:00:39.843Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-06-09T05:00:39.893Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-06-09T05:00:39.945Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-06-09T05:00:39.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-06-09T05:00:40.041Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-06-09T05:00:40.086Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-06-09T05:00:40.133Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-06-09T05:00:40.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-06-09T05:00:40.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-06-09T05:00:40.287Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-06-09T05:00:40.339Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-06-09T05:00:40.388Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-06-09T05:00:40.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-467 [Pipeline] echo [2025-06-09T05:00:40.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-467 [Pipeline] echo [2025-06-09T05:00:40.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-467 [Pipeline] echo [2025-06-09T05:00:40.592Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo [2025-06-09T05:00:40.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b927ce [Pipeline] echo [2025-06-09T05:00:40.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-06-09T05:00:40.823Z] provisioning config files... [2025-06-09T05:00:40.835Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config5228633131546827752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:00:41.206Z] ---> ****-login.sh [2025-06-09T05:00:41.206Z] nexus3.edgexfoundry.org:10001 [2025-06-09T05:00:41.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:00:41.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:00:41.466Z] Configure a credential helper to remove this warning. See [2025-06-09T05:00:41.466Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:00:41.466Z] [2025-06-09T05:00:41.466Z] Login Succeeded [2025-06-09T05:00:41.466Z] nexus3.edgexfoundry.org:10002 [2025-06-09T05:00:41.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:00:41.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:00:41.724Z] Configure a credential helper to remove this warning. See [2025-06-09T05:00:41.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:00:41.724Z] [2025-06-09T05:00:41.725Z] Login Succeeded [2025-06-09T05:00:41.725Z] nexus3.edgexfoundry.org:10003 [2025-06-09T05:00:41.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:00:41.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:00:41.725Z] Configure a credential helper to remove this warning. See [2025-06-09T05:00:41.725Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:00:41.725Z] [2025-06-09T05:00:41.725Z] Login Succeeded [2025-06-09T05:00:41.725Z] nexus3.edgexfoundry.org:10004 [2025-06-09T05:00:41.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:00:41.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:00:41.985Z] Configure a credential helper to remove this warning. See [2025-06-09T05:00:41.985Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:00:41.985Z] [2025-06-09T05:00:41.985Z] Login Succeeded [2025-06-09T05:00:41.985Z] ****.io [2025-06-09T05:00:41.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:00:42.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:00:42.244Z] Configure a credential helper to remove this warning. See [2025-06-09T05:00:42.244Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:00:42.244Z] [2025-06-09T05:00:42.244Z] Login Succeeded [2025-06-09T05:00:42.244Z] ---> ****-login.sh ends [Pipeline] } [2025-06-09T05:00:42.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-06-09T05:00:42.911Z] + git rev-list -1 --merges 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2~1..2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo [2025-06-09T05:00:42.958Z] -----------> git rev-list -1 --merges 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2~1..2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [false] [Pipeline] sh [2025-06-09T05:00:43.282Z] + git log --format=format:%s -1 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo [2025-06-09T05:00:43.316Z] ========================================================= [2025-06-09T05:00:43.316Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-06-09T05:00:43.316Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-06-09T05:00:43.749Z] + git log --format=format:%s -1 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] echo [2025-06-09T05:00:43.784Z] [semverPrep] GIT_COMMIT: 2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2, Commit Message: build: Upgrade Device SDK to v4.1-dev [Pipeline] echo [2025-06-09T05:00:43.819Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-06-09T05:00:44.228Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-06-09T05:00:44.228Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-06-09T05:00:44.228Z] + [ -e /tmp/ssh_known_hosts ] [2025-06-09T05:00:44.228Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-06-09T05:00:44.228Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-06-09T05:00:44.228Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-06-09T05:00:44.228Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-09T05:00:44.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-06-09T05:00:44.713Z] [2025-06-09T05:00:44.713Z] 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-09T05:00:45.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-06-09T05:00:45.105Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-06-09T05:00:45.105Z] 3dae71ba6b94: Pulling fs layer [2025-06-09T05:00:45.105Z] 6bf1a483ea7c: Pulling fs layer [2025-06-09T05:00:45.105Z] f5dfc541a4d3: Pulling fs layer [2025-06-09T05:00:45.105Z] 461d9e800cba: Pulling fs layer [2025-06-09T05:00:45.105Z] 80192f66455f: Pulling fs layer [2025-06-09T05:00:45.105Z] 2e8e34ca0e6c: Pulling fs layer [2025-06-09T05:00:45.105Z] a29436f7fd5d: Pulling fs layer [2025-06-09T05:00:45.105Z] 923cac83aea3: Pulling fs layer [2025-06-09T05:00:45.105Z] 25ad8b0a4227: Pulling fs layer [2025-06-09T05:00:45.105Z] db01528c6b51: Pulling fs layer [2025-06-09T05:00:45.105Z] 28988de357af: Pulling fs layer [2025-06-09T05:00:45.105Z] 80192f66455f: Waiting [2025-06-09T05:00:45.105Z] 461d9e800cba: Waiting [2025-06-09T05:00:45.105Z] 25ad8b0a4227: Waiting [2025-06-09T05:00:45.105Z] 2e8e34ca0e6c: Waiting [2025-06-09T05:00:45.105Z] 28988de357af: Waiting [2025-06-09T05:00:45.105Z] db01528c6b51: Waiting [2025-06-09T05:00:45.105Z] a29436f7fd5d: Waiting [2025-06-09T05:00:45.105Z] 923cac83aea3: Waiting [2025-06-09T05:00:45.105Z] 6bf1a483ea7c: Verifying Checksum [2025-06-09T05:00:45.105Z] 6bf1a483ea7c: Download complete [2025-06-09T05:00:45.366Z] 461d9e800cba: Download complete [2025-06-09T05:00:45.366Z] 80192f66455f: Verifying Checksum [2025-06-09T05:00:45.366Z] 80192f66455f: Download complete [2025-06-09T05:00:45.366Z] f5dfc541a4d3: Verifying Checksum [2025-06-09T05:00:45.366Z] f5dfc541a4d3: Download complete [2025-06-09T05:00:45.626Z] 3dae71ba6b94: Verifying Checksum [2025-06-09T05:00:45.626Z] 3dae71ba6b94: Download complete [2025-06-09T05:00:45.626Z] 923cac83aea3: Verifying Checksum [2025-06-09T05:00:45.626Z] 923cac83aea3: Download complete [2025-06-09T05:00:45.626Z] 25ad8b0a4227: Verifying Checksum [2025-06-09T05:00:45.626Z] 25ad8b0a4227: Download complete [2025-06-09T05:00:45.626Z] db01528c6b51: Verifying Checksum [2025-06-09T05:00:45.626Z] db01528c6b51: Download complete [2025-06-09T05:00:45.626Z] 28988de357af: Verifying Checksum [2025-06-09T05:00:45.626Z] 28988de357af: Download complete [2025-06-09T05:00:45.885Z] a29436f7fd5d: Verifying Checksum [2025-06-09T05:00:45.885Z] a29436f7fd5d: Download complete [2025-06-09T05:00:46.453Z] 2e8e34ca0e6c: Verifying Checksum [2025-06-09T05:00:46.453Z] 2e8e34ca0e6c: Download complete [2025-06-09T05:00:46.713Z] 3dae71ba6b94: Pull complete [2025-06-09T05:00:46.971Z] 6bf1a483ea7c: Pull complete [2025-06-09T05:00:47.544Z] f5dfc541a4d3: Pull complete [2025-06-09T05:00:47.544Z] 461d9e800cba: Pull complete [2025-06-09T05:00:47.802Z] 80192f66455f: Pull complete [2025-06-09T05:00:51.087Z] 2e8e34ca0e6c: Pull complete [2025-06-09T05:00:51.663Z] a29436f7fd5d: Pull complete [2025-06-09T05:00:51.663Z] 923cac83aea3: Pull complete [2025-06-09T05:00:51.922Z] 25ad8b0a4227: Pull complete [2025-06-09T05:00:51.922Z] db01528c6b51: Pull complete [2025-06-09T05:00:52.183Z] 28988de357af: Pull complete [2025-06-09T05:00:52.183Z] Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 [2025-06-09T05:00:52.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-06-09T05:00:52.183Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-09T05:00:52.446Z] prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container [2025-06-09T05:00:52.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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-devops/py-git-semver:0.1.4 cat [2025-06-09T05:00:56.443Z] $ docker top 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b -eo pid,comm [2025-06-09T05:00:56.526Z] 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-09T05:00:56.526Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-06-09T05:00:56.676Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-06-09T05:00:56.676Z] [ssh-agent] Looking for ssh-agent implementation... [2025-06-09T05:00:56.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-06-09T05:00:56.800Z] $ docker exec 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent [2025-06-09T05:00:56.916Z] SSH_AUTH_SOCK=/tmp/ssh-2ii1FO7AT1jB/agent.33 [2025-06-09T05:00:56.916Z] SSH_AGENT_PID=39 [2025-06-09T05:00:56.925Z] Running ssh-add (command line suppressed) [2025-06-09T05:00:57.043Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_5276415685924752720.key (/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_5276415685924752720.key) [2025-06-09T05:00:57.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-06-09T05:00:57.395Z] + git tag --points-at HEAD [Pipeline] } [2025-06-09T05:00:57.420Z] $ docker exec --env ******** --env ******** 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent -k [2025-06-09T05:00:57.519Z] unset SSH_AUTH_SOCK; [2025-06-09T05:00:57.520Z] unset SSH_AGENT_PID; [2025-06-09T05:00:57.520Z] echo Agent pid 39 killed; [2025-06-09T05:00:57.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-06-09T05:00:57.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-06-09T05:00:57.628Z] [ssh-agent] Looking for ssh-agent implementation... [2025-06-09T05:00:57.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-06-09T05:00:57.738Z] $ docker exec 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent [2025-06-09T05:00:58.069Z] SSH_AUTH_SOCK=/tmp/ssh-9M7rK6AyNoc7/agent.72 [2025-06-09T05:00:58.069Z] SSH_AGENT_PID=78 [2025-06-09T05:00:58.082Z] Running ssh-add (command line suppressed) [2025-06-09T05:00:58.201Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_11455216338361439609.key (/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/private_key_11455216338361439609.key) [2025-06-09T05:00:58.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-06-09T05:00:58.557Z] + git semver init [2025-06-09T05:00:58.817Z] 2025-06-09 05:00:58,797 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') [2025-06-09T05:00:58.817Z] 2025-06-09 05:00:58,802 [run_init] DEBUG init version:0.0.0 force:False [2025-06-09T05:00:58.817Z] 2025-06-09 05:00:58,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-467/.semver [2025-06-09T05:00:58.817Z] 2025-06-09 05:00:58,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-467/.semver [2025-06-09T05:00:58.817Z] 2025-06-09 05:00:58,804 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-467/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-467, stdin=None, shell=False, universal_newlines=False) [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,350 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-467/.git/info/exclude [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,351 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-467/.semver/PR-467 with force:False [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,351 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-467/.semver/PR-467 [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,355 [execute] INFO git cat-file --batch-check [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-467/.semver, stdin=, shell=False, universal_newlines=False) [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,360 [execute] INFO git cat-file --batch [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-467/.semver, stdin=, shell=False, universal_newlines=False) [2025-06-09T05:01:00.735Z] 2025-06-09 05:01:00,363 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-467/.semver/PR-467 [2025-06-09T05:01:00.735Z] 0.0.0 [Pipeline] } [2025-06-09T05:01:00.759Z] $ docker exec --env ******** --env ******** 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b ssh-agent -k [2025-06-09T05:01:00.859Z] unset SSH_AUTH_SOCK; [2025-06-09T05:01:00.860Z] unset SSH_AGENT_PID; [2025-06-09T05:01:00.860Z] echo Agent pid 78 killed; [2025-06-09T05:01:00.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-06-09T05:01:01.306Z] + git semver [Pipeline] } [2025-06-09T05:01:01.588Z] $ docker stop --time=1 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b [2025-06-09T05:01:02.897Z] $ docker rm -f --volumes 62ec855f6235967a667780a6e0de8e59e60d7b8c080225871700e88ba322202b [Pipeline] // withDockerContainer [Pipeline] sh [2025-06-09T05:01:03.310Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-06-09T05:01:03.603Z] Stashed 1 file(s) [Pipeline] echo [2025-06-09T05:01:03.624Z] [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-09T05:01:04.584Z] provisioning config files... [2025-06-09T05:01:04.594Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config3743044312994336133tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:01:05.093Z] ---> ****-login.sh [2025-06-09T05:01:05.093Z] nexus3.edgexfoundry.org:10001 [2025-06-09T05:01:05.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:01:05.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:01:05.353Z] Configure a credential helper to remove this warning. See [2025-06-09T05:01:05.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:01:05.353Z] [2025-06-09T05:01:05.353Z] Login Succeeded [2025-06-09T05:01:05.353Z] nexus3.edgexfoundry.org:10002 [2025-06-09T05:01:05.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:01:05.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:01:05.354Z] Configure a credential helper to remove this warning. See [2025-06-09T05:01:05.354Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:01:05.354Z] [2025-06-09T05:01:05.354Z] Login Succeeded [2025-06-09T05:01:05.354Z] nexus3.edgexfoundry.org:10003 [2025-06-09T05:01:05.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:01:05.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:01:05.354Z] Configure a credential helper to remove this warning. See [2025-06-09T05:01:05.354Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:01:05.354Z] [2025-06-09T05:01:05.354Z] Login Succeeded [2025-06-09T05:01:05.614Z] nexus3.edgexfoundry.org:10004 [2025-06-09T05:01:05.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:01:05.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:01:05.614Z] Configure a credential helper to remove this warning. See [2025-06-09T05:01:05.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:01:05.614Z] [2025-06-09T05:01:05.614Z] Login Succeeded [2025-06-09T05:01:05.614Z] ****.io [2025-06-09T05:01:05.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-06-09T05:01:05.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-06-09T05:01:05.874Z] Configure a credential helper to remove this warning. See [2025-06-09T05:01:05.874Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-06-09T05:01:05.874Z] [2025-06-09T05:01:05.874Z] Login Succeeded [2025-06-09T05:01:05.874Z] ---> ****-login.sh ends [Pipeline] } [2025-06-09T05:01:05.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-06-09T05:01:06.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-06-09T05:01:06.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-06-09T05:01:06.223Z] ========================================================= [2025-06-09T05:01:06.223Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-06-09T05:01:06.223Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-09T05:01:06.710Z] + 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-09T05:01:06.710Z] Sending build context to Docker daemon 21.64MB [2025-06-09T05:01:06.710Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2025-06-09T05:01:06.710Z] Step 2/12 : FROM ${BASE} AS builder [2025-06-09T05:01:06.710Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-06-09T05:01:06.985Z] 0a9a5dfd008f: Pulling fs layer [2025-06-09T05:01:06.985Z] dbfa0bcfca99: Pulling fs layer [2025-06-09T05:01:06.985Z] 70eabb1d9476: Pulling fs layer [2025-06-09T05:01:06.985Z] 957bedc73fa3: Pulling fs layer [2025-06-09T05:01:06.985Z] 4f4fb700ef54: Pulling fs layer [2025-06-09T05:01:06.985Z] f40432e63723: Pulling fs layer [2025-06-09T05:01:06.985Z] 90b4343acab7: Pulling fs layer [2025-06-09T05:01:06.985Z] 957bedc73fa3: Waiting [2025-06-09T05:01:06.985Z] f40432e63723: Waiting [2025-06-09T05:01:06.985Z] 4f4fb700ef54: Waiting [2025-06-09T05:01:06.985Z] 9f67ea4ac784: Pulling fs layer [2025-06-09T05:01:06.985Z] 9228b9a606be: Pulling fs layer [2025-06-09T05:01:06.985Z] 9f67ea4ac784: Waiting [2025-06-09T05:01:06.985Z] dbfa0bcfca99: Verifying Checksum [2025-06-09T05:01:06.985Z] dbfa0bcfca99: Download complete [2025-06-09T05:01:06.985Z] 957bedc73fa3: Download complete [2025-06-09T05:01:06.985Z] 4f4fb700ef54: Verifying Checksum [2025-06-09T05:01:06.985Z] 4f4fb700ef54: Download complete [2025-06-09T05:01:06.985Z] f40432e63723: Verifying Checksum [2025-06-09T05:01:06.985Z] f40432e63723: Download complete [2025-06-09T05:01:06.985Z] 0a9a5dfd008f: Verifying Checksum [2025-06-09T05:01:06.985Z] 0a9a5dfd008f: Download complete [2025-06-09T05:01:06.985Z] 90b4343acab7: Verifying Checksum [2025-06-09T05:01:06.985Z] 90b4343acab7: Download complete [2025-06-09T05:01:07.245Z] 0a9a5dfd008f: Pull complete [2025-06-09T05:01:07.245Z] dbfa0bcfca99: Pull complete [2025-06-09T05:01:07.245Z] 9228b9a606be: Verifying Checksum [2025-06-09T05:01:07.245Z] 9228b9a606be: Download complete [2025-06-09T05:01:07.811Z] 70eabb1d9476: Download complete [2025-06-09T05:01:07.811Z] 9f67ea4ac784: Verifying Checksum [2025-06-09T05:01:07.811Z] 9f67ea4ac784: Download complete [2025-06-09T05:01:11.109Z] 70eabb1d9476: Pull complete [2025-06-09T05:01:11.369Z] 957bedc73fa3: Pull complete [2025-06-09T05:01:11.369Z] 4f4fb700ef54: Pull complete [2025-06-09T05:01:11.369Z] f40432e63723: Pull complete [2025-06-09T05:01:11.629Z] 90b4343acab7: Pull complete [2025-06-09T05:01:14.161Z] 9f67ea4ac784: Pull complete [2025-06-09T05:01:14.420Z] 9228b9a606be: Pull complete [2025-06-09T05:01:14.420Z] Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 [2025-06-09T05:01:14.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-06-09T05:01:14.420Z] ---> 69404ca5bff2 [2025-06-09T05:01:14.420Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2025-06-09T05:01:18.681Z] ---> Running in 3de2f72847c6 [2025-06-09T05:01:18.681Z] Removing intermediate container 3de2f72847c6 [2025-06-09T05:01:18.681Z] ---> 826573e26cf3 [2025-06-09T05:01:18.681Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-06-09T05:01:18.681Z] ---> Running in c01560521068 [2025-06-09T05:01:18.681Z] Removing intermediate container c01560521068 [2025-06-09T05:01:18.681Z] ---> ee9e1e898c65 [2025-06-09T05:01:18.681Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-06-09T05:01:18.681Z] ---> Running in c1efe2385d7a [2025-06-09T05:01:18.681Z] Removing intermediate container c1efe2385d7a [2025-06-09T05:01:18.681Z] ---> 8dc2bf049760 [2025-06-09T05:01:18.681Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2025-06-09T05:01:18.681Z] ---> Running in c29ad8c85c77 [2025-06-09T05:01:18.681Z] Removing intermediate container c29ad8c85c77 [2025-06-09T05:01:18.681Z] ---> e2ba792d9667 [2025-06-09T05:01:18.681Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-06-09T05:01:18.940Z] ---> Running in a6ccf6cc044e [2025-06-09T05:01:19.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-09T05:01:19.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-09T05:01:19.768Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-06-09T05:01:19.768Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-06-09T05:01:19.768Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-06-09T05:01:19.768Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-06-09T05:01:19.768Z] Executing busybox-1.36.1-r29.trigger [2025-06-09T05:01:19.768Z] OK: 252 MiB in 62 packages [2025-06-09T05:01:20.335Z] Removing intermediate container a6ccf6cc044e [2025-06-09T05:01:20.335Z] ---> cb7650430079 [2025-06-09T05:01:20.335Z] Step 8/12 : WORKDIR /device-rest-go [2025-06-09T05:01:20.335Z] ---> Running in 7d77a3813516 [2025-06-09T05:01:20.335Z] Removing intermediate container 7d77a3813516 [2025-06-09T05:01:20.335Z] ---> 637e9d126bfb [2025-06-09T05:01:20.335Z] Step 9/12 : COPY go.mod vendor* ./ [2025-06-09T05:01:20.335Z] ---> 52d5c6c1f088 [2025-06-09T05:01:20.335Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-06-09T05:01:20.335Z] ---> Running in e1009f3c0499 [2025-06-09T05:02:16.724Z] Removing intermediate container e1009f3c0499 [2025-06-09T05:02:16.724Z] ---> ff9074ae6dcd [2025-06-09T05:02:16.724Z] Step 11/12 : COPY . . [2025-06-09T05:02:17.297Z] ---> 6320ee6257f7 [2025-06-09T05:02:17.297Z] Step 12/12 : RUN $MAKE [2025-06-09T05:02:17.297Z] ---> Running in 0763e9cbc79f [2025-06-09T05:02:17.556Z] noop [2025-06-09T05:02:17.816Z] Removing intermediate container 0763e9cbc79f [2025-06-09T05:02:17.816Z] ---> 2f9afea08930 [2025-06-09T05:02:17.816Z] Successfully built 2f9afea08930 [2025-06-09T05:02:18.076Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-09T05:02:18.542Z] + docker inspect -f . ci-base-image-x86_64 [2025-06-09T05:02:18.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-09T05:02:18.695Z] prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container [2025-06-09T05:02:18.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 ******** ci-base-image-x86_64 cat [2025-06-09T05:02:19.075Z] $ docker top c47060eac2fd5d8ea3413512343bf768f6c09d3bfd3d28ecead5a3fd3c2be597 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-06-09T05:02:19.462Z] + go version [2025-06-09T05:02:19.462Z] go version go1.23.8 linux/amd64 [Pipeline] } [2025-06-09T05:02:19.497Z] $ docker stop --time=1 c47060eac2fd5d8ea3413512343bf768f6c09d3bfd3d28ecead5a3fd3c2be597 [2025-06-09T05:02:20.743Z] $ docker rm -f --volumes c47060eac2fd5d8ea3413512343bf768f6c09d3bfd3d28ecead5a3fd3c2be597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-09T05:02:21.459Z] + docker inspect -f . ci-base-image-x86_64 [2025-06-09T05:02:21.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-09T05:02:21.610Z] prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container [2025-06-09T05:02:21.642Z] $ 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-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 ******** ci-base-image-x86_64 cat [2025-06-09T05:02:21.986Z] $ docker top 96c064436c2a15afd4eabc40d0ce191b3085050d1a27ff7280192b5073d86b22 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-06-09T05:02:22.381Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-467 [Pipeline] fileExists [Pipeline] sh [2025-06-09T05:02:22.758Z] + make test [2025-06-09T05:02:22.758Z] go test ./... -coverprofile=coverage.out ./... [2025-06-09T05:02:24.134Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2025-06-09T05:02:42.212Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2025-06-09T05:02:42.212Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements [2025-06-09T05:02:54.401Z] go vet ./... [2025-06-09T05:02:58.583Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-06-09T05:02:58.583Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-06-09T05:02:58.583Z] ./bin/test-attribution-txt.sh [2025-06-09T05:02:58.583Z] An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add [2025-06-09T05:02:58.583Z] An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo [2025-06-09T05:02:58.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } [2025-06-09T05:02:58.667Z] $ docker stop --time=1 96c064436c2a15afd4eabc40d0ce191b3085050d1a27ff7280192b5073d86b22 [2025-06-09T05:03:02.737Z] $ docker rm -f --volumes 96c064436c2a15afd4eabc40d0ce191b3085050d1a27ff7280192b5073d86b22 [Pipeline] // withDockerContainer [Pipeline] sh [2025-06-09T05:03:03.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-06-09T05:03:03.405Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-06-09T05:03:04.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-06-09T05:03:04.641Z] + ls -al . [2025-06-09T05:03:04.641Z] total 244 [2025-06-09T05:03:04.641Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 9 05:02 . [2025-06-09T05:03:04.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 05:00 .. [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 9 05:00 .dockerignore [2025-06-09T05:03:04.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 05:02 .git [2025-06-09T05:03:04.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:00 .github [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 264 Jun 9 05:00 .gitignore [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 9 05:00 .golangci.yml [2025-06-09T05:03:04.641Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 05:01 .semver [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 20138 Jun 9 05:00 Attribution.txt [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 18492 Jun 9 05:00 CHANGELOG.md [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jun 9 05:00 Dockerfile [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 9 05:00 GOVERNANCE.md [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 9 05:00 Jenkinsfile [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 05:00 LICENSE [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 2598 Jun 9 05:00 Makefile [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 9 05:00 OWNERS.md [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jun 9 05:00 README.md [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 05:01 VERSION [2025-06-09T05:03:04.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:00 bin [2025-06-09T05:03:04.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:00 cmd [2025-06-09T05:03:04.641Z] -rw-r--r-- 1 jenkins jenkins 14565 Jun 9 05:02 coverage.out [2025-06-09T05:03:04.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:00 driver [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 6271 Jun 9 05:00 go.mod [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 86411 Jun 9 05:00 go.sum [2025-06-09T05:03:04.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:00 openapi [2025-06-09T05:03:04.641Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 9 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-09T05:03:05.063Z] + 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=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 --label arch=amd64 --label version=0.0.0 . [2025-06-09T05:03:05.063Z] Sending build context to Docker daemon 21.65MB [2025-06-09T05:03:05.063Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2025-06-09T05:03:05.063Z] Step 2/26 : FROM ${BASE} AS builder [2025-06-09T05:03:05.063Z] ---> 2f9afea08930 [2025-06-09T05:03:05.063Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2025-06-09T05:03:05.326Z] ---> Running in 76c8956b4890 [2025-06-09T05:03:05.585Z] Removing intermediate container 76c8956b4890 [2025-06-09T05:03:05.585Z] ---> 9ffdd14a7ea7 [2025-06-09T05:03:05.585Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-06-09T05:03:05.585Z] ---> Running in 7b0cd2918474 [2025-06-09T05:03:05.585Z] Removing intermediate container 7b0cd2918474 [2025-06-09T05:03:05.585Z] ---> c3f94ddff025 [2025-06-09T05:03:05.585Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-06-09T05:03:05.585Z] ---> Running in 731df52e77e8 [2025-06-09T05:03:05.585Z] Removing intermediate container 731df52e77e8 [2025-06-09T05:03:05.585Z] ---> 60f124646050 [2025-06-09T05:03:05.585Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2025-06-09T05:03:05.585Z] ---> Running in 640a2beac7d5 [2025-06-09T05:03:05.845Z] Removing intermediate container 640a2beac7d5 [2025-06-09T05:03:05.845Z] ---> 620b209037bd [2025-06-09T05:03:05.845Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-06-09T05:03:05.845Z] ---> Running in 5dfd8d842607 [2025-06-09T05:03:06.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-09T05:03:06.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-09T05:03:06.670Z] OK: 252 MiB in 62 packages [2025-06-09T05:03:06.929Z] Removing intermediate container 5dfd8d842607 [2025-06-09T05:03:06.929Z] ---> bef9d116bdde [2025-06-09T05:03:06.929Z] Step 8/26 : WORKDIR /device-rest-go [2025-06-09T05:03:06.929Z] ---> Running in 2cebed301be2 [2025-06-09T05:03:06.929Z] Removing intermediate container 2cebed301be2 [2025-06-09T05:03:06.929Z] ---> dccea83fd131 [2025-06-09T05:03:06.929Z] Step 9/26 : COPY go.mod vendor* ./ [2025-06-09T05:03:07.188Z] ---> 201254776ccd [2025-06-09T05:03:07.188Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-06-09T05:03:07.188Z] ---> Running in 65fa5ee271af [2025-06-09T05:03:07.757Z] Removing intermediate container 65fa5ee271af [2025-06-09T05:03:07.757Z] ---> f80c8df6dc78 [2025-06-09T05:03:07.757Z] Step 11/26 : COPY . . [2025-06-09T05:03:08.374Z] ---> 6e5f3ba4960c [2025-06-09T05:03:08.374Z] Step 12/26 : RUN $MAKE [2025-06-09T05:03:08.374Z] ---> Running in 9cfe76c37fc2 [2025-06-09T05:03:08.632Z] 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.9 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2025-06-09T05:03:40.707Z] Removing intermediate container 9cfe76c37fc2 [2025-06-09T05:03:40.707Z] ---> 11f1647a7a99 [2025-06-09T05:03:40.707Z] Step 13/26 : FROM alpine:3.20 [2025-06-09T05:03:40.707Z] 3.20: Pulling from library/alpine [2025-06-09T05:03:40.707Z] 0a9a5dfd008f: Already exists [2025-06-09T05:03:40.707Z] Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f [2025-06-09T05:03:40.707Z] Status: Downloaded newer image for alpine:3.20 [2025-06-09T05:03:40.707Z] ---> ff221270b9fb [2025-06-09T05:03:40.707Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-06-09T05:03:40.707Z] ---> Running in 8a7c880752a3 [2025-06-09T05:03:40.707Z] Removing intermediate container 8a7c880752a3 [2025-06-09T05:03:40.707Z] ---> f9ef6ca7ab92 [2025-06-09T05:03:40.707Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2025-06-09T05:03:40.707Z] ---> Running in 813f0aeca8ac [2025-06-09T05:03:40.707Z] Removing intermediate container 813f0aeca8ac [2025-06-09T05:03:40.707Z] ---> c5fec0ea6e14 [2025-06-09T05:03:40.707Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2025-06-09T05:03:40.707Z] ---> Running in a4c0cb1da444 [2025-06-09T05:03:40.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-09T05:03:40.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-09T05:03:40.966Z] (1/1) Installing dumb-init (1.2.5-r3) [2025-06-09T05:03:40.966Z] Executing busybox-1.36.1-r29.trigger [2025-06-09T05:03:40.966Z] OK: 8 MiB in 15 packages [2025-06-09T05:03:41.225Z] Removing intermediate container a4c0cb1da444 [2025-06-09T05:03:41.225Z] ---> 74edf51fcbe8 [2025-06-09T05:03:41.225Z] Step 17/26 : RUN apk --no-cache upgrade [2025-06-09T05:03:41.485Z] ---> Running in 6d0b54401ece [2025-06-09T05:03:41.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-06-09T05:03:41.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-06-09T05:03:42.003Z] OK: 8 MiB in 15 packages [2025-06-09T05:03:43.380Z] Removing intermediate container 6d0b54401ece [2025-06-09T05:03:43.380Z] ---> 6a474c947542 [2025-06-09T05:03:43.380Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2025-06-09T05:03:46.666Z] ---> f6f161a86d15 [2025-06-09T05:03:46.666Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2025-06-09T05:03:46.925Z] ---> 24b6b3413cb3 [2025-06-09T05:03:46.925Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2025-06-09T05:03:46.925Z] ---> f56d5c95668e [2025-06-09T05:03:46.925Z] Step 21/26 : EXPOSE 59986 [2025-06-09T05:03:46.925Z] ---> Running in a74cf1fa8b0d [2025-06-09T05:03:47.191Z] Removing intermediate container a74cf1fa8b0d [2025-06-09T05:03:47.191Z] ---> 873344d16370 [2025-06-09T05:03:47.191Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2025-06-09T05:03:47.191Z] ---> Running in 3ff7884d6405 [2025-06-09T05:03:47.191Z] Removing intermediate container 3ff7884d6405 [2025-06-09T05:03:47.191Z] ---> 721df4372e7d [2025-06-09T05:03:47.191Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-06-09T05:03:47.191Z] ---> Running in ec00cf604944 [2025-06-09T05:03:47.191Z] Removing intermediate container ec00cf604944 [2025-06-09T05:03:47.191Z] ---> 538ffd1770b4 [2025-06-09T05:03:47.191Z] Step 24/26 : LABEL arch=amd64 [2025-06-09T05:03:47.191Z] ---> Running in 81b233f486b4 [2025-06-09T05:03:47.451Z] Removing intermediate container 81b233f486b4 [2025-06-09T05:03:47.451Z] ---> 157eef01c634 [2025-06-09T05:03:47.451Z] Step 25/26 : LABEL git_sha=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [2025-06-09T05:03:47.451Z] ---> Running in 0b46c589b006 [2025-06-09T05:03:47.451Z] Removing intermediate container 0b46c589b006 [2025-06-09T05:03:47.451Z] ---> 9cd246f8bac0 [2025-06-09T05:03:47.451Z] Step 26/26 : LABEL version=0.0.0 [2025-06-09T05:03:47.451Z] ---> Running in 7193bbd85a27 [2025-06-09T05:03:47.451Z] Removing intermediate container 7193bbd85a27 [2025-06-09T05:03:47.451Z] ---> aabd90eadc74 [2025-06-09T05:03:47.451Z] [Warning] One or more build-args [ARCH] were not consumed [2025-06-09T05:03:47.451Z] Successfully built aabd90eadc74 [2025-06-09T05:03:47.451Z] 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-09T05:03:48.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-09T05:03:48.367Z] [2025-06-09T05:03:48.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-09T05:03:48.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-09T05:03:48.753Z] latest: Pulling from edgex-lftools-log-publisher [2025-06-09T05:03:48.753Z] 5eb5b503b376: Pulling fs layer [2025-06-09T05:03:48.753Z] 5c69ac0246d0: Pulling fs layer [2025-06-09T05:03:48.753Z] ec43610c2a17: Pulling fs layer [2025-06-09T05:03:48.753Z] 3a2ae6a8a46f: Pulling fs layer [2025-06-09T05:03:48.753Z] 33b1e0a273af: Pulling fs layer [2025-06-09T05:03:48.753Z] 5d3b04190fa2: Pulling fs layer [2025-06-09T05:03:48.753Z] 2f39f015ded8: Pulling fs layer [2025-06-09T05:03:48.753Z] 5d3b04190fa2: Waiting [2025-06-09T05:03:48.753Z] 33b1e0a273af: Waiting [2025-06-09T05:03:48.753Z] 3a2ae6a8a46f: Waiting [2025-06-09T05:03:48.753Z] 5c69ac0246d0: Download complete [2025-06-09T05:03:48.753Z] 3a2ae6a8a46f: Verifying Checksum [2025-06-09T05:03:48.753Z] 3a2ae6a8a46f: Download complete [2025-06-09T05:03:48.753Z] 33b1e0a273af: Verifying Checksum [2025-06-09T05:03:48.753Z] 33b1e0a273af: Download complete [2025-06-09T05:03:48.753Z] 5d3b04190fa2: Verifying Checksum [2025-06-09T05:03:48.753Z] 5d3b04190fa2: Download complete [2025-06-09T05:03:49.027Z] ec43610c2a17: Verifying Checksum [2025-06-09T05:03:49.027Z] ec43610c2a17: Download complete [2025-06-09T05:03:49.027Z] 5eb5b503b376: Verifying Checksum [2025-06-09T05:03:49.027Z] 5eb5b503b376: Download complete [2025-06-09T05:03:49.594Z] 2f39f015ded8: Download complete [2025-06-09T05:03:50.161Z] 5eb5b503b376: Pull complete [2025-06-09T05:03:50.419Z] 5c69ac0246d0: Pull complete [2025-06-09T05:03:50.678Z] ec43610c2a17: Pull complete [2025-06-09T05:03:50.678Z] 3a2ae6a8a46f: Pull complete [2025-06-09T05:03:50.937Z] 33b1e0a273af: Pull complete [2025-06-09T05:03:50.937Z] 5d3b04190fa2: Pull complete [2025-06-09T05:03:55.129Z] 2f39f015ded8: Pull complete [2025-06-09T05:03:55.129Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-06-09T05:03:55.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-09T05:03:55.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-09T05:03:55.349Z] prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container [2025-06-09T05:03:55.388Z] $ 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-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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-lftools-log-publisher:latest cat [2025-06-09T05:04:00.395Z] $ docker top 197bc5949819b0049ec1a4aa5a8223d6a8eb1c51a41c2514726780eca3ca4a7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:00.863Z] ---> job-cost.sh [2025-06-09T05:04:00.863Z] lf-activate-venv: SKIPPING [2025-06-09T05:04:00.863Z] INFO: No Stack... [2025-06-09T05:04:01.127Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-06-09T05:04:01.694Z] INFO: Archiving Costs [Pipeline] sh [2025-06-09T05:04:02.010Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-467/archives/cost.csv [2025-06-09T05:04:02.010Z] + cut -d, -f6 [Pipeline] lock [2025-06-09T05:04:02.050Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] [2025-06-09T05:04:02.055Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] did not exist. Created. [2025-06-09T05:04:02.060Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-06-09T05:04:02.451Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-06-09T05:04:02.502Z] Stashed 1 file(s) [Pipeline] } [2025-06-09T05:04:02.541Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-467-1-stack-cost] [Pipeline] // lock [Pipeline] } [2025-06-09T05:04:02.628Z] $ docker stop --time=1 197bc5949819b0049ec1a4aa5a8223d6a8eb1c51a41c2514726780eca3ca4a7b [2025-06-09T05:04:03.788Z] $ docker rm -f --volumes 197bc5949819b0049ec1a4aa5a8223d6a8eb1c51a41c2514726780eca3ca4a7b [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-09T05:04:04.506Z] provisioning config files... [2025-06-09T05:04:04.513Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config124475409413679260tmp [Pipeline] { [Pipeline] sh [2025-06-09T05:04:04.861Z] + set +x [2025-06-09T05:04:04.862Z] + curl -s https://codecov.io/bash [2025-06-09T05:04:04.862Z] + bash -s -- [2025-06-09T05:04:04.862Z] [2025-06-09T05:04:04.862Z] _____ _ [2025-06-09T05:04:04.862Z] / ____| | | [2025-06-09T05:04:04.862Z] | | ___ __| | ___ ___ _____ __ [2025-06-09T05:04:04.862Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2025-06-09T05:04:04.862Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2025-06-09T05:04:04.862Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2025-06-09T05:04:04.862Z] Bash-1.0.6 [2025-06-09T05:04:04.862Z] [2025-06-09T05:04:04.862Z] [2025-06-09T05:04:04.862Z] ==> git version 2.25.1 found [2025-06-09T05:04:04.862Z] ==> 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-09T05:04:04.862Z] Release-Date: 2020-01-08 [2025-06-09T05:04:04.862Z] 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-09T05:04:04.862Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2025-06-09T05:04:04.862Z] ==> Jenkins CI detected. [2025-06-09T05:04:04.862Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-467 [2025-06-09T05:04:04.862Z] project root: . [2025-06-09T05:04:04.862Z] --> token set from env [2025-06-09T05:04:04.862Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2025-06-09T05:04:04.862Z] ==> Running gcov in . (disable via -X gcov) [2025-06-09T05:04:04.862Z] ==> Python coveragepy not found [2025-06-09T05:04:04.862Z] ==> Searching for coverage reports in: [2025-06-09T05:04:04.862Z] + . [2025-06-09T05:04:04.862Z] -> Found 1 reports [2025-06-09T05:04:04.862Z] ==> Detecting git/mercurial file structure [2025-06-09T05:04:04.862Z] ==> Reading reports [2025-06-09T05:04:04.862Z] + ./coverage.out bytes=14565 [2025-06-09T05:04:05.121Z] ==> Appending adjustments [2025-06-09T05:04:05.121Z] https://docs.codecov.io/docs/fixing-reports [2025-06-09T05:04:05.121Z] + Found adjustments [2025-06-09T05:04:05.121Z] ==> Gzipping contents [2025-06-09T05:04:05.121Z] 4.0K /tmp/codecov.P2lHnU.gz [2025-06-09T05:04:05.121Z] ==> Uploading reports [2025-06-09T05:04:05.121Z] url: https://codecov.io [2025-06-09T05:04:05.121Z] query: branch=PR-467&commit=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-467%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=467&job=&cmd_args= [2025-06-09T05:04:05.121Z] -> Pinging Codecov [2025-06-09T05:04:05.121Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-467&commit=2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-467%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=467&job=&cmd_args= [2025-06-09T05:04:05.121Z] -> Uploading to [2025-06-09T05:04:05.121Z] https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2/5c45296a-712f-4527-b9fc-bbafa6c63656.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250609%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250609T050405Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=caa0cd284184e513dca2007e39c95ec4dd878f6c6cbde7217e1647c17d1463f7 [2025-06-09T05:04:05.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-06-09T05:04:05.382Z] Dload Upload Total Spent Left Speed [2025-06-09T05:04:05.641Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 7291 --:--:-- --:--:-- --:--:-- 7291 [2025-06-09T05:04:05.642Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2b927ce4ec7ecb94ed8a593465e99e97b5fd2ea2 [Pipeline] } [2025-06-09T05:04:05.671Z] 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-09T05:04:07.883Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-467/archives ] [2025-06-09T05:04:07.884Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-467/archives [2025-06-09T05:04:07.884Z] total 16 [2025-06-09T05:04:07.884Z] drwxr-xr-x 3 root root 4096 Jun 9 05:04 . [2025-06-09T05:04:07.884Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 05:04 .. [2025-06-09T05:04:07.884Z] drwxr-xr-x 2 root root 4096 Jun 9 05:04 cost [2025-06-09T05:04:07.884Z] -rw-r--r-- 1 root root 86 Jun 9 05:04 cost.csv [2025-06-09T05:04:07.884Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-467/archives [2025-06-09T05:04:07.884Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-467/archives [2025-06-09T05:04:07.884Z] total 16 [2025-06-09T05:04:07.884Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 05:04 . [2025-06-09T05:04:07.884Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 05:04 .. [2025-06-09T05:04:07.884Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 9 05:04 cost [2025-06-09T05:04:07.884Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 9 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:08.226Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:09.121Z] ---> package-listing.sh [2025-06-09T05:04:09.121Z] ++ facter osfamily [2025-06-09T05:04:09.121Z] ++ tr '[:upper:]' '[:lower:]' [2025-06-09T05:04:09.381Z] + OS_FAMILY=debian [2025-06-09T05:04:09.381Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-467 [2025-06-09T05:04:09.381Z] + START_PACKAGES=/tmp/packages_start.txt [2025-06-09T05:04:09.381Z] + END_PACKAGES=/tmp/packages_end.txt [2025-06-09T05:04:09.381Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-06-09T05:04:09.381Z] + PACKAGES=/tmp/packages_start.txt [2025-06-09T05:04:09.381Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-467 ']' [2025-06-09T05:04:09.381Z] + PACKAGES=/tmp/packages_end.txt [2025-06-09T05:04:09.381Z] + case "${OS_FAMILY}" in [2025-06-09T05:04:09.381Z] + dpkg -l [2025-06-09T05:04:09.381Z] + grep '^ii' [2025-06-09T05:04:09.381Z] + '[' -f /tmp/packages_start.txt ']' [2025-06-09T05:04:09.381Z] + '[' -f /tmp/packages_end.txt ']' [2025-06-09T05:04:09.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-06-09T05:04:09.381Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-467 ']' [2025-06-09T05:04:09.381Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-467/archives/ [2025-06-09T05:04:09.381Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-467/archives/ [Pipeline] echo [2025-06-09T05:04:09.417Z] 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-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-06-09T05:04:09.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-06-09T05:04:10.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-06-09T05:04:10.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-06-09T05:04:10.492Z] prd-ubuntu20.04-docker-8c-8g-3003 does not seem to be running inside a container [2025-06-09T05:04:10.528Z] $ 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-467/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-467 -v /w/workspace/gexfoundry_device-rest-go_PR-467:/w/workspace/gexfoundry_device-rest-go_PR-467:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-467@tmp:/w/workspace/gexfoundry_device-rest-go_PR-467@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-06-09T05:04:10.709Z] $ docker top fbf07c98e2a9a4fc49fa612f7c9047c4333c0de3dcd932676853cbb26214be6d -eo pid,comm [Pipeline] { [Pipeline] sh [2025-06-09T05:04:11.201Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-06-09T05:04:11.561Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-06-09T05:04:11.911Z] + ls /var/log/sa-host [2025-06-09T05:04:11.911Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-06-09T05:04:12.158Z] provisioning config files... [2025-06-09T05:04:12.169Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-467@tmp/config2294578112033341443tmp [Pipeline] { [Pipeline] echo [2025-06-09T05:04:12.224Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:12.540Z] ---> create-netrc.sh [Pipeline] } [2025-06-09T05:04:12.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:12.970Z] ---> python-tools-install.sh [Pipeline] echo [2025-06-09T05:04:13.010Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:13.326Z] ---> sudo-logs.sh [2025-06-09T05:04:13.327Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-06-09T05:04:13.427Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:13.743Z] ---> job-cost.sh [2025-06-09T05:04:13.743Z] lf-activate-venv: SKIPPING [2025-06-09T05:04:13.743Z] DEBUG: total: 0.2199999988079071 [2025-06-09T05:04:13.743Z] INFO: Retrieving Stack Cost... [2025-06-09T05:04:13.743Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-06-09T05:04:14.002Z] INFO: Archiving Costs [Pipeline] echo [2025-06-09T05:04:14.039Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-06-09T05:04:14.355Z] ---> logs-deploy.sh [2025-06-09T05:04:14.355Z] lf-activate-venv: SKIPPING [2025-06-09T05:04:14.355Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-467/1 [2025-06-09T05:04:14.355Z] INFO: archiving workspace using pattern(s): [2025-06-09T05:04:15.292Z] Archives upload complete. [2025-06-09T05:04:15.292Z] INFO: archiving logs to Nexus