Started by upstream project "edgexfoundry/cd-management/release-lts" build number 75 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ef7fd39ffd2e09854197366ea97645a74e6c1cc8 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-ssh6628659452740556646.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh13168224895296256534.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7326746907309538492.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh5338194362516905621.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16264357305962624958.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40419’ Running on prd-ubuntu20.04-docker-8c-8g-40429 in /w/workspace/edgexfoundry_device-sdk-c_odessa [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_odessa # 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 > 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 Avoid second fetch Checking out Revision ef7fd39ffd2e09854197366ea97645a74e6c1cc8 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @908f3fa" > git config core.sparsecheckout # timeout=10 > git checkout -f ef7fd39ffd2e09854197366ea97645a74e6c1cc8 # timeout=10 > git rev-list --no-walk ef7fd39ffd2e09854197366ea97645a74e6c1cc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-03-06T07:48:13.089Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-03-06T07:48:13.145Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-06T07:48:13.172Z] ========================================================= [2025-03-06T07:48:13.173Z] EdgeX Global Pipelines Version Info [2025-03-06T07:48:13.173Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:48:13.885Z] ------------------- [2025-03-06T07:48:13.885Z] stable info: [2025-03-06T07:48:13.885Z] ------------------- [2025-03-06T07:48:13.885Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-03-06T07:48:13.885Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-03-06T07:48:13.885Z] Message: update stable to v1.0.269 [2025-03-06T07:48:14.455Z] ------------------- [2025-03-06T07:48:14.455Z] experimental info: [2025-03-06T07:48:14.455Z] ------------------- [2025-03-06T07:48:14.455Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-06T07:48:14.455Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-03-06T07:48:14.455Z] Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-03-06T07:48:14.524Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2025-03-06T07:48:14.544Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2025-03-06T07:48:14.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-03-06T07:48:14.584Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-03-06T07:48:14.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-03-06T07:48:14.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2025-03-06T07:48:14.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2025-03-06T07:48:14.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-03-06T07:48:14.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-03-06T07:48:14.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2025-03-06T07:48:14.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-03-06T07:48:14.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-03-06T07:48:14.787Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-03-06T07:48:14.806Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2025-03-06T07:48:14.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-03-06T07:48:14.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-03-06T07:48:14.870Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-03-06T07:48:14.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo [2025-03-06T07:48:14.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo [2025-03-06T07:48:14.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo [2025-03-06T07:48:14.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [Pipeline] echo [2025-03-06T07:48:14.983Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef7fd39 [Pipeline] echo [2025-03-06T07:48:15.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-06T07:48:15.071Z] provisioning config files... [2025-03-06T07:48:15.085Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_odessa@tmp/config15568619012514504621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:48:15.417Z] ---> ****-login.sh [2025-03-06T07:48:15.417Z] nexus3.edgexfoundry.org:10001 [2025-03-06T07:48:15.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:15.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:15.682Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:15.682Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:15.682Z] [2025-03-06T07:48:15.682Z] Login Succeeded [2025-03-06T07:48:15.682Z] nexus3.edgexfoundry.org:10002 [2025-03-06T07:48:15.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:15.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:15.949Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:15.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:15.949Z] [2025-03-06T07:48:15.949Z] Login Succeeded [2025-03-06T07:48:15.949Z] nexus3.edgexfoundry.org:10003 [2025-03-06T07:48:15.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:15.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:15.949Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:15.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:15.949Z] [2025-03-06T07:48:15.949Z] Login Succeeded [2025-03-06T07:48:15.949Z] nexus3.edgexfoundry.org:10004 [2025-03-06T07:48:15.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:16.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:16.213Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:16.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:16.213Z] [2025-03-06T07:48:16.213Z] Login Succeeded [2025-03-06T07:48:16.213Z] ****.io [2025-03-06T07:48:16.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:16.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:16.213Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:16.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:16.213Z] [2025-03-06T07:48:16.213Z] Login Succeeded [2025-03-06T07:48:16.213Z] ---> ****-login.sh ends [Pipeline] } [2025-03-06T07:48:16.219Z] 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-06T07:48:16.618Z] + git rev-list -1 --merges ef7fd39ffd2e09854197366ea97645a74e6c1cc8~1..ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [Pipeline] echo [2025-03-06T07:48:16.648Z] -----------> git rev-list -1 --merges ef7fd39ffd2e09854197366ea97645a74e6c1cc8~1..ef7fd39ffd2e09854197366ea97645a74e6c1cc8 ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [false] [Pipeline] sh [2025-03-06T07:48:16.944Z] + git log --format=format:%s -1 ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [Pipeline] echo [2025-03-06T07:48:16.964Z] ========================================================= [2025-03-06T07:48:16.964Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2025-03-06T07:48:16.964Z] ========================================================= 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-06T07:48:17.482Z] + git rev-list -1 --merges ef7fd39ffd2e09854197366ea97645a74e6c1cc8~1..ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [Pipeline] echo [2025-03-06T07:48:17.494Z] -----------> git rev-list -1 --merges ef7fd39ffd2e09854197366ea97645a74e6c1cc8~1..ef7fd39ffd2e09854197366ea97645a74e6c1cc8 ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [false] [Pipeline] sh [2025-03-06T07:48:17.783Z] + git log --format=format:%s -1 ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [Pipeline] echo [2025-03-06T07:48:17.808Z] ========================================================= [2025-03-06T07:48:17.808Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2025-03-06T07:48:17.808Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2025-03-06T07:48:18.189Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-06T07:48:18.189Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-03-06T07:48:18.189Z] + [ -e /tmp/ssh_known_hosts ] [2025-03-06T07:48:18.189Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-03-06T07:48:18.189Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-03-06T07:48:18.189Z] sudo tee -a /etc/ssh/ssh_known_hosts [2025-03-06T07:48:18.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-06T07:48:18.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-06T07:48:18.564Z] [2025-03-06T07:48:18.564Z] 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-06T07:48:18.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-06T07:48:18.873Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-03-06T07:48:18.873Z] b85a868b505f: Pulling fs layer [2025-03-06T07:48:18.873Z] e2be974225ed: Pulling fs layer [2025-03-06T07:48:18.873Z] 339a4e72a1f5: Pulling fs layer [2025-03-06T07:48:18.873Z] 988bab9f4d93: Pulling fs layer [2025-03-06T07:48:18.873Z] 1469e6f7b9e6: Pulling fs layer [2025-03-06T07:48:18.873Z] eaf3925da568: Pulling fs layer [2025-03-06T07:48:18.873Z] 1469e6f7b9e6: Waiting [2025-03-06T07:48:18.873Z] bab4dde63d76: Pulling fs layer [2025-03-06T07:48:18.873Z] bde34c3a00c8: Pulling fs layer [2025-03-06T07:48:18.873Z] b352a97aabf1: Pulling fs layer [2025-03-06T07:48:18.873Z] eaf3925da568: Waiting [2025-03-06T07:48:18.873Z] 4872d77fe225: Pulling fs layer [2025-03-06T07:48:18.873Z] 5851b861e8e6: Pulling fs layer [2025-03-06T07:48:18.873Z] bde34c3a00c8: Waiting [2025-03-06T07:48:18.873Z] bab4dde63d76: Waiting [2025-03-06T07:48:18.873Z] b352a97aabf1: Waiting [2025-03-06T07:48:18.873Z] 5851b861e8e6: Waiting [2025-03-06T07:48:18.873Z] 4872d77fe225: Waiting [2025-03-06T07:48:18.873Z] 988bab9f4d93: Waiting [2025-03-06T07:48:18.873Z] e2be974225ed: Verifying Checksum [2025-03-06T07:48:18.873Z] e2be974225ed: Download complete [2025-03-06T07:48:18.873Z] 988bab9f4d93: Verifying Checksum [2025-03-06T07:48:18.873Z] 988bab9f4d93: Download complete [2025-03-06T07:48:18.873Z] 1469e6f7b9e6: Verifying Checksum [2025-03-06T07:48:18.873Z] 1469e6f7b9e6: Download complete [2025-03-06T07:48:18.873Z] eaf3925da568: Verifying Checksum [2025-03-06T07:48:18.873Z] eaf3925da568: Download complete [2025-03-06T07:48:18.873Z] 339a4e72a1f5: Verifying Checksum [2025-03-06T07:48:18.873Z] 339a4e72a1f5: Download complete [2025-03-06T07:48:19.132Z] bde34c3a00c8: Download complete [2025-03-06T07:48:19.132Z] b352a97aabf1: Verifying Checksum [2025-03-06T07:48:19.132Z] b352a97aabf1: Download complete [2025-03-06T07:48:19.132Z] 4872d77fe225: Download complete [2025-03-06T07:48:19.132Z] 5851b861e8e6: Download complete [2025-03-06T07:48:19.132Z] b85a868b505f: Verifying Checksum [2025-03-06T07:48:19.132Z] b85a868b505f: Download complete [2025-03-06T07:48:19.389Z] bab4dde63d76: Verifying Checksum [2025-03-06T07:48:19.389Z] bab4dde63d76: Download complete [2025-03-06T07:48:20.326Z] b85a868b505f: Pull complete [2025-03-06T07:48:20.326Z] e2be974225ed: Pull complete [2025-03-06T07:48:20.584Z] 339a4e72a1f5: Pull complete [2025-03-06T07:48:20.842Z] 988bab9f4d93: Pull complete [2025-03-06T07:48:21.100Z] 1469e6f7b9e6: Pull complete [2025-03-06T07:48:21.100Z] eaf3925da568: Pull complete [2025-03-06T07:48:22.474Z] bab4dde63d76: Pull complete [2025-03-06T07:48:22.732Z] bde34c3a00c8: Pull complete [2025-03-06T07:48:22.732Z] b352a97aabf1: Pull complete [2025-03-06T07:48:22.732Z] 4872d77fe225: Pull complete [2025-03-06T07:48:22.991Z] 5851b861e8e6: Pull complete [2025-03-06T07:48:22.991Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-03-06T07:48:22.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-06T07:48:22.991Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-06T07:48:23.128Z] prd-ubuntu20.04-docker-8c-8g-40429 does not seem to be running inside a container [2025-03-06T07:48:23.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_odessa -v /w/workspace/edgexfoundry_device-sdk-c_odessa:/w/workspace/edgexfoundry_device-sdk-c_odessa:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_odessa@tmp:/w/workspace/edgexfoundry_device-sdk-c_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-03-06T07:48:25.093Z] $ docker top 94368f051b2d978ed09959d736a9105a7aa4d84a592a8fa274253f151e63bf07 -eo pid,comm [2025-03-06T07:48:25.144Z] 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-06T07:48:25.144Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-03-06T07:48:25.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-06T07:48:25.202Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-06T07:48:25.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-06T07:48:25.308Z] $ docker exec 94368f051b2d978ed09959d736a9105a7aa4d84a592a8fa274253f151e63bf07 ssh-agent [2025-03-06T07:48:25.414Z] SSH_AUTH_SOCK=/tmp/ssh-SyoWbWMYXeSd/agent.33 [2025-03-06T07:48:25.414Z] SSH_AGENT_PID=39 [2025-03-06T07:48:25.419Z] Running ssh-add (command line suppressed) [2025-03-06T07:48:25.517Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_odessa@tmp/private_key_4799960243798329400.key (/w/workspace/edgexfoundry_device-sdk-c_odessa@tmp/private_key_4799960243798329400.key) [2025-03-06T07:48:25.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-06T07:48:25.827Z] + git tag --points-at ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [Pipeline] } [2025-03-06T07:48:25.839Z] $ docker exec --env ******** --env ******** 94368f051b2d978ed09959d736a9105a7aa4d84a592a8fa274253f151e63bf07 ssh-agent -k [2025-03-06T07:48:25.932Z] unset SSH_AUTH_SOCK; [2025-03-06T07:48:25.932Z] unset SSH_AGENT_PID; [2025-03-06T07:48:25.932Z] echo Agent pid 39 killed; [2025-03-06T07:48:25.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2025-03-06T07:48:25.985Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent [2025-03-06T07:48:26.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-06T07:48:26.008Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-06T07:48:26.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-06T07:48:26.112Z] $ docker exec 94368f051b2d978ed09959d736a9105a7aa4d84a592a8fa274253f151e63bf07 ssh-agent [2025-03-06T07:48:26.238Z] SSH_AUTH_SOCK=/tmp/ssh-QIosJZAMRJ1s/agent.72 [2025-03-06T07:48:26.238Z] SSH_AGENT_PID=78 [2025-03-06T07:48:26.242Z] Running ssh-add (command line suppressed) [2025-03-06T07:48:26.352Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_odessa@tmp/private_key_7777588887107350833.key (/w/workspace/edgexfoundry_device-sdk-c_odessa@tmp/private_key_7777588887107350833.key) [2025-03-06T07:48:26.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-06T07:48:26.662Z] + git semver init [2025-03-06T07:48:26.920Z] 2025-03-06 07:48:26,819 [run_init] DEBUG init version:0.0.0 force:False [2025-03-06T07:48:26.920Z] 2025-03-06 07:48:26,819 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_odessa/.semver [2025-03-06T07:48:26.920Z] 2025-03-06 07:48:26,820 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_odessa/.semver [2025-03-06T07:48:26.920Z] 2025-03-06 07:48:26,820 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_odessa/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_odessa, universal_newlines=False, shell=None, istream=None) [2025-03-06T07:48:27.857Z] 2025-03-06 07:48:27,599 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_odessa/.git/info/exclude [2025-03-06T07:48:27.857Z] 2025-03-06 07:48:27,600 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_odessa/.semver/odessa with force:False [2025-03-06T07:48:27.857Z] 2025-03-06 07:48:27,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_odessa/.semver/odessa [2025-03-06T07:48:27.857Z] 2025-03-06 07:48:27,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_odessa/.semver/odessa [2025-03-06T07:48:27.857Z] 4.0.0 [Pipeline] } [2025-03-06T07:48:27.867Z] $ docker exec --env ******** --env ******** 94368f051b2d978ed09959d736a9105a7aa4d84a592a8fa274253f151e63bf07 ssh-agent -k [2025-03-06T07:48:27.970Z] unset SSH_AUTH_SOCK; [2025-03-06T07:48:27.970Z] unset SSH_AGENT_PID; [2025-03-06T07:48:27.970Z] echo Agent pid 78 killed; [2025-03-06T07:48:27.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-06T07:48:28.298Z] + git semver [Pipeline] } [2025-03-06T07:48:28.571Z] $ docker stop --time=1 94368f051b2d978ed09959d736a9105a7aa4d84a592a8fa274253f151e63bf07 [2025-03-06T07:48:29.865Z] $ docker rm -f --volumes 94368f051b2d978ed09959d736a9105a7aa4d84a592a8fa274253f151e63bf07 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-06T07:48:30.203Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-03-06T07:48:30.428Z] Stashed 1 file(s) [Pipeline] echo [2025-03-06T07:48:30.433Z] [edgeXSemver]: initialized semver on version 4.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] { (Prep) [Pipeline] // stage [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] sh [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [2025-03-06T07:48:30.934Z] + git checkout ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [2025-03-06T07:48:30.934Z] HEAD is now at ef7fd39 ci(lts-release): LTS release v4.0.0 @908f3fa [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-06T07:48:30.963Z] provisioning config files... [2025-03-06T07:48:30.971Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_odessa@tmp/config11785355036920588891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:48:31.276Z] ---> ****-login.sh [2025-03-06T07:48:31.276Z] nexus3.edgexfoundry.org:10001 [2025-03-06T07:48:31.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:31.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:31.276Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:31.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:31.276Z] [2025-03-06T07:48:31.276Z] Login Succeeded [2025-03-06T07:48:31.277Z] nexus3.edgexfoundry.org:10002 [2025-03-06T07:48:31.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:31.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:31.277Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:31.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:31.277Z] [2025-03-06T07:48:31.277Z] Login Succeeded [2025-03-06T07:48:31.277Z] nexus3.edgexfoundry.org:10003 [2025-03-06T07:48:31.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:31.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:31.675Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:31.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:31.675Z] [2025-03-06T07:48:31.675Z] Login Succeeded [2025-03-06T07:48:31.675Z] nexus3.edgexfoundry.org:10004 [2025-03-06T07:48:31.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:31.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:31.676Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:31.676Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:31.676Z] [2025-03-06T07:48:31.676Z] Login Succeeded [2025-03-06T07:48:31.676Z] ****.io [2025-03-06T07:48:31.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-06T07:48:32.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-06T07:48:32.220Z] Configure a credential helper to remove this warning. See [2025-03-06T07:48:32.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-06T07:48:32.220Z] [2025-03-06T07:48:32.220Z] Login Succeeded [2025-03-06T07:48:32.220Z] ---> ****-login.sh ends [Pipeline] } [2025-03-06T07:48:32.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-06T07:48:32.311Z] [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-03-06T07:48:32.324Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2025-03-06T07:48:32.342Z] [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-03-06T07:48:32.357Z] ========================================================= [2025-03-06T07:48:32.357Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2025-03-06T07:48:32.357Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-06T07:48:32.677Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2025-03-06T07:48:32.677Z] Sending build context to Docker daemon 5.529MB [2025-03-06T07:48:32.677Z] Step 1/22 : ARG BASE=alpine:3.18 [2025-03-06T07:48:32.677Z] Step 2/22 : FROM ${BASE} as builder [2025-03-06T07:48:32.677Z] latest: Pulling from edgex-devops/edgex-gcc-base [2025-03-06T07:48:32.677Z] 96526aa774ef: Pulling fs layer [2025-03-06T07:48:32.677Z] da60e534fd72: Pulling fs layer [2025-03-06T07:48:32.677Z] 96526aa774ef: Verifying Checksum [2025-03-06T07:48:32.677Z] 96526aa774ef: Download complete [2025-03-06T07:48:32.936Z] 96526aa774ef: Pull complete [2025-03-06T07:48:33.505Z] da60e534fd72: Verifying Checksum [2025-03-06T07:48:33.505Z] da60e534fd72: Download complete [2025-03-06T07:48:36.789Z] da60e534fd72: Pull complete [2025-03-06T07:48:36.789Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2025-03-06T07:48:36.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2025-03-06T07:48:36.789Z] ---> 6605166a5db4 [2025-03-06T07:48:36.789Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2025-03-06T07:48:37.735Z] ---> Running in b410231eaa3f [2025-03-06T07:48:37.994Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-03-06T07:48:38.253Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-03-06T07:48:38.253Z] alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA [2025-03-06T07:48:38.253Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-03-06T07:48:38.512Z] Removing intermediate container b410231eaa3f [2025-03-06T07:48:38.512Z] ---> 0e23c5c893d6 [2025-03-06T07:48:38.512Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-03-06T07:48:38.771Z] ---> Running in 8def26659258 [2025-03-06T07:48:39.339Z] Removing intermediate container 8def26659258 [2025-03-06T07:48:39.339Z] ---> 540d7ef97bfc [2025-03-06T07:48:39.339Z] Step 5/22 : 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 [2025-03-06T07:48:39.339Z] ---> Running in cc2fa2cb1161 [2025-03-06T07:48:40.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:48:40.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-06T07:48:40.567Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:48:41.134Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-06T07:48:41.134Z] (1/15) Installing libcbor (0.10.2-r1) [2025-03-06T07:48:41.134Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2025-03-06T07:48:42.068Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-03-06T07:48:42.068Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-03-06T07:48:42.327Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2025-03-06T07:48:42.327Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2025-03-06T07:48:42.327Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2025-03-06T07:48:42.327Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2025-03-06T07:48:42.327Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2025-03-06T07:48:42.327Z] (10/15) Installing libblkid (2.38.1-r8) [2025-03-06T07:48:42.327Z] (11/15) Installing libuuid (2.38.1-r8) [2025-03-06T07:48:42.327Z] (12/15) Installing libfdisk (2.38.1-r8) [2025-03-06T07:48:42.327Z] (13/15) Installing libmount (2.38.1-r8) [2025-03-06T07:48:42.327Z] (14/15) Installing libsmartcols (2.38.1-r8) [2025-03-06T07:48:42.327Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2025-03-06T07:48:42.327Z] Executing busybox-1.36.1-r4.trigger [2025-03-06T07:48:42.327Z] OK: 336 MiB in 97 packages [2025-03-06T07:48:42.894Z] Removing intermediate container cc2fa2cb1161 [2025-03-06T07:48:42.894Z] ---> 45abafde5a0a [2025-03-06T07:48:42.894Z] Step 6/22 : RUN mkdir /tmp/sdk [2025-03-06T07:48:42.894Z] ---> Running in 47545ee1e7b8 [2025-03-06T07:48:43.462Z] Removing intermediate container 47545ee1e7b8 [2025-03-06T07:48:43.462Z] ---> ad74dd3444f7 [2025-03-06T07:48:43.462Z] Step 7/22 : COPY VERSION /tmp/sdk [2025-03-06T07:48:43.462Z] ---> 21a339c31c21 [2025-03-06T07:48:43.462Z] Step 8/22 : COPY src /tmp/sdk/src [2025-03-06T07:48:43.722Z] ---> 5e1ae58e2785 [2025-03-06T07:48:43.722Z] Step 9/22 : COPY include /tmp/sdk/include [2025-03-06T07:48:43.722Z] ---> 98db240d83e2 [2025-03-06T07:48:43.722Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2025-03-06T07:48:43.980Z] ---> d9345b88fdd3 [2025-03-06T07:48:43.980Z] Step 11/22 : COPY LICENSE /tmp/sdk [2025-03-06T07:48:43.980Z] ---> 65262933d86e [2025-03-06T07:48:43.980Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2025-03-06T07:48:44.238Z] ---> b1f46034f941 [2025-03-06T07:48:44.238Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2025-03-06T07:48:44.238Z] ---> Running in ffc11c61dbc9 [2025-03-06T07:48:44.497Z] + CPPCHECK=false [2025-03-06T07:48:44.497Z] + DOCGEN=false [2025-03-06T07:48:44.497Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2025-03-06T07:48:44.497Z] + '[' 0 -gt 0 ] [2025-03-06T07:48:44.497Z] + readlink -f ./scripts/build.sh [2025-03-06T07:48:44.497Z] + dirname /tmp/sdk/scripts/build.sh [2025-03-06T07:48:44.497Z] + dirname /tmp/sdk/scripts [2025-03-06T07:48:44.497Z] + ROOT=/tmp/sdk [2025-03-06T07:48:44.497Z] + cd /tmp/sdk [2025-03-06T07:48:44.497Z] + mkdir -p /tmp/sdk/build/release [2025-03-06T07:48:44.497Z] + cd /tmp/sdk/build/release [2025-03-06T07:48:44.497Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2025-03-06T07:48:44.497Z] -- The C compiler identification is GNU 12.2.1 [2025-03-06T07:48:44.497Z] -- Detecting C compiler ABI info [2025-03-06T07:48:44.497Z] -- Detecting C compiler ABI info - done [2025-03-06T07:48:44.756Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-06T07:48:44.756Z] -- Detecting C compile features [2025-03-06T07:48:44.756Z] -- Detecting C compile features - done [2025-03-06T07:48:44.756Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-03-06T07:48:44.756Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-03-06T07:48:44.756Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-03-06T07:48:44.756Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-03-06T07:48:44.756Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-03-06T07:48:44.756Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-03-06T07:48:44.756Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-03-06T07:48:44.756Z] -- /opt/iotech/iot/1.5/include [2025-03-06T07:48:44.756Z] -- C SDK 0.0.0 for Linux [2025-03-06T07:48:44.756Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-03-06T07:48:44.756Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-03-06T07:48:44.756Z] -- Found Curses: /usr/lib/libcurses.so [2025-03-06T07:48:44.756Z] -- Configuring done (0.4s) [2025-03-06T07:48:44.756Z] -- Generating done (0.0s) [2025-03-06T07:48:45.014Z] -- Build files have been written to: /tmp/sdk/build/release [2025-03-06T07:48:45.014Z] + make all package [2025-03-06T07:48:45.014Z] + tee release.log [2025-03-06T07:48:45.014Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-03-06T07:48:45.014Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-03-06T07:48:45.272Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-03-06T07:48:45.272Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-03-06T07:48:45.530Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-03-06T07:48:45.789Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-03-06T07:48:45.789Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-03-06T07:48:45.789Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-03-06T07:48:46.047Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-03-06T07:48:46.306Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-03-06T07:48:46.306Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-03-06T07:48:46.564Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-03-06T07:48:46.564Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-03-06T07:48:46.823Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-03-06T07:48:46.823Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-03-06T07:48:47.081Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-03-06T07:48:47.340Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-03-06T07:48:47.340Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-03-06T07:48:47.599Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-03-06T07:48:47.858Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-03-06T07:48:47.858Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-03-06T07:48:48.793Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-03-06T07:48:49.052Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-03-06T07:48:49.052Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-03-06T07:48:49.052Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-03-06T07:48:49.052Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-03-06T07:48:49.310Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-03-06T07:48:49.879Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-03-06T07:48:49.879Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-03-06T07:48:49.879Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-03-06T07:48:50.139Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-03-06T07:48:50.398Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2025-03-06T07:48:50.398Z] /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-06T07:48:50.398Z] 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2025-03-06T07:48:50.398Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-06T07:48:50.398Z] /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here [2025-03-06T07:48:50.398Z] 875 | const iot_data_t *deviceservices_config; [2025-03-06T07:48:50.398Z] | ^~~~~~~~~~~~~~~~~~~~~ [2025-03-06T07:48:50.398Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-03-06T07:48:50.658Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-03-06T07:48:50.658Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-03-06T07:48:50.658Z] [ 68%] Linking C shared library libcsdk.so [2025-03-06T07:48:50.658Z] [ 68%] Built target csdk [2025-03-06T07:48:50.917Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-03-06T07:48:50.917Z] [ 72%] Linking C executable template [2025-03-06T07:48:50.917Z] [ 72%] Built target template [2025-03-06T07:48:50.917Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-03-06T07:48:51.176Z] [ 76%] Linking C executable device-counter [2025-03-06T07:48:51.176Z] [ 76%] Built target device-counter [2025-03-06T07:48:51.176Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-03-06T07:48:51.176Z] [ 80%] Linking C executable device-random [2025-03-06T07:48:51.436Z] [ 80%] Built target device-random [2025-03-06T07:48:51.436Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-03-06T07:48:51.436Z] [ 84%] Linking C executable device-gyro [2025-03-06T07:48:51.436Z] [ 84%] Built target device-gyro [2025-03-06T07:48:51.436Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-03-06T07:48:51.694Z] [ 88%] Linking C executable device-bitfields [2025-03-06T07:48:51.694Z] [ 88%] Built target device-bitfields [2025-03-06T07:48:51.694Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-03-06T07:48:51.953Z] [ 92%] Linking C executable template-discovery [2025-03-06T07:48:51.953Z] [ 92%] Built target template-discovery [2025-03-06T07:48:51.953Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-03-06T07:48:51.953Z] [ 96%] Linking C executable device-file [2025-03-06T07:48:52.211Z] [ 96%] Built target device-file [2025-03-06T07:48:52.211Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-03-06T07:48:52.211Z] [100%] Linking C executable device-terminal [2025-03-06T07:48:52.211Z] [100%] Built target device-terminal [2025-03-06T07:48:52.211Z] Run CPack packaging tool... [2025-03-06T07:48:52.211Z] CPack: Create package using TGZ [2025-03-06T07:48:52.211Z] CPack: Install projects [2025-03-06T07:48:52.211Z] CPack: - Run preinstall target for: Csdk [2025-03-06T07:48:52.470Z] CPack: - Install project: Csdk [] [2025-03-06T07:48:52.470Z] CPack: Create package [2025-03-06T07:48:52.470Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2025-03-06T07:48:52.470Z] + '[' false '=' true ] [2025-03-06T07:48:52.470Z] + '[' false '=' true ] [2025-03-06T07:48:52.470Z] + mkdir -p /tmp/sdk/build/debug [2025-03-06T07:48:52.470Z] + cd /tmp/sdk/build/debug [2025-03-06T07:48:52.470Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2025-03-06T07:48:52.729Z] -- The C compiler identification is GNU 12.2.1 [2025-03-06T07:48:52.729Z] -- Detecting C compiler ABI info [2025-03-06T07:48:52.729Z] -- Detecting C compiler ABI info - done [2025-03-06T07:48:52.729Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-06T07:48:52.729Z] -- Detecting C compile features [2025-03-06T07:48:52.729Z] -- Detecting C compile features - done [2025-03-06T07:48:52.729Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-03-06T07:48:52.729Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2025-03-06T07:48:52.729Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-03-06T07:48:52.729Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-03-06T07:48:52.729Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-03-06T07:48:52.729Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-03-06T07:48:52.729Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-03-06T07:48:52.729Z] -- /opt/iotech/iot/1.5/include [2025-03-06T07:48:52.729Z] -- C SDK 0.0.0 for Linux [2025-03-06T07:48:52.729Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-03-06T07:48:52.987Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-03-06T07:48:52.987Z] -- Found Curses: /usr/lib/libcurses.so [2025-03-06T07:48:52.987Z] -- Configuring done (0.4s) [2025-03-06T07:48:52.987Z] -- Generating done (0.0s) [2025-03-06T07:48:52.987Z] -- Build files have been written to: /tmp/sdk/build/debug [2025-03-06T07:48:52.987Z] + make [2025-03-06T07:48:52.987Z] + tee debug.log [2025-03-06T07:48:52.987Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-03-06T07:48:53.246Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-03-06T07:48:53.246Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-03-06T07:48:53.246Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-03-06T07:48:53.246Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-03-06T07:48:53.504Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-03-06T07:48:53.504Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-03-06T07:48:53.504Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-03-06T07:48:53.765Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-03-06T07:48:53.765Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-03-06T07:48:53.765Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-03-06T07:48:54.024Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-03-06T07:48:54.024Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-03-06T07:48:54.024Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-03-06T07:48:54.024Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-03-06T07:48:54.283Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-03-06T07:48:54.283Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-03-06T07:48:54.283Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-03-06T07:48:54.541Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-03-06T07:48:54.541Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-03-06T07:48:54.541Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-03-06T07:48:54.798Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-03-06T07:48:54.798Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-03-06T07:48:54.798Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-03-06T07:48:55.056Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-03-06T07:48:55.056Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-03-06T07:48:55.056Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-03-06T07:48:55.315Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-03-06T07:48:55.315Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-03-06T07:48:55.315Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-03-06T07:48:55.571Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-03-06T07:48:55.572Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-03-06T07:48:55.830Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-03-06T07:48:55.830Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-03-06T07:48:55.830Z] [ 68%] Linking C shared library libcsdk.so [2025-03-06T07:48:55.830Z] [ 68%] Built target csdk [2025-03-06T07:48:55.830Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-03-06T07:48:56.087Z] [ 72%] Linking C executable template [2025-03-06T07:48:56.087Z] [ 72%] Built target template [2025-03-06T07:48:56.087Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-03-06T07:48:56.087Z] [ 76%] Linking C executable device-counter [2025-03-06T07:48:56.087Z] [ 76%] Built target device-counter [2025-03-06T07:48:56.087Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-03-06T07:48:56.344Z] [ 80%] Linking C executable device-random [2025-03-06T07:48:56.344Z] [ 80%] Built target device-random [2025-03-06T07:48:56.344Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-03-06T07:48:56.344Z] [ 84%] Linking C executable device-gyro [2025-03-06T07:48:56.344Z] [ 84%] Built target device-gyro [2025-03-06T07:48:56.344Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-03-06T07:48:56.603Z] [ 88%] Linking C executable device-bitfields [2025-03-06T07:48:56.604Z] [ 88%] Built target device-bitfields [2025-03-06T07:48:56.604Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-03-06T07:48:56.604Z] [ 92%] Linking C executable template-discovery [2025-03-06T07:48:56.863Z] [ 92%] Built target template-discovery [2025-03-06T07:48:56.863Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-03-06T07:48:56.863Z] [ 96%] Linking C executable device-file [2025-03-06T07:48:56.863Z] [ 96%] Built target device-file [2025-03-06T07:48:56.863Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-03-06T07:48:57.122Z] [100%] Linking C executable device-terminal [2025-03-06T07:48:57.122Z] [100%] Built target device-terminal [2025-03-06T07:48:57.122Z] make: Entering directory '/tmp/sdk/build/release' [2025-03-06T07:48:57.122Z] [ 68%] Built target csdk [2025-03-06T07:48:57.122Z] [ 72%] Built target template [2025-03-06T07:48:57.122Z] [ 76%] Built target device-counter [2025-03-06T07:48:57.122Z] [ 80%] Built target device-random [2025-03-06T07:48:57.122Z] [ 84%] Built target device-gyro [2025-03-06T07:48:57.122Z] [ 88%] Built target device-bitfields [2025-03-06T07:48:57.122Z] [ 92%] Built target template-discovery [2025-03-06T07:48:57.386Z] [ 96%] Built target device-file [2025-03-06T07:48:57.386Z] [100%] Built target device-terminal [2025-03-06T07:48:57.386Z] Install the project... [2025-03-06T07:48:57.386Z] -- Install configuration: "Release" [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/lib/libcsdk.so [2025-03-06T07:48:57.386Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/devsdk [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/edgex [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/edgex/edgex.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/edgex/devices.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/edgex/profiles.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/edgex/rest-server.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2025-03-06T07:48:57.386Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2025-03-06T07:48:57.386Z] make: Leaving directory '/tmp/sdk/build/release' [2025-03-06T07:48:57.954Z] Removing intermediate container ffc11c61dbc9 [2025-03-06T07:48:57.954Z] ---> 150792cc85b1 [2025-03-06T07:48:57.954Z] Step 14/22 : FROM ${BASE} [2025-03-06T07:48:57.954Z] ---> 6605166a5db4 [2025-03-06T07:48:57.954Z] Step 15/22 : LABEL maintainer="IOTech " [2025-03-06T07:48:57.954Z] ---> Running in b7781e9fb9d8 [2025-03-06T07:48:57.954Z] Removing intermediate container b7781e9fb9d8 [2025-03-06T07:48:57.954Z] ---> 757818698be8 [2025-03-06T07:48:57.954Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2025-03-06T07:48:57.954Z] ---> Running in 62f3f5e08a7f [2025-03-06T07:48:58.212Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2025-03-06T07:48:58.472Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-03-06T07:48:58.472Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-03-06T07:48:58.472Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-03-06T07:48:59.037Z] Removing intermediate container 62f3f5e08a7f [2025-03-06T07:48:59.037Z] ---> 325807f11b63 [2025-03-06T07:48:59.037Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-03-06T07:48:59.037Z] ---> Running in a6f4e322e951 [2025-03-06T07:48:59.296Z] Removing intermediate container a6f4e322e951 [2025-03-06T07:48:59.296Z] ---> 6ac0a28ef00b [2025-03-06T07:48:59.296Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 dumb-init [2025-03-06T07:48:59.296Z] ---> Running in 73880e7a7a52 [2025-03-06T07:48:59.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:48:59.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-06T07:48:59.810Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:00.377Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-06T07:49:00.377Z] (1/11) Installing libpsl (0.21.5-r0) [2025-03-06T07:49:00.377Z] (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) [2025-03-06T07:49:00.635Z] (3/11) Installing curl (8.12.1-r0) [2025-03-06T07:49:00.635Z] (4/11) Installing libpsl-utils (0.21.5-r0) [2025-03-06T07:49:00.635Z] (5/11) Installing libpsl-dev (0.21.5-r0) [2025-03-06T07:49:00.635Z] (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) [2025-03-06T07:49:00.635Z] (7/11) Installing dumb-init (1.2.5-r2) [2025-03-06T07:49:00.635Z] (8/11) Installing libcbor (0.10.2-r1) [2025-03-06T07:49:00.635Z] (9/11) Installing iotech-iot-1.5 (1.5.5-r0) [2025-03-06T07:49:01.203Z] (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-03-06T07:49:01.463Z] (11/11) Installing libuuid (2.38.1-r8) [2025-03-06T07:49:01.463Z] Executing busybox-1.36.1-r4.trigger [2025-03-06T07:49:01.463Z] OK: 331 MiB in 91 packages [2025-03-06T07:49:02.033Z] Removing intermediate container 73880e7a7a52 [2025-03-06T07:49:02.033Z] ---> 364a3ef87762 [2025-03-06T07:49:02.033Z] Step 19/22 : RUN apk --no-cache upgrade [2025-03-06T07:49:02.033Z] ---> Running in 31cda1a90fd2 [2025-03-06T07:49:02.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:02.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:02.295Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:02.861Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-06T07:49:02.861Z] Upgrading critical system libraries and apk-tools: [2025-03-06T07:49:02.861Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2025-03-06T07:49:02.861Z] Executing busybox-1.36.1-r4.trigger [2025-03-06T07:49:02.861Z] Continuing the upgrade transaction with new apk-tools: [2025-03-06T07:49:02.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:03.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:03.120Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:03.686Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-06T07:49:03.686Z] (1/20) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) [2025-03-06T07:49:03.686Z] (2/20) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2025-03-06T07:49:03.686Z] Executing busybox-1.36.1-r7.post-upgrade [2025-03-06T07:49:03.686Z] (3/20) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2025-03-06T07:49:03.686Z] (4/20) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) [2025-03-06T07:49:03.686Z] (5/20) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) [2025-03-06T07:49:03.945Z] (6/20) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) [2025-03-06T07:49:03.945Z] (7/20) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2025-03-06T07:49:03.945Z] (8/20) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) [2025-03-06T07:49:03.945Z] (9/20) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2025-03-06T07:49:03.945Z] (10/20) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2025-03-06T07:49:03.945Z] (11/20) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) [2025-03-06T07:49:03.945Z] (12/20) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) [2025-03-06T07:49:03.945Z] (13/20) Upgrading git (2.40.1-r0 -> 2.40.4-r0) [2025-03-06T07:49:03.945Z] (14/20) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) [2025-03-06T07:49:03.945Z] (15/20) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) [2025-03-06T07:49:03.945Z] (16/20) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2025-03-06T07:49:03.945Z] (17/20) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2025-03-06T07:49:03.945Z] (18/20) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) [2025-03-06T07:49:03.945Z] (19/20) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) [2025-03-06T07:49:03.945Z] (20/20) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2025-03-06T07:49:03.945Z] Executing busybox-1.36.1-r7.trigger [2025-03-06T07:49:03.945Z] Executing ca-certificates-20241121-r1.trigger [2025-03-06T07:49:04.204Z] OK: 331 MiB in 91 packages [2025-03-06T07:49:05.141Z] Removing intermediate container 31cda1a90fd2 [2025-03-06T07:49:05.141Z] ---> 6bdec96059df [2025-03-06T07:49:05.141Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2025-03-06T07:49:05.141Z] ---> 24f77590a2af [2025-03-06T07:49:05.141Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2025-03-06T07:49:05.141Z] ---> 98146f485883 [2025-03-06T07:49:05.141Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2025-03-06T07:49:05.401Z] ---> 1844db06bfad [2025-03-06T07:49:05.401Z] Successfully built 1844db06bfad [2025-03-06T07:49:05.401Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-06T07:49:05.807Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-06T07:49:05.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-06T07:49:05.885Z] prd-ubuntu20.04-docker-8c-8g-40429 does not seem to be running inside a container [2025-03-06T07:49:05.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_odessa -v /w/workspace/edgexfoundry_device-sdk-c_odessa:/w/workspace/edgexfoundry_device-sdk-c_odessa:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_odessa@tmp:/w/workspace/edgexfoundry_device-sdk-c_odessa@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 ******** ci-base-image-x86_64 cat [2025-03-06T07:49:06.236Z] $ docker top 9e94c47227da1a76e17d52db657ead2e4772d9a4adfb10a9ba78b08d38d275bb -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-06T07:49:06.584Z] + make test [2025-03-06T07:49:06.584Z] echo "make test" [2025-03-06T07:49:06.584Z] make test [Pipeline] } [2025-03-06T07:49:06.594Z] $ docker stop --time=1 9e94c47227da1a76e17d52db657ead2e4772d9a4adfb10a9ba78b08d38d275bb [2025-03-06T07:49:07.858Z] $ docker rm -f --volumes 9e94c47227da1a76e17d52db657ead2e4772d9a4adfb10a9ba78b08d38d275bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-06T07:49:08.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-06T07:49:08.741Z] + ls -al . [2025-03-06T07:49:08.741Z] total 220 [2025-03-06T07:49:08.741Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 6 07:48 . [2025-03-06T07:49:08.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 07:48 .. [2025-03-06T07:49:08.741Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 07:48 .git [2025-03-06T07:49:08.741Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 07:48 .github [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 6 07:48 .gitignore [2025-03-06T07:49:08.741Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 07:48 .semver [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 6 07:48 Attribution.txt [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 17404 Mar 6 07:48 CHANGELOG.md [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 6 07:48 Doxyfile [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 07:48 GOVERNANCE.md [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 6 07:48 Jenkinsfile [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 6 07:48 LICENSE [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 6 07:48 Makefile [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 6 07:48 OWNERS.md [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 6 07:48 README.IOT.md [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 4173 Mar 6 07:48 README.md [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 6 07:48 README.v3.md [2025-03-06T07:49:08.741Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 07:48 VERSION [2025-03-06T07:49:08.741Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 07:48 docs [2025-03-06T07:49:08.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 07:48 include [2025-03-06T07:49:08.741Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 07:48 scripts [2025-03-06T07:49:08.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 07:48 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-06T07:49:09.062Z] + 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=ef7fd39ffd2e09854197366ea97645a74e6c1cc8 --label arch=amd64 --label version=4.0.0 . [2025-03-06T07:49:09.062Z] Sending build context to Docker daemon 5.529MB [2025-03-06T07:49:09.062Z] Step 1/18 : ARG BASE=alpine:3.18 [2025-03-06T07:49:09.062Z] Step 2/18 : FROM ${BASE} [2025-03-06T07:49:09.062Z] ---> 1844db06bfad [2025-03-06T07:49:09.062Z] Step 3/18 : LABEL maintainer="IOTech " [2025-03-06T07:49:09.062Z] ---> Running in bc14caedf802 [2025-03-06T07:49:09.062Z] Removing intermediate container bc14caedf802 [2025-03-06T07:49:09.062Z] ---> 3f08b453ca34 [2025-03-06T07:49:09.062Z] 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-06T07:49:09.321Z] ---> Running in 842987ab8d95 [2025-03-06T07:49:09.321Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-03-06T07:49:09.890Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-03-06T07:49:09.890Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-03-06T07:49:09.890Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-03-06T07:49:10.149Z] Removing intermediate container 842987ab8d95 [2025-03-06T07:49:10.149Z] ---> 2691a1380c22 [2025-03-06T07:49:10.149Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2025-03-06T07:49:10.149Z] ---> Running in e6bf23da97a9 [2025-03-06T07:49:10.715Z] Removing intermediate container e6bf23da97a9 [2025-03-06T07:49:10.715Z] ---> 26f68cf3f77c [2025-03-06T07:49:10.715Z] 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-06T07:49:10.715Z] ---> Running in c2fa52351b79 [2025-03-06T07:49:10.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:10.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:11.232Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:11.799Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-06T07:49:11.799Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-03-06T07:49:12.059Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2025-03-06T07:49:12.059Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2025-03-06T07:49:12.059Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2025-03-06T07:49:12.059Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2025-03-06T07:49:12.059Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2025-03-06T07:49:12.059Z] (7/11) Installing libblkid (2.38.1-r8) [2025-03-06T07:49:12.059Z] (8/11) Installing libfdisk (2.38.1-r8) [2025-03-06T07:49:12.059Z] (9/11) Installing libmount (2.38.1-r8) [2025-03-06T07:49:12.059Z] (10/11) Installing libsmartcols (2.38.1-r8) [2025-03-06T07:49:12.059Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2025-03-06T07:49:12.059Z] Executing busybox-1.36.1-r7.trigger [2025-03-06T07:49:12.059Z] OK: 336 MiB in 102 packages [2025-03-06T07:49:12.693Z] Removing intermediate container c2fa52351b79 [2025-03-06T07:49:12.693Z] ---> 0df618b51718 [2025-03-06T07:49:12.693Z] Step 7/18 : RUN apk --no-cache upgrade [2025-03-06T07:49:12.693Z] ---> Running in 773dadb79dab [2025-03-06T07:49:13.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:13.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:13.352Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-06T07:49:13.921Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-06T07:49:13.922Z] OK: 336 MiB in 102 packages [2025-03-06T07:49:14.490Z] Removing intermediate container 773dadb79dab [2025-03-06T07:49:14.490Z] ---> 8ac0d5470672 [2025-03-06T07:49:14.490Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2025-03-06T07:49:14.490Z] ---> cb1e67c235e5 [2025-03-06T07:49:14.490Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2025-03-06T07:49:14.490Z] ---> 0a15800e60df [2025-03-06T07:49:14.490Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2025-03-06T07:49:14.750Z] ---> 289338d1716a [2025-03-06T07:49:14.750Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2025-03-06T07:49:14.750Z] ---> 116216646b81 [2025-03-06T07:49:14.750Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2025-03-06T07:49:15.010Z] ---> 428ee57711d6 [2025-03-06T07:49:15.010Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2025-03-06T07:49:15.010Z] ---> 72afef5bbb70 [2025-03-06T07:49:15.010Z] Step 14/18 : WORKDIR /edgex-c-sdk [2025-03-06T07:49:15.010Z] ---> Running in 57e042bcfa6f [2025-03-06T07:49:15.010Z] Removing intermediate container 57e042bcfa6f [2025-03-06T07:49:15.010Z] ---> e4f8e6d89555 [2025-03-06T07:49:15.010Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2025-03-06T07:49:15.010Z] ---> Running in 8da873053c43 [2025-03-06T07:49:15.270Z] Removing intermediate container 8da873053c43 [2025-03-06T07:49:15.270Z] ---> b6429063ea02 [2025-03-06T07:49:15.270Z] Step 16/18 : LABEL arch=amd64 [2025-03-06T07:49:15.270Z] ---> Running in 6a135f51c9cb [2025-03-06T07:49:15.270Z] Removing intermediate container 6a135f51c9cb [2025-03-06T07:49:15.270Z] ---> 85ba07c19b5d [2025-03-06T07:49:15.270Z] Step 17/18 : LABEL git_sha=ef7fd39ffd2e09854197366ea97645a74e6c1cc8 [2025-03-06T07:49:15.270Z] ---> Running in d97cfc58ee06 [2025-03-06T07:49:15.270Z] Removing intermediate container d97cfc58ee06 [2025-03-06T07:49:15.270Z] ---> 551d32e37f1e [2025-03-06T07:49:15.270Z] Step 18/18 : LABEL version=4.0.0 [2025-03-06T07:49:15.270Z] ---> Running in 8d58fbb9e0d6 [2025-03-06T07:49:15.530Z] Removing intermediate container 8d58fbb9e0d6 [2025-03-06T07:49:15.530Z] ---> 97190be4ab03 [2025-03-06T07:49:15.530Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2025-03-06T07:49:15.530Z] Successfully built 97190be4ab03 [2025-03-06T07:49:15.530Z] 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-06T07:49:16.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-06T07:49:16.030Z] [2025-03-06T07:49:16.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-06T07:49:16.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-06T07:49:16.337Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-06T07:49:16.337Z] 5eb5b503b376: Pulling fs layer [2025-03-06T07:49:16.337Z] 5c69ac0246d0: Pulling fs layer [2025-03-06T07:49:16.337Z] ec43610c2a17: Pulling fs layer [2025-03-06T07:49:16.337Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-06T07:49:16.337Z] 33b1e0a273af: Pulling fs layer [2025-03-06T07:49:16.337Z] 5d3b04190fa2: Pulling fs layer [2025-03-06T07:49:16.337Z] 2f39f015ded8: Pulling fs layer [2025-03-06T07:49:16.337Z] 3a2ae6a8a46f: Waiting [2025-03-06T07:49:16.337Z] 33b1e0a273af: Waiting [2025-03-06T07:49:16.338Z] 5d3b04190fa2: Waiting [2025-03-06T07:49:16.338Z] 2f39f015ded8: Waiting [2025-03-06T07:49:16.338Z] 5c69ac0246d0: Download complete [2025-03-06T07:49:16.338Z] 3a2ae6a8a46f: Verifying Checksum [2025-03-06T07:49:16.338Z] 3a2ae6a8a46f: Download complete [2025-03-06T07:49:16.338Z] 33b1e0a273af: Verifying Checksum [2025-03-06T07:49:16.338Z] 33b1e0a273af: Download complete [2025-03-06T07:49:16.338Z] ec43610c2a17: Verifying Checksum [2025-03-06T07:49:16.338Z] ec43610c2a17: Download complete [2025-03-06T07:49:16.338Z] 5d3b04190fa2: Verifying Checksum [2025-03-06T07:49:16.338Z] 5d3b04190fa2: Download complete [2025-03-06T07:49:16.596Z] 5eb5b503b376: Verifying Checksum [2025-03-06T07:49:16.596Z] 5eb5b503b376: Download complete [2025-03-06T07:49:17.163Z] 2f39f015ded8: Verifying Checksum [2025-03-06T07:49:17.164Z] 2f39f015ded8: Download complete [2025-03-06T07:49:17.730Z] 5eb5b503b376: Pull complete [2025-03-06T07:49:17.730Z] 5c69ac0246d0: Pull complete [2025-03-06T07:49:17.989Z] ec43610c2a17: Pull complete [2025-03-06T07:49:18.247Z] 3a2ae6a8a46f: Pull complete [2025-03-06T07:49:18.247Z] 33b1e0a273af: Pull complete [2025-03-06T07:49:18.505Z] 5d3b04190fa2: Pull complete [2025-03-06T07:49:22.695Z] 2f39f015ded8: Pull complete [2025-03-06T07:49:22.695Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-06T07:49:22.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-06T07:49:22.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-06T07:49:22.797Z] prd-ubuntu20.04-docker-8c-8g-40429 does not seem to be running inside a container [2025-03-06T07:49:22.825Z] $ 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_odessa -v /w/workspace/edgexfoundry_device-sdk-c_odessa:/w/workspace/edgexfoundry_device-sdk-c_odessa:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_odessa@tmp:/w/workspace/edgexfoundry_device-sdk-c_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-06T07:49:25.080Z] $ docker top 484d1cfc7b0c7d8b04209211d34ab18aa4ca8ad90391db8c6f5cfcd67ad7f4a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:25.450Z] ---> job-cost.sh [2025-03-06T07:49:25.451Z] lf-activate-venv: SKIPPING [2025-03-06T07:49:25.451Z] INFO: No Stack... [2025-03-06T07:49:25.710Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-06T07:49:26.278Z] INFO: Archiving Costs [Pipeline] sh [2025-03-06T07:49:26.567Z] + cat /w/workspace/edgexfoundry_device-sdk-c_odessa/archives/cost.csv [2025-03-06T07:49:26.567Z] + cut -d, -f6 [Pipeline] lock [2025-03-06T07:49:26.583Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-odessa-2-stack-cost] [2025-03-06T07:49:26.590Z] Resource [jenkins-edgexfoundry-device-sdk-c-odessa-2-stack-cost] did not exist. Created. [2025-03-06T07:49:26.596Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-06T07:49:26.906Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-03-06T07:49:26.951Z] Stashed 1 file(s) [Pipeline] } [2025-03-06T07:49:26.958Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-06T07:49:26.984Z] $ docker stop --time=1 484d1cfc7b0c7d8b04209211d34ab18aa4ca8ad90391db8c6f5cfcd67ad7f4a8 [2025-03-06T07:49:28.131Z] $ docker rm -f --volumes 484d1cfc7b0c7d8b04209211d34ab18aa4ca8ad90391db8c6f5cfcd67ad7f4a8 [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-06T07:49:28.829Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_odessa/archives ] [2025-03-06T07:49:28.829Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_odessa/archives [2025-03-06T07:49:28.829Z] total 16 [2025-03-06T07:49:28.829Z] drwxr-xr-x 3 root root 4096 Mar 6 07:49 . [2025-03-06T07:49:28.829Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 07:49 .. [2025-03-06T07:49:28.829Z] drwxr-xr-x 2 root root 4096 Mar 6 07:49 cost [2025-03-06T07:49:28.829Z] -rw-r--r-- 1 root root 84 Mar 6 07:49 cost.csv [2025-03-06T07:49:28.829Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_odessa/archives [2025-03-06T07:49:28.829Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_odessa/archives [2025-03-06T07:49:28.829Z] total 16 [2025-03-06T07:49:28.829Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 07:49 . [2025-03-06T07:49:28.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 07:49 .. [2025-03-06T07:49:28.830Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 6 07:49 cost [2025-03-06T07:49:28.830Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 6 07:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:29.119Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:29.981Z] ---> package-listing.sh [2025-03-06T07:49:29.981Z] ++ facter osfamily [2025-03-06T07:49:29.981Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-06T07:49:30.240Z] + OS_FAMILY=debian [2025-03-06T07:49:30.240Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_odessa [2025-03-06T07:49:30.240Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-06T07:49:30.240Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-06T07:49:30.240Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-06T07:49:30.240Z] + PACKAGES=/tmp/packages_start.txt [2025-03-06T07:49:30.240Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_odessa ']' [2025-03-06T07:49:30.240Z] + PACKAGES=/tmp/packages_end.txt [2025-03-06T07:49:30.240Z] + case "${OS_FAMILY}" in [2025-03-06T07:49:30.240Z] + dpkg -l [2025-03-06T07:49:30.240Z] + grep '^ii' [2025-03-06T07:49:30.240Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-06T07:49:30.240Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-06T07:49:30.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-06T07:49:30.240Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_odessa ']' [2025-03-06T07:49:30.240Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_odessa/archives/ [2025-03-06T07:49:30.240Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_odessa/archives/ [Pipeline] echo [2025-03-06T07:49:30.250Z] 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_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-03-06T07:49:30.529Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-06T07:49:31.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-06T07:49:31.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-06T07:49:31.184Z] prd-ubuntu20.04-docker-8c-8g-40429 does not seem to be running inside a container [2025-03-06T07:49:31.214Z] $ 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_odessa/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_odessa -v /w/workspace/edgexfoundry_device-sdk-c_odessa:/w/workspace/edgexfoundry_device-sdk-c_odessa:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_odessa@tmp:/w/workspace/edgexfoundry_device-sdk-c_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-06T07:49:31.397Z] $ docker top e255a8021f039bf62064f4360a146ec57f1609a7172387bb30511528e1d6b13c -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-06T07:49:31.748Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-06T07:49:32.034Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-06T07:49:32.324Z] + ls /var/log/sa-host [2025-03-06T07:49:32.324Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-06T07:49:32.399Z] provisioning config files... [2025-03-06T07:49:32.408Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_odessa@tmp/config10784849941620093890tmp [Pipeline] { [Pipeline] echo [2025-03-06T07:49:32.424Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:32.718Z] ---> create-netrc.sh [Pipeline] } [2025-03-06T07:49:32.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:33.068Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-06T07:49:33.080Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:33.367Z] ---> sudo-logs.sh [2025-03-06T07:49:33.367Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-03-06T07:49:33.401Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:33.684Z] ---> job-cost.sh [2025-03-06T07:49:33.684Z] lf-activate-venv: SKIPPING [2025-03-06T07:49:33.684Z] DEBUG: total: 0.2199999988079071 [2025-03-06T07:49:33.684Z] INFO: Retrieving Stack Cost... [2025-03-06T07:49:33.684Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-06T07:49:33.943Z] INFO: Archiving Costs [Pipeline] echo [2025-03-06T07:49:33.958Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-06T07:49:34.242Z] ---> logs-deploy.sh [2025-03-06T07:49:34.242Z] lf-activate-venv: SKIPPING [2025-03-06T07:49:34.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/odessa/2 [2025-03-06T07:49:34.242Z] INFO: archiving workspace using pattern(s): [2025-03-06T07:49:35.179Z] Archives upload complete. [2025-03-06T07:49:35.179Z] INFO: archiving logs to Nexus