Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Waiting for GitHub to create a merge commit for pull request 560. Retrying 3 more times... Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 9aa225a03577b77a2895b19c3ffb718951ef3fe7+a5010725629ae1840c76610bca239c55fa79b92f (de782ecfbf30b82d7c6158297018c449d42e6b31) 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-ssh14924648298408386648.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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-ssh695391891772196640.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 5f16b0674693bda8419e7356c8caa12f8ebbbe1e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3722093716663525855.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f16b0674693bda8419e7356c8caa12f8ebbbe1e # timeout=10 Commit message: "Merge pull request #468 from cherrycl/issue-467" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14268464602430026438.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2387367584815724228.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [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 ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-41475’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41477 in /w/workspace/edgexfoundry_device-sdk-c_PR-560 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-560 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.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-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/odessa commit a5010725629ae1840c76610bca239c55fa79b92f into PR head commit 9aa225a03577b77a2895b19c3ffb718951ef3fe7 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.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-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/odessa:refs/remotes/origin/odessa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9aa225a03577b77a2895b19c3ffb718951ef3fe7 # timeout=10 Merge succeeded, producing 2ab6968fc829022bfdb8dd1c5346304a90df4297 Checking out Revision 2ab6968fc829022bfdb8dd1c5346304a90df4297 (PR-560) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a5010725629ae1840c76610bca239c55fa79b92f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab6968fc829022bfdb8dd1c5346304a90df4297 # timeout=10 Commit message: "Merge commit 'a5010725629ae1840c76610bca239c55fa79b92f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 55bea795e736a390af6d0e2f3d23c8b10f450cb1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-03-17T02:51:47.840Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-03-17T02:51:47.931Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-17T02:51:47.966Z] ========================================================= [2025-03-17T02:51:47.966Z] EdgeX Global Pipelines Version Info [2025-03-17T02:51:47.966Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:51:49.057Z] ------------------- [2025-03-17T02:51:49.057Z] stable info: [2025-03-17T02:51:49.057Z] ------------------- [2025-03-17T02:51:49.057Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-03-17T02:51:49.057Z] Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e [2025-03-17T02:51:49.057Z] Message: update stable to v1.0.272 [2025-03-17T02:51:49.317Z] ------------------- [2025-03-17T02:51:49.317Z] experimental info: [2025-03-17T02:51:49.317Z] ------------------- [2025-03-17T02:51:49.317Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-17T02:51:49.317Z] Commit SHA: 235b1586b52bba4daa563b0c82d97de0826420b1 [2025-03-17T02:51:49.317Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-03-17T02:51:49.416Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2025-03-17T02:51:49.442Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2025-03-17T02:51:49.464Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-03-17T02:51:49.484Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-03-17T02:51:49.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-03-17T02:51:49.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2025-03-17T02:51:49.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2025-03-17T02:51:49.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-03-17T02:51:49.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-03-17T02:51:49.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2025-03-17T02:51:49.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-03-17T02:51:49.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-03-17T02:51:49.745Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-03-17T02:51:49.775Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2025-03-17T02:51:49.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-03-17T02:51:49.833Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-03-17T02:51:49.868Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-03-17T02:51:49.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo [2025-03-17T02:51:49.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo [2025-03-17T02:51:49.956Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo [2025-03-17T02:51:50.000Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo [2025-03-17T02:51:50.035Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ab6968 [Pipeline] echo [2025-03-17T02:51:50.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-17T02:51:50.141Z] provisioning config files... [2025-03-17T02:51:50.159Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/config12272548182749900828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:51:50.502Z] ---> ****-login.sh [2025-03-17T02:51:50.502Z] nexus3.edgexfoundry.org:10001 [2025-03-17T02:51:50.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:51:50.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:51:50.763Z] Configure a credential helper to remove this warning. See [2025-03-17T02:51:50.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:51:50.763Z] [2025-03-17T02:51:50.763Z] Login Succeeded [2025-03-17T02:51:50.763Z] nexus3.edgexfoundry.org:10002 [2025-03-17T02:51:50.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:51:51.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:51:51.023Z] Configure a credential helper to remove this warning. See [2025-03-17T02:51:51.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:51:51.023Z] [2025-03-17T02:51:51.023Z] Login Succeeded [2025-03-17T02:51:51.023Z] nexus3.edgexfoundry.org:10003 [2025-03-17T02:51:51.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:51:51.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:51:51.024Z] Configure a credential helper to remove this warning. See [2025-03-17T02:51:51.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:51:51.024Z] [2025-03-17T02:51:51.024Z] Login Succeeded [2025-03-17T02:51:51.024Z] nexus3.edgexfoundry.org:10004 [2025-03-17T02:51:51.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:51:51.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:51:51.024Z] Configure a credential helper to remove this warning. See [2025-03-17T02:51:51.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:51:51.024Z] [2025-03-17T02:51:51.024Z] Login Succeeded [2025-03-17T02:51:51.024Z] ****.io [2025-03-17T02:51:51.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:51:51.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:51:51.285Z] Configure a credential helper to remove this warning. See [2025-03-17T02:51:51.285Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:51:51.285Z] [2025-03-17T02:51:51.285Z] Login Succeeded [2025-03-17T02:51:51.285Z] ---> ****-login.sh ends [Pipeline] } [2025-03-17T02:51:51.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2025-03-17T02:51:51.715Z] + git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo [2025-03-17T02:51:51.743Z] -----------> git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 2ab6968fc829022bfdb8dd1c5346304a90df4297 [2025-03-17T02:51:51.743Z] 2ab6968fc829022bfdb8dd1c5346304a90df4297 [false] [Pipeline] sh [2025-03-17T02:51:52.039Z] + git log --format=format:%s -1 2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo [2025-03-17T02:51:52.056Z] ========================================================= [2025-03-17T02:51:52.056Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-17T02:51:52.056Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-03-17T02:51:52.552Z] + git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo [2025-03-17T02:51:52.564Z] -----------> git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 2ab6968fc829022bfdb8dd1c5346304a90df4297 [2025-03-17T02:51:52.564Z] 2ab6968fc829022bfdb8dd1c5346304a90df4297 [false] [Pipeline] sh [2025-03-17T02:51:52.865Z] + git log --format=format:%s -1 2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo [2025-03-17T02:51:52.883Z] ========================================================= [2025-03-17T02:51:52.883Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-17T02:51:52.883Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2025-03-17T02:51:53.319Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-17T02:51:53.319Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-03-17T02:51:53.319Z] + [ -e /tmp/ssh_known_hosts ] [2025-03-17T02:51:53.319Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-03-17T02:51:53.319Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-03-17T02:51:53.319Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-03-17T02:51:53.319Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-17T02:51:53.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-17T02:51:53.685Z] [2025-03-17T02:51:53.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-17T02:51:53.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-17T02:51:53.989Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-03-17T02:51:53.989Z] b85a868b505f: Pulling fs layer [2025-03-17T02:51:53.989Z] e2be974225ed: Pulling fs layer [2025-03-17T02:51:53.989Z] 339a4e72a1f5: Pulling fs layer [2025-03-17T02:51:53.989Z] 988bab9f4d93: Pulling fs layer [2025-03-17T02:51:53.989Z] 1469e6f7b9e6: Pulling fs layer [2025-03-17T02:51:53.989Z] eaf3925da568: Pulling fs layer [2025-03-17T02:51:53.989Z] bab4dde63d76: Pulling fs layer [2025-03-17T02:51:53.989Z] bde34c3a00c8: Pulling fs layer [2025-03-17T02:51:53.989Z] b352a97aabf1: Pulling fs layer [2025-03-17T02:51:53.989Z] 4872d77fe225: Pulling fs layer [2025-03-17T02:51:53.989Z] 5851b861e8e6: Pulling fs layer [2025-03-17T02:51:53.989Z] 988bab9f4d93: Waiting [2025-03-17T02:51:53.989Z] bde34c3a00c8: Waiting [2025-03-17T02:51:53.989Z] b352a97aabf1: Waiting [2025-03-17T02:51:53.989Z] 4872d77fe225: Waiting [2025-03-17T02:51:53.989Z] 1469e6f7b9e6: Waiting [2025-03-17T02:51:53.989Z] 5851b861e8e6: Waiting [2025-03-17T02:51:53.989Z] eaf3925da568: Waiting [2025-03-17T02:51:53.989Z] bab4dde63d76: Waiting [2025-03-17T02:51:53.989Z] e2be974225ed: Download complete [2025-03-17T02:51:53.989Z] 988bab9f4d93: Verifying Checksum [2025-03-17T02:51:53.989Z] 988bab9f4d93: Download complete [2025-03-17T02:51:53.989Z] 1469e6f7b9e6: Verifying Checksum [2025-03-17T02:51:53.989Z] 1469e6f7b9e6: Download complete [2025-03-17T02:51:54.249Z] 339a4e72a1f5: Verifying Checksum [2025-03-17T02:51:54.249Z] 339a4e72a1f5: Download complete [2025-03-17T02:51:54.249Z] eaf3925da568: Verifying Checksum [2025-03-17T02:51:54.249Z] eaf3925da568: Download complete [2025-03-17T02:51:54.249Z] bde34c3a00c8: Verifying Checksum [2025-03-17T02:51:54.249Z] bde34c3a00c8: Download complete [2025-03-17T02:51:54.249Z] b352a97aabf1: Download complete [2025-03-17T02:51:54.249Z] 4872d77fe225: Download complete [2025-03-17T02:51:54.249Z] 5851b861e8e6: Verifying Checksum [2025-03-17T02:51:54.249Z] 5851b861e8e6: Download complete [2025-03-17T02:51:54.249Z] b85a868b505f: Verifying Checksum [2025-03-17T02:51:54.249Z] b85a868b505f: Download complete [2025-03-17T02:51:54.510Z] bab4dde63d76: Verifying Checksum [2025-03-17T02:51:54.510Z] bab4dde63d76: Download complete [2025-03-17T02:51:55.079Z] b85a868b505f: Pull complete [2025-03-17T02:51:55.339Z] e2be974225ed: Pull complete [2025-03-17T02:51:55.910Z] 339a4e72a1f5: Pull complete [2025-03-17T02:51:55.910Z] 988bab9f4d93: Pull complete [2025-03-17T02:51:55.910Z] 1469e6f7b9e6: Pull complete [2025-03-17T02:51:56.170Z] eaf3925da568: Pull complete [2025-03-17T02:51:57.546Z] bab4dde63d76: Pull complete [2025-03-17T02:51:57.546Z] bde34c3a00c8: Pull complete [2025-03-17T02:51:57.806Z] b352a97aabf1: Pull complete [2025-03-17T02:51:57.806Z] 4872d77fe225: Pull complete [2025-03-17T02:51:57.806Z] 5851b861e8e6: Pull complete [2025-03-17T02:51:57.806Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-03-17T02:51:57.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-17T02:51:57.806Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-17T02:51:57.967Z] prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container [2025-03-17T02:51:57.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-03-17T02:51:59.441Z] $ docker top 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 -eo pid,comm [2025-03-17T02:51:59.502Z] 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-03-17T02:51:59.502Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-03-17T02:51:59.586Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-17T02:51:59.586Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-17T02:51:59.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-17T02:51:59.699Z] $ docker exec 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent [2025-03-17T02:51:59.816Z] SSH_AUTH_SOCK=/tmp/ssh-z5kIAxyuMUKY/agent.34 [2025-03-17T02:51:59.816Z] SSH_AGENT_PID=40 [2025-03-17T02:51:59.822Z] Running ssh-add (command line suppressed) [2025-03-17T02:51:59.907Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_14337682093673569362.key (/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_14337682093673569362.key) [2025-03-17T02:51:59.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-17T02:52:00.226Z] + git tag --points-at HEAD [Pipeline] } [2025-03-17T02:52:00.227Z] $ docker exec --env ******** --env ******** 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent -k [2025-03-17T02:52:00.313Z] unset SSH_AUTH_SOCK; [2025-03-17T02:52:00.313Z] unset SSH_AGENT_PID; [2025-03-17T02:52:00.313Z] echo Agent pid 40 killed; [2025-03-17T02:52:00.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-03-17T02:52:00.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-17T02:52:00.379Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-17T02:52:00.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-17T02:52:00.473Z] $ docker exec 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent [2025-03-17T02:52:00.581Z] SSH_AUTH_SOCK=/tmp/ssh-CRXp5cullCw2/agent.73 [2025-03-17T02:52:00.581Z] SSH_AGENT_PID=80 [2025-03-17T02:52:00.586Z] Running ssh-add (command line suppressed) [2025-03-17T02:52:00.677Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_1952012490410190224.key (/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_1952012490410190224.key) [2025-03-17T02:52:00.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-17T02:52:00.990Z] + git semver init [2025-03-17T02:52:01.248Z] 2025-03-17 02:52:01,168 [run_init] DEBUG init version:0.0.0 force:False [2025-03-17T02:52:01.248Z] 2025-03-17 02:52:01,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver [2025-03-17T02:52:01.248Z] 2025-03-17 02:52:01,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver [2025-03-17T02:52:01.248Z] 2025-03-17 02:52:01,171 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-560, universal_newlines=False, shell=None, istream=None) [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,929 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.git/info/exclude [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver/PR-560 with force:False [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,930 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver/PR-560 [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,934 [execute] INFO git cat-file --batch-check [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,939 [execute] INFO git cat-file --batch [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2025-03-17T02:52:02.192Z] 2025-03-17 02:52:01,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver/PR-560 [2025-03-17T02:52:02.192Z] 0.0.0 [Pipeline] } [2025-03-17T02:52:02.194Z] $ docker exec --env ******** --env ******** 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent -k [2025-03-17T02:52:02.287Z] unset SSH_AUTH_SOCK; [2025-03-17T02:52:02.288Z] unset SSH_AGENT_PID; [2025-03-17T02:52:02.289Z] echo Agent pid 80 killed; [2025-03-17T02:52:02.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-17T02:52:02.644Z] + git semver [Pipeline] } [2025-03-17T02:52:02.905Z] $ docker stop --time=1 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 [2025-03-17T02:52:04.176Z] $ docker rm -f --volumes 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-17T02:52:04.542Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-03-17T02:52:04.790Z] Stashed 1 file(s) [Pipeline] echo [2025-03-17T02:52:04.793Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-03-17T02:52:05.165Z] provisioning config files... [Pipeline] // stage [Pipeline] } [Pipeline] // stage [2025-03-17T02:52:05.200Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/config16814118123951133996tmp [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:05.506Z] ---> ****-login.sh [2025-03-17T02:52:05.506Z] nexus3.edgexfoundry.org:10001 [2025-03-17T02:52:05.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:52:05.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:52:05.506Z] Configure a credential helper to remove this warning. See [2025-03-17T02:52:05.506Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:52:05.506Z] [2025-03-17T02:52:05.506Z] Login Succeeded [2025-03-17T02:52:05.506Z] nexus3.edgexfoundry.org:10002 [2025-03-17T02:52:05.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:52:05.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:52:05.506Z] Configure a credential helper to remove this warning. See [2025-03-17T02:52:05.506Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:52:05.506Z] [2025-03-17T02:52:05.506Z] Login Succeeded [2025-03-17T02:52:05.506Z] nexus3.edgexfoundry.org:10003 [2025-03-17T02:52:05.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:52:05.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:52:05.766Z] Configure a credential helper to remove this warning. See [2025-03-17T02:52:05.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:52:05.766Z] [2025-03-17T02:52:05.766Z] Login Succeeded [2025-03-17T02:52:05.766Z] nexus3.edgexfoundry.org:10004 [2025-03-17T02:52:05.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:52:05.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:52:05.766Z] Configure a credential helper to remove this warning. See [2025-03-17T02:52:05.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:52:05.766Z] [2025-03-17T02:52:05.766Z] Login Succeeded [2025-03-17T02:52:05.766Z] ****.io [2025-03-17T02:52:05.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-17T02:52:06.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-17T02:52:06.026Z] Configure a credential helper to remove this warning. See [2025-03-17T02:52:06.026Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-17T02:52:06.026Z] [2025-03-17T02:52:06.026Z] Login Succeeded [2025-03-17T02:52:06.026Z] ---> ****-login.sh ends [Pipeline] } [2025-03-17T02:52:06.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-17T02:52:06.134Z] [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh [2025-03-17T02:52:06.467Z] + git log --pretty=%H %s [2025-03-17T02:52:06.467Z] + grep ci(lts-release) [2025-03-17T02:52:06.467Z] + head -n 1 [2025-03-17T02:52:06.467Z] + awk {print $1} [Pipeline] echo [2025-03-17T02:52:06.481Z] [prepBaseBuildImage] Re-Tagging exiting image: nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f [Pipeline] sh [2025-03-17T02:52:06.765Z] + docker pull nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f [2025-03-17T02:52:06.765Z] a5010725629ae1840c76610bca239c55fa79b92f: Pulling from device-sdk-c-builder-x86_64 [2025-03-17T02:52:06.765Z] 96526aa774ef: Pulling fs layer [2025-03-17T02:52:06.765Z] 4f9bc52d1dc7: Pulling fs layer [2025-03-17T02:52:06.765Z] 585e8d389ef7: Pulling fs layer [2025-03-17T02:52:06.765Z] c236b2a40c29: Pulling fs layer [2025-03-17T02:52:06.765Z] aac332265079: Pulling fs layer [2025-03-17T02:52:06.765Z] 4adedbaa6b47: Pulling fs layer [2025-03-17T02:52:06.765Z] 7bb09381c24c: Pulling fs layer [2025-03-17T02:52:06.765Z] a79c9e20dbb0: Pulling fs layer [2025-03-17T02:52:06.765Z] 7461e8f58c41: Pulling fs layer [2025-03-17T02:52:06.765Z] 8c8e6cddc092: Pulling fs layer [2025-03-17T02:52:06.765Z] 7bb09381c24c: Waiting [2025-03-17T02:52:06.765Z] 4adedbaa6b47: Waiting [2025-03-17T02:52:06.765Z] c236b2a40c29: Waiting [2025-03-17T02:52:06.766Z] aac332265079: Waiting [2025-03-17T02:52:06.766Z] 8c8e6cddc092: Waiting [2025-03-17T02:52:06.766Z] 7461e8f58c41: Waiting [2025-03-17T02:52:06.766Z] 4f9bc52d1dc7: Verifying Checksum [2025-03-17T02:52:06.766Z] 4f9bc52d1dc7: Download complete [2025-03-17T02:52:06.766Z] c236b2a40c29: Verifying Checksum [2025-03-17T02:52:06.766Z] c236b2a40c29: Download complete [2025-03-17T02:52:06.766Z] aac332265079: Verifying Checksum [2025-03-17T02:52:06.766Z] aac332265079: Download complete [2025-03-17T02:52:06.766Z] 96526aa774ef: Verifying Checksum [2025-03-17T02:52:06.766Z] 96526aa774ef: Download complete [2025-03-17T02:52:06.766Z] 4adedbaa6b47: Verifying Checksum [2025-03-17T02:52:06.766Z] 4adedbaa6b47: Download complete [2025-03-17T02:52:06.766Z] a79c9e20dbb0: Verifying Checksum [2025-03-17T02:52:06.766Z] a79c9e20dbb0: Download complete [2025-03-17T02:52:06.766Z] 7461e8f58c41: Verifying Checksum [2025-03-17T02:52:06.766Z] 7461e8f58c41: Download complete [2025-03-17T02:52:06.766Z] 8c8e6cddc092: Verifying Checksum [2025-03-17T02:52:06.766Z] 8c8e6cddc092: Download complete [2025-03-17T02:52:07.025Z] 7bb09381c24c: Verifying Checksum [2025-03-17T02:52:07.025Z] 7bb09381c24c: Download complete [2025-03-17T02:52:07.025Z] 96526aa774ef: Pull complete [2025-03-17T02:52:07.025Z] 4f9bc52d1dc7: Pull complete [2025-03-17T02:52:07.596Z] 585e8d389ef7: Verifying Checksum [2025-03-17T02:52:07.596Z] 585e8d389ef7: Download complete [2025-03-17T02:52:10.889Z] 585e8d389ef7: Pull complete [2025-03-17T02:52:10.889Z] c236b2a40c29: Pull complete [2025-03-17T02:52:11.149Z] aac332265079: Pull complete [2025-03-17T02:52:11.149Z] 4adedbaa6b47: Pull complete [2025-03-17T02:52:11.717Z] 7bb09381c24c: Pull complete [2025-03-17T02:52:11.717Z] a79c9e20dbb0: Pull complete [2025-03-17T02:52:11.717Z] 7461e8f58c41: Pull complete [2025-03-17T02:52:11.717Z] 8c8e6cddc092: Pull complete [2025-03-17T02:52:11.717Z] Digest: sha256:6cd169f18f1be2603c55d1008fca29f6eb671ef1130a41b19a435dd87536800c [2025-03-17T02:52:11.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f [2025-03-17T02:52:11.717Z] nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f [Pipeline] sh [2025-03-17T02:52:12.012Z] + docker tag nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f ci-base-image-x86_64 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-17T02:52:12.445Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-17T02:52:12.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-17T02:52:12.559Z] prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container [2025-03-17T02:52:12.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 ******** ci-base-image-x86_64 cat [2025-03-17T02:52:13.728Z] $ docker top c30e6c5d4a421863f62552d48ecfef3924abf11028d1d2c5f96c7255f2f7665d -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-17T02:52:14.109Z] + make test [2025-03-17T02:52:14.109Z] echo "make test" [2025-03-17T02:52:14.109Z] make test [Pipeline] } [2025-03-17T02:52:14.111Z] $ docker stop --time=1 c30e6c5d4a421863f62552d48ecfef3924abf11028d1d2c5f96c7255f2f7665d [2025-03-17T02:52:15.416Z] $ docker rm -f --volumes c30e6c5d4a421863f62552d48ecfef3924abf11028d1d2c5f96c7255f2f7665d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-17T02:52:15.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-17T02:52:16.281Z] + ls -al . [2025-03-17T02:52:16.281Z] total 220 [2025-03-17T02:52:16.281Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 02:52 . [2025-03-17T02:52:16.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:51 .. [2025-03-17T02:52:16.281Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 02:52 .git [2025-03-17T02:52:16.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 02:51 .github [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 17 02:51 .gitignore [2025-03-17T02:52:16.281Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 02:52 .semver [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 02:51 Attribution.txt [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 17404 Mar 17 02:51 CHANGELOG.md [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 17 02:51 Doxyfile [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 02:51 GOVERNANCE.md [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 17 02:51 Jenkinsfile [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 17 02:51 LICENSE [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 17 02:51 Makefile [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 17 02:51 OWNERS.md [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 17 02:51 README.IOT.md [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 4173 Mar 17 02:51 README.md [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 17 02:51 README.v3.md [2025-03-17T02:52:16.281Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 02:52 VERSION [2025-03-17T02:52:16.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:51 docs [2025-03-17T02:52:16.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:51 include [2025-03-17T02:52:16.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:51 scripts [2025-03-17T02:52:16.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:51 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-17T02:52:16.617Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2ab6968fc829022bfdb8dd1c5346304a90df4297 --label arch=amd64 --label version=0.0.0 . [2025-03-17T02:52:16.617Z] Sending build context to Docker daemon 5.559MB [2025-03-17T02:52:16.617Z] Step 1/18 : ARG BASE=alpine:3.18 [2025-03-17T02:52:16.617Z] Step 2/18 : FROM ${BASE} [2025-03-17T02:52:16.617Z] ---> 422b67f5a039 [2025-03-17T02:52:16.617Z] Step 3/18 : LABEL maintainer="IOTech " [2025-03-17T02:52:16.617Z] ---> Running in 95c70288a575 [2025-03-17T02:52:16.879Z] Removing intermediate container 95c70288a575 [2025-03-17T02:52:16.879Z] ---> 6c75483f73c8 [2025-03-17T02:52:16.879Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2025-03-17T02:52:16.879Z] ---> Running in 0bb86d4fb9e6 [2025-03-17T02:52:17.140Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-03-17T02:52:17.400Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-03-17T02:52:17.400Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-03-17T02:52:17.400Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-03-17T02:52:17.661Z] Removing intermediate container 0bb86d4fb9e6 [2025-03-17T02:52:17.661Z] ---> cd4abcda4b0e [2025-03-17T02:52:17.661Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-03-17T02:52:17.921Z] ---> Running in 5e3e67dbb700 [2025-03-17T02:52:18.490Z] Removing intermediate container 5e3e67dbb700 [2025-03-17T02:52:18.490Z] ---> 835598d9dfdf [2025-03-17T02:52:18.490Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2025-03-17T02:52:18.490Z] ---> Running in f5ff1cc1e90e [2025-03-17T02:52:18.749Z] fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-17T02:52:19.008Z] fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-17T02:52:19.575Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-17T02:52:20.145Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-17T02:52:20.145Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-03-17T02:52:20.405Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2025-03-17T02:52:20.664Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2025-03-17T02:52:20.924Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2025-03-17T02:52:21.493Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2025-03-17T02:52:21.752Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2025-03-17T02:52:22.011Z] (7/11) Installing libblkid (2.38.1-r8) [2025-03-17T02:52:22.270Z] (8/11) Installing libfdisk (2.38.1-r8) [2025-03-17T02:52:22.838Z] (9/11) Installing libmount (2.38.1-r8) [2025-03-17T02:52:23.097Z] (10/11) Installing libsmartcols (2.38.1-r8) [2025-03-17T02:52:23.673Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2025-03-17T02:52:23.933Z] Executing busybox-1.36.1-r7.trigger [2025-03-17T02:52:24.193Z] OK: 336 MiB in 102 packages [2025-03-17T02:52:24.452Z] Removing intermediate container f5ff1cc1e90e [2025-03-17T02:52:24.452Z] ---> 1a1e2c28f875 [2025-03-17T02:52:24.452Z] Step 7/18 : RUN apk --no-cache upgrade [2025-03-17T02:52:24.712Z] ---> Running in 34e59e18dcef [2025-03-17T02:52:24.972Z] fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-17T02:52:25.232Z] fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-17T02:52:25.800Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-17T02:52:26.369Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-17T02:52:26.369Z] OK: 336 MiB in 102 packages [2025-03-17T02:52:26.627Z] Removing intermediate container 34e59e18dcef [2025-03-17T02:52:26.627Z] ---> f3936233b43f [2025-03-17T02:52:26.627Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2025-03-17T02:52:26.886Z] ---> 21eb87243118 [2025-03-17T02:52:26.886Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2025-03-17T02:52:27.145Z] ---> a43a5bf5e02b [2025-03-17T02:52:27.145Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2025-03-17T02:52:27.145Z] ---> aef0c754cdf8 [2025-03-17T02:52:27.145Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2025-03-17T02:52:27.404Z] ---> 058f889f2a23 [2025-03-17T02:52:27.404Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2025-03-17T02:52:27.404Z] ---> e37dbc84aca4 [2025-03-17T02:52:27.404Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2025-03-17T02:52:27.663Z] ---> 13630d2624c1 [2025-03-17T02:52:27.663Z] Step 14/18 : WORKDIR /edgex-c-sdk [2025-03-17T02:52:27.663Z] ---> Running in 41446a2292fb [2025-03-17T02:52:27.663Z] Removing intermediate container 41446a2292fb [2025-03-17T02:52:27.663Z] ---> 170e52903754 [2025-03-17T02:52:27.663Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2025-03-17T02:52:27.663Z] ---> Running in 0f66744ff3bc [2025-03-17T02:52:27.663Z] Removing intermediate container 0f66744ff3bc [2025-03-17T02:52:27.663Z] ---> fd8d334b8571 [2025-03-17T02:52:27.663Z] Step 16/18 : LABEL arch=amd64 [2025-03-17T02:52:27.922Z] ---> Running in ca441609613c [2025-03-17T02:52:27.922Z] Removing intermediate container ca441609613c [2025-03-17T02:52:27.922Z] ---> 1a9b99df6272 [2025-03-17T02:52:27.922Z] Step 17/18 : LABEL git_sha=2ab6968fc829022bfdb8dd1c5346304a90df4297 [2025-03-17T02:52:27.922Z] ---> Running in 1422ce90205b [2025-03-17T02:52:27.922Z] Removing intermediate container 1422ce90205b [2025-03-17T02:52:27.922Z] ---> 345e3289caba [2025-03-17T02:52:27.922Z] Step 18/18 : LABEL version=0.0.0 [2025-03-17T02:52:27.922Z] ---> Running in 08c7d2f43465 [2025-03-17T02:52:27.922Z] Removing intermediate container 08c7d2f43465 [2025-03-17T02:52:27.922Z] ---> be3a9b215684 [2025-03-17T02:52:27.922Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2025-03-17T02:52:28.181Z] Successfully built be3a9b215684 [2025-03-17T02:52:28.181Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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-03-17T02:52:28.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-17T02:52:28.752Z] [2025-03-17T02:52:28.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-17T02:52:29.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-17T02:52:29.077Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-17T02:52:29.077Z] 5eb5b503b376: Pulling fs layer [2025-03-17T02:52:29.077Z] 5c69ac0246d0: Pulling fs layer [2025-03-17T02:52:29.077Z] ec43610c2a17: Pulling fs layer [2025-03-17T02:52:29.077Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-17T02:52:29.077Z] 33b1e0a273af: Pulling fs layer [2025-03-17T02:52:29.077Z] 5d3b04190fa2: Pulling fs layer [2025-03-17T02:52:29.077Z] 2f39f015ded8: Pulling fs layer [2025-03-17T02:52:29.077Z] 33b1e0a273af: Waiting [2025-03-17T02:52:29.077Z] 5d3b04190fa2: Waiting [2025-03-17T02:52:29.077Z] 2f39f015ded8: Waiting [2025-03-17T02:52:29.077Z] 3a2ae6a8a46f: Waiting [2025-03-17T02:52:29.077Z] 5c69ac0246d0: Verifying Checksum [2025-03-17T02:52:29.077Z] 5c69ac0246d0: Download complete [2025-03-17T02:52:29.077Z] 3a2ae6a8a46f: Verifying Checksum [2025-03-17T02:52:29.077Z] 3a2ae6a8a46f: Download complete [2025-03-17T02:52:29.077Z] 33b1e0a273af: Download complete [2025-03-17T02:52:29.077Z] ec43610c2a17: Verifying Checksum [2025-03-17T02:52:29.077Z] ec43610c2a17: Download complete [2025-03-17T02:52:29.077Z] 5d3b04190fa2: Download complete [2025-03-17T02:52:29.336Z] 5eb5b503b376: Verifying Checksum [2025-03-17T02:52:29.336Z] 5eb5b503b376: Download complete [2025-03-17T02:52:30.278Z] 2f39f015ded8: Download complete [2025-03-17T02:52:30.537Z] 5eb5b503b376: Pull complete [2025-03-17T02:52:30.796Z] 5c69ac0246d0: Pull complete [2025-03-17T02:52:31.055Z] ec43610c2a17: Pull complete [2025-03-17T02:52:31.318Z] 3a2ae6a8a46f: Pull complete [2025-03-17T02:52:31.318Z] 33b1e0a273af: Pull complete [2025-03-17T02:52:31.578Z] 5d3b04190fa2: Pull complete [2025-03-17T02:52:35.770Z] 2f39f015ded8: Pull complete [2025-03-17T02:52:35.770Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-17T02:52:35.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-17T02:52:35.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-17T02:52:35.892Z] prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container [2025-03-17T02:52:35.913Z] $ 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/edgexfoundry_device-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-17T02:52:37.443Z] $ docker top 1ef55c1dd8131931d7e0ce5c237a305bf02c5044c68f58a032b573f8705ac022 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:37.854Z] ---> job-cost.sh [2025-03-17T02:52:37.854Z] lf-activate-venv: SKIPPING [2025-03-17T02:52:37.854Z] INFO: No Stack... [2025-03-17T02:52:38.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-17T02:52:38.375Z] INFO: Archiving Costs [Pipeline] sh [2025-03-17T02:52:38.680Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives/cost.csv [2025-03-17T02:52:38.680Z] + cut -d, -f6 [Pipeline] lock [2025-03-17T02:52:38.696Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] [2025-03-17T02:52:38.704Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] did not exist. Created. [2025-03-17T02:52:38.711Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-17T02:52:39.030Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-03-17T02:52:39.082Z] Stashed 1 file(s) [Pipeline] } [2025-03-17T02:52:39.090Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-17T02:52:39.116Z] $ docker stop --time=1 1ef55c1dd8131931d7e0ce5c237a305bf02c5044c68f58a032b573f8705ac022 [2025-03-17T02:52:40.267Z] $ docker rm -f --volumes 1ef55c1dd8131931d7e0ce5c237a305bf02c5044c68f58a032b573f8705ac022 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [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] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-03-17T02:52:41.092Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives ] [2025-03-17T02:52:41.092Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives [2025-03-17T02:52:41.092Z] total 16 [2025-03-17T02:52:41.092Z] drwxr-xr-x 3 root root 4096 Mar 17 02:52 . [2025-03-17T02:52:41.092Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 02:52 .. [2025-03-17T02:52:41.092Z] drwxr-xr-x 2 root root 4096 Mar 17 02:52 cost [2025-03-17T02:52:41.092Z] -rw-r--r-- 1 root root 84 Mar 17 02:52 cost.csv [2025-03-17T02:52:41.092Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives [2025-03-17T02:52:41.092Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives [2025-03-17T02:52:41.092Z] total 16 [2025-03-17T02:52:41.092Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 02:52 . [2025-03-17T02:52:41.092Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 02:52 .. [2025-03-17T02:52:41.092Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 02:52 cost [2025-03-17T02:52:41.092Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 17 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:41.386Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:42.253Z] ---> package-listing.sh [2025-03-17T02:52:42.253Z] ++ facter osfamily [2025-03-17T02:52:42.253Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-17T02:52:42.514Z] + OS_FAMILY=debian [2025-03-17T02:52:42.514Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-560 [2025-03-17T02:52:42.514Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-17T02:52:42.514Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-17T02:52:42.514Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-17T02:52:42.514Z] + PACKAGES=/tmp/packages_start.txt [2025-03-17T02:52:42.514Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-560 ']' [2025-03-17T02:52:42.514Z] + PACKAGES=/tmp/packages_end.txt [2025-03-17T02:52:42.514Z] + case "${OS_FAMILY}" in [2025-03-17T02:52:42.514Z] + dpkg -l [2025-03-17T02:52:42.514Z] + grep '^ii' [2025-03-17T02:52:42.514Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-17T02:52:42.514Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-17T02:52:42.514Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-17T02:52:42.514Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-560 ']' [2025-03-17T02:52:42.514Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives/ [2025-03-17T02:52:42.514Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives/ [Pipeline] echo [2025-03-17T02:52:42.527Z] 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/edgexfoundry_device-sdk-c_PR-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-03-17T02:52:42.810Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-17T02:52:43.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-17T02:52:43.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-17T02:52:43.479Z] prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container [2025-03-17T02:52:43.499Z] $ 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/edgexfoundry_device-sdk-c_PR-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-17T02:52:43.671Z] $ docker top 261701ee3fb0f80c4f3258578ba18014831c8f8a9783fb57d8c40a47e0a74493 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-17T02:52:44.040Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-17T02:52:44.327Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-17T02:52:44.611Z] + ls /var/log/sa-host [2025-03-17T02:52:44.611Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-17T02:52:44.695Z] provisioning config files... [2025-03-17T02:52:44.704Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/config2397676912606534638tmp [Pipeline] { [Pipeline] echo [2025-03-17T02:52:44.729Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:45.016Z] ---> create-netrc.sh [Pipeline] } [2025-03-17T02:52:45.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:45.369Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-17T02:52:45.379Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:45.659Z] ---> sudo-logs.sh [2025-03-17T02:52:45.659Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-03-17T02:52:45.697Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:45.978Z] ---> job-cost.sh [2025-03-17T02:52:45.978Z] lf-activate-venv: SKIPPING [2025-03-17T02:52:45.978Z] DEBUG: total: 0.2199999988079071 [2025-03-17T02:52:45.978Z] INFO: Retrieving Stack Cost... [2025-03-17T02:52:45.978Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-17T02:52:46.547Z] INFO: Archiving Costs [Pipeline] echo [2025-03-17T02:52:46.560Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-17T02:52:46.848Z] ---> logs-deploy.sh [2025-03-17T02:52:46.848Z] lf-activate-venv: SKIPPING [2025-03-17T02:52:46.848Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-560/6 [2025-03-17T02:52:46.848Z] INFO: archiving workspace using pattern(s): [2025-03-17T02:52:47.790Z] Archives upload complete. [2025-03-17T02:52:47.790Z] INFO: archiving logs to Nexus