Pull request #62 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-coap-c Obtained Jenkinsfile from 3d8850e1659c25f0877e4000d1122d2a78793a6f+217950388ffc7d778dd86376560370829f9bed36 (1f816c729a9242b4424615abc72a9698dbcab3e8) 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-ssh3300575030527778457.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-ssh12877898874468034370.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-coap-c/branches/PR-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-coap-c/branches/PR-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16354516234488417877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-coap-c/branches/PR-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8956876641538094478.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13520343773384037616.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-coap-c/branches/PR-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-coap-c/branches/PR-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3167290925906548320.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-coap-c, dockerImageName:device-coap, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine] ========================================================= [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-coap-c-settings PROJECT: device-coap-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-coap DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40505 in /w/workspace/edgexfoundry_device-coap-c_PR-62 [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-coap-c.git > git init /w/workspace/edgexfoundry_device-coap-c_PR-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-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-coap-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 217950388ffc7d778dd86376560370829f9bed36 into PR head commit 3d8850e1659c25f0877e4000d1122d2a78793a6f Merge succeeded, producing 3d8850e1659c25f0877e4000d1122d2a78793a6f Checking out Revision 3d8850e1659c25f0877e4000d1122d2a78793a6f (PR-62) > git config remote.origin.url git@github.com:edgexfoundry/device-coap-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-coap-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-coap-c.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d8850e1659c25f0877e4000d1122d2a78793a6f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 217950388ffc7d778dd86376560370829f9bed36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d8850e1659c25f0877e4000d1122d2a78793a6f # timeout=10 Commit message: "build: move to SDK v4.0.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-03-07T02:07:21.972Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-03-07T02:07:22.190Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-07T02:07:22.294Z] ========================================================= [2025-03-07T02:07:22.294Z] EdgeX Global Pipelines Version Info [2025-03-07T02:07:22.294Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:07:23.307Z] ------------------- [2025-03-07T02:07:23.307Z] stable info: [2025-03-07T02:07:23.307Z] ------------------- [2025-03-07T02:07:23.307Z] Commited By: Cherry Wang cherry@iotechsys.com [2025-03-07T02:07:23.307Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-03-07T02:07:23.307Z] Message: update stable to v1.0.269 [2025-03-07T02:07:23.879Z] ------------------- [2025-03-07T02:07:23.879Z] experimental info: [2025-03-07T02:07:23.879Z] ------------------- [2025-03-07T02:07:23.879Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-07T02:07:23.879Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2025-03-07T02:07:23.879Z] Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-03-07T02:07:24.091Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo [2025-03-07T02:07:24.155Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo [2025-03-07T02:07:24.242Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-03-07T02:07:24.296Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-03-07T02:07:24.351Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-03-07T02:07:24.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2025-03-07T02:07:24.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2025-03-07T02:07:24.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-03-07T02:07:24.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-03-07T02:07:24.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo [2025-03-07T02:07:24.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-03-07T02:07:24.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-03-07T02:07:24.811Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-03-07T02:07:24.861Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-03-07T02:07:24.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-03-07T02:07:24.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-03-07T02:07:25.018Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-03-07T02:07:25.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo [2025-03-07T02:07:25.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo [2025-03-07T02:07:25.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo [2025-03-07T02:07:25.237Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo [2025-03-07T02:07:25.295Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d8850e [Pipeline] echo [2025-03-07T02:07:25.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-07T02:07:25.503Z] provisioning config files... [2025-03-07T02:07:25.521Z] copy managed file [device-coap-c-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/config16921488117569730845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:07:25.922Z] ---> ****-login.sh [2025-03-07T02:07:25.922Z] nexus3.edgexfoundry.org:10001 [2025-03-07T02:07:26.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:26.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:26.183Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:26.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:26.183Z] [2025-03-07T02:07:26.183Z] Login Succeeded [2025-03-07T02:07:26.183Z] nexus3.edgexfoundry.org:10002 [2025-03-07T02:07:26.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:26.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:26.446Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:26.446Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:26.446Z] [2025-03-07T02:07:26.446Z] Login Succeeded [2025-03-07T02:07:26.446Z] nexus3.edgexfoundry.org:10003 [2025-03-07T02:07:26.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:26.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:26.446Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:26.446Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:26.446Z] [2025-03-07T02:07:26.446Z] Login Succeeded [2025-03-07T02:07:26.446Z] nexus3.edgexfoundry.org:10004 [2025-03-07T02:07:26.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:26.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:26.713Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:26.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:26.713Z] [2025-03-07T02:07:26.713Z] Login Succeeded [2025-03-07T02:07:26.713Z] ****.io [2025-03-07T02:07:26.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:27.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:27.032Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:27.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:27.032Z] [2025-03-07T02:07:27.032Z] Login Succeeded [2025-03-07T02:07:27.032Z] ---> ****-login.sh ends [Pipeline] } [2025-03-07T02:07:27.061Z] 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-07T02:07:27.711Z] + git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo [2025-03-07T02:07:27.761Z] -----------> git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f 3d8850e1659c25f0877e4000d1122d2a78793a6f [false] [Pipeline] sh [2025-03-07T02:07:28.077Z] + git log --format=format:%s -1 3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo [2025-03-07T02:07:28.119Z] ========================================================= [2025-03-07T02:07:28.119Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-07T02:07:28.119Z] ========================================================= 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-07T02:07:29.100Z] + git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo [2025-03-07T02:07:29.133Z] -----------> git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f 3d8850e1659c25f0877e4000d1122d2a78793a6f [false] [Pipeline] sh [2025-03-07T02:07:29.447Z] + git log --format=format:%s -1 3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo [2025-03-07T02:07:29.487Z] ========================================================= [2025-03-07T02:07:29.487Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-07T02:07:29.487Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2025-03-07T02:07:29.938Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-07T02:07:29.938Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-03-07T02:07:29.938Z] + [ -e /tmp/ssh_known_hosts ] [2025-03-07T02:07:29.938Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-03-07T02:07:29.938Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-03-07T02:07:29.938Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-03-07T02:07:29.938Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-07T02:07:30.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-07T02:07:30.380Z] [2025-03-07T02:07:30.380Z] 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-07T02:07:30.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-07T02:07:30.761Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-03-07T02:07:30.761Z] b85a868b505f: Pulling fs layer [2025-03-07T02:07:30.761Z] e2be974225ed: Pulling fs layer [2025-03-07T02:07:30.761Z] 339a4e72a1f5: Pulling fs layer [2025-03-07T02:07:30.761Z] 988bab9f4d93: Pulling fs layer [2025-03-07T02:07:30.761Z] 1469e6f7b9e6: Pulling fs layer [2025-03-07T02:07:30.761Z] eaf3925da568: Pulling fs layer [2025-03-07T02:07:30.761Z] bab4dde63d76: Pulling fs layer [2025-03-07T02:07:30.761Z] bde34c3a00c8: Pulling fs layer [2025-03-07T02:07:30.761Z] b352a97aabf1: Pulling fs layer [2025-03-07T02:07:30.761Z] 4872d77fe225: Pulling fs layer [2025-03-07T02:07:30.761Z] 5851b861e8e6: Pulling fs layer [2025-03-07T02:07:30.761Z] bab4dde63d76: Waiting [2025-03-07T02:07:30.761Z] bde34c3a00c8: Waiting [2025-03-07T02:07:30.761Z] b352a97aabf1: Waiting [2025-03-07T02:07:30.761Z] 4872d77fe225: Waiting [2025-03-07T02:07:30.761Z] 5851b861e8e6: Waiting [2025-03-07T02:07:30.761Z] 988bab9f4d93: Waiting [2025-03-07T02:07:30.761Z] 1469e6f7b9e6: Waiting [2025-03-07T02:07:30.761Z] eaf3925da568: Waiting [2025-03-07T02:07:30.761Z] e2be974225ed: Download complete [2025-03-07T02:07:30.761Z] 988bab9f4d93: Download complete [2025-03-07T02:07:31.021Z] 1469e6f7b9e6: Verifying Checksum [2025-03-07T02:07:31.021Z] 1469e6f7b9e6: Download complete [2025-03-07T02:07:31.021Z] eaf3925da568: Verifying Checksum [2025-03-07T02:07:31.021Z] 339a4e72a1f5: Verifying Checksum [2025-03-07T02:07:31.021Z] 339a4e72a1f5: Download complete [2025-03-07T02:07:31.021Z] bde34c3a00c8: Verifying Checksum [2025-03-07T02:07:31.021Z] bde34c3a00c8: Download complete [2025-03-07T02:07:31.021Z] b352a97aabf1: Download complete [2025-03-07T02:07:31.021Z] 4872d77fe225: Verifying Checksum [2025-03-07T02:07:31.021Z] 4872d77fe225: Download complete [2025-03-07T02:07:31.021Z] 5851b861e8e6: Download complete [2025-03-07T02:07:31.281Z] b85a868b505f: Verifying Checksum [2025-03-07T02:07:31.281Z] b85a868b505f: Download complete [2025-03-07T02:07:31.541Z] bab4dde63d76: Verifying Checksum [2025-03-07T02:07:31.541Z] bab4dde63d76: Download complete [2025-03-07T02:07:32.629Z] b85a868b505f: Pull complete [2025-03-07T02:07:32.629Z] e2be974225ed: Pull complete [2025-03-07T02:07:33.205Z] 339a4e72a1f5: Pull complete [2025-03-07T02:07:33.205Z] 988bab9f4d93: Pull complete [2025-03-07T02:07:34.396Z] 1469e6f7b9e6: Pull complete [2025-03-07T02:07:34.396Z] eaf3925da568: Pull complete [2025-03-07T02:07:35.357Z] bab4dde63d76: Pull complete [2025-03-07T02:07:35.357Z] bde34c3a00c8: Pull complete [2025-03-07T02:07:35.617Z] b352a97aabf1: Pull complete [2025-03-07T02:07:35.617Z] 4872d77fe225: Pull complete [2025-03-07T02:07:35.617Z] 5851b861e8e6: Pull complete [2025-03-07T02:07:35.617Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-03-07T02:07:35.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-07T02:07:35.617Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-07T02:07:35.892Z] prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container [2025-03-07T02:07:35.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-coap-c_PR-62 -v /w/workspace/edgexfoundry_device-coap-c_PR-62:/w/workspace/edgexfoundry_device-coap-c_PR-62:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-62@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-62@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2025-03-07T02:07:37.263Z] $ docker top 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd -eo pid,comm [2025-03-07T02:07:37.317Z] 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-07T02:07:37.317Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-03-07T02:07:37.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-07T02:07:37.466Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-07T02:07:37.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-07T02:07:37.584Z] $ docker exec 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent [2025-03-07T02:07:37.697Z] SSH_AUTH_SOCK=/tmp/ssh-DYMANQyuvtHT/agent.31 [2025-03-07T02:07:37.697Z] SSH_AGENT_PID=37 [2025-03-07T02:07:37.703Z] Running ssh-add (command line suppressed) [2025-03-07T02:07:37.801Z] Identity added: /w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/private_key_4069300239372655922.key (/w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/private_key_4069300239372655922.key) [2025-03-07T02:07:37.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-07T02:07:38.168Z] + git tag --points-at HEAD [Pipeline] } [2025-03-07T02:07:38.191Z] $ docker exec --env ******** --env ******** 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent -k [2025-03-07T02:07:38.292Z] unset SSH_AUTH_SOCK; [2025-03-07T02:07:38.292Z] unset SSH_AGENT_PID; [2025-03-07T02:07:38.293Z] echo Agent pid 37 killed; [2025-03-07T02:07:38.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2025-03-07T02:07:38.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-07T02:07:38.410Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-07T02:07:38.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-07T02:07:38.518Z] $ docker exec 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent [2025-03-07T02:07:38.642Z] SSH_AUTH_SOCK=/tmp/ssh-LmmI8iJc89F7/agent.71 [2025-03-07T02:07:38.642Z] SSH_AGENT_PID=77 [2025-03-07T02:07:38.647Z] Running ssh-add (command line suppressed) [2025-03-07T02:07:38.753Z] Identity added: /w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/private_key_3608446047878824068.key (/w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/private_key_3608446047878824068.key) [2025-03-07T02:07:38.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-07T02:07:39.110Z] + git semver init [2025-03-07T02:07:39.370Z] 2025-03-07 02:07:39,306 [run_init] DEBUG init version:0.0.0 force:False [2025-03-07T02:07:39.370Z] 2025-03-07 02:07:39,306 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver [2025-03-07T02:07:39.370Z] 2025-03-07 02:07:39,307 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-coap-c.git /w/workspace/edgexfoundry_device-coap-c_PR-62/.semver [2025-03-07T02:07:39.370Z] 2025-03-07 02:07:39,307 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-coap-c.git', '/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver'], cwd=/w/workspace/edgexfoundry_device-coap-c_PR-62, universal_newlines=False, shell=None, istream=None) [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,834 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-coap-c_PR-62/.git/info/exclude [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,834 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver/PR-62 with force:False [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,834 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver/PR-62 [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,839 [execute] INFO git cat-file --batch-check [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,845 [execute] INFO git cat-file --batch [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver, universal_newlines=False, shell=None, istream=) [2025-03-07T02:07:39.938Z] 2025-03-07 02:07:39,850 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-coap-c_PR-62/.semver/PR-62 [2025-03-07T02:07:39.938Z] 0.0.0 [Pipeline] } [2025-03-07T02:07:39.959Z] $ docker exec --env ******** --env ******** 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent -k [2025-03-07T02:07:40.061Z] unset SSH_AUTH_SOCK; [2025-03-07T02:07:40.062Z] unset SSH_AGENT_PID; [2025-03-07T02:07:40.063Z] echo Agent pid 77 killed; [2025-03-07T02:07:40.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-07T02:07:40.511Z] + git semver [Pipeline] } [2025-03-07T02:07:40.791Z] $ docker stop --time=1 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd [2025-03-07T02:07:42.101Z] $ docker rm -f --volumes 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-07T02:07:42.513Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-03-07T02:07:42.822Z] Stashed 1 file(s) [Pipeline] echo [2025-03-07T02:07:42.844Z] [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-07T02:07:43.747Z] provisioning config files... [2025-03-07T02:07:43.757Z] copy managed file [device-coap-c-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/config848720003289458176tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:07:44.221Z] ---> ****-login.sh [2025-03-07T02:07:44.221Z] nexus3.edgexfoundry.org:10001 [2025-03-07T02:07:44.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:44.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:44.221Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:44.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:44.221Z] [2025-03-07T02:07:44.221Z] Login Succeeded [2025-03-07T02:07:44.221Z] nexus3.edgexfoundry.org:10002 [2025-03-07T02:07:44.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:44.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:44.221Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:44.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:44.221Z] [2025-03-07T02:07:44.221Z] Login Succeeded [2025-03-07T02:07:44.221Z] nexus3.edgexfoundry.org:10003 [2025-03-07T02:07:44.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:44.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:44.479Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:44.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:44.479Z] [2025-03-07T02:07:44.479Z] Login Succeeded [2025-03-07T02:07:44.479Z] nexus3.edgexfoundry.org:10004 [2025-03-07T02:07:44.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:44.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:44.479Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:44.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:44.479Z] [2025-03-07T02:07:44.479Z] Login Succeeded [2025-03-07T02:07:44.479Z] ****.io [2025-03-07T02:07:44.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-07T02:07:44.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-07T02:07:44.737Z] Configure a credential helper to remove this warning. See [2025-03-07T02:07:44.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-07T02:07:44.737Z] [2025-03-07T02:07:44.737Z] Login Succeeded [2025-03-07T02:07:44.737Z] ---> ****-login.sh ends [Pipeline] } [2025-03-07T02:07:44.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-07T02:07:44.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-03-07T02:07:45.025Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2025-03-07T02:07:45.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2025-03-07T02:07:45.100Z] ========================================================= [2025-03-07T02:07:45.100Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2025-03-07T02:07:45.100Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-07T02:07:45.535Z] + 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-07T02:07:45.535Z] Sending build context to Docker daemon 559.6kB [2025-03-07T02:07:45.535Z] Step 1/14 : ARG BASE=alpine:3.20 [2025-03-07T02:07:45.535Z] Step 2/14 : FROM ${BASE} [2025-03-07T02:07:45.535Z] latest: Pulling from edgex-devops/edgex-gcc-base [2025-03-07T02:07:45.535Z] 96526aa774ef: Pulling fs layer [2025-03-07T02:07:45.535Z] da60e534fd72: Pulling fs layer [2025-03-07T02:07:45.535Z] 96526aa774ef: Verifying Checksum [2025-03-07T02:07:45.535Z] 96526aa774ef: Download complete [2025-03-07T02:07:45.795Z] 96526aa774ef: Pull complete [2025-03-07T02:07:46.364Z] da60e534fd72: Verifying Checksum [2025-03-07T02:07:46.364Z] da60e534fd72: Download complete [2025-03-07T02:07:49.651Z] da60e534fd72: Pull complete [2025-03-07T02:07:49.651Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2025-03-07T02:07:49.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2025-03-07T02:07:49.651Z] ---> 6605166a5db4 [2025-03-07T02:07:49.651Z] Step 3/14 : LABEL maintainer="Ken Bannister " [2025-03-07T02:07:50.588Z] ---> Running in f39ec297e2f7 [2025-03-07T02:07:50.588Z] Removing intermediate container f39ec297e2f7 [2025-03-07T02:07:50.588Z] ---> 825109215306 [2025-03-07T02:07:50.588Z] Step 4/14 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2025-03-07T02:07:50.588Z] ---> Running in 6220f7994d4a [2025-03-07T02:07:50.846Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2025-03-07T02:07:51.105Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-03-07T02:07:51.105Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-03-07T02:07:51.105Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-03-07T02:07:51.673Z] Removing intermediate container 6220f7994d4a [2025-03-07T02:07:51.673Z] ---> c5ce3893299d [2025-03-07T02:07:51.673Z] Step 5/14 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories [2025-03-07T02:07:51.673Z] ---> Running in 8a9ac359b373 [2025-03-07T02:07:52.239Z] Removing intermediate container 8a9ac359b373 [2025-03-07T02:07:52.239Z] ---> 56668f8495bb [2025-03-07T02:07:52.239Z] Step 6/14 : RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init [2025-03-07T02:07:52.239Z] ---> Running in 53bc5ed012ed [2025-03-07T02:07:52.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:52.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:52.759Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:53.342Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-07T02:07:53.342Z] (1/18) Installing dumb-init (1.2.5-r2) [2025-03-07T02:07:53.342Z] (2/18) Installing hiredis (1.1.0-r2) [2025-03-07T02:07:53.342Z] (3/18) Installing hiredis-dev (1.1.0-r2) [2025-03-07T02:07:53.342Z] (4/18) Installing libcbor (0.10.2-r1) [2025-03-07T02:07:53.342Z] (5/18) Installing iotech-iot-1.5 (1.5.5-r0) [2025-03-07T02:07:53.912Z] (6/18) Installing iotech-iot-1.5-dev (1.5.5-r0) [2025-03-07T02:07:53.912Z] (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2025-03-07T02:07:54.171Z] (8/18) Installing libcbor-dev (0.10.2-r1) [2025-03-07T02:07:54.171Z] (9/18) Installing libmenuw (6.4_p20230506-r0) [2025-03-07T02:07:54.171Z] (10/18) Installing libpanelw (6.4_p20230506-r0) [2025-03-07T02:07:54.171Z] (11/18) Installing libncurses++ (6.4_p20230506-r0) [2025-03-07T02:07:54.171Z] (12/18) Installing ncurses-dev (6.4_p20230506-r0) [2025-03-07T02:07:54.171Z] (13/18) Installing libblkid (2.38.1-r8) [2025-03-07T02:07:54.171Z] (14/18) Installing libuuid (2.38.1-r8) [2025-03-07T02:07:54.171Z] (15/18) Installing libfdisk (2.38.1-r8) [2025-03-07T02:07:54.171Z] (16/18) Installing libmount (2.38.1-r8) [2025-03-07T02:07:54.171Z] (17/18) Installing libsmartcols (2.38.1-r8) [2025-03-07T02:07:54.171Z] (18/18) Installing util-linux-dev (2.38.1-r8) [2025-03-07T02:07:54.447Z] Executing busybox-1.36.1-r4.trigger [2025-03-07T02:07:54.447Z] OK: 336 MiB in 100 packages [2025-03-07T02:07:54.706Z] Removing intermediate container 53bc5ed012ed [2025-03-07T02:07:54.706Z] ---> 52f8c910a906 [2025-03-07T02:07:54.706Z] Step 7/14 : RUN apk --no-cache upgrade [2025-03-07T02:07:54.706Z] ---> Running in 121a6150fb4a [2025-03-07T02:07:55.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:55.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:55.280Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:55.849Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-07T02:07:55.849Z] Upgrading critical system libraries and apk-tools: [2025-03-07T02:07:55.849Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2025-03-07T02:07:55.849Z] Executing busybox-1.36.1-r4.trigger [2025-03-07T02:07:55.849Z] Continuing the upgrade transaction with new apk-tools: [2025-03-07T02:07:55.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:56.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:56.108Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:07:56.677Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-07T02:07:56.677Z] (1/25) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) [2025-03-07T02:07:56.677Z] (2/25) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2025-03-07T02:07:56.677Z] Executing busybox-1.36.1-r7.post-upgrade [2025-03-07T02:07:56.677Z] (3/25) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2025-03-07T02:07:56.677Z] (4/25) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) [2025-03-07T02:07:56.677Z] (5/25) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) [2025-03-07T02:07:56.677Z] (6/25) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) [2025-03-07T02:07:56.677Z] (7/25) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2025-03-07T02:07:56.677Z] (8/25) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) [2025-03-07T02:07:56.677Z] (9/25) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2025-03-07T02:07:56.677Z] (10/25) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2025-03-07T02:07:56.677Z] (11/25) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) [2025-03-07T02:07:56.937Z] (12/25) Installing libpsl (0.21.5-r0) [2025-03-07T02:07:56.937Z] (13/25) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) [2025-03-07T02:07:56.937Z] (14/25) Installing libpsl-utils (0.21.5-r0) [2025-03-07T02:07:56.937Z] (15/25) Installing libpsl-dev (0.21.5-r0) [2025-03-07T02:07:56.937Z] (16/25) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) [2025-03-07T02:07:56.937Z] (17/25) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) [2025-03-07T02:07:56.937Z] (18/25) Upgrading git (2.40.1-r0 -> 2.40.4-r0) [2025-03-07T02:07:56.937Z] (19/25) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) [2025-03-07T02:07:56.937Z] (20/25) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) [2025-03-07T02:07:56.937Z] (21/25) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2025-03-07T02:07:56.937Z] (22/25) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2025-03-07T02:07:56.937Z] (23/25) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) [2025-03-07T02:07:56.937Z] (24/25) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) [2025-03-07T02:07:56.937Z] (25/25) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2025-03-07T02:07:56.937Z] Executing busybox-1.36.1-r7.trigger [2025-03-07T02:07:56.937Z] Executing ca-certificates-20241121-r1.trigger [2025-03-07T02:07:57.195Z] OK: 337 MiB in 103 packages [2025-03-07T02:07:58.134Z] Removing intermediate container 121a6150fb4a [2025-03-07T02:07:58.134Z] ---> 3f0c3cb76a0a [2025-03-07T02:07:58.134Z] Step 8/14 : COPY scripts /device-coap/scripts [2025-03-07T02:07:58.134Z] ---> add04c959d95 [2025-03-07T02:07:58.134Z] Step 9/14 : COPY src /device-coap/src/ [2025-03-07T02:07:58.393Z] ---> 2e0aabc5d31c [2025-03-07T02:07:58.393Z] Step 10/14 : COPY VERSION /device-coap [2025-03-07T02:07:58.393Z] ---> b7119036de27 [2025-03-07T02:07:58.393Z] Step 11/14 : RUN mkdir -p /device-coap/build [2025-03-07T02:07:58.393Z] ---> Running in cd716c52963f [2025-03-07T02:07:58.961Z] Removing intermediate container cd716c52963f [2025-03-07T02:07:58.961Z] ---> f67877457b4a [2025-03-07T02:07:58.961Z] Step 12/14 : WORKDIR /device-coap [2025-03-07T02:07:58.961Z] ---> Running in d1dd3674a975 [2025-03-07T02:07:59.220Z] Removing intermediate container d1dd3674a975 [2025-03-07T02:07:59.221Z] ---> 1fd6bd371895 [2025-03-07T02:07:59.221Z] Step 13/14 : RUN /device-coap/scripts/build_deps.sh 1 [2025-03-07T02:07:59.221Z] ---> Running in 6790047cdf90 [2025-03-07T02:07:59.480Z] + BUILD_CSDK=1 [2025-03-07T02:07:59.480Z] + TINYDTLS_VERSION=b0e230d [2025-03-07T02:07:59.480Z] + LIBCOAP_VERSION=1739507 [2025-03-07T02:07:59.480Z] + CSDK_VERSION=4.0.0 [2025-03-07T02:07:59.480Z] + '[' -d deps ] [2025-03-07T02:07:59.480Z] + mkdir deps [2025-03-07T02:07:59.480Z] + cd /device-coap/deps [2025-03-07T02:07:59.480Z] + git clone https://github.com/eclipse/tinydtls.git [2025-03-07T02:07:59.480Z] Cloning into 'tinydtls'... [2025-03-07T02:08:00.051Z] + cd tinydtls [2025-03-07T02:08:00.051Z] + git checkout develop [2025-03-07T02:08:00.051Z] branch 'develop' set up to track 'origin/develop'. [2025-03-07T02:08:00.051Z] Switched to a new branch 'develop' [2025-03-07T02:08:00.051Z] + git reset --hard b0e230d [2025-03-07T02:08:00.051Z] HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix [2025-03-07T02:08:00.051Z] + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake [2025-03-07T02:08:00.051Z] + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt [2025-03-07T02:08:00.051Z] + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in [2025-03-07T02:08:00.051Z] + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt [2025-03-07T02:08:00.051Z] + mkdir -p build [2025-03-07T02:08:00.051Z] + cd build [2025-03-07T02:08:00.051Z] + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. [2025-03-07T02:08:00.051Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:00.051Z] -- Detecting C compiler ABI info [2025-03-07T02:08:00.051Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:00.051Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:00.051Z] -- Detecting C compile features [2025-03-07T02:08:00.051Z] -- Detecting C compile features - done [2025-03-07T02:08:00.051Z] -- Looking for assert.h [2025-03-07T02:08:00.314Z] -- Looking for assert.h - found [2025-03-07T02:08:00.314Z] -- Looking for arpa/inet.h [2025-03-07T02:08:00.314Z] -- Looking for arpa/inet.h - found [2025-03-07T02:08:00.314Z] -- Looking for fcntl.h [2025-03-07T02:08:00.314Z] -- Looking for fcntl.h - found [2025-03-07T02:08:00.314Z] -- Looking for inttypes.h [2025-03-07T02:08:00.577Z] -- Looking for inttypes.h - found [2025-03-07T02:08:00.577Z] -- Looking for memory.h [2025-03-07T02:08:00.577Z] -- Looking for memory.h - found [2025-03-07T02:08:00.577Z] -- Looking for netdb.h [2025-03-07T02:08:00.842Z] -- Looking for netdb.h - found [2025-03-07T02:08:00.842Z] -- Looking for netinet/in.h [2025-03-07T02:08:00.842Z] -- Looking for netinet/in.h - found [2025-03-07T02:08:00.842Z] -- Looking for stddef.h [2025-03-07T02:08:00.842Z] -- Looking for stddef.h - found [2025-03-07T02:08:00.842Z] -- Looking for stdint.h [2025-03-07T02:08:01.110Z] -- Looking for stdint.h - found [2025-03-07T02:08:01.110Z] -- Looking for stdlib.h [2025-03-07T02:08:01.110Z] -- Looking for stdlib.h - found [2025-03-07T02:08:01.110Z] -- Looking for string.h [2025-03-07T02:08:01.110Z] -- Looking for string.h - found [2025-03-07T02:08:01.110Z] -- Looking for strings.h [2025-03-07T02:08:01.370Z] -- Looking for strings.h - found [2025-03-07T02:08:01.370Z] -- Looking for time.h [2025-03-07T02:08:01.370Z] -- Looking for time.h - found [2025-03-07T02:08:01.370Z] -- Looking for sys/param.h [2025-03-07T02:08:01.370Z] -- Looking for sys/param.h - found [2025-03-07T02:08:01.370Z] -- Looking for sys/socket.h [2025-03-07T02:08:01.631Z] -- Looking for sys/socket.h - found [2025-03-07T02:08:01.631Z] -- Looking for sys/stat.h [2025-03-07T02:08:01.631Z] -- Looking for sys/stat.h - found [2025-03-07T02:08:01.631Z] -- Looking for sys/types.h [2025-03-07T02:08:01.631Z] -- Looking for sys/types.h - found [2025-03-07T02:08:01.631Z] -- Looking for sys/time.h [2025-03-07T02:08:01.889Z] -- Looking for sys/time.h - found [2025-03-07T02:08:01.889Z] -- Looking for unistd.h [2025-03-07T02:08:01.889Z] -- Looking for unistd.h - found [2025-03-07T02:08:01.889Z] -- Looking for float.h [2025-03-07T02:08:01.889Z] -- Looking for float.h - found [2025-03-07T02:08:01.889Z] -- Looking for dlfcn.h [2025-03-07T02:08:02.151Z] -- Looking for dlfcn.h - found [2025-03-07T02:08:02.151Z] -- Looking for memset [2025-03-07T02:08:02.151Z] -- Looking for memset - found [2025-03-07T02:08:02.151Z] -- Looking for select [2025-03-07T02:08:02.151Z] -- Looking for select - found [2025-03-07T02:08:02.151Z] -- Looking for socket [2025-03-07T02:08:02.410Z] -- Looking for socket - found [2025-03-07T02:08:02.410Z] -- Looking for strdup [2025-03-07T02:08:02.410Z] -- Looking for strdup - found [2025-03-07T02:08:02.410Z] -- Looking for strerror [2025-03-07T02:08:02.410Z] -- Looking for strerror - found [2025-03-07T02:08:02.410Z] -- Looking for strnlen [2025-03-07T02:08:02.671Z] -- Looking for strnlen - found [2025-03-07T02:08:02.671Z] -- Looking for fls [2025-03-07T02:08:02.671Z] -- Looking for fls - not found [2025-03-07T02:08:02.671Z] -- Looking for vprintf [2025-03-07T02:08:02.671Z] -- Looking for vprintf - found [2025-03-07T02:08:02.671Z] -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN [2025-03-07T02:08:02.671Z] -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed [2025-03-07T02:08:02.671Z] -- Configuring done (2.8s) [2025-03-07T02:08:02.932Z] -- Generating done (0.0s) [2025-03-07T02:08:02.932Z] -- Build files have been written to: /device-coap/deps/tinydtls/build [2025-03-07T02:08:02.932Z] + make [2025-03-07T02:08:02.932Z] [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o [2025-03-07T02:08:02.932Z] [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o [2025-03-07T02:08:02.932Z] [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o [2025-03-07T02:08:03.193Z] [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o [2025-03-07T02:08:03.453Z] In file included from /device-coap/deps/tinydtls/crypto.c:34: [2025-03-07T02:08:03.453Z] In function 'ecc_ecdh', [2025-03-07T02:08:03.453Z] inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:08:03.453Z] 50 | ecc_ec_mult(px, py, secret, resultx, resulty); [2025-03-07T02:08:03.453Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 1 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here [2025-03-07T02:08:03.453Z] 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); [2025-03-07T02:08:03.453Z] | ^~~~~~~~~~~ [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here [2025-03-07T02:08:03.453Z] 431 | uint32_t pub_x[8]; [2025-03-07T02:08:03.453Z] | ^~~~~ [2025-03-07T02:08:03.453Z] In function 'ecc_ecdh', [2025-03-07T02:08:03.453Z] inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:08:03.453Z] 50 | ecc_ec_mult(px, py, secret, resultx, resulty); [2025-03-07T02:08:03.453Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 2 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here [2025-03-07T02:08:03.453Z] 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); [2025-03-07T02:08:03.453Z] | ^~~~~~~~~~~ [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here [2025-03-07T02:08:03.453Z] 432 | uint32_t pub_y[8]; [2025-03-07T02:08:03.453Z] | ^~~~~ [2025-03-07T02:08:03.453Z] In function 'ecc_ecdh', [2025-03-07T02:08:03.453Z] inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:08:03.453Z] 50 | ecc_ec_mult(px, py, secret, resultx, resulty); [2025-03-07T02:08:03.453Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 3 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here [2025-03-07T02:08:03.453Z] 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); [2025-03-07T02:08:03.453Z] | ^~~~~~~~~~~ [2025-03-07T02:08:03.453Z] /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here [2025-03-07T02:08:03.453Z] 430 | uint32_t priv[8]; [2025-03-07T02:08:03.453Z] | ^~~~ [2025-03-07T02:08:03.453Z] [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o [2025-03-07T02:08:04.390Z] [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o [2025-03-07T02:08:04.650Z] [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o [2025-03-07T02:08:04.650Z] [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o [2025-03-07T02:08:04.650Z] [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o [2025-03-07T02:08:04.650Z] /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': [2025-03-07T02:08:04.650Z] /device-coap/deps/tinydtls/ecc/ecc.c:316:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [2025-03-07T02:08:04.650Z] 316 | for (idx = 0; idx < count; idx++) { [2025-03-07T02:08:04.650Z] | ^ [2025-03-07T02:08:04.650Z] /device-coap/deps/tinydtls/ecc/ecc.c:319:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [2025-03-07T02:08:04.650Z] 319 | return result == count; [2025-03-07T02:08:04.650Z] | ^~ [2025-03-07T02:08:05.242Z] [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o [2025-03-07T02:08:05.502Z] [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o [2025-03-07T02:08:05.502Z] [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o [2025-03-07T02:08:05.502Z] [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o [2025-03-07T02:08:05.502Z] [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o [2025-03-07T02:08:05.502Z] /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [2025-03-07T02:08:05.502Z] 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { [2025-03-07T02:08:05.502Z] | ~~~~~~~~~~^~~~~~~~ [2025-03-07T02:08:05.502Z] In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: [2025-03-07T02:08:05.502Z] /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} [2025-03-07T02:08:05.502Z] 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); [2025-03-07T02:08:05.502Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:05.502Z] /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [2025-03-07T02:08:05.502Z] 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { [2025-03-07T02:08:05.502Z] | ~~~~~^~~~~~~~ [2025-03-07T02:08:05.502Z] /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' [2025-03-07T02:08:05.502Z] 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); [2025-03-07T02:08:05.502Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:05.763Z] [100%] Linking C shared library libtinydtls.so [2025-03-07T02:08:05.763Z] [100%] Built target tinydtls [2025-03-07T02:08:05.763Z] + make install [2025-03-07T02:08:05.763Z] [100%] Built target tinydtls [2025-03-07T02:08:05.763Z] Install the project... [2025-03-07T02:08:05.763Z] -- Install configuration: "Release" [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/lib/libtinydtls.so [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/uthash.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/sha2 [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/sha2/sha2.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/ecc [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/ecc/ecc.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/tinydtls.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/alert.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/aes [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/aes/rijndael.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/crypto.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/numeric.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/peer.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/utlist.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/dtls_mutex.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/dtls_time.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/netq.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/dtls.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/global.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/state.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/dtls_debug.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/session.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/dtls_prng.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/hmac.h [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/ccm.h [2025-03-07T02:08:05.763Z] -- Up-to-date: /usr/local/include/tinydtls [2025-03-07T02:08:05.763Z] -- Installing: /usr/local/include/tinydtls/dtls_config.h [2025-03-07T02:08:05.763Z] + cd /device-coap/deps [2025-03-07T02:08:05.763Z] + git clone https://github.com/obgm/libcoap.git [2025-03-07T02:08:05.763Z] Cloning into 'libcoap'... [2025-03-07T02:08:07.685Z] + cd libcoap [2025-03-07T02:08:07.686Z] + git reset --hard 1739507 [2025-03-07T02:08:07.686Z] HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp [2025-03-07T02:08:07.686Z] + patch -p1 [2025-03-07T02:08:07.686Z] patching file cmake/FindTinyDTLS.cmake [2025-03-07T02:08:07.686Z] + patch -p1 [2025-03-07T02:08:07.686Z] patching file include/coap2/coap_config.h.in [2025-03-07T02:08:07.686Z] + mkdir -p build [2025-03-07T02:08:07.686Z] + cd build [2025-03-07T02:08:07.686Z] + cmake '-DWITH_EPOLL=OFF' '-DDTLS_BACKEND=tinydtls' '-DUSE_VENDORED_TINYDTLS=OFF' '-DENABLE_TESTS=OFF' '-DENABLE_EXAMPLES=OFF' '-DENABLE_DOCS=OFF' '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. [2025-03-07T02:08:07.686Z] -- The CXX compiler identification is GNU 12.2.1 [2025-03-07T02:08:07.686Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:07.686Z] -- Detecting CXX compiler ABI info [2025-03-07T02:08:07.947Z] -- Detecting CXX compiler ABI info - done [2025-03-07T02:08:07.947Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2025-03-07T02:08:07.947Z] -- Detecting CXX compile features [2025-03-07T02:08:07.947Z] -- Detecting CXX compile features - done [2025-03-07T02:08:07.947Z] -- Detecting C compiler ABI info [2025-03-07T02:08:07.947Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:07.947Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:07.947Z] -- Detecting C compile features [2025-03-07T02:08:07.947Z] -- Detecting C compile features - done [2025-03-07T02:08:07.947Z] -- Looking for byteswap.h [2025-03-07T02:08:07.947Z] -- Looking for byteswap.h - found [2025-03-07T02:08:07.947Z] -- Looking for inttypes.h [2025-03-07T02:08:08.207Z] -- Looking for inttypes.h - found [2025-03-07T02:08:08.207Z] -- Looking for limits.h [2025-03-07T02:08:08.207Z] -- Looking for limits.h - found [2025-03-07T02:08:08.207Z] -- Looking for memory.h [2025-03-07T02:08:08.207Z] -- Looking for memory.h - found [2025-03-07T02:08:08.207Z] -- Looking for strings.h [2025-03-07T02:08:08.467Z] -- Looking for strings.h - found [2025-03-07T02:08:08.467Z] -- Looking for string.h [2025-03-07T02:08:08.467Z] -- Looking for string.h - found [2025-03-07T02:08:08.467Z] -- Looking for sys/sysctl.h [2025-03-07T02:08:08.467Z] -- Looking for sys/sysctl.h - not found [2025-03-07T02:08:08.467Z] -- Looking for netinet/in.h [2025-03-07T02:08:08.727Z] -- Looking for netinet/in.h - found [2025-03-07T02:08:08.728Z] -- Looking for sys/epoll.h [2025-03-07T02:08:08.728Z] -- Looking for sys/epoll.h - found [2025-03-07T02:08:08.728Z] -- Looking for sys/timerfd.h [2025-03-07T02:08:08.728Z] -- Looking for sys/timerfd.h - found [2025-03-07T02:08:08.728Z] -- Looking for arpa/inet.h [2025-03-07T02:08:08.989Z] -- Looking for arpa/inet.h - found [2025-03-07T02:08:08.989Z] -- Looking for stdbool.h [2025-03-07T02:08:08.989Z] -- Looking for stdbool.h - found [2025-03-07T02:08:08.989Z] -- Looking for netdb.h [2025-03-07T02:08:09.249Z] -- Looking for netdb.h - found [2025-03-07T02:08:09.249Z] -- Looking for pthread.h [2025-03-07T02:08:09.249Z] -- Looking for pthread.h - found [2025-03-07T02:08:09.249Z] -- Looking for stdlib.h [2025-03-07T02:08:09.249Z] -- Looking for stdlib.h - found [2025-03-07T02:08:09.249Z] -- Looking for stdint.h [2025-03-07T02:08:09.508Z] -- Looking for stdint.h - found [2025-03-07T02:08:09.508Z] -- Looking for syslog.h [2025-03-07T02:08:09.508Z] -- Looking for syslog.h - found [2025-03-07T02:08:09.508Z] -- Looking for sys/ioctl.h [2025-03-07T02:08:09.508Z] -- Looking for sys/ioctl.h - found [2025-03-07T02:08:09.508Z] -- Looking for sys/socket.h [2025-03-07T02:08:09.769Z] -- Looking for sys/socket.h - found [2025-03-07T02:08:09.769Z] -- Looking for sys/stat.h [2025-03-07T02:08:09.769Z] -- Looking for sys/stat.h - found [2025-03-07T02:08:09.769Z] -- Looking for sys/time.h [2025-03-07T02:08:09.769Z] -- Looking for sys/time.h - found [2025-03-07T02:08:09.769Z] -- Looking for sys/types.h [2025-03-07T02:08:10.029Z] -- Looking for sys/types.h - found [2025-03-07T02:08:10.029Z] -- Looking for sys/unistd.h [2025-03-07T02:08:10.029Z] -- Looking for sys/unistd.h - not found [2025-03-07T02:08:10.029Z] -- Looking for time.h [2025-03-07T02:08:10.029Z] -- Looking for time.h - found [2025-03-07T02:08:10.029Z] -- Looking for unistd.h [2025-03-07T02:08:10.298Z] -- Looking for unistd.h - found [2025-03-07T02:08:10.298Z] -- Looking for float.h [2025-03-07T02:08:10.298Z] -- Looking for float.h - found [2025-03-07T02:08:10.298Z] -- Looking for stddef.h [2025-03-07T02:08:10.298Z] -- Looking for stddef.h - found [2025-03-07T02:08:10.298Z] -- Looking for winsock2.h [2025-03-07T02:08:10.558Z] -- Looking for winsock2.h - not found [2025-03-07T02:08:10.558Z] -- Looking for ws2tcpip.h [2025-03-07T02:08:10.558Z] -- Looking for ws2tcpip.h - not found [2025-03-07T02:08:10.558Z] -- Looking for malloc [2025-03-07T02:08:10.558Z] -- Looking for malloc - found [2025-03-07T02:08:10.558Z] -- Looking for memset [2025-03-07T02:08:10.820Z] -- Looking for memset - found [2025-03-07T02:08:10.820Z] -- Looking for select [2025-03-07T02:08:10.820Z] -- Looking for select - found [2025-03-07T02:08:10.820Z] -- Looking for socket [2025-03-07T02:08:10.820Z] -- Looking for socket - found [2025-03-07T02:08:10.820Z] -- Looking for strcasecmp [2025-03-07T02:08:11.082Z] -- Looking for strcasecmp - found [2025-03-07T02:08:11.082Z] -- Looking for pthread_mutex_lock [2025-03-07T02:08:11.082Z] -- Looking for pthread_mutex_lock - found [2025-03-07T02:08:11.082Z] -- Looking for getaddrinfo [2025-03-07T02:08:11.082Z] -- Looking for getaddrinfo - found [2025-03-07T02:08:11.082Z] -- Looking for strnlen [2025-03-07T02:08:11.341Z] -- Looking for strnlen - found [2025-03-07T02:08:11.341Z] -- Looking for strrchr [2025-03-07T02:08:11.341Z] -- Looking for strrchr - found [2025-03-07T02:08:11.341Z] -- Looking for getrandom [2025-03-07T02:08:11.341Z] -- Looking for getrandom - found [2025-03-07T02:08:11.341Z] -- Looking for cmsghdr [2025-03-07T02:08:11.604Z] -- Looking for cmsghdr - not found [2025-03-07T02:08:11.604Z] -- compiling without epoll support [2025-03-07T02:08:11.604Z] -- compiling with DTLS support [2025-03-07T02:08:11.604Z] -- DTLS_BACKEND: tinydtls [2025-03-07T02:08:11.604Z] -- Found TinyDTLS: /usr/local/include [2025-03-07T02:08:11.604Z] -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls [2025-03-07T02:08:11.604Z] -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so [2025-03-07T02:08:11.604Z] -- TINYDTLS_ROOT_DIR: [2025-03-07T02:08:11.604Z] -- compiling with tinydtls support [2025-03-07T02:08:11.604Z] -- ENABLE_DTLS:.....................ON [2025-03-07T02:08:11.604Z] -- ENABLE_TCP:......................ON [2025-03-07T02:08:11.604Z] -- ENABLE_DOCS:.....................OFF [2025-03-07T02:08:11.604Z] -- ENABLE_EXAMPLES:.................OFF [2025-03-07T02:08:11.604Z] -- DTLS_BACKEND:....................tinydtls [2025-03-07T02:08:11.604Z] -- WITH_GNUTLS:.....................OFF [2025-03-07T02:08:11.604Z] -- WITH_TINYDTLS:...................ON [2025-03-07T02:08:11.604Z] -- WITH_OPENSSL:....................OFF [2025-03-07T02:08:11.604Z] -- WITH_MBEDTLS:....................OFF [2025-03-07T02:08:11.604Z] -- HAVE_LIBTINYDTLS:................1 [2025-03-07T02:08:11.604Z] -- HAVE_LIBGNUTLS:.................. [2025-03-07T02:08:11.604Z] -- HAVE_OPENSSL:.................... [2025-03-07T02:08:11.604Z] -- HAVE_MBEDTLS:.................... [2025-03-07T02:08:11.604Z] -- COAP_EPOLL_SUPPORT:.............. [2025-03-07T02:08:11.604Z] -- CMAKE_C_COMPILER:................/usr/bin/cc [2025-03-07T02:08:11.604Z] -- BUILD_SHARED_LIBS:...............ON [2025-03-07T02:08:11.604Z] -- CMAKE_BUILD_TYPE:................Release [2025-03-07T02:08:11.604Z] -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 [2025-03-07T02:08:11.604Z] -- Configuring done (3.9s) [2025-03-07T02:08:11.605Z] CMake Warning (dev) at CMakeLists.txt:16 (add_library): [2025-03-07T02:08:11.605Z] Policy CMP0115 is not set: Source file extensions must be explicit. Run [2025-03-07T02:08:11.605Z] "cmake --help-policy CMP0115" for policy details. Use the cmake_policy [2025-03-07T02:08:11.605Z] command to set the policy and suppress this warning. [2025-03-07T02:08:11.605Z] [2025-03-07T02:08:11.605Z] File: [2025-03-07T02:08:11.605Z] [2025-03-07T02:08:11.605Z] /device-coap/deps/libcoap/include/coap2/coap.h.in [2025-03-07T02:08:11.605Z] This warning is for project developers. Use -Wno-dev to suppress it. [2025-03-07T02:08:11.605Z] [2025-03-07T02:08:11.605Z] -- Generating done (0.0s) [2025-03-07T02:08:11.605Z] -- Build files have been written to: /device-coap/deps/libcoap/build [2025-03-07T02:08:11.605Z] + make [2025-03-07T02:08:11.605Z] [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o [2025-03-07T02:08:11.605Z] [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o [2025-03-07T02:08:11.605Z] [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o [2025-03-07T02:08:11.866Z] [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o [2025-03-07T02:08:12.126Z] [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o [2025-03-07T02:08:12.126Z] [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o [2025-03-07T02:08:12.126Z] [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o [2025-03-07T02:08:12.385Z] [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o [2025-03-07T02:08:12.385Z] [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o [2025-03-07T02:08:12.646Z] [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o [2025-03-07T02:08:13.213Z] [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o [2025-03-07T02:08:13.213Z] [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o [2025-03-07T02:08:13.213Z] [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o [2025-03-07T02:08:13.213Z] [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o [2025-03-07T02:08:13.476Z] [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o [2025-03-07T02:08:14.043Z] [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o [2025-03-07T02:08:14.043Z] [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o [2025-03-07T02:08:14.304Z] [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o [2025-03-07T02:08:14.874Z] [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o [2025-03-07T02:08:14.874Z] [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o [2025-03-07T02:08:14.874Z] [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o [2025-03-07T02:08:15.134Z] [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o [2025-03-07T02:08:15.134Z] [100%] Linking C shared library libcoap-2.so [2025-03-07T02:08:15.394Z] [100%] Built target coap-2 [2025-03-07T02:08:15.394Z] + make install [2025-03-07T02:08:15.394Z] [100%] Built target coap-2 [2025-03-07T02:08:15.394Z] Install the project... [2025-03-07T02:08:15.394Z] -- Install configuration: "Release" [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/lib/libcoap-2.so [2025-03-07T02:08:15.394Z] -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake [2025-03-07T02:08:15.394Z] -- Up-to-date: /usr/local/include [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2 [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/uthash.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/subscribe.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/option.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/resource.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/bits.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/coap_hashkey.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/block.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/coap_io.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/pdu.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/str.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/async.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/net.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/address.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/uri.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/coap_event.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/coap_riot.h [2025-03-07T02:08:15.394Z] -- Installing: /usr/local/include/coap2/coap_dtls.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/coap_mutex.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/coap_prng.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/lwippools.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/coap_debug.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/utlist.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/coap_time.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/encode.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/libcoap.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/coap_forward_decls.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/mem.h [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/coap_session.h [2025-03-07T02:08:15.395Z] -- Up-to-date: /usr/local/include [2025-03-07T02:08:15.395Z] -- Up-to-date: /usr/local/include/coap2 [2025-03-07T02:08:15.395Z] -- Installing: /usr/local/include/coap2/coap.h [2025-03-07T02:08:15.395Z] + '[' 1 '=' 1 ] [2025-03-07T02:08:15.395Z] + cd /device-coap/deps [2025-03-07T02:08:15.395Z] + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip [2025-03-07T02:08:15.395Z] Connecting to github.com (140.82.114.4:443) [2025-03-07T02:08:15.658Z] Connecting to codeload.github.com (140.82.112.9:443) [2025-03-07T02:08:15.658Z] saving to 'v4.0.0.zip' [2025-03-07T02:08:15.658Z] v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA [2025-03-07T02:08:15.658Z] 'v4.0.0.zip' saved [2025-03-07T02:08:15.658Z] + unzip v4.0.0.zip [2025-03-07T02:08:15.658Z] Archive: v4.0.0.zip [2025-03-07T02:08:15.658Z] creating: device-sdk-c-4.0.0/ [2025-03-07T02:08:15.658Z] creating: device-sdk-c-4.0.0/.github/ [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/.github/Contributing.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/.github/semantic.yml [2025-03-07T02:08:15.658Z] creating: device-sdk-c-4.0.0/.github/workflows/ [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/.github/workflows/release.yml [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/.gitignore [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/Attribution.txt [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/CHANGELOG.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/Doxyfile [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/GOVERNANCE.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/Jenkinsfile [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/LICENSE [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/Makefile [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/OWNERS.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/README.IOT.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/README.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/README.v3.md [2025-03-07T02:08:15.658Z] creating: device-sdk-c-4.0.0/docs/ [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/docs/configuration.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/docs/metrics.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/docs/startup.md [2025-03-07T02:08:15.658Z] creating: device-sdk-c-4.0.0/include/ [2025-03-07T02:08:15.658Z] creating: device-sdk-c-4.0.0/include/devsdk/ [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h [2025-03-07T02:08:15.658Z] creating: device-sdk-c-4.0.0/include/edgex/ [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/include/edgex/devices.h [2025-03-07T02:08:15.658Z] inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/include/edgex/edgex.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/include/edgex/profiles.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/scripts/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/scripts/build.sh [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/CMakeLists.txt [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/api.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/autoevent.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/autoevent.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/bus-impl.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/bus.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/bus.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/callback3.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/callback3.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/config.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/config.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/correlation.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/correlation.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/data.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/data.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/defs.h.in [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/device.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/device.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/devman.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/devmap.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/devmap.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/devutil.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/discovery.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/discovery.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/dto-read.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/dto-read.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/edgex2.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/errorlist.h [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/README.md [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/file/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/file/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/random/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/random/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/template.c [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/filesys.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/filesys.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/keeper.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/keeper.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/map.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/map.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/metadata.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/metadata.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/metrics.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/opstate.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/opstate.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/parson.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/parson.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/profiles.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/profiles.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/registry-impl.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/registry.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/registry.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/reqdata.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/reqdata.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/request_auth.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/request_auth.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/rest-server.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/rest-server.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/rest.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/rest.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/secrets.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/secrets.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/service.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/service.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/transform.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/transform.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/validate.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/validate.h [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/watchers.c [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/c/watchers.h [2025-03-07T02:08:15.659Z] creating: device-sdk-c-4.0.0/src/cmake/ [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake [2025-03-07T02:08:15.659Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake [2025-03-07T02:08:15.659Z] + cd device-sdk-c-4.0.0 [2025-03-07T02:08:15.659Z] + ./scripts/build.sh [2025-03-07T02:08:15.659Z] + CPPCHECK=false [2025-03-07T02:08:15.659Z] + DOCGEN=false [2025-03-07T02:08:15.659Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2025-03-07T02:08:15.659Z] + '[' 0 -gt 0 ] [2025-03-07T02:08:15.659Z] + readlink -f ./scripts/build.sh [2025-03-07T02:08:15.659Z] + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh [2025-03-07T02:08:15.659Z] + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts [2025-03-07T02:08:15.659Z] + ROOT=/device-coap/deps/device-sdk-c-4.0.0 [2025-03-07T02:08:15.659Z] + cd /device-coap/deps/device-sdk-c-4.0.0 [2025-03-07T02:08:15.659Z] + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release [2025-03-07T02:08:15.659Z] + cd /device-coap/deps/device-sdk-c-4.0.0/build/release [2025-03-07T02:08:15.659Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src [2025-03-07T02:08:15.920Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:15.920Z] -- Detecting C compiler ABI info [2025-03-07T02:08:15.920Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:15.920Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:15.920Z] -- Detecting C compile features [2025-03-07T02:08:15.920Z] -- Detecting C compile features - done [2025-03-07T02:08:15.920Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-03-07T02:08:15.920Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") [2025-03-07T02:08:15.920Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-03-07T02:08:15.920Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-03-07T02:08:15.920Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-03-07T02:08:15.920Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-03-07T02:08:15.920Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-03-07T02:08:15.920Z] -- /opt/iotech/iot/1.5/include [2025-03-07T02:08:15.920Z] -- C SDK 0.0.0 for Linux [2025-03-07T02:08:15.920Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-03-07T02:08:16.180Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-03-07T02:08:16.180Z] -- Found Curses: /usr/lib/libcurses.so [2025-03-07T02:08:16.180Z] -- Configuring done (0.5s) [2025-03-07T02:08:16.180Z] -- Generating done (0.0s) [2025-03-07T02:08:16.180Z] -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release [2025-03-07T02:08:16.180Z] + make all package [2025-03-07T02:08:16.180Z] + tee release.log [2025-03-07T02:08:16.180Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-03-07T02:08:16.439Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-03-07T02:08:16.439Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-03-07T02:08:16.698Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-03-07T02:08:16.698Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-03-07T02:08:17.265Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-03-07T02:08:17.265Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-03-07T02:08:17.265Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-03-07T02:08:17.528Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-03-07T02:08:17.787Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-03-07T02:08:17.787Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-03-07T02:08:18.047Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-03-07T02:08:18.047Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-03-07T02:08:18.047Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-03-07T02:08:18.306Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-03-07T02:08:18.567Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-03-07T02:08:18.567Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-03-07T02:08:18.826Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-03-07T02:08:18.826Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-03-07T02:08:19.084Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-03-07T02:08:19.343Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-03-07T02:08:20.280Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-03-07T02:08:20.280Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-03-07T02:08:20.280Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-03-07T02:08:20.538Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-03-07T02:08:20.538Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-03-07T02:08:20.797Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-03-07T02:08:21.055Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-03-07T02:08:21.055Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-03-07T02:08:21.314Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-03-07T02:08:21.314Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-03-07T02:08:21.573Z] /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': [2025-03-07T02:08:21.573Z] /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:08:21.573Z] 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2025-03-07T02:08:21.573Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:21.573Z] /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here [2025-03-07T02:08:21.573Z] 875 | const iot_data_t *deviceservices_config; [2025-03-07T02:08:21.573Z] | ^~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:21.831Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-03-07T02:08:21.831Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-03-07T02:08:22.090Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-03-07T02:08:22.090Z] [ 68%] Linking C shared library libcsdk.so [2025-03-07T02:08:22.090Z] [ 68%] Built target csdk [2025-03-07T02:08:22.090Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-03-07T02:08:22.349Z] [ 72%] Linking C executable template [2025-03-07T02:08:22.349Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:22.349Z] [ 72%] Built target template [2025-03-07T02:08:22.349Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-03-07T02:08:22.349Z] [ 76%] Linking C executable device-counter [2025-03-07T02:08:22.609Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:22.609Z] [ 76%] Built target device-counter [2025-03-07T02:08:22.609Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-03-07T02:08:22.609Z] [ 80%] Linking C executable device-random [2025-03-07T02:08:22.609Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:22.609Z] [ 80%] Built target device-random [2025-03-07T02:08:22.609Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-03-07T02:08:22.867Z] [ 84%] Linking C executable device-gyro [2025-03-07T02:08:22.867Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:22.867Z] [ 84%] Built target device-gyro [2025-03-07T02:08:22.867Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-03-07T02:08:23.126Z] [ 88%] Linking C executable device-bitfields [2025-03-07T02:08:23.126Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:23.126Z] [ 88%] Built target device-bitfields [2025-03-07T02:08:23.126Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-03-07T02:08:23.126Z] [ 92%] Linking C executable template-discovery [2025-03-07T02:08:23.384Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:23.384Z] [ 92%] Built target template-discovery [2025-03-07T02:08:23.384Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-03-07T02:08:23.384Z] [ 96%] Linking C executable device-file [2025-03-07T02:08:23.384Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:23.643Z] [ 96%] Built target device-file [2025-03-07T02:08:23.643Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-03-07T02:08:23.643Z] [100%] Linking C executable device-terminal [2025-03-07T02:08:23.644Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:23.644Z] [100%] Built target device-terminal [2025-03-07T02:08:23.644Z] Run CPack packaging tool... [2025-03-07T02:08:23.904Z] CPack: Create package using TGZ [2025-03-07T02:08:23.904Z] CPack: Install projects [2025-03-07T02:08:23.904Z] CPack: - Run preinstall target for: Csdk [2025-03-07T02:08:23.904Z] CPack: - Install project: Csdk [] [2025-03-07T02:08:23.904Z] CPack: Create package [2025-03-07T02:08:24.163Z] CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. [2025-03-07T02:08:24.163Z] + '[' false '=' true ] [2025-03-07T02:08:24.163Z] + '[' false '=' true ] [2025-03-07T02:08:24.163Z] + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug [2025-03-07T02:08:24.163Z] + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug [2025-03-07T02:08:24.163Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src [2025-03-07T02:08:24.163Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:24.163Z] -- Detecting C compiler ABI info [2025-03-07T02:08:24.163Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:24.163Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:24.163Z] -- Detecting C compile features [2025-03-07T02:08:24.163Z] -- Detecting C compile features - done [2025-03-07T02:08:24.163Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-03-07T02:08:24.436Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") [2025-03-07T02:08:24.436Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-03-07T02:08:24.436Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-03-07T02:08:24.436Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-03-07T02:08:24.436Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-03-07T02:08:24.436Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-03-07T02:08:24.436Z] -- /opt/iotech/iot/1.5/include [2025-03-07T02:08:24.436Z] -- C SDK 0.0.0 for Linux [2025-03-07T02:08:24.436Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-03-07T02:08:24.436Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-03-07T02:08:24.436Z] -- Found Curses: /usr/lib/libcurses.so [2025-03-07T02:08:24.436Z] -- Configuring done (0.5s) [2025-03-07T02:08:24.696Z] -- Generating done (0.0s) [2025-03-07T02:08:24.696Z] -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug [2025-03-07T02:08:24.696Z] + make [2025-03-07T02:08:24.696Z] + tee debug.log [2025-03-07T02:08:24.696Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-03-07T02:08:24.696Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-03-07T02:08:24.696Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-03-07T02:08:24.956Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-03-07T02:08:24.956Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-03-07T02:08:24.956Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-03-07T02:08:25.216Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-03-07T02:08:25.216Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-03-07T02:08:25.216Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-03-07T02:08:25.473Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-03-07T02:08:25.473Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-03-07T02:08:25.473Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-03-07T02:08:25.473Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-03-07T02:08:25.731Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-03-07T02:08:25.731Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-03-07T02:08:25.731Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-03-07T02:08:25.991Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-03-07T02:08:25.991Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-03-07T02:08:25.991Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-03-07T02:08:26.250Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-03-07T02:08:26.250Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-03-07T02:08:26.509Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-03-07T02:08:26.509Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-03-07T02:08:26.509Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-03-07T02:08:26.509Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-03-07T02:08:26.768Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-03-07T02:08:26.768Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-03-07T02:08:27.034Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-03-07T02:08:27.034Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-03-07T02:08:27.034Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-03-07T02:08:27.293Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-03-07T02:08:27.293Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-03-07T02:08:27.293Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-03-07T02:08:27.553Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-03-07T02:08:27.553Z] [ 68%] Linking C shared library libcsdk.so [2025-03-07T02:08:27.553Z] [ 68%] Built target csdk [2025-03-07T02:08:27.553Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-03-07T02:08:27.812Z] [ 72%] Linking C executable template [2025-03-07T02:08:27.812Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:27.812Z] [ 72%] Built target template [2025-03-07T02:08:27.812Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-03-07T02:08:27.812Z] [ 76%] Linking C executable device-counter [2025-03-07T02:08:27.812Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:27.812Z] [ 76%] Built target device-counter [2025-03-07T02:08:27.812Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-03-07T02:08:28.073Z] [ 80%] Linking C executable device-random [2025-03-07T02:08:28.073Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:28.073Z] [ 80%] Built target device-random [2025-03-07T02:08:28.073Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-03-07T02:08:28.073Z] [ 84%] Linking C executable device-gyro [2025-03-07T02:08:28.073Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:28.331Z] [ 84%] Built target device-gyro [2025-03-07T02:08:28.331Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-03-07T02:08:28.331Z] [ 88%] Linking C executable device-bitfields [2025-03-07T02:08:28.331Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:28.331Z] [ 88%] Built target device-bitfields [2025-03-07T02:08:28.331Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-03-07T02:08:28.331Z] [ 92%] Linking C executable template-discovery [2025-03-07T02:08:28.590Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:28.590Z] [ 92%] Built target template-discovery [2025-03-07T02:08:28.590Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-03-07T02:08:28.590Z] [ 96%] Linking C executable device-file [2025-03-07T02:08:28.590Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:28.590Z] [ 96%] Built target device-file [2025-03-07T02:08:28.591Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-03-07T02:08:28.856Z] [100%] Linking C executable device-terminal [2025-03-07T02:08:28.856Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:28.856Z] [100%] Built target device-terminal [2025-03-07T02:08:28.856Z] + cp -rf include/devsdk include/edgex /usr/include/ [2025-03-07T02:08:28.856Z] + cp build/release/c/libcsdk.so /usr/lib/ [2025-03-07T02:08:28.856Z] + rm -rf /device-coap/deps [2025-03-07T02:08:29.114Z] Removing intermediate container 6790047cdf90 [2025-03-07T02:08:29.114Z] ---> 2c000bf56fd9 [2025-03-07T02:08:29.114Z] Step 14/14 : RUN /device-coap/scripts/build.sh [2025-03-07T02:08:29.114Z] ---> Running in 3beb89d0f1f7 [2025-03-07T02:08:29.373Z] + readlink -f /device-coap/scripts/build.sh [2025-03-07T02:08:29.373Z] + dirname /device-coap/scripts/build.sh [2025-03-07T02:08:29.373Z] + dirname /device-coap/scripts [2025-03-07T02:08:29.373Z] + ROOT=/device-coap [2025-03-07T02:08:29.373Z] + echo /device-coap [2025-03-07T02:08:29.373Z] + cd /device-coap [2025-03-07T02:08:29.373Z] + mkdir -p /device-coap/build/release [2025-03-07T02:08:29.373Z] /device-coap [2025-03-07T02:08:29.373Z] + cd /device-coap/build/release [2025-03-07T02:08:29.373Z] + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c [2025-03-07T02:08:29.633Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:29.633Z] -- Detecting C compiler ABI info [2025-03-07T02:08:29.633Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:29.633Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:29.633Z] -- Detecting C compile features [2025-03-07T02:08:29.633Z] -- Detecting C compile features - done [2025-03-07T02:08:29.633Z] -- Found LIBCOAP: /usr/local/lib/libcoap-2.so [2025-03-07T02:08:29.633Z] -- Configuring done (0.2s) [2025-03-07T02:08:29.633Z] -- Generating done (0.0s) [2025-03-07T02:08:29.633Z] -- Build files have been written to: /device-coap/build/release [2025-03-07T02:08:29.633Z] + make [2025-03-07T02:08:29.633Z] + tee release.log [2025-03-07T02:08:29.633Z] [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o [2025-03-07T02:08:29.892Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:08:29.892Z] from /device-coap/src/c/device-coap.h:17, [2025-03-07T02:08:29.892Z] from /device-coap/src/c/coap-client.h:21, [2025-03-07T02:08:29.892Z] from /device-coap/src/c/coap-client.c:9: [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:89:36: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 90 | strlen(end_dev_params_ptr->psk_key)); [2025-03-07T02:08:29.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:89:55: note: format string is defined here [2025-03-07T02:08:29.892Z] 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | unsigned int [2025-03-07T02:08:29.892Z] | %lu [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c: In function 'message_handler': [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:126:36: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:126:63: note: format string is defined here [2025-03-07T02:08:29.892Z] 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | unsigned int [2025-03-07T02:08:29.892Z] | %lu [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:129:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:08:29.892Z] 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 130 | resource->properties->type); [2025-03-07T02:08:29.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | iot_typecode_t [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:129:68: note: format string is defined here [2025-03-07T02:08:29.892Z] 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:139:38: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 140 | len); [2025-03-07T02:08:29.892Z] | ~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:139:71: note: format string is defined here [2025-03-07T02:08:29.892Z] 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] | %ld [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:144:38: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 145 | len); [2025-03-07T02:08:29.892Z] | ~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:144:71: note: format string is defined here [2025-03-07T02:08:29.892Z] 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] | %ld [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:151:38: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 152 | len); [2025-03-07T02:08:29.892Z] | ~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:151:70: note: format string is defined here [2025-03-07T02:08:29.892Z] 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] | %ld [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:156:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:08:29.892Z] 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 157 | resource->properties->type); [2025-03-07T02:08:29.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | iot_typecode_t [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:156:71: note: format string is defined here [2025-03-07T02:08:29.892Z] 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:244:30: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:244:55: note: format string is defined here [2025-03-07T02:08:29.892Z] 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] | %ld [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:252:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 253 | (uint8_t *)end_dev_params_ptr->psk_key, [2025-03-07T02:08:29.892Z] 254 | strlen(end_dev_params_ptr->psk_key)); [2025-03-07T02:08:29.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:252:67: note: format string is defined here [2025-03-07T02:08:29.892Z] 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] | %ld [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:351:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] 352 | (uint8_t *)end_dev_params_ptr->psk_key, [2025-03-07T02:08:29.892Z] 353 | strlen(end_dev_params_ptr->psk_key)); [2025-03-07T02:08:29.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-client.c:351:67: note: format string is defined here [2025-03-07T02:08:29.892Z] 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] | %ld [2025-03-07T02:08:29.892Z] [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o [2025-03-07T02:08:29.892Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:08:29.892Z] from /usr/include/edgex/devices.h:17, [2025-03-07T02:08:29.892Z] from /device-coap/src/c/coap-server.c:22: [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-server.c: In function 'data_handler': [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-server.c:82:32: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:29.892Z] 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | size_t {aka long unsigned int} [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-server.c:82:54: note: format string is defined here [2025-03-07T02:08:29.892Z] 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | unsigned int [2025-03-07T02:08:29.892Z] | %lu [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-server.c:128:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:08:29.892Z] 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); [2025-03-07T02:08:29.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | iot_typecode_t [2025-03-07T02:08:29.892Z] /device-coap/src/c/coap-server.c:128:65: note: format string is defined here [2025-03-07T02:08:29.892Z] 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); [2025-03-07T02:08:29.892Z] | ~^ [2025-03-07T02:08:29.892Z] | | [2025-03-07T02:08:29.892Z] | int [2025-03-07T02:08:29.892Z] [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o [2025-03-07T02:08:30.151Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:08:30.151Z] from /device-coap/src/c/coap-util.h:18, [2025-03-07T02:08:30.151Z] from /device-coap/src/c/coap-util.c:9: [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c: In function 'read_data_float64': [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c:63:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:30.151Z] 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:08:30.151Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:08:30.151Z] | | [2025-03-07T02:08:30.151Z] | size_t {aka long unsigned int} [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c:63:56: note: format string is defined here [2025-03-07T02:08:30.151Z] 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:08:30.151Z] | ~^ [2025-03-07T02:08:30.151Z] | | [2025-03-07T02:08:30.151Z] | unsigned int [2025-03-07T02:08:30.151Z] | %lu [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c:76:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:30.151Z] 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:08:30.151Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:08:30.151Z] | | [2025-03-07T02:08:30.151Z] | size_t {aka long unsigned int} [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c:76:56: note: format string is defined here [2025-03-07T02:08:30.151Z] 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:08:30.151Z] | ~^ [2025-03-07T02:08:30.151Z] | | [2025-03-07T02:08:30.151Z] | unsigned int [2025-03-07T02:08:30.151Z] | %lu [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c: In function 'read_data_int32': [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c:87:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:30.151Z] 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:08:30.151Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:08:30.151Z] | | [2025-03-07T02:08:30.151Z] | size_t {aka long unsigned int} [2025-03-07T02:08:30.151Z] /device-coap/src/c/coap-util.c:87:54: note: format string is defined here [2025-03-07T02:08:30.151Z] 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:08:30.151Z] | ~^ [2025-03-07T02:08:30.151Z] | | [2025-03-07T02:08:30.152Z] | unsigned int [2025-03-07T02:08:30.152Z] | %lu [2025-03-07T02:08:30.152Z] /device-coap/src/c/coap-util.c:102:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:08:30.152Z] 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:08:30.152Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:08:30.152Z] | | [2025-03-07T02:08:30.152Z] | size_t {aka long unsigned int} [2025-03-07T02:08:30.152Z] /device-coap/src/c/coap-util.c:102:54: note: format string is defined here [2025-03-07T02:08:30.152Z] 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:08:30.152Z] | ~^ [2025-03-07T02:08:30.152Z] | | [2025-03-07T02:08:30.152Z] | unsigned int [2025-03-07T02:08:30.152Z] | %lu [2025-03-07T02:08:30.152Z] [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o [2025-03-07T02:08:30.152Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:08:30.152Z] from /device-coap/src/c/device-coap.h:17, [2025-03-07T02:08:30.152Z] from /device-coap/src/c/device-coap.c:10: [2025-03-07T02:08:30.152Z] /device-coap/src/c/device-coap.c: In function 'coap_get_handler': [2025-03-07T02:08:30.152Z] /device-coap/src/c/device-coap.c:130:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:08:30.152Z] 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", [2025-03-07T02:08:30.152Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:30.152Z] 131 | requests[i].resource->type); [2025-03-07T02:08:30.152Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:30.152Z] | | [2025-03-07T02:08:30.152Z] | iot_typecode_t [2025-03-07T02:08:30.152Z] /device-coap/src/c/device-coap.c:130:69: note: format string is defined here [2025-03-07T02:08:30.152Z] 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", [2025-03-07T02:08:30.152Z] | ~^ [2025-03-07T02:08:30.152Z] | | [2025-03-07T02:08:30.152Z] | int [2025-03-07T02:08:30.410Z] [100%] Linking C executable device-coap [2025-03-07T02:08:30.410Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:08:30.410Z] [100%] Built target device-coap [2025-03-07T02:08:30.668Z] Removing intermediate container 3beb89d0f1f7 [2025-03-07T02:08:30.668Z] ---> 38e78ae996b4 [2025-03-07T02:08:30.668Z] Successfully built 38e78ae996b4 [2025-03-07T02:08:30.668Z] 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-07T02:08:31.460Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-07T02:08:31.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-07T02:08:31.638Z] prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container [2025-03-07T02:08:31.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-coap-c_PR-62 -v /w/workspace/edgexfoundry_device-coap-c_PR-62:/w/workspace/edgexfoundry_device-coap-c_PR-62:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-62@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-62@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 ******** ci-base-image-x86_64 cat [2025-03-07T02:08:31.994Z] $ docker top 834c31196fbd0da4bd32e1b6a6e38a80dcaed70ca8db61f755d8fd2157c99549 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-07T02:08:32.412Z] + make test [2025-03-07T02:08:32.413Z] build/release/device-coap [Pipeline] } [2025-03-07T02:08:32.452Z] $ docker stop --time=1 834c31196fbd0da4bd32e1b6a6e38a80dcaed70ca8db61f755d8fd2157c99549 [2025-03-07T02:08:33.735Z] $ docker rm -f --volumes 834c31196fbd0da4bd32e1b6a6e38a80dcaed70ca8db61f755d8fd2157c99549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-07T02:08:34.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-07T02:08:34.869Z] + ls -al . [2025-03-07T02:08:34.869Z] total 96 [2025-03-07T02:08:34.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 02:07 . [2025-03-07T02:08:34.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 02:07 .. [2025-03-07T02:08:34.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 02:07 .git [2025-03-07T02:08:34.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 02:07 .github [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 14 Mar 7 02:07 .gitignore [2025-03-07T02:08:34.869Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 02:07 .semver [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 2037 Mar 7 02:07 Attribution.txt [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 3893 Mar 7 02:07 CHANGELOG.md [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 02:07 GOVERNANCE.md [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 798 Mar 7 02:07 Jenkinsfile [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 10173 Mar 7 02:07 LICENSE [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 938 Mar 7 02:07 Makefile [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 02:07 OWNERS.md [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 12454 Mar 7 02:07 README.md [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 506 Mar 7 02:07 ROADMAP.md [2025-03-07T02:08:34.869Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 02:07 VERSION [2025-03-07T02:08:34.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 02:07 res [2025-03-07T02:08:34.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 02:07 scripts [2025-03-07T02:08:34.869Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 02:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-07T02:08:35.283Z] + docker build -t device-coap -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3d8850e1659c25f0877e4000d1122d2a78793a6f --label arch=amd64 --label version=0.0.0 . [2025-03-07T02:08:35.283Z] Sending build context to Docker daemon 559.6kB [2025-03-07T02:08:35.283Z] Step 1/33 : ARG BASE=alpine:3.20 [2025-03-07T02:08:35.283Z] Step 2/33 : FROM ${BASE} as builder [2025-03-07T02:08:35.283Z] ---> 38e78ae996b4 [2025-03-07T02:08:35.283Z] Step 3/33 : LABEL maintainer="Ken Bannister " [2025-03-07T02:08:35.283Z] ---> Running in 96c178f9fb8f [2025-03-07T02:08:35.283Z] Removing intermediate container 96c178f9fb8f [2025-03-07T02:08:35.283Z] ---> 7266982ea406 [2025-03-07T02:08:35.283Z] Step 4/33 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2025-03-07T02:08:35.283Z] ---> Running in 99f8ff89116d [2025-03-07T02:08:35.542Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-03-07T02:08:36.110Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-03-07T02:08:36.110Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-03-07T02:08:36.110Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-03-07T02:08:36.372Z] Removing intermediate container 99f8ff89116d [2025-03-07T02:08:36.372Z] ---> 16ce96123f6d [2025-03-07T02:08:36.372Z] Step 5/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories [2025-03-07T02:08:36.372Z] ---> Running in 6cb3eca41fb8 [2025-03-07T02:08:36.939Z] Removing intermediate container 6cb3eca41fb8 [2025-03-07T02:08:36.939Z] ---> 4261546cbf67 [2025-03-07T02:08:36.939Z] Step 6/33 : RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev [2025-03-07T02:08:36.939Z] ---> Running in 095a39159853 [2025-03-07T02:08:37.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:08:37.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-07T02:08:37.458Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:08:38.023Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-07T02:08:38.023Z] OK: 337 MiB in 103 packages [2025-03-07T02:08:38.286Z] Removing intermediate container 095a39159853 [2025-03-07T02:08:38.286Z] ---> a94bdef39f87 [2025-03-07T02:08:38.286Z] Step 7/33 : COPY scripts /device-coap/scripts [2025-03-07T02:08:38.591Z] ---> bea5679fcd8a [2025-03-07T02:08:38.591Z] Step 8/33 : COPY src /device-coap/src/ [2025-03-07T02:08:38.591Z] ---> 7f35c425e29f [2025-03-07T02:08:38.591Z] Step 9/33 : COPY VERSION /device-coap [2025-03-07T02:08:38.591Z] ---> 3fef34963c27 [2025-03-07T02:08:38.591Z] Step 10/33 : RUN mkdir -p /device-coap/build [2025-03-07T02:08:38.853Z] ---> Running in ce8fcc3d193d [2025-03-07T02:08:39.430Z] Removing intermediate container ce8fcc3d193d [2025-03-07T02:08:39.430Z] ---> affbed957df0 [2025-03-07T02:08:39.430Z] Step 11/33 : WORKDIR /device-coap [2025-03-07T02:08:39.430Z] ---> Running in af36fd277ccc [2025-03-07T02:08:39.430Z] Removing intermediate container af36fd277ccc [2025-03-07T02:08:39.430Z] ---> f92b52ecf951 [2025-03-07T02:08:39.430Z] Step 12/33 : RUN /device-coap/scripts/build_deps.sh 1 [2025-03-07T02:08:39.430Z] ---> Running in 92213dd2b174 [2025-03-07T02:08:39.691Z] + BUILD_CSDK=1 [2025-03-07T02:08:39.691Z] + TINYDTLS_VERSION=b0e230d [2025-03-07T02:08:39.691Z] + LIBCOAP_VERSION=1739507 [2025-03-07T02:08:39.691Z] + CSDK_VERSION=4.0.0 [2025-03-07T02:08:39.691Z] + '[' -d deps ] [2025-03-07T02:08:39.691Z] + mkdir deps [2025-03-07T02:08:39.691Z] + cd /device-coap/deps [2025-03-07T02:08:39.691Z] + git clone https://github.com/eclipse/tinydtls.git [2025-03-07T02:08:39.691Z] Cloning into 'tinydtls'... [2025-03-07T02:08:40.258Z] + cd tinydtls [2025-03-07T02:08:40.258Z] + git checkout develop [2025-03-07T02:08:40.258Z] branch 'develop' set up to track 'origin/develop'. [2025-03-07T02:08:40.258Z] Switched to a new branch 'develop' [2025-03-07T02:08:40.258Z] + git reset --hard b0e230d [2025-03-07T02:08:40.258Z] HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix [2025-03-07T02:08:40.258Z] + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake [2025-03-07T02:08:40.258Z] + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt [2025-03-07T02:08:40.258Z] + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in [2025-03-07T02:08:40.258Z] + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt [2025-03-07T02:08:40.258Z] + mkdir -p build [2025-03-07T02:08:40.258Z] + cd build [2025-03-07T02:08:40.258Z] + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. [2025-03-07T02:08:40.258Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:40.258Z] -- Detecting C compiler ABI info [2025-03-07T02:08:40.518Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:40.518Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:40.518Z] -- Detecting C compile features [2025-03-07T02:08:40.518Z] -- Detecting C compile features - done [2025-03-07T02:08:40.518Z] -- Looking for assert.h [2025-03-07T02:08:40.518Z] -- Looking for assert.h - found [2025-03-07T02:08:40.518Z] -- Looking for arpa/inet.h [2025-03-07T02:08:40.778Z] -- Looking for arpa/inet.h - found [2025-03-07T02:08:40.778Z] -- Looking for fcntl.h [2025-03-07T02:08:40.778Z] -- Looking for fcntl.h - found [2025-03-07T02:08:40.778Z] -- Looking for inttypes.h [2025-03-07T02:08:40.778Z] -- Looking for inttypes.h - found [2025-03-07T02:08:40.778Z] -- Looking for memory.h [2025-03-07T02:08:41.038Z] -- Looking for memory.h - found [2025-03-07T02:08:41.038Z] -- Looking for netdb.h [2025-03-07T02:08:41.038Z] -- Looking for netdb.h - found [2025-03-07T02:08:41.038Z] -- Looking for netinet/in.h [2025-03-07T02:08:41.038Z] -- Looking for netinet/in.h - found [2025-03-07T02:08:41.038Z] -- Looking for stddef.h [2025-03-07T02:08:41.301Z] -- Looking for stddef.h - found [2025-03-07T02:08:41.301Z] -- Looking for stdint.h [2025-03-07T02:08:41.301Z] -- Looking for stdint.h - found [2025-03-07T02:08:41.301Z] -- Looking for stdlib.h [2025-03-07T02:08:41.301Z] -- Looking for stdlib.h - found [2025-03-07T02:08:41.301Z] -- Looking for string.h [2025-03-07T02:08:41.561Z] -- Looking for string.h - found [2025-03-07T02:08:41.561Z] -- Looking for strings.h [2025-03-07T02:08:41.561Z] -- Looking for strings.h - found [2025-03-07T02:08:41.561Z] -- Looking for time.h [2025-03-07T02:08:41.821Z] -- Looking for time.h - found [2025-03-07T02:08:41.821Z] -- Looking for sys/param.h [2025-03-07T02:08:41.821Z] -- Looking for sys/param.h - found [2025-03-07T02:08:41.821Z] -- Looking for sys/socket.h [2025-03-07T02:08:41.821Z] -- Looking for sys/socket.h - found [2025-03-07T02:08:41.821Z] -- Looking for sys/stat.h [2025-03-07T02:08:42.082Z] -- Looking for sys/stat.h - found [2025-03-07T02:08:42.082Z] -- Looking for sys/types.h [2025-03-07T02:08:42.082Z] -- Looking for sys/types.h - found [2025-03-07T02:08:42.082Z] -- Looking for sys/time.h [2025-03-07T02:08:42.082Z] -- Looking for sys/time.h - found [2025-03-07T02:08:42.082Z] -- Looking for unistd.h [2025-03-07T02:08:42.342Z] -- Looking for unistd.h - found [2025-03-07T02:08:42.342Z] -- Looking for float.h [2025-03-07T02:08:42.342Z] -- Looking for float.h - found [2025-03-07T02:08:42.342Z] -- Looking for dlfcn.h [2025-03-07T02:08:42.342Z] -- Looking for dlfcn.h - found [2025-03-07T02:08:42.342Z] -- Looking for memset [2025-03-07T02:08:42.603Z] -- Looking for memset - found [2025-03-07T02:08:42.603Z] -- Looking for select [2025-03-07T02:08:42.603Z] -- Looking for select - found [2025-03-07T02:08:42.603Z] -- Looking for socket [2025-03-07T02:08:42.603Z] -- Looking for socket - found [2025-03-07T02:08:42.603Z] -- Looking for strdup [2025-03-07T02:08:42.861Z] -- Looking for strdup - found [2025-03-07T02:08:42.861Z] -- Looking for strerror [2025-03-07T02:08:42.861Z] -- Looking for strerror - found [2025-03-07T02:08:42.861Z] -- Looking for strnlen [2025-03-07T02:08:42.861Z] -- Looking for strnlen - found [2025-03-07T02:08:42.861Z] -- Looking for fls [2025-03-07T02:08:43.121Z] -- Looking for fls - not found [2025-03-07T02:08:43.121Z] -- Looking for vprintf [2025-03-07T02:08:43.121Z] -- Looking for vprintf - found [2025-03-07T02:08:43.121Z] -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN [2025-03-07T02:08:43.121Z] -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed [2025-03-07T02:08:43.121Z] -- Configuring done (2.9s) [2025-03-07T02:08:43.121Z] -- Generating done (0.0s) [2025-03-07T02:08:43.121Z] -- Build files have been written to: /device-coap/deps/tinydtls/build [2025-03-07T02:08:43.121Z] + make [2025-03-07T02:08:43.380Z] [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o [2025-03-07T02:08:43.380Z] [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o [2025-03-07T02:08:43.380Z] [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o [2025-03-07T02:08:43.640Z] [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o [2025-03-07T02:08:43.900Z] In file included from /device-coap/deps/tinydtls/crypto.c:34: [2025-03-07T02:08:43.900Z] In function 'ecc_ecdh', [2025-03-07T02:08:43.900Z] inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: [2025-03-07T02:08:43.900Z] /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:08:43.900Z] 50 | ecc_ec_mult(px, py, secret, resultx, resulty); [2025-03-07T02:08:43.900Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:43.900Z] /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': [2025-03-07T02:08:43.900Z] /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 1 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here [2025-03-07T02:08:43.900Z] 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); [2025-03-07T02:08:43.900Z] | ^~~~~~~~~~~ [2025-03-07T02:08:43.900Z] /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here [2025-03-07T02:08:43.900Z] 431 | uint32_t pub_x[8]; [2025-03-07T02:08:43.900Z] | ^~~~~ [2025-03-07T02:08:43.900Z] In function 'ecc_ecdh', [2025-03-07T02:08:43.900Z] inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: [2025-03-07T02:08:43.900Z] /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:08:43.900Z] 50 | ecc_ec_mult(px, py, secret, resultx, resulty); [2025-03-07T02:08:43.901Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:43.901Z] /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': [2025-03-07T02:08:43.901Z] /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 2 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here [2025-03-07T02:08:43.901Z] 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); [2025-03-07T02:08:43.901Z] | ^~~~~~~~~~~ [2025-03-07T02:08:43.901Z] /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here [2025-03-07T02:08:43.901Z] 432 | uint32_t pub_y[8]; [2025-03-07T02:08:43.901Z] | ^~~~~ [2025-03-07T02:08:43.901Z] In function 'ecc_ecdh', [2025-03-07T02:08:43.901Z] inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: [2025-03-07T02:08:43.901Z] /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:08:43.901Z] 50 | ecc_ec_mult(px, py, secret, resultx, resulty); [2025-03-07T02:08:43.901Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:43.901Z] /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': [2025-03-07T02:08:43.901Z] /device-coap/deps/tinydtls/ecc/ecc.h:47:6: note: by argument 3 of type 'const uint32_t *' {aka 'const unsigned int *'} to 'ecc_ec_mult' declared here [2025-03-07T02:08:43.901Z] 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); [2025-03-07T02:08:43.901Z] | ^~~~~~~~~~~ [2025-03-07T02:08:43.901Z] /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here [2025-03-07T02:08:43.901Z] 430 | uint32_t priv[8]; [2025-03-07T02:08:43.901Z] | ^~~~ [2025-03-07T02:08:43.901Z] [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o [2025-03-07T02:08:44.839Z] [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o [2025-03-07T02:08:45.098Z] [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o [2025-03-07T02:08:45.098Z] [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o [2025-03-07T02:08:45.098Z] [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o [2025-03-07T02:08:45.098Z] /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': [2025-03-07T02:08:45.098Z] /device-coap/deps/tinydtls/ecc/ecc.c:316:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [2025-03-07T02:08:45.098Z] 316 | for (idx = 0; idx < count; idx++) { [2025-03-07T02:08:45.098Z] | ^ [2025-03-07T02:08:45.098Z] /device-coap/deps/tinydtls/ecc/ecc.c:319:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [2025-03-07T02:08:45.098Z] 319 | return result == count; [2025-03-07T02:08:45.098Z] | ^~ [2025-03-07T02:08:45.665Z] [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o [2025-03-07T02:08:45.924Z] [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o [2025-03-07T02:08:45.924Z] [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o [2025-03-07T02:08:45.924Z] [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o [2025-03-07T02:08:45.924Z] [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o [2025-03-07T02:08:45.924Z] /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] [2025-03-07T02:08:45.924Z] 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { [2025-03-07T02:08:45.924Z] | ~~~~~~~~~~^~~~~~~~ [2025-03-07T02:08:45.924Z] In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: [2025-03-07T02:08:45.924Z] /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} [2025-03-07T02:08:45.924Z] 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); [2025-03-07T02:08:45.924Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:45.924Z] /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] [2025-03-07T02:08:45.924Z] 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { [2025-03-07T02:08:45.924Z] | ~~~~~^~~~~~~~ [2025-03-07T02:08:45.924Z] /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' [2025-03-07T02:08:45.924Z] 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); [2025-03-07T02:08:45.924Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:08:46.184Z] [100%] Linking C shared library libtinydtls.so [2025-03-07T02:08:46.184Z] [100%] Built target tinydtls [2025-03-07T02:08:46.184Z] + make install [2025-03-07T02:08:46.184Z] [100%] Built target tinydtls [2025-03-07T02:08:46.184Z] Install the project... [2025-03-07T02:08:46.184Z] -- Install configuration: "Release" [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/lib/libtinydtls.so [2025-03-07T02:08:46.184Z] -- Up-to-date: /usr/local/include/tinydtls [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/uthash.h [2025-03-07T02:08:46.184Z] -- Up-to-date: /usr/local/include/tinydtls/sha2 [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/sha2/sha2.h [2025-03-07T02:08:46.184Z] -- Up-to-date: /usr/local/include/tinydtls/ecc [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/ecc/ecc.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/tinydtls.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/alert.h [2025-03-07T02:08:46.184Z] -- Up-to-date: /usr/local/include/tinydtls/aes [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/aes/rijndael.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/crypto.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/numeric.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/peer.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/utlist.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/dtls_mutex.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/dtls_time.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/netq.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/dtls.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/global.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/state.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/dtls_debug.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/session.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/dtls_prng.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/hmac.h [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/ccm.h [2025-03-07T02:08:46.184Z] -- Up-to-date: /usr/local/include/tinydtls [2025-03-07T02:08:46.184Z] -- Installing: /usr/local/include/tinydtls/dtls_config.h [2025-03-07T02:08:46.184Z] + cd /device-coap/deps [2025-03-07T02:08:46.184Z] + git clone https://github.com/obgm/libcoap.git [2025-03-07T02:08:46.184Z] Cloning into 'libcoap'... [2025-03-07T02:08:48.091Z] + cd libcoap [2025-03-07T02:08:48.091Z] + git reset --hard 1739507 [2025-03-07T02:08:48.091Z] HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp [2025-03-07T02:08:48.091Z] + patch -p1 [2025-03-07T02:08:48.091Z] patching file cmake/FindTinyDTLS.cmake [2025-03-07T02:08:48.091Z] + patch -p1 [2025-03-07T02:08:48.091Z] patching file include/coap2/coap_config.h.in [2025-03-07T02:08:48.092Z] + mkdir -p build [2025-03-07T02:08:48.092Z] + cd build [2025-03-07T02:08:48.092Z] + cmake '-DWITH_EPOLL=OFF' '-DDTLS_BACKEND=tinydtls' '-DUSE_VENDORED_TINYDTLS=OFF' '-DENABLE_TESTS=OFF' '-DENABLE_EXAMPLES=OFF' '-DENABLE_DOCS=OFF' '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. [2025-03-07T02:08:48.092Z] -- The CXX compiler identification is GNU 12.2.1 [2025-03-07T02:08:48.092Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:48.092Z] -- Detecting CXX compiler ABI info [2025-03-07T02:08:48.092Z] -- Detecting CXX compiler ABI info - done [2025-03-07T02:08:48.092Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2025-03-07T02:08:48.092Z] -- Detecting CXX compile features [2025-03-07T02:08:48.092Z] -- Detecting CXX compile features - done [2025-03-07T02:08:48.092Z] -- Detecting C compiler ABI info [2025-03-07T02:08:48.351Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:48.351Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:48.351Z] -- Detecting C compile features [2025-03-07T02:08:48.351Z] -- Detecting C compile features - done [2025-03-07T02:08:48.351Z] -- Looking for byteswap.h [2025-03-07T02:08:48.351Z] -- Looking for byteswap.h - found [2025-03-07T02:08:48.351Z] -- Looking for inttypes.h [2025-03-07T02:08:48.610Z] -- Looking for inttypes.h - found [2025-03-07T02:08:48.610Z] -- Looking for limits.h [2025-03-07T02:08:48.610Z] -- Looking for limits.h - found [2025-03-07T02:08:48.610Z] -- Looking for memory.h [2025-03-07T02:08:48.610Z] -- Looking for memory.h - found [2025-03-07T02:08:48.610Z] -- Looking for strings.h [2025-03-07T02:08:48.869Z] -- Looking for strings.h - found [2025-03-07T02:08:48.869Z] -- Looking for string.h [2025-03-07T02:08:48.869Z] -- Looking for string.h - found [2025-03-07T02:08:48.869Z] -- Looking for sys/sysctl.h [2025-03-07T02:08:48.869Z] -- Looking for sys/sysctl.h - not found [2025-03-07T02:08:48.869Z] -- Looking for netinet/in.h [2025-03-07T02:08:49.130Z] -- Looking for netinet/in.h - found [2025-03-07T02:08:49.130Z] -- Looking for sys/epoll.h [2025-03-07T02:08:49.130Z] -- Looking for sys/epoll.h - found [2025-03-07T02:08:49.130Z] -- Looking for sys/timerfd.h [2025-03-07T02:08:49.130Z] -- Looking for sys/timerfd.h - found [2025-03-07T02:08:49.130Z] -- Looking for arpa/inet.h [2025-03-07T02:08:49.391Z] -- Looking for arpa/inet.h - found [2025-03-07T02:08:49.391Z] -- Looking for stdbool.h [2025-03-07T02:08:49.391Z] -- Looking for stdbool.h - found [2025-03-07T02:08:49.391Z] -- Looking for netdb.h [2025-03-07T02:08:49.391Z] -- Looking for netdb.h - found [2025-03-07T02:08:49.391Z] -- Looking for pthread.h [2025-03-07T02:08:49.651Z] -- Looking for pthread.h - found [2025-03-07T02:08:49.651Z] -- Looking for stdlib.h [2025-03-07T02:08:49.651Z] -- Looking for stdlib.h - found [2025-03-07T02:08:49.651Z] -- Looking for stdint.h [2025-03-07T02:08:49.651Z] -- Looking for stdint.h - found [2025-03-07T02:08:49.651Z] -- Looking for syslog.h [2025-03-07T02:08:49.910Z] -- Looking for syslog.h - found [2025-03-07T02:08:49.910Z] -- Looking for sys/ioctl.h [2025-03-07T02:08:49.910Z] -- Looking for sys/ioctl.h - found [2025-03-07T02:08:49.910Z] -- Looking for sys/socket.h [2025-03-07T02:08:50.169Z] -- Looking for sys/socket.h - found [2025-03-07T02:08:50.169Z] -- Looking for sys/stat.h [2025-03-07T02:08:50.169Z] -- Looking for sys/stat.h - found [2025-03-07T02:08:50.169Z] -- Looking for sys/time.h [2025-03-07T02:08:50.169Z] -- Looking for sys/time.h - found [2025-03-07T02:08:50.169Z] -- Looking for sys/types.h [2025-03-07T02:08:50.169Z] -- Looking for sys/types.h - found [2025-03-07T02:08:50.169Z] -- Looking for sys/unistd.h [2025-03-07T02:08:50.428Z] -- Looking for sys/unistd.h - not found [2025-03-07T02:08:50.428Z] -- Looking for time.h [2025-03-07T02:08:50.428Z] -- Looking for time.h - found [2025-03-07T02:08:50.428Z] -- Looking for unistd.h [2025-03-07T02:08:50.428Z] -- Looking for unistd.h - found [2025-03-07T02:08:50.428Z] -- Looking for float.h [2025-03-07T02:08:50.703Z] -- Looking for float.h - found [2025-03-07T02:08:50.703Z] -- Looking for stddef.h [2025-03-07T02:08:50.703Z] -- Looking for stddef.h - found [2025-03-07T02:08:50.703Z] -- Looking for winsock2.h [2025-03-07T02:08:50.703Z] -- Looking for winsock2.h - not found [2025-03-07T02:08:50.703Z] -- Looking for ws2tcpip.h [2025-03-07T02:08:50.703Z] -- Looking for ws2tcpip.h - not found [2025-03-07T02:08:50.703Z] -- Looking for malloc [2025-03-07T02:08:50.962Z] -- Looking for malloc - found [2025-03-07T02:08:50.962Z] -- Looking for memset [2025-03-07T02:08:50.962Z] -- Looking for memset - found [2025-03-07T02:08:50.962Z] -- Looking for select [2025-03-07T02:08:50.962Z] -- Looking for select - found [2025-03-07T02:08:50.962Z] -- Looking for socket [2025-03-07T02:08:51.221Z] -- Looking for socket - found [2025-03-07T02:08:51.221Z] -- Looking for strcasecmp [2025-03-07T02:08:51.221Z] -- Looking for strcasecmp - found [2025-03-07T02:08:51.221Z] -- Looking for pthread_mutex_lock [2025-03-07T02:08:51.221Z] -- Looking for pthread_mutex_lock - found [2025-03-07T02:08:51.221Z] -- Looking for getaddrinfo [2025-03-07T02:08:51.480Z] -- Looking for getaddrinfo - found [2025-03-07T02:08:51.480Z] -- Looking for strnlen [2025-03-07T02:08:51.480Z] -- Looking for strnlen - found [2025-03-07T02:08:51.480Z] -- Looking for strrchr [2025-03-07T02:08:51.741Z] -- Looking for strrchr - found [2025-03-07T02:08:51.741Z] -- Looking for getrandom [2025-03-07T02:08:51.741Z] -- Looking for getrandom - found [2025-03-07T02:08:51.741Z] -- Looking for cmsghdr [2025-03-07T02:08:51.741Z] -- Looking for cmsghdr - not found [2025-03-07T02:08:51.741Z] -- compiling without epoll support [2025-03-07T02:08:51.741Z] -- compiling with DTLS support [2025-03-07T02:08:51.741Z] -- DTLS_BACKEND: tinydtls [2025-03-07T02:08:51.741Z] -- Found TinyDTLS: /usr/local/include [2025-03-07T02:08:51.741Z] -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls [2025-03-07T02:08:51.741Z] -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so [2025-03-07T02:08:51.741Z] -- TINYDTLS_ROOT_DIR: [2025-03-07T02:08:51.741Z] -- compiling with tinydtls support [2025-03-07T02:08:51.741Z] -- ENABLE_DTLS:.....................ON [2025-03-07T02:08:51.741Z] -- ENABLE_TCP:......................ON [2025-03-07T02:08:51.741Z] -- ENABLE_DOCS:.....................OFF [2025-03-07T02:08:51.741Z] -- ENABLE_EXAMPLES:.................OFF [2025-03-07T02:08:51.741Z] -- DTLS_BACKEND:....................tinydtls [2025-03-07T02:08:51.741Z] -- WITH_GNUTLS:.....................OFF [2025-03-07T02:08:51.741Z] -- WITH_TINYDTLS:...................ON [2025-03-07T02:08:51.741Z] -- WITH_OPENSSL:....................OFF [2025-03-07T02:08:51.741Z] -- WITH_MBEDTLS:....................OFF [2025-03-07T02:08:51.741Z] -- HAVE_LIBTINYDTLS:................1 [2025-03-07T02:08:51.741Z] -- HAVE_LIBGNUTLS:.................. [2025-03-07T02:08:51.741Z] -- HAVE_OPENSSL:.................... [2025-03-07T02:08:51.741Z] -- HAVE_MBEDTLS:.................... [2025-03-07T02:08:51.741Z] -- COAP_EPOLL_SUPPORT:.............. [2025-03-07T02:08:51.741Z] -- CMAKE_C_COMPILER:................/usr/bin/cc [2025-03-07T02:08:51.741Z] -- BUILD_SHARED_LIBS:...............ON [2025-03-07T02:08:51.741Z] -- CMAKE_BUILD_TYPE:................Release [2025-03-07T02:08:51.741Z] -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 [2025-03-07T02:08:51.741Z] -- Configuring done (3.8s) [2025-03-07T02:08:51.741Z] CMake Warning (dev) at CMakeLists.txt:16 (add_library): [2025-03-07T02:08:51.741Z] Policy CMP0115 is not set: Source file extensions must be explicit. Run [2025-03-07T02:08:51.741Z] "cmake --help-policy CMP0115" for policy details. Use the cmake_policy [2025-03-07T02:08:51.741Z] command to set the policy and suppress this warning. [2025-03-07T02:08:51.741Z] [2025-03-07T02:08:51.741Z] File: [2025-03-07T02:08:51.741Z] [2025-03-07T02:08:51.741Z] /device-coap/deps/libcoap/include/coap2/coap.h.in [2025-03-07T02:08:51.741Z] This warning is for project developers. Use -Wno-dev to suppress it. [2025-03-07T02:08:51.741Z] [2025-03-07T02:08:51.741Z] -- Generating done (0.0s) [2025-03-07T02:08:51.741Z] -- Build files have been written to: /device-coap/deps/libcoap/build [2025-03-07T02:08:51.741Z] + make [2025-03-07T02:08:51.741Z] [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o [2025-03-07T02:08:52.003Z] [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o [2025-03-07T02:08:52.003Z] [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o [2025-03-07T02:08:52.003Z] [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o [2025-03-07T02:08:52.265Z] [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o [2025-03-07T02:08:52.265Z] [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o [2025-03-07T02:08:52.525Z] [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o [2025-03-07T02:08:52.788Z] [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o [2025-03-07T02:08:52.788Z] [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o [2025-03-07T02:08:52.788Z] [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o [2025-03-07T02:08:53.359Z] [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o [2025-03-07T02:08:53.359Z] [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o [2025-03-07T02:08:53.623Z] [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o [2025-03-07T02:08:53.623Z] [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o [2025-03-07T02:08:53.623Z] [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o [2025-03-07T02:08:54.191Z] [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o [2025-03-07T02:08:54.450Z] [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o [2025-03-07T02:08:54.710Z] [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o [2025-03-07T02:08:54.969Z] [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o [2025-03-07T02:08:54.969Z] [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o [2025-03-07T02:08:55.230Z] [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o [2025-03-07T02:08:55.230Z] [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o [2025-03-07T02:08:55.490Z] [100%] Linking C shared library libcoap-2.so [2025-03-07T02:08:55.490Z] [100%] Built target coap-2 [2025-03-07T02:08:55.490Z] + make install [2025-03-07T02:08:55.490Z] [100%] Built target coap-2 [2025-03-07T02:08:55.750Z] Install the project... [2025-03-07T02:08:55.750Z] -- Install configuration: "Release" [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/lib/libcoap-2.so [2025-03-07T02:08:55.750Z] -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake [2025-03-07T02:08:55.750Z] -- Up-to-date: /usr/local/include [2025-03-07T02:08:55.750Z] -- Up-to-date: /usr/local/include/coap2 [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/uthash.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/subscribe.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/option.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/resource.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/bits.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_hashkey.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/block.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_io.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/pdu.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/str.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/async.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/net.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/address.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/uri.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_event.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_riot.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_dtls.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_mutex.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_prng.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/lwippools.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_debug.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/utlist.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_time.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/encode.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/libcoap.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_forward_decls.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/mem.h [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap_session.h [2025-03-07T02:08:55.750Z] -- Up-to-date: /usr/local/include [2025-03-07T02:08:55.750Z] -- Up-to-date: /usr/local/include/coap2 [2025-03-07T02:08:55.750Z] -- Installing: /usr/local/include/coap2/coap.h [2025-03-07T02:08:55.750Z] + '[' 1 '=' 1 ] [2025-03-07T02:08:55.750Z] + cd /device-coap/deps [2025-03-07T02:08:55.750Z] + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip [2025-03-07T02:08:55.750Z] Connecting to github.com (140.82.114.4:443) [2025-03-07T02:08:55.750Z] Connecting to codeload.github.com (140.82.112.9:443) [2025-03-07T02:08:56.010Z] saving to 'v4.0.0.zip' [2025-03-07T02:08:56.010Z] v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA [2025-03-07T02:08:56.010Z] 'v4.0.0.zip' saved [2025-03-07T02:08:56.010Z] + unzip v4.0.0.zip [2025-03-07T02:08:56.010Z] Archive: v4.0.0.zip [2025-03-07T02:08:56.010Z] creating: device-sdk-c-4.0.0/ [2025-03-07T02:08:56.010Z] creating: device-sdk-c-4.0.0/.github/ [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/.github/Contributing.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/.github/semantic.yml [2025-03-07T02:08:56.010Z] creating: device-sdk-c-4.0.0/.github/workflows/ [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/.github/workflows/release.yml [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/.gitignore [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/Attribution.txt [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/CHANGELOG.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/Doxyfile [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/GOVERNANCE.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/Jenkinsfile [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/LICENSE [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/Makefile [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/OWNERS.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/README.IOT.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/README.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/README.v3.md [2025-03-07T02:08:56.010Z] creating: device-sdk-c-4.0.0/docs/ [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/docs/configuration.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/docs/metrics.md [2025-03-07T02:08:56.010Z] inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/docs/startup.md [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/include/ [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/include/devsdk/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/include/edgex/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/include/edgex/devices.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/include/edgex/edgex.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/include/edgex/profiles.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/scripts/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/scripts/build.sh [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/CMakeLists.txt [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/api.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/autoevent.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/autoevent.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/bus-impl.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/bus.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/bus.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/callback3.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/callback3.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/config.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/config.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/correlation.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/correlation.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/data.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/data.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/defs.h.in [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/device.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/device.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/devman.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/devmap.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/devmap.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/devutil.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/discovery.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/discovery.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/dto-read.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/dto-read.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/edgex2.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/errorlist.h [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/README.md [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/file/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/file/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/random/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/random/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/template.c [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/filesys.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/filesys.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/keeper.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/keeper.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/map.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/map.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/metadata.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/metadata.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/metrics.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/opstate.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/opstate.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/parson.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/parson.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/profiles.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/profiles.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/registry-impl.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/registry.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/registry.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/reqdata.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/reqdata.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/request_auth.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/request_auth.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/rest-server.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/rest-server.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/rest.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/rest.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/secrets.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/secrets.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/service.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/service.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/transform.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/transform.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/validate.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/validate.h [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/watchers.c [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/c/watchers.h [2025-03-07T02:08:56.011Z] creating: device-sdk-c-4.0.0/src/cmake/ [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake [2025-03-07T02:08:56.011Z] inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake [2025-03-07T02:08:56.011Z] + cd device-sdk-c-4.0.0 [2025-03-07T02:08:56.011Z] + ./scripts/build.sh [2025-03-07T02:08:56.011Z] + CPPCHECK=false [2025-03-07T02:08:56.011Z] + DOCGEN=false [2025-03-07T02:08:56.011Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2025-03-07T02:08:56.011Z] + '[' 0 -gt 0 ] [2025-03-07T02:08:56.011Z] + readlink -f ./scripts/build.sh [2025-03-07T02:08:56.011Z] + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh [2025-03-07T02:08:56.011Z] + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts [2025-03-07T02:08:56.011Z] + ROOT=/device-coap/deps/device-sdk-c-4.0.0 [2025-03-07T02:08:56.011Z] + cd /device-coap/deps/device-sdk-c-4.0.0 [2025-03-07T02:08:56.011Z] + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release [2025-03-07T02:08:56.011Z] + cd /device-coap/deps/device-sdk-c-4.0.0/build/release [2025-03-07T02:08:56.011Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src [2025-03-07T02:08:56.011Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:08:56.011Z] -- Detecting C compiler ABI info [2025-03-07T02:08:56.269Z] -- Detecting C compiler ABI info - done [2025-03-07T02:08:56.269Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:08:56.269Z] -- Detecting C compile features [2025-03-07T02:08:56.269Z] -- Detecting C compile features - done [2025-03-07T02:08:56.269Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-03-07T02:08:56.269Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") [2025-03-07T02:08:56.269Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-03-07T02:08:56.269Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-03-07T02:08:56.269Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-03-07T02:08:56.269Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-03-07T02:08:56.269Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-03-07T02:08:56.269Z] -- /opt/iotech/iot/1.5/include [2025-03-07T02:08:56.269Z] -- C SDK 0.0.0 for Linux [2025-03-07T02:08:56.269Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-03-07T02:08:56.269Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-03-07T02:08:56.529Z] -- Found Curses: /usr/lib/libcurses.so [2025-03-07T02:08:56.529Z] -- Configuring done (0.5s) [2025-03-07T02:08:56.529Z] -- Generating done (0.0s) [2025-03-07T02:08:56.529Z] -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release [2025-03-07T02:08:56.529Z] + make all package [2025-03-07T02:08:56.529Z] + tee release.log [2025-03-07T02:08:56.529Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-03-07T02:08:56.529Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-03-07T02:08:56.788Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-03-07T02:08:56.788Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-03-07T02:08:57.047Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-03-07T02:08:57.305Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-03-07T02:08:57.305Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-03-07T02:08:57.566Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-03-07T02:08:57.825Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-03-07T02:08:57.826Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-03-07T02:08:58.085Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-03-07T02:08:58.085Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-03-07T02:08:58.085Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-03-07T02:08:58.344Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-03-07T02:08:58.344Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-03-07T02:08:58.602Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-03-07T02:08:58.863Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-03-07T02:08:59.123Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-03-07T02:08:59.123Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-03-07T02:08:59.383Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-03-07T02:08:59.383Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-03-07T02:09:00.319Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-03-07T02:09:00.578Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-03-07T02:09:00.578Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-03-07T02:09:00.578Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-03-07T02:09:00.837Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-03-07T02:09:01.097Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-03-07T02:09:01.356Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-03-07T02:09:01.356Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-03-07T02:09:01.356Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-03-07T02:09:01.614Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-03-07T02:09:01.874Z] /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': [2025-03-07T02:09:01.874Z] /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2025-03-07T02:09:01.874Z] 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2025-03-07T02:09:01.874Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:01.874Z] /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here [2025-03-07T02:09:01.874Z] 875 | const iot_data_t *deviceservices_config; [2025-03-07T02:09:01.874Z] | ^~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:01.874Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-03-07T02:09:02.134Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-03-07T02:09:02.134Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-03-07T02:09:02.134Z] [ 68%] Linking C shared library libcsdk.so [2025-03-07T02:09:02.393Z] [ 68%] Built target csdk [2025-03-07T02:09:02.393Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-03-07T02:09:02.393Z] [ 72%] Linking C executable template [2025-03-07T02:09:02.393Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:02.652Z] [ 72%] Built target template [2025-03-07T02:09:02.652Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-03-07T02:09:02.652Z] [ 76%] Linking C executable device-counter [2025-03-07T02:09:02.652Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:02.652Z] [ 76%] Built target device-counter [2025-03-07T02:09:02.652Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-03-07T02:09:02.911Z] [ 80%] Linking C executable device-random [2025-03-07T02:09:02.911Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:02.911Z] [ 80%] Built target device-random [2025-03-07T02:09:02.911Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-03-07T02:09:02.911Z] [ 84%] Linking C executable device-gyro [2025-03-07T02:09:02.911Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:03.172Z] [ 84%] Built target device-gyro [2025-03-07T02:09:03.172Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-03-07T02:09:03.172Z] [ 88%] Linking C executable device-bitfields [2025-03-07T02:09:03.172Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:03.172Z] [ 88%] Built target device-bitfields [2025-03-07T02:09:03.172Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-03-07T02:09:03.430Z] [ 92%] Linking C executable template-discovery [2025-03-07T02:09:03.430Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:03.430Z] [ 92%] Built target template-discovery [2025-03-07T02:09:03.430Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-03-07T02:09:03.697Z] [ 96%] Linking C executable device-file [2025-03-07T02:09:03.697Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:03.697Z] [ 96%] Built target device-file [2025-03-07T02:09:03.697Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-03-07T02:09:03.697Z] [100%] Linking C executable device-terminal [2025-03-07T02:09:03.697Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:03.956Z] [100%] Built target device-terminal [2025-03-07T02:09:03.956Z] Run CPack packaging tool... [2025-03-07T02:09:03.956Z] CPack: Create package using TGZ [2025-03-07T02:09:03.956Z] CPack: Install projects [2025-03-07T02:09:03.956Z] CPack: - Run preinstall target for: Csdk [2025-03-07T02:09:04.216Z] CPack: - Install project: Csdk [] [2025-03-07T02:09:04.216Z] CPack: Create package [2025-03-07T02:09:04.216Z] CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. [2025-03-07T02:09:04.216Z] + '[' false '=' true ] [2025-03-07T02:09:04.216Z] + '[' false '=' true ] [2025-03-07T02:09:04.216Z] + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug [2025-03-07T02:09:04.216Z] + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug [2025-03-07T02:09:04.216Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src [2025-03-07T02:09:04.216Z] -- The C compiler identification is GNU 12.2.1 [2025-03-07T02:09:04.216Z] -- Detecting C compiler ABI info [2025-03-07T02:09:04.475Z] -- Detecting C compiler ABI info - done [2025-03-07T02:09:04.475Z] -- Check for working C compiler: /usr/bin/cc - skipped [2025-03-07T02:09:04.475Z] -- Detecting C compile features [2025-03-07T02:09:04.475Z] -- Detecting C compile features - done [2025-03-07T02:09:04.475Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2025-03-07T02:09:04.475Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") [2025-03-07T02:09:04.475Z] -- Found LIBYAML: /usr/lib/libyaml.so [2025-03-07T02:09:04.475Z] -- Found LIBUUID: /usr/lib/libuuid.so [2025-03-07T02:09:04.475Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2025-03-07T02:09:04.475Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2025-03-07T02:09:04.475Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2025-03-07T02:09:04.475Z] -- /opt/iotech/iot/1.5/include [2025-03-07T02:09:04.475Z] -- C SDK 0.0.0 for Linux [2025-03-07T02:09:04.475Z] -- Performing Test CSDK_HAVE_ATOMIC [2025-03-07T02:09:04.475Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2025-03-07T02:09:04.741Z] -- Found Curses: /usr/lib/libcurses.so [2025-03-07T02:09:04.741Z] -- Configuring done (0.5s) [2025-03-07T02:09:04.741Z] -- Generating done (0.0s) [2025-03-07T02:09:04.741Z] -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug [2025-03-07T02:09:04.741Z] + + teemake [2025-03-07T02:09:04.741Z] debug.log [2025-03-07T02:09:04.741Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2025-03-07T02:09:04.741Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2025-03-07T02:09:05.006Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2025-03-07T02:09:05.006Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2025-03-07T02:09:05.006Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2025-03-07T02:09:05.266Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2025-03-07T02:09:05.266Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2025-03-07T02:09:05.266Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2025-03-07T02:09:05.524Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2025-03-07T02:09:05.524Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2025-03-07T02:09:05.524Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2025-03-07T02:09:05.524Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2025-03-07T02:09:05.784Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2025-03-07T02:09:05.784Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2025-03-07T02:09:05.784Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2025-03-07T02:09:06.044Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2025-03-07T02:09:06.044Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2025-03-07T02:09:06.044Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2025-03-07T02:09:06.044Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2025-03-07T02:09:06.304Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2025-03-07T02:09:06.304Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2025-03-07T02:09:06.565Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2025-03-07T02:09:06.565Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2025-03-07T02:09:06.565Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2025-03-07T02:09:06.824Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2025-03-07T02:09:06.824Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2025-03-07T02:09:06.824Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2025-03-07T02:09:07.082Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2025-03-07T02:09:07.082Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2025-03-07T02:09:07.082Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2025-03-07T02:09:07.341Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2025-03-07T02:09:07.341Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2025-03-07T02:09:07.601Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2025-03-07T02:09:07.601Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2025-03-07T02:09:07.601Z] [ 68%] Linking C shared library libcsdk.so [2025-03-07T02:09:07.601Z] [ 68%] Built target csdk [2025-03-07T02:09:07.601Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2025-03-07T02:09:07.861Z] [ 72%] Linking C executable template [2025-03-07T02:09:07.861Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:07.861Z] [ 72%] Built target template [2025-03-07T02:09:07.861Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2025-03-07T02:09:07.861Z] [ 76%] Linking C executable device-counter [2025-03-07T02:09:07.861Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:07.861Z] [ 76%] Built target device-counter [2025-03-07T02:09:07.861Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2025-03-07T02:09:08.119Z] [ 80%] Linking C executable device-random [2025-03-07T02:09:08.120Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:08.120Z] [ 80%] Built target device-random [2025-03-07T02:09:08.120Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2025-03-07T02:09:08.120Z] [ 84%] Linking C executable device-gyro [2025-03-07T02:09:08.120Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:08.120Z] [ 84%] Built target device-gyro [2025-03-07T02:09:08.807Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2025-03-07T02:09:08.807Z] [ 88%] Linking C executable device-bitfields [2025-03-07T02:09:08.807Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:08.807Z] [ 88%] Built target device-bitfields [2025-03-07T02:09:08.807Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2025-03-07T02:09:08.807Z] [ 92%] Linking C executable template-discovery [2025-03-07T02:09:08.807Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:08.807Z] [ 92%] Built target template-discovery [2025-03-07T02:09:08.807Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2025-03-07T02:09:08.807Z] [ 96%] Linking C executable device-file [2025-03-07T02:09:08.807Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:08.807Z] [ 96%] Built target device-file [2025-03-07T02:09:08.807Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2025-03-07T02:09:08.807Z] [100%] Linking C executable device-terminal [2025-03-07T02:09:08.807Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:08.807Z] [100%] Built target device-terminal [2025-03-07T02:09:08.807Z] + cp -rf include/devsdk include/edgex /usr/include/ [2025-03-07T02:09:08.807Z] + cp build/release/c/libcsdk.so /usr/lib/ [2025-03-07T02:09:08.807Z] + rm -rf /device-coap/deps [2025-03-07T02:09:09.383Z] Removing intermediate container 92213dd2b174 [2025-03-07T02:09:09.383Z] ---> c97b1569cb26 [2025-03-07T02:09:09.383Z] Step 13/33 : RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap [2025-03-07T02:09:09.383Z] ---> Running in e53ba4754e26 [2025-03-07T02:09:09.642Z] + readlink -f /device-coap/scripts/build.sh [2025-03-07T02:09:09.642Z] + dirname /device-coap/scripts/build.sh [2025-03-07T02:09:09.642Z] + dirname /device-coap/scripts [2025-03-07T02:09:09.642Z] + ROOT=/device-coap [2025-03-07T02:09:09.642Z] + echo /device-coap [2025-03-07T02:09:09.642Z] + cd /device-coap [2025-03-07T02:09:09.642Z] + mkdir -p /device-coap/build/release [2025-03-07T02:09:09.642Z] /device-coap [2025-03-07T02:09:09.642Z] + cd /device-coap/build/release [2025-03-07T02:09:09.642Z] + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c [2025-03-07T02:09:09.642Z] -- Configuring done (0.0s) [2025-03-07T02:09:09.642Z] -- Generating done (0.0s) [2025-03-07T02:09:09.642Z] -- Build files have been written to: /device-coap/build/release [2025-03-07T02:09:09.642Z] + make [2025-03-07T02:09:09.642Z] + tee release.log [2025-03-07T02:09:09.642Z] [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o [2025-03-07T02:09:09.642Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:09:09.642Z] from /device-coap/src/c/device-coap.h:17, [2025-03-07T02:09:09.642Z] from /device-coap/src/c/coap-client.h:21, [2025-03-07T02:09:09.642Z] from /device-coap/src/c/coap-client.c:9: [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:89:36: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 90 | strlen(end_dev_params_ptr->psk_key)); [2025-03-07T02:09:09.642Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:89:55: note: format string is defined here [2025-03-07T02:09:09.642Z] 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | unsigned int [2025-03-07T02:09:09.642Z] | %lu [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c: In function 'message_handler': [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:126:36: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:126:63: note: format string is defined here [2025-03-07T02:09:09.642Z] 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | unsigned int [2025-03-07T02:09:09.642Z] | %lu [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:129:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:09:09.642Z] 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 130 | resource->properties->type); [2025-03-07T02:09:09.642Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | iot_typecode_t [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:129:68: note: format string is defined here [2025-03-07T02:09:09.642Z] 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | int [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:139:38: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 140 | len); [2025-03-07T02:09:09.642Z] | ~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:139:71: note: format string is defined here [2025-03-07T02:09:09.642Z] 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | int [2025-03-07T02:09:09.642Z] | %ld [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:144:38: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 145 | len); [2025-03-07T02:09:09.642Z] | ~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:144:71: note: format string is defined here [2025-03-07T02:09:09.642Z] 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | int [2025-03-07T02:09:09.642Z] | %ld [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:151:38: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 152 | len); [2025-03-07T02:09:09.642Z] | ~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:151:70: note: format string is defined here [2025-03-07T02:09:09.642Z] 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | int [2025-03-07T02:09:09.642Z] | %ld [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:156:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:09:09.642Z] 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 157 | resource->properties->type); [2025-03-07T02:09:09.642Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | iot_typecode_t [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:156:71: note: format string is defined here [2025-03-07T02:09:09.642Z] 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | int [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:244:30: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:244:55: note: format string is defined here [2025-03-07T02:09:09.642Z] 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | int [2025-03-07T02:09:09.642Z] | %ld [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:252:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 253 | (uint8_t *)end_dev_params_ptr->psk_key, [2025-03-07T02:09:09.642Z] 254 | strlen(end_dev_params_ptr->psk_key)); [2025-03-07T02:09:09.642Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:252:67: note: format string is defined here [2025-03-07T02:09:09.642Z] 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:09:09.642Z] | ~^ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | int [2025-03-07T02:09:09.642Z] | %ld [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:351:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.642Z] 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:09:09.642Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] 352 | (uint8_t *)end_dev_params_ptr->psk_key, [2025-03-07T02:09:09.642Z] 353 | strlen(end_dev_params_ptr->psk_key)); [2025-03-07T02:09:09.642Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.642Z] | | [2025-03-07T02:09:09.642Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.642Z] /device-coap/src/c/coap-client.c:351:67: note: format string is defined here [2025-03-07T02:09:09.642Z] 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", [2025-03-07T02:09:09.643Z] | ~^ [2025-03-07T02:09:09.643Z] | | [2025-03-07T02:09:09.643Z] | int [2025-03-07T02:09:09.643Z] | %ld [2025-03-07T02:09:09.643Z] [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o [2025-03-07T02:09:09.902Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:09:09.902Z] from /usr/include/edgex/devices.h:17, [2025-03-07T02:09:09.902Z] from /device-coap/src/c/coap-server.c:22: [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-server.c: In function 'data_handler': [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-server.c:82:32: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.902Z] 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); [2025-03-07T02:09:09.902Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-server.c:82:54: note: format string is defined here [2025-03-07T02:09:09.902Z] 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); [2025-03-07T02:09:09.902Z] | ~^ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | unsigned int [2025-03-07T02:09:09.902Z] | %lu [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-server.c:128:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:09:09.902Z] 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); [2025-03-07T02:09:09.902Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | iot_typecode_t [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-server.c:128:65: note: format string is defined here [2025-03-07T02:09:09.902Z] 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); [2025-03-07T02:09:09.902Z] | ~^ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | int [2025-03-07T02:09:09.902Z] [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o [2025-03-07T02:09:09.902Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:09:09.902Z] from /device-coap/src/c/coap-util.h:18, [2025-03-07T02:09:09.902Z] from /device-coap/src/c/coap-util.c:9: [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c: In function 'read_data_float64': [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:63:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.902Z] 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:09:09.902Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:63:56: note: format string is defined here [2025-03-07T02:09:09.902Z] 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:09:09.902Z] | ~^ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | unsigned int [2025-03-07T02:09:09.902Z] | %lu [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:76:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.902Z] 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:09:09.902Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:76:56: note: format string is defined here [2025-03-07T02:09:09.902Z] 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); [2025-03-07T02:09:09.902Z] | ~^ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | unsigned int [2025-03-07T02:09:09.902Z] | %lu [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c: In function 'read_data_int32': [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:87:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.902Z] 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:09:09.902Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:87:54: note: format string is defined here [2025-03-07T02:09:09.902Z] 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:09:09.902Z] | ~^ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | unsigned int [2025-03-07T02:09:09.902Z] | %lu [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:102:31: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2025-03-07T02:09:09.902Z] 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:09:09.902Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | size_t {aka long unsigned int} [2025-03-07T02:09:09.902Z] /device-coap/src/c/coap-util.c:102:54: note: format string is defined here [2025-03-07T02:09:09.902Z] 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); [2025-03-07T02:09:09.902Z] | ~^ [2025-03-07T02:09:09.902Z] | | [2025-03-07T02:09:09.902Z] | unsigned int [2025-03-07T02:09:09.902Z] | %lu [2025-03-07T02:09:09.902Z] [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o [2025-03-07T02:09:10.164Z] In file included from /usr/include/devsdk/devsdk.h:18, [2025-03-07T02:09:10.164Z] from /device-coap/src/c/device-coap.h:17, [2025-03-07T02:09:10.164Z] from /device-coap/src/c/device-coap.c:10: [2025-03-07T02:09:10.164Z] /device-coap/src/c/device-coap.c: In function 'coap_get_handler': [2025-03-07T02:09:10.164Z] /device-coap/src/c/device-coap.c:130:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] [2025-03-07T02:09:10.164Z] 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", [2025-03-07T02:09:10.164Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:10.164Z] 131 | requests[i].resource->type); [2025-03-07T02:09:10.164Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [2025-03-07T02:09:10.164Z] | | [2025-03-07T02:09:10.164Z] | iot_typecode_t [2025-03-07T02:09:10.164Z] /device-coap/src/c/device-coap.c:130:69: note: format string is defined here [2025-03-07T02:09:10.164Z] 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", [2025-03-07T02:09:10.164Z] | ~^ [2025-03-07T02:09:10.164Z] | | [2025-03-07T02:09:10.164Z] | int [2025-03-07T02:09:10.164Z] [100%] Linking C executable device-coap [2025-03-07T02:09:10.164Z] /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) [2025-03-07T02:09:10.164Z] [100%] Built target device-coap [2025-03-07T02:09:10.426Z] Removing intermediate container e53ba4754e26 [2025-03-07T02:09:10.426Z] ---> 8467995c75af [2025-03-07T02:09:10.426Z] Step 14/33 : FROM ${BASE} [2025-03-07T02:09:10.426Z] ---> 38e78ae996b4 [2025-03-07T02:09:10.426Z] Step 15/33 : RUN apk add --update --no-cache dumb-init [2025-03-07T02:09:10.685Z] ---> Running in abaa046cca07 [2025-03-07T02:09:10.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:10.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:10.944Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:11.511Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-07T02:09:11.511Z] OK: 337 MiB in 103 packages [2025-03-07T02:09:11.770Z] Removing intermediate container abaa046cca07 [2025-03-07T02:09:11.770Z] ---> 8e6614cc5614 [2025-03-07T02:09:11.770Z] Step 16/33 : RUN apk --no-cache upgrade [2025-03-07T02:09:11.770Z] ---> Running in 3aedddefd2c1 [2025-03-07T02:09:12.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:12.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:13.361Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:13.361Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-07T02:09:13.361Z] OK: 337 MiB in 103 packages [2025-03-07T02:09:13.361Z] Removing intermediate container 3aedddefd2c1 [2025-03-07T02:09:13.361Z] ---> 780eb376270e [2025-03-07T02:09:13.361Z] Step 17/33 : WORKDIR / [2025-03-07T02:09:13.361Z] ---> Running in 3cc750a2e906 [2025-03-07T02:09:13.361Z] Removing intermediate container 3cc750a2e906 [2025-03-07T02:09:13.361Z] ---> ef2c359c09a8 [2025-03-07T02:09:13.361Z] Step 18/33 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2025-03-07T02:09:13.361Z] ---> Running in 8fa0e86efdf1 [2025-03-07T02:09:13.620Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2025-03-07T02:09:14.187Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2025-03-07T02:09:14.187Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2025-03-07T02:09:14.187Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2025-03-07T02:09:14.448Z] Removing intermediate container 8fa0e86efdf1 [2025-03-07T02:09:14.448Z] ---> 4c8cc56756f3 [2025-03-07T02:09:14.448Z] Step 19/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories [2025-03-07T02:09:14.448Z] ---> Running in 641e47d684d2 [2025-03-07T02:09:15.016Z] Removing intermediate container 641e47d684d2 [2025-03-07T02:09:15.016Z] ---> e9d75203f124 [2025-03-07T02:09:15.016Z] Step 20/33 : RUN apk add --update --no-cache linux-headers yaml libmicrohttpd curl libuuid iotech-paho-mqtt-c-dev-1.3 hiredis libcbor iotech-iot-1.5 [2025-03-07T02:09:15.016Z] ---> Running in ab70516ad5a3 [2025-03-07T02:09:15.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:15.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:15.275Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-07T02:09:15.847Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2025-03-07T02:09:15.847Z] (1/1) Installing curl (8.12.1-r0) [2025-03-07T02:09:15.847Z] Executing busybox-1.36.1-r7.trigger [2025-03-07T02:09:15.847Z] OK: 337 MiB in 104 packages [2025-03-07T02:09:16.105Z] Removing intermediate container ab70516ad5a3 [2025-03-07T02:09:16.105Z] ---> 1133cc031546 [2025-03-07T02:09:16.105Z] Step 21/33 : COPY --from=builder /device-coap/build/release/device-coap / [2025-03-07T02:09:16.364Z] ---> b5ebe4482f78 [2025-03-07T02:09:16.364Z] Step 22/33 : COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ [2025-03-07T02:09:16.364Z] ---> d81f1f05c932 [2025-03-07T02:09:16.364Z] Step 23/33 : COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 [2025-03-07T02:09:16.623Z] ---> cc9a58cafa42 [2025-03-07T02:09:16.624Z] Step 24/33 : COPY --from=builder /usr/local/lib/libtinydtls.so /usr/local/lib/ [2025-03-07T02:09:16.624Z] ---> 4a2c55dddbb3 [2025-03-07T02:09:16.624Z] Step 25/33 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib [2025-03-07T02:09:16.883Z] ---> f73a86f47aaf [2025-03-07T02:09:16.883Z] Step 26/33 : COPY LICENSE / [2025-03-07T02:09:16.883Z] ---> 1137c4dfe456 [2025-03-07T02:09:16.883Z] Step 27/33 : COPY Attribution.txt / [2025-03-07T02:09:17.141Z] ---> 34fef7454a8c [2025-03-07T02:09:17.141Z] Step 28/33 : COPY res /res [2025-03-07T02:09:17.141Z] ---> 696e51dc9388 [2025-03-07T02:09:17.141Z] Step 29/33 : ENTRYPOINT ["/device-coap"] [2025-03-07T02:09:17.141Z] ---> Running in ffb026c8459f [2025-03-07T02:09:17.401Z] Removing intermediate container ffb026c8459f [2025-03-07T02:09:17.401Z] ---> e628aadbbdc2 [2025-03-07T02:09:17.401Z] Step 30/33 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-03-07T02:09:17.401Z] ---> Running in 1de10f257d0c [2025-03-07T02:09:17.401Z] Removing intermediate container 1de10f257d0c [2025-03-07T02:09:17.401Z] ---> c8a8218a2799 [2025-03-07T02:09:17.401Z] Step 31/33 : LABEL arch=amd64 [2025-03-07T02:09:17.401Z] ---> Running in 1d6a1f4bc6d3 [2025-03-07T02:09:17.660Z] Removing intermediate container 1d6a1f4bc6d3 [2025-03-07T02:09:17.660Z] ---> 3dc97edebfa3 [2025-03-07T02:09:17.660Z] Step 32/33 : LABEL git_sha=3d8850e1659c25f0877e4000d1122d2a78793a6f [2025-03-07T02:09:17.660Z] ---> Running in 884cbb92dc60 [2025-03-07T02:09:17.660Z] Removing intermediate container 884cbb92dc60 [2025-03-07T02:09:17.660Z] ---> e9f0deb44f89 [2025-03-07T02:09:17.660Z] Step 33/33 : LABEL version=0.0.0 [2025-03-07T02:09:17.660Z] ---> Running in 6921e3cd3095 [2025-03-07T02:09:17.660Z] Removing intermediate container 6921e3cd3095 [2025-03-07T02:09:17.660Z] ---> 3b18979ee330 [2025-03-07T02:09:17.660Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2025-03-07T02:09:17.660Z] Successfully built 3b18979ee330 [2025-03-07T02:09:17.660Z] Successfully tagged device-coap: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-07T02:09:18.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-07T02:09:18.659Z] [2025-03-07T02:09:18.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-07T02:09:19.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-07T02:09:19.045Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-07T02:09:19.045Z] 5eb5b503b376: Pulling fs layer [2025-03-07T02:09:19.045Z] 5c69ac0246d0: Pulling fs layer [2025-03-07T02:09:19.045Z] ec43610c2a17: Pulling fs layer [2025-03-07T02:09:19.045Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-07T02:09:19.045Z] 33b1e0a273af: Pulling fs layer [2025-03-07T02:09:19.045Z] 5d3b04190fa2: Pulling fs layer [2025-03-07T02:09:19.045Z] 2f39f015ded8: Pulling fs layer [2025-03-07T02:09:19.045Z] 2f39f015ded8: Waiting [2025-03-07T02:09:19.045Z] 33b1e0a273af: Waiting [2025-03-07T02:09:19.045Z] 5d3b04190fa2: Waiting [2025-03-07T02:09:19.045Z] 3a2ae6a8a46f: Waiting [2025-03-07T02:09:19.045Z] 5c69ac0246d0: Download complete [2025-03-07T02:09:19.045Z] 3a2ae6a8a46f: Verifying Checksum [2025-03-07T02:09:19.045Z] 3a2ae6a8a46f: Download complete [2025-03-07T02:09:19.045Z] ec43610c2a17: Verifying Checksum [2025-03-07T02:09:19.045Z] ec43610c2a17: Download complete [2025-03-07T02:09:19.045Z] 33b1e0a273af: Verifying Checksum [2025-03-07T02:09:19.045Z] 33b1e0a273af: Download complete [2025-03-07T02:09:19.045Z] 5d3b04190fa2: Verifying Checksum [2025-03-07T02:09:19.045Z] 5d3b04190fa2: Download complete [2025-03-07T02:09:19.304Z] 5eb5b503b376: Verifying Checksum [2025-03-07T02:09:19.304Z] 5eb5b503b376: Download complete [2025-03-07T02:09:19.872Z] 2f39f015ded8: Download complete [2025-03-07T02:09:20.443Z] 5eb5b503b376: Pull complete [2025-03-07T02:09:20.701Z] 5c69ac0246d0: Pull complete [2025-03-07T02:09:21.270Z] ec43610c2a17: Pull complete [2025-03-07T02:09:21.270Z] 3a2ae6a8a46f: Pull complete [2025-03-07T02:09:21.270Z] 33b1e0a273af: Pull complete [2025-03-07T02:09:21.530Z] 5d3b04190fa2: Pull complete [2025-03-07T02:09:25.747Z] 2f39f015ded8: Pull complete [2025-03-07T02:09:25.747Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-07T02:09:25.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-07T02:09:25.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-07T02:09:25.993Z] prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container [2025-03-07T02:09:26.028Z] $ 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-coap-c_PR-62 -v /w/workspace/edgexfoundry_device-coap-c_PR-62:/w/workspace/edgexfoundry_device-coap-c_PR-62:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-62@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-62@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-07T02:09:27.634Z] $ docker top 6fc10090f733222206dfb9656071955786e0007cb2001500aaffd78f5eb7974f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:28.103Z] ---> job-cost.sh [2025-03-07T02:09:28.103Z] lf-activate-venv: SKIPPING [2025-03-07T02:09:28.103Z] INFO: No Stack... [2025-03-07T02:09:28.363Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-07T02:09:28.929Z] INFO: Archiving Costs [Pipeline] sh [2025-03-07T02:09:29.265Z] + cat /w/workspace/edgexfoundry_device-coap-c_PR-62/archives/cost.csv [2025-03-07T02:09:29.265Z] + cut -d, -f6 [Pipeline] lock [2025-03-07T02:09:29.308Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] [2025-03-07T02:09:29.315Z] Resource [jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] did not exist. Created. [2025-03-07T02:09:29.320Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-07T02:09:29.715Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-03-07T02:09:29.775Z] Stashed 1 file(s) [Pipeline] } [2025-03-07T02:09:29.795Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-07T02:09:29.880Z] $ docker stop --time=1 6fc10090f733222206dfb9656071955786e0007cb2001500aaffd78f5eb7974f [2025-03-07T02:09:31.048Z] $ docker rm -f --volumes 6fc10090f733222206dfb9656071955786e0007cb2001500aaffd78f5eb7974f [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-07T02:09:32.704Z] + [ -d /w/workspace/edgexfoundry_device-coap-c_PR-62/archives ] [2025-03-07T02:09:32.704Z] + ls -al /w/workspace/edgexfoundry_device-coap-c_PR-62/archives [2025-03-07T02:09:32.704Z] total 16 [2025-03-07T02:09:32.704Z] drwxr-xr-x 3 root root 4096 Mar 7 02:09 . [2025-03-07T02:09:32.704Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 02:09 .. [2025-03-07T02:09:32.704Z] drwxr-xr-x 2 root root 4096 Mar 7 02:09 cost [2025-03-07T02:09:32.704Z] -rw-r--r-- 1 root root 84 Mar 7 02:09 cost.csv [2025-03-07T02:09:32.704Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-coap-c_PR-62/archives [2025-03-07T02:09:32.704Z] + ls -al /w/workspace/edgexfoundry_device-coap-c_PR-62/archives [2025-03-07T02:09:32.704Z] total 16 [2025-03-07T02:09:32.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 02:09 . [2025-03-07T02:09:32.704Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 02:09 .. [2025-03-07T02:09:32.704Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 02:09 cost [2025-03-07T02:09:32.704Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 7 02:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:33.089Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:34.048Z] ---> package-listing.sh [2025-03-07T02:09:34.048Z] ++ facter osfamily [2025-03-07T02:09:34.048Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-07T02:09:34.307Z] + OS_FAMILY=debian [2025-03-07T02:09:34.307Z] + workspace=/w/workspace/edgexfoundry_device-coap-c_PR-62 [2025-03-07T02:09:34.307Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-07T02:09:34.307Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-07T02:09:34.307Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-07T02:09:34.307Z] + PACKAGES=/tmp/packages_start.txt [2025-03-07T02:09:34.307Z] + '[' /w/workspace/edgexfoundry_device-coap-c_PR-62 ']' [2025-03-07T02:09:34.307Z] + PACKAGES=/tmp/packages_end.txt [2025-03-07T02:09:34.307Z] + case "${OS_FAMILY}" in [2025-03-07T02:09:34.307Z] + dpkg -l [2025-03-07T02:09:34.307Z] + grep '^ii' [2025-03-07T02:09:34.307Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-07T02:09:34.307Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-07T02:09:34.307Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-07T02:09:34.307Z] + '[' /w/workspace/edgexfoundry_device-coap-c_PR-62 ']' [2025-03-07T02:09:34.307Z] + mkdir -p /w/workspace/edgexfoundry_device-coap-c_PR-62/archives/ [2025-03-07T02:09:34.307Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-coap-c_PR-62/archives/ [Pipeline] echo [2025-03-07T02:09:34.346Z] 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-coap-c_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-03-07T02:09:34.639Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-07T02:09:35.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-07T02:09:35.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-07T02:09:35.442Z] prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container [2025-03-07T02:09:35.466Z] $ 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-coap-c_PR-62/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-coap-c_PR-62 -v /w/workspace/edgexfoundry_device-coap-c_PR-62:/w/workspace/edgexfoundry_device-coap-c_PR-62:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-62@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-62@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-lftools-log-publisher:latest cat [2025-03-07T02:09:35.671Z] $ docker top adefe74df11829c5849ab9df5827b2cfa48702fd5baa3c54d0229e9c3d7c932b -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-07T02:09:36.075Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-07T02:09:36.382Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-07T02:09:36.699Z] + ls /var/log/sa-host [2025-03-07T02:09:36.699Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-07T02:09:36.864Z] provisioning config files... [2025-03-07T02:09:36.872Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/config18109094762158313510tmp [Pipeline] { [Pipeline] echo [2025-03-07T02:09:36.943Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:37.346Z] ---> create-netrc.sh [Pipeline] } [2025-03-07T02:09:37.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:37.777Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-07T02:09:37.805Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:38.141Z] ---> sudo-logs.sh [2025-03-07T02:09:38.141Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-03-07T02:09:38.259Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:38.573Z] ---> job-cost.sh [2025-03-07T02:09:38.573Z] lf-activate-venv: SKIPPING [2025-03-07T02:09:38.573Z] DEBUG: total: 0.2199999988079071 [2025-03-07T02:09:38.573Z] INFO: Retrieving Stack Cost... [2025-03-07T02:09:38.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-07T02:09:38.837Z] INFO: Archiving Costs [Pipeline] echo [2025-03-07T02:09:38.892Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-07T02:09:39.222Z] ---> logs-deploy.sh [2025-03-07T02:09:39.222Z] lf-activate-venv: SKIPPING [2025-03-07T02:09:39.222Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/PR-62/1 [2025-03-07T02:09:39.222Z] INFO: archiving workspace using pattern(s): [2025-03-07T02:09:40.163Z] Archives upload complete. [2025-03-07T02:09:40.163Z] INFO: archiving logs to Nexus