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 02:07:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:07:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:07:22 ========================================================= 02:07:22 EdgeX Global Pipelines Version Info 02:07:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:07:23 ------------------- 02:07:23 stable info: 02:07:23 ------------------- 02:07:23 Commited By: Cherry Wang cherry@iotechsys.com 02:07:23 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:07:23 Message: update stable to v1.0.269 02:07:23 ------------------- 02:07:23 experimental info: 02:07:23 ------------------- 02:07:23 Commited By: Ginny Guan ginny@iotechsys.com 02:07:23 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 02:07:23 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:07:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:07:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:07:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo 02:07:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo 02:07:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo 02:07:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo 02:07:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d8850e [Pipeline] echo 02:07:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:07:25 provisioning config files... 02:07:25 copy managed file [device-coap-c-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/config16921488117569730845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:25 ---> ****-login.sh 02:07:25 nexus3.edgexfoundry.org:10001 02:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:26 Configure a credential helper to remove this warning. See 02:07:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:26 02:07:26 Login Succeeded 02:07:26 nexus3.edgexfoundry.org:10002 02:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:26 Configure a credential helper to remove this warning. See 02:07:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:26 02:07:26 Login Succeeded 02:07:26 nexus3.edgexfoundry.org:10003 02:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:26 Configure a credential helper to remove this warning. See 02:07:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:26 02:07:26 Login Succeeded 02:07:26 nexus3.edgexfoundry.org:10004 02:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:26 Configure a credential helper to remove this warning. See 02:07:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:26 02:07:26 Login Succeeded 02:07:26 ****.io 02:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:27 Configure a credential helper to remove this warning. See 02:07:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:27 02:07:27 Login Succeeded 02:07:27 ---> ****-login.sh ends [Pipeline] } 02:07:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 02:07:27 + git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo 02:07:27 -----------> git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f 3d8850e1659c25f0877e4000d1122d2a78793a6f [false] [Pipeline] sh 02:07:28 + git log --format=format:%s -1 3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo 02:07:28 ========================================================= 02:07:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:07:28 ========================================================= 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 02:07:29 + git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo 02:07:29 -----------> git rev-list -1 --merges 3d8850e1659c25f0877e4000d1122d2a78793a6f~1..3d8850e1659c25f0877e4000d1122d2a78793a6f 3d8850e1659c25f0877e4000d1122d2a78793a6f [false] [Pipeline] sh 02:07:29 + git log --format=format:%s -1 3d8850e1659c25f0877e4000d1122d2a78793a6f [Pipeline] echo 02:07:29 ========================================================= 02:07:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:07:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:07:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:07:29 + grep -v github /etc/ssh/ssh_known_hosts 02:07:29 + [ -e /tmp/ssh_known_hosts ] 02:07:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:07:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:07:29 + sudo tee -a /etc/ssh/ssh_known_hosts 02:07:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:07:30 02:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:07:30 0.1.4: Pulling from edgex-devops/py-git-semver 02:07:30 b85a868b505f: Pulling fs layer 02:07:30 e2be974225ed: Pulling fs layer 02:07:30 339a4e72a1f5: Pulling fs layer 02:07:30 988bab9f4d93: Pulling fs layer 02:07:30 1469e6f7b9e6: Pulling fs layer 02:07:30 eaf3925da568: Pulling fs layer 02:07:30 bab4dde63d76: Pulling fs layer 02:07:30 bde34c3a00c8: Pulling fs layer 02:07:30 b352a97aabf1: Pulling fs layer 02:07:30 4872d77fe225: Pulling fs layer 02:07:30 5851b861e8e6: Pulling fs layer 02:07:30 bab4dde63d76: Waiting 02:07:30 bde34c3a00c8: Waiting 02:07:30 b352a97aabf1: Waiting 02:07:30 4872d77fe225: Waiting 02:07:30 5851b861e8e6: Waiting 02:07:30 988bab9f4d93: Waiting 02:07:30 1469e6f7b9e6: Waiting 02:07:30 eaf3925da568: Waiting 02:07:30 e2be974225ed: Download complete 02:07:30 988bab9f4d93: Download complete 02:07:31 1469e6f7b9e6: Verifying Checksum 02:07:31 1469e6f7b9e6: Download complete 02:07:31 eaf3925da568: Verifying Checksum 02:07:31 339a4e72a1f5: Verifying Checksum 02:07:31 339a4e72a1f5: Download complete 02:07:31 bde34c3a00c8: Verifying Checksum 02:07:31 bde34c3a00c8: Download complete 02:07:31 b352a97aabf1: Download complete 02:07:31 4872d77fe225: Verifying Checksum 02:07:31 4872d77fe225: Download complete 02:07:31 5851b861e8e6: Download complete 02:07:31 b85a868b505f: Verifying Checksum 02:07:31 b85a868b505f: Download complete 02:07:31 bab4dde63d76: Verifying Checksum 02:07:31 bab4dde63d76: Download complete 02:07:32 b85a868b505f: Pull complete 02:07:32 e2be974225ed: Pull complete 02:07:33 339a4e72a1f5: Pull complete 02:07:33 988bab9f4d93: Pull complete 02:07:34 1469e6f7b9e6: Pull complete 02:07:34 eaf3925da568: Pull complete 02:07:35 bab4dde63d76: Pull complete 02:07:35 bde34c3a00c8: Pull complete 02:07:35 b352a97aabf1: Pull complete 02:07:35 4872d77fe225: Pull complete 02:07:35 5851b861e8e6: Pull complete 02:07:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:07:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:35 prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container 02:07:35 $ 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 02:07:37 $ docker top 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd -eo pid,comm 02:07:37 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). 02:07:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:07:37 [ssh-agent] Looking for ssh-agent implementation... 02:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:07:37 $ docker exec 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent 02:07:37 SSH_AUTH_SOCK=/tmp/ssh-DYMANQyuvtHT/agent.31 02:07:37 SSH_AGENT_PID=37 02:07:37 Running ssh-add (command line suppressed) 02:07:37 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) 02:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:07:38 + git tag --points-at HEAD [Pipeline] } 02:07:38 $ docker exec --env ******** --env ******** 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent -k 02:07:38 unset SSH_AUTH_SOCK; 02:07:38 unset SSH_AGENT_PID; 02:07:38 echo Agent pid 37 killed; 02:07:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:07:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:07:38 [ssh-agent] Looking for ssh-agent implementation... 02:07:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:07:38 $ docker exec 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent 02:07:38 SSH_AUTH_SOCK=/tmp/ssh-LmmI8iJc89F7/agent.71 02:07:38 SSH_AGENT_PID=77 02:07:38 Running ssh-add (command line suppressed) 02:07:38 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) 02:07:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:07:39 + git semver init 02:07:39 2025-03-07 02:07:39,306 [run_init] DEBUG init version:0.0.0 force:False 02:07:39 2025-03-07 02:07:39,306 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver 02:07:39 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 02:07:39 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) 02:07:39 2025-03-07 02:07:39,834 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-coap-c_PR-62/.git/info/exclude 02:07:39 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 02:07:39 2025-03-07 02:07:39,834 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-coap-c_PR-62/.semver/PR-62 02:07:39 2025-03-07 02:07:39,839 [execute] INFO git cat-file --batch-check 02:07:39 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=) 02:07:39 2025-03-07 02:07:39,845 [execute] INFO git cat-file --batch 02:07:39 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=) 02:07:39 2025-03-07 02:07:39,850 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-coap-c_PR-62/.semver/PR-62 02:07:39 0.0.0 [Pipeline] } 02:07:39 $ docker exec --env ******** --env ******** 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd ssh-agent -k 02:07:40 unset SSH_AUTH_SOCK; 02:07:40 unset SSH_AGENT_PID; 02:07:40 echo Agent pid 77 killed; 02:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:07:40 + git semver [Pipeline] } 02:07:40 $ docker stop --time=1 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd 02:07:42 $ docker rm -f --volumes 9078f2a46a41f15c9dac55412beb69295d6ef9ce1ed3ae91c8219f63e8f363cd [Pipeline] // withDockerContainer [Pipeline] sh 02:07:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:07:42 Stashed 1 file(s) [Pipeline] echo 02:07:42 [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 02:07:43 provisioning config files... 02:07:43 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 02:07:44 ---> ****-login.sh 02:07:44 nexus3.edgexfoundry.org:10001 02:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:44 Configure a credential helper to remove this warning. See 02:07:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:44 02:07:44 Login Succeeded 02:07:44 nexus3.edgexfoundry.org:10002 02:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:44 Configure a credential helper to remove this warning. See 02:07:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:44 02:07:44 Login Succeeded 02:07:44 nexus3.edgexfoundry.org:10003 02:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:44 Configure a credential helper to remove this warning. See 02:07:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:44 02:07:44 Login Succeeded 02:07:44 nexus3.edgexfoundry.org:10004 02:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:44 Configure a credential helper to remove this warning. See 02:07:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:44 02:07:44 Login Succeeded 02:07:44 ****.io 02:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:44 Configure a credential helper to remove this warning. See 02:07:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:44 02:07:44 Login Succeeded 02:07:44 ---> ****-login.sh ends [Pipeline] } 02:07:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:07:45 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 02:07:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:07:45 ========================================================= 02:07:45 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:07:45 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:45 + 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 . 02:07:45 Sending build context to Docker daemon 559.6kB 02:07:45 Step 1/14 : ARG BASE=alpine:3.20 02:07:45 Step 2/14 : FROM ${BASE} 02:07:45 latest: Pulling from edgex-devops/edgex-gcc-base 02:07:45 96526aa774ef: Pulling fs layer 02:07:45 da60e534fd72: Pulling fs layer 02:07:45 96526aa774ef: Verifying Checksum 02:07:45 96526aa774ef: Download complete 02:07:45 96526aa774ef: Pull complete 02:07:46 da60e534fd72: Verifying Checksum 02:07:46 da60e534fd72: Download complete 02:07:49 da60e534fd72: Pull complete 02:07:49 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 02:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 02:07:49 ---> 6605166a5db4 02:07:49 Step 3/14 : LABEL maintainer="Ken Bannister " 02:07:50 ---> Running in f39ec297e2f7 02:07:50 Removing intermediate container f39ec297e2f7 02:07:50 ---> 825109215306 02:07:50 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 02:07:50 ---> Running in 6220f7994d4a 02:07:50 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:07:51 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:07:51 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:07:51 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:07:51 Removing intermediate container 6220f7994d4a 02:07:51 ---> c5ce3893299d 02:07:51 Step 5/14 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:07:51 ---> Running in 8a9ac359b373 02:07:52 Removing intermediate container 8a9ac359b373 02:07:52 ---> 56668f8495bb 02:07:52 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 02:07:52 ---> Running in 53bc5ed012ed 02:07:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:07:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:07:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:07:53 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:07:53 (1/18) Installing dumb-init (1.2.5-r2) 02:07:53 (2/18) Installing hiredis (1.1.0-r2) 02:07:53 (3/18) Installing hiredis-dev (1.1.0-r2) 02:07:53 (4/18) Installing libcbor (0.10.2-r1) 02:07:53 (5/18) Installing iotech-iot-1.5 (1.5.5-r0) 02:07:53 (6/18) Installing iotech-iot-1.5-dev (1.5.5-r0) 02:07:53 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:07:54 (8/18) Installing libcbor-dev (0.10.2-r1) 02:07:54 (9/18) Installing libmenuw (6.4_p20230506-r0) 02:07:54 (10/18) Installing libpanelw (6.4_p20230506-r0) 02:07:54 (11/18) Installing libncurses++ (6.4_p20230506-r0) 02:07:54 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 02:07:54 (13/18) Installing libblkid (2.38.1-r8) 02:07:54 (14/18) Installing libuuid (2.38.1-r8) 02:07:54 (15/18) Installing libfdisk (2.38.1-r8) 02:07:54 (16/18) Installing libmount (2.38.1-r8) 02:07:54 (17/18) Installing libsmartcols (2.38.1-r8) 02:07:54 (18/18) Installing util-linux-dev (2.38.1-r8) 02:07:54 Executing busybox-1.36.1-r4.trigger 02:07:54 OK: 336 MiB in 100 packages 02:07:54 Removing intermediate container 53bc5ed012ed 02:07:54 ---> 52f8c910a906 02:07:54 Step 7/14 : RUN apk --no-cache upgrade 02:07:54 ---> Running in 121a6150fb4a 02:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:07:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:07:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:07:55 Upgrading critical system libraries and apk-tools: 02:07:55 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:07:55 Executing busybox-1.36.1-r4.trigger 02:07:55 Continuing the upgrade transaction with new apk-tools: 02:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:07:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:07:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:07:56 (1/25) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 02:07:56 (2/25) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 02:07:56 Executing busybox-1.36.1-r7.post-upgrade 02:07:56 (3/25) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 02:07:56 (4/25) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 02:07:56 (5/25) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 02:07:56 (6/25) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 02:07:56 (7/25) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 02:07:56 (8/25) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 02:07:56 (9/25) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 02:07:56 (10/25) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 02:07:56 (11/25) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 02:07:56 (12/25) Installing libpsl (0.21.5-r0) 02:07:56 (13/25) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 02:07:56 (14/25) Installing libpsl-utils (0.21.5-r0) 02:07:56 (15/25) Installing libpsl-dev (0.21.5-r0) 02:07:56 (16/25) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 02:07:56 (17/25) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 02:07:56 (18/25) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 02:07:56 (19/25) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 02:07:56 (20/25) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 02:07:56 (21/25) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:07:56 (22/25) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:07:56 (23/25) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 02:07:56 (24/25) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 02:07:56 (25/25) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:07:56 Executing busybox-1.36.1-r7.trigger 02:07:56 Executing ca-certificates-20241121-r1.trigger 02:07:57 OK: 337 MiB in 103 packages 02:07:58 Removing intermediate container 121a6150fb4a 02:07:58 ---> 3f0c3cb76a0a 02:07:58 Step 8/14 : COPY scripts /device-coap/scripts 02:07:58 ---> add04c959d95 02:07:58 Step 9/14 : COPY src /device-coap/src/ 02:07:58 ---> 2e0aabc5d31c 02:07:58 Step 10/14 : COPY VERSION /device-coap 02:07:58 ---> b7119036de27 02:07:58 Step 11/14 : RUN mkdir -p /device-coap/build 02:07:58 ---> Running in cd716c52963f 02:07:58 Removing intermediate container cd716c52963f 02:07:58 ---> f67877457b4a 02:07:58 Step 12/14 : WORKDIR /device-coap 02:07:58 ---> Running in d1dd3674a975 02:07:59 Removing intermediate container d1dd3674a975 02:07:59 ---> 1fd6bd371895 02:07:59 Step 13/14 : RUN /device-coap/scripts/build_deps.sh 1 02:07:59 ---> Running in 6790047cdf90 02:07:59 + BUILD_CSDK=1 02:07:59 + TINYDTLS_VERSION=b0e230d 02:07:59 + LIBCOAP_VERSION=1739507 02:07:59 + CSDK_VERSION=4.0.0 02:07:59 + '[' -d deps ] 02:07:59 + mkdir deps 02:07:59 + cd /device-coap/deps 02:07:59 + git clone https://github.com/eclipse/tinydtls.git 02:07:59 Cloning into 'tinydtls'... 02:08:00 + cd tinydtls 02:08:00 + git checkout develop 02:08:00 branch 'develop' set up to track 'origin/develop'. 02:08:00 Switched to a new branch 'develop' 02:08:00 + git reset --hard b0e230d 02:08:00 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:08:00 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:08:00 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:08:00 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:08:00 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:08:00 + mkdir -p build 02:08:00 + cd build 02:08:00 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:08:00 -- The C compiler identification is GNU 12.2.1 02:08:00 -- Detecting C compiler ABI info 02:08:00 -- Detecting C compiler ABI info - done 02:08:00 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:00 -- Detecting C compile features 02:08:00 -- Detecting C compile features - done 02:08:00 -- Looking for assert.h 02:08:00 -- Looking for assert.h - found 02:08:00 -- Looking for arpa/inet.h 02:08:00 -- Looking for arpa/inet.h - found 02:08:00 -- Looking for fcntl.h 02:08:00 -- Looking for fcntl.h - found 02:08:00 -- Looking for inttypes.h 02:08:00 -- Looking for inttypes.h - found 02:08:00 -- Looking for memory.h 02:08:00 -- Looking for memory.h - found 02:08:00 -- Looking for netdb.h 02:08:00 -- Looking for netdb.h - found 02:08:00 -- Looking for netinet/in.h 02:08:00 -- Looking for netinet/in.h - found 02:08:00 -- Looking for stddef.h 02:08:00 -- Looking for stddef.h - found 02:08:00 -- Looking for stdint.h 02:08:01 -- Looking for stdint.h - found 02:08:01 -- Looking for stdlib.h 02:08:01 -- Looking for stdlib.h - found 02:08:01 -- Looking for string.h 02:08:01 -- Looking for string.h - found 02:08:01 -- Looking for strings.h 02:08:01 -- Looking for strings.h - found 02:08:01 -- Looking for time.h 02:08:01 -- Looking for time.h - found 02:08:01 -- Looking for sys/param.h 02:08:01 -- Looking for sys/param.h - found 02:08:01 -- Looking for sys/socket.h 02:08:01 -- Looking for sys/socket.h - found 02:08:01 -- Looking for sys/stat.h 02:08:01 -- Looking for sys/stat.h - found 02:08:01 -- Looking for sys/types.h 02:08:01 -- Looking for sys/types.h - found 02:08:01 -- Looking for sys/time.h 02:08:01 -- Looking for sys/time.h - found 02:08:01 -- Looking for unistd.h 02:08:01 -- Looking for unistd.h - found 02:08:01 -- Looking for float.h 02:08:01 -- Looking for float.h - found 02:08:01 -- Looking for dlfcn.h 02:08:02 -- Looking for dlfcn.h - found 02:08:02 -- Looking for memset 02:08:02 -- Looking for memset - found 02:08:02 -- Looking for select 02:08:02 -- Looking for select - found 02:08:02 -- Looking for socket 02:08:02 -- Looking for socket - found 02:08:02 -- Looking for strdup 02:08:02 -- Looking for strdup - found 02:08:02 -- Looking for strerror 02:08:02 -- Looking for strerror - found 02:08:02 -- Looking for strnlen 02:08:02 -- Looking for strnlen - found 02:08:02 -- Looking for fls 02:08:02 -- Looking for fls - not found 02:08:02 -- Looking for vprintf 02:08:02 -- Looking for vprintf - found 02:08:02 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:08:02 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:08:02 -- Configuring done (2.8s) 02:08:02 -- Generating done (0.0s) 02:08:02 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:08:02 + make 02:08:02 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:08:02 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:08:02 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:08:03 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:08:03 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:08:03 In function 'ecc_ecdh', 02:08:03 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:08:03 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:08:03 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:08:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:03 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:08:03 /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 02:08:03 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:08:03 | ^~~~~~~~~~~ 02:08:03 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:08:03 431 | uint32_t pub_x[8]; 02:08:03 | ^~~~~ 02:08:03 In function 'ecc_ecdh', 02:08:03 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:08:03 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:08:03 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:08:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:03 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:08:03 /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 02:08:03 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:08:03 | ^~~~~~~~~~~ 02:08:03 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:08:03 432 | uint32_t pub_y[8]; 02:08:03 | ^~~~~ 02:08:03 In function 'ecc_ecdh', 02:08:03 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:08:03 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:08:03 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:08:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:03 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:08:03 /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 02:08:03 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:08:03 | ^~~~~~~~~~~ 02:08:03 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:08:03 430 | uint32_t priv[8]; 02:08:03 | ^~~~ 02:08:03 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:08:04 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:08:04 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:08:04 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:08:04 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:08:04 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:08:04 /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] 02:08:04 316 | for (idx = 0; idx < count; idx++) { 02:08:04 | ^ 02:08:04 /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] 02:08:04 319 | return result == count; 02:08:04 | ^~ 02:08:05 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:08:05 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:08:05 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:08:05 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:08:05 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:08:05 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 02:08:05 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:08:05 | ~~~~~~~~~~^~~~~~~~ 02:08:05 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:08:05 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:08:05 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:08:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:05 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:08:05 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:08:05 | ~~~~~^~~~~~~~ 02:08:05 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:08:05 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:08:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:05 [100%] Linking C shared library libtinydtls.so 02:08:05 [100%] Built target tinydtls 02:08:05 + make install 02:08:05 [100%] Built target tinydtls 02:08:05 Install the project... 02:08:05 -- Install configuration: "Release" 02:08:05 -- Installing: /usr/local/lib/libtinydtls.so 02:08:05 -- Installing: /usr/local/include/tinydtls 02:08:05 -- Installing: /usr/local/include/tinydtls/uthash.h 02:08:05 -- Installing: /usr/local/include/tinydtls/sha2 02:08:05 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:08:05 -- Installing: /usr/local/include/tinydtls/ecc 02:08:05 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:08:05 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:08:05 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:08:05 -- Installing: /usr/local/include/tinydtls/alert.h 02:08:05 -- Installing: /usr/local/include/tinydtls/aes 02:08:05 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:08:05 -- Installing: /usr/local/include/tinydtls/crypto.h 02:08:05 -- Installing: /usr/local/include/tinydtls/numeric.h 02:08:05 -- Installing: /usr/local/include/tinydtls/peer.h 02:08:05 -- Installing: /usr/local/include/tinydtls/utlist.h 02:08:05 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:08:05 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:08:05 -- Installing: /usr/local/include/tinydtls/netq.h 02:08:05 -- Installing: /usr/local/include/tinydtls/dtls.h 02:08:05 -- Installing: /usr/local/include/tinydtls/global.h 02:08:05 -- Installing: /usr/local/include/tinydtls/state.h 02:08:05 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:08:05 -- Installing: /usr/local/include/tinydtls/session.h 02:08:05 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:08:05 -- Installing: /usr/local/include/tinydtls/hmac.h 02:08:05 -- Installing: /usr/local/include/tinydtls/ccm.h 02:08:05 -- Up-to-date: /usr/local/include/tinydtls 02:08:05 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:08:05 + cd /device-coap/deps 02:08:05 + git clone https://github.com/obgm/libcoap.git 02:08:05 Cloning into 'libcoap'... 02:08:07 + cd libcoap 02:08:07 + git reset --hard 1739507 02:08:07 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:08:07 + patch -p1 02:08:07 patching file cmake/FindTinyDTLS.cmake 02:08:07 + patch -p1 02:08:07 patching file include/coap2/coap_config.h.in 02:08:07 + mkdir -p build 02:08:07 + cd build 02:08:07 + 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' .. 02:08:07 -- The CXX compiler identification is GNU 12.2.1 02:08:07 -- The C compiler identification is GNU 12.2.1 02:08:07 -- Detecting CXX compiler ABI info 02:08:07 -- Detecting CXX compiler ABI info - done 02:08:07 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:08:07 -- Detecting CXX compile features 02:08:07 -- Detecting CXX compile features - done 02:08:07 -- Detecting C compiler ABI info 02:08:07 -- Detecting C compiler ABI info - done 02:08:07 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:07 -- Detecting C compile features 02:08:07 -- Detecting C compile features - done 02:08:07 -- Looking for byteswap.h 02:08:07 -- Looking for byteswap.h - found 02:08:07 -- Looking for inttypes.h 02:08:08 -- Looking for inttypes.h - found 02:08:08 -- Looking for limits.h 02:08:08 -- Looking for limits.h - found 02:08:08 -- Looking for memory.h 02:08:08 -- Looking for memory.h - found 02:08:08 -- Looking for strings.h 02:08:08 -- Looking for strings.h - found 02:08:08 -- Looking for string.h 02:08:08 -- Looking for string.h - found 02:08:08 -- Looking for sys/sysctl.h 02:08:08 -- Looking for sys/sysctl.h - not found 02:08:08 -- Looking for netinet/in.h 02:08:08 -- Looking for netinet/in.h - found 02:08:08 -- Looking for sys/epoll.h 02:08:08 -- Looking for sys/epoll.h - found 02:08:08 -- Looking for sys/timerfd.h 02:08:08 -- Looking for sys/timerfd.h - found 02:08:08 -- Looking for arpa/inet.h 02:08:08 -- Looking for arpa/inet.h - found 02:08:08 -- Looking for stdbool.h 02:08:08 -- Looking for stdbool.h - found 02:08:08 -- Looking for netdb.h 02:08:09 -- Looking for netdb.h - found 02:08:09 -- Looking for pthread.h 02:08:09 -- Looking for pthread.h - found 02:08:09 -- Looking for stdlib.h 02:08:09 -- Looking for stdlib.h - found 02:08:09 -- Looking for stdint.h 02:08:09 -- Looking for stdint.h - found 02:08:09 -- Looking for syslog.h 02:08:09 -- Looking for syslog.h - found 02:08:09 -- Looking for sys/ioctl.h 02:08:09 -- Looking for sys/ioctl.h - found 02:08:09 -- Looking for sys/socket.h 02:08:09 -- Looking for sys/socket.h - found 02:08:09 -- Looking for sys/stat.h 02:08:09 -- Looking for sys/stat.h - found 02:08:09 -- Looking for sys/time.h 02:08:09 -- Looking for sys/time.h - found 02:08:09 -- Looking for sys/types.h 02:08:10 -- Looking for sys/types.h - found 02:08:10 -- Looking for sys/unistd.h 02:08:10 -- Looking for sys/unistd.h - not found 02:08:10 -- Looking for time.h 02:08:10 -- Looking for time.h - found 02:08:10 -- Looking for unistd.h 02:08:10 -- Looking for unistd.h - found 02:08:10 -- Looking for float.h 02:08:10 -- Looking for float.h - found 02:08:10 -- Looking for stddef.h 02:08:10 -- Looking for stddef.h - found 02:08:10 -- Looking for winsock2.h 02:08:10 -- Looking for winsock2.h - not found 02:08:10 -- Looking for ws2tcpip.h 02:08:10 -- Looking for ws2tcpip.h - not found 02:08:10 -- Looking for malloc 02:08:10 -- Looking for malloc - found 02:08:10 -- Looking for memset 02:08:10 -- Looking for memset - found 02:08:10 -- Looking for select 02:08:10 -- Looking for select - found 02:08:10 -- Looking for socket 02:08:10 -- Looking for socket - found 02:08:10 -- Looking for strcasecmp 02:08:11 -- Looking for strcasecmp - found 02:08:11 -- Looking for pthread_mutex_lock 02:08:11 -- Looking for pthread_mutex_lock - found 02:08:11 -- Looking for getaddrinfo 02:08:11 -- Looking for getaddrinfo - found 02:08:11 -- Looking for strnlen 02:08:11 -- Looking for strnlen - found 02:08:11 -- Looking for strrchr 02:08:11 -- Looking for strrchr - found 02:08:11 -- Looking for getrandom 02:08:11 -- Looking for getrandom - found 02:08:11 -- Looking for cmsghdr 02:08:11 -- Looking for cmsghdr - not found 02:08:11 -- compiling without epoll support 02:08:11 -- compiling with DTLS support 02:08:11 -- DTLS_BACKEND: tinydtls 02:08:11 -- Found TinyDTLS: /usr/local/include 02:08:11 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:08:11 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:08:11 -- TINYDTLS_ROOT_DIR: 02:08:11 -- compiling with tinydtls support 02:08:11 -- ENABLE_DTLS:.....................ON 02:08:11 -- ENABLE_TCP:......................ON 02:08:11 -- ENABLE_DOCS:.....................OFF 02:08:11 -- ENABLE_EXAMPLES:.................OFF 02:08:11 -- DTLS_BACKEND:....................tinydtls 02:08:11 -- WITH_GNUTLS:.....................OFF 02:08:11 -- WITH_TINYDTLS:...................ON 02:08:11 -- WITH_OPENSSL:....................OFF 02:08:11 -- WITH_MBEDTLS:....................OFF 02:08:11 -- HAVE_LIBTINYDTLS:................1 02:08:11 -- HAVE_LIBGNUTLS:.................. 02:08:11 -- HAVE_OPENSSL:.................... 02:08:11 -- HAVE_MBEDTLS:.................... 02:08:11 -- COAP_EPOLL_SUPPORT:.............. 02:08:11 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:08:11 -- BUILD_SHARED_LIBS:...............ON 02:08:11 -- CMAKE_BUILD_TYPE:................Release 02:08:11 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 02:08:11 -- Configuring done (3.9s) 02:08:11 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:08:11 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:08:11 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:08:11 command to set the policy and suppress this warning. 02:08:11 02:08:11 File: 02:08:11 02:08:11 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:08:11 This warning is for project developers. Use -Wno-dev to suppress it. 02:08:11 02:08:11 -- Generating done (0.0s) 02:08:11 -- Build files have been written to: /device-coap/deps/libcoap/build 02:08:11 + make 02:08:11 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:08:11 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:08:11 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:08:11 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:08:12 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:08:12 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:08:12 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:08:12 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:08:12 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:08:12 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:08:13 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:08:13 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:08:13 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:08:13 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:08:13 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:08:14 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:08:14 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:08:14 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:08:14 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:08:14 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:08:14 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:08:15 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:08:15 [100%] Linking C shared library libcoap-2.so 02:08:15 [100%] Built target coap-2 02:08:15 + make install 02:08:15 [100%] Built target coap-2 02:08:15 Install the project... 02:08:15 -- Install configuration: "Release" 02:08:15 -- Installing: /usr/local/lib/libcoap-2.so 02:08:15 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:08:15 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:08:15 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:08:15 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:08:15 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:08:15 -- Up-to-date: /usr/local/include 02:08:15 -- Installing: /usr/local/include/coap2 02:08:15 -- Installing: /usr/local/include/coap2/uthash.h 02:08:15 -- Installing: /usr/local/include/coap2/subscribe.h 02:08:15 -- Installing: /usr/local/include/coap2/option.h 02:08:15 -- Installing: /usr/local/include/coap2/resource.h 02:08:15 -- Installing: /usr/local/include/coap2/bits.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:08:15 -- Installing: /usr/local/include/coap2/block.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_io.h 02:08:15 -- Installing: /usr/local/include/coap2/pdu.h 02:08:15 -- Installing: /usr/local/include/coap2/str.h 02:08:15 -- Installing: /usr/local/include/coap2/async.h 02:08:15 -- Installing: /usr/local/include/coap2/net.h 02:08:15 -- Installing: /usr/local/include/coap2/address.h 02:08:15 -- Installing: /usr/local/include/coap2/uri.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_event.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_riot.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_prng.h 02:08:15 -- Installing: /usr/local/include/coap2/lwippools.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_debug.h 02:08:15 -- Installing: /usr/local/include/coap2/utlist.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_time.h 02:08:15 -- Installing: /usr/local/include/coap2/encode.h 02:08:15 -- Installing: /usr/local/include/coap2/libcoap.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:08:15 -- Installing: /usr/local/include/coap2/mem.h 02:08:15 -- Installing: /usr/local/include/coap2/coap_session.h 02:08:15 -- Up-to-date: /usr/local/include 02:08:15 -- Up-to-date: /usr/local/include/coap2 02:08:15 -- Installing: /usr/local/include/coap2/coap.h 02:08:15 + '[' 1 '=' 1 ] 02:08:15 + cd /device-coap/deps 02:08:15 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:08:15 Connecting to github.com (140.82.114.4:443) 02:08:15 Connecting to codeload.github.com (140.82.112.9:443) 02:08:15 saving to 'v4.0.0.zip' 02:08:15 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:08:15 'v4.0.0.zip' saved 02:08:15 + unzip v4.0.0.zip 02:08:15 Archive: v4.0.0.zip 02:08:15 creating: device-sdk-c-4.0.0/ 02:08:15 creating: device-sdk-c-4.0.0/.github/ 02:08:15 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:08:15 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:08:15 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:08:15 creating: device-sdk-c-4.0.0/.github/workflows/ 02:08:15 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:08:15 inflating: device-sdk-c-4.0.0/.gitignore 02:08:15 inflating: device-sdk-c-4.0.0/Attribution.txt 02:08:15 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:08:15 inflating: device-sdk-c-4.0.0/Doxyfile 02:08:15 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:08:15 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:08:15 inflating: device-sdk-c-4.0.0/LICENSE 02:08:15 inflating: device-sdk-c-4.0.0/Makefile 02:08:15 inflating: device-sdk-c-4.0.0/OWNERS.md 02:08:15 inflating: device-sdk-c-4.0.0/README.IOT.md 02:08:15 inflating: device-sdk-c-4.0.0/README.md 02:08:15 inflating: device-sdk-c-4.0.0/README.v3.md 02:08:15 creating: device-sdk-c-4.0.0/docs/ 02:08:15 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:08:15 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:08:15 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:08:15 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:08:15 inflating: device-sdk-c-4.0.0/docs/startup.md 02:08:15 creating: device-sdk-c-4.0.0/include/ 02:08:15 creating: device-sdk-c-4.0.0/include/devsdk/ 02:08:15 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:08:15 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:08:15 creating: device-sdk-c-4.0.0/include/edgex/ 02:08:15 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:08:15 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:08:15 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:08:15 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:08:15 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:08:15 creating: device-sdk-c-4.0.0/scripts/ 02:08:15 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:08:15 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:08:15 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:08:15 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:08:15 creating: device-sdk-c-4.0.0/src/ 02:08:15 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:08:15 creating: device-sdk-c-4.0.0/src/c/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/api.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/config.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/config.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/data.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/data.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:08:15 inflating: device-sdk-c-4.0.0/src/c/device.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/device.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:08:15 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:08:15 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:08:15 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/map.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/map.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/service.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/service.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:08:15 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:08:15 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:08:15 creating: device-sdk-c-4.0.0/src/cmake/ 02:08:15 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:08:15 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:08:15 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:08:15 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:08:15 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:08:15 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:08:15 + cd device-sdk-c-4.0.0 02:08:15 + ./scripts/build.sh 02:08:15 + CPPCHECK=false 02:08:15 + DOCGEN=false 02:08:15 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:08:15 + '[' 0 -gt 0 ] 02:08:15 + readlink -f ./scripts/build.sh 02:08:15 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:08:15 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:08:15 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:08:15 + cd /device-coap/deps/device-sdk-c-4.0.0 02:08:15 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:08:15 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:08:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:08:15 -- The C compiler identification is GNU 12.2.1 02:08:15 -- Detecting C compiler ABI info 02:08:15 -- Detecting C compiler ABI info - done 02:08:15 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:15 -- Detecting C compile features 02:08:15 -- Detecting C compile features - done 02:08:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:08:15 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:08:15 -- Found LIBYAML: /usr/lib/libyaml.so 02:08:15 -- Found LIBUUID: /usr/lib/libuuid.so 02:08:15 -- Found LIBCBOR: /usr/lib/libcbor.so 02:08:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:08:15 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:08:15 -- /opt/iotech/iot/1.5/include 02:08:15 -- C SDK 0.0.0 for Linux 02:08:15 -- Performing Test CSDK_HAVE_ATOMIC 02:08:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:08:16 -- Found Curses: /usr/lib/libcurses.so 02:08:16 -- Configuring done (0.5s) 02:08:16 -- Generating done (0.0s) 02:08:16 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:08:16 + make all package 02:08:16 + tee release.log 02:08:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:08:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:08:16 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:08:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:08:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:08:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:08:17 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:08:17 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:08:17 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:08:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:08:17 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:08:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:08:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:08:18 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:08:18 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:08:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:08:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:08:18 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:08:18 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:08:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:08:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:08:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:08:20 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:08:20 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:08:20 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:08:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:08:20 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:08:21 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:08:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:08:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:08:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:08:21 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:08:21 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 02:08:21 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:08:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:21 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:08:21 875 | const iot_data_t *deviceservices_config; 02:08:21 | ^~~~~~~~~~~~~~~~~~~~~ 02:08:21 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:08:21 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:08:22 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:08:22 [ 68%] Linking C shared library libcsdk.so 02:08:22 [ 68%] Built target csdk 02:08:22 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:08:22 [ 72%] Linking C executable template 02:08:22 /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) 02:08:22 [ 72%] Built target template 02:08:22 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:08:22 [ 76%] Linking C executable device-counter 02:08:22 /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) 02:08:22 [ 76%] Built target device-counter 02:08:22 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:08:22 [ 80%] Linking C executable device-random 02:08:22 /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) 02:08:22 [ 80%] Built target device-random 02:08:22 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:08:22 [ 84%] Linking C executable device-gyro 02:08:22 /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) 02:08:22 [ 84%] Built target device-gyro 02:08:22 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:08:23 [ 88%] Linking C executable device-bitfields 02:08:23 /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) 02:08:23 [ 88%] Built target device-bitfields 02:08:23 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:08:23 [ 92%] Linking C executable template-discovery 02:08:23 /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) 02:08:23 [ 92%] Built target template-discovery 02:08:23 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:08:23 [ 96%] Linking C executable device-file 02:08:23 /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) 02:08:23 [ 96%] Built target device-file 02:08:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:08:23 [100%] Linking C executable device-terminal 02:08:23 /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) 02:08:23 [100%] Built target device-terminal 02:08:23 Run CPack packaging tool... 02:08:23 CPack: Create package using TGZ 02:08:23 CPack: Install projects 02:08:23 CPack: - Run preinstall target for: Csdk 02:08:23 CPack: - Install project: Csdk [] 02:08:23 CPack: Create package 02:08:24 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:08:24 + '[' false '=' true ] 02:08:24 + '[' false '=' true ] 02:08:24 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:08:24 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:08:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:08:24 -- The C compiler identification is GNU 12.2.1 02:08:24 -- Detecting C compiler ABI info 02:08:24 -- Detecting C compiler ABI info - done 02:08:24 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:24 -- Detecting C compile features 02:08:24 -- Detecting C compile features - done 02:08:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:08:24 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:08:24 -- Found LIBYAML: /usr/lib/libyaml.so 02:08:24 -- Found LIBUUID: /usr/lib/libuuid.so 02:08:24 -- Found LIBCBOR: /usr/lib/libcbor.so 02:08:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:08:24 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:08:24 -- /opt/iotech/iot/1.5/include 02:08:24 -- C SDK 0.0.0 for Linux 02:08:24 -- Performing Test CSDK_HAVE_ATOMIC 02:08:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:08:24 -- Found Curses: /usr/lib/libcurses.so 02:08:24 -- Configuring done (0.5s) 02:08:24 -- Generating done (0.0s) 02:08:24 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:08:24 + make 02:08:24 + tee debug.log 02:08:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:08:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:08:24 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:08:24 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:08:24 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:08:24 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:08:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:08:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:08:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:08:25 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:08:25 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:08:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:08:25 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:08:25 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:08:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:08:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:08:25 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:08:25 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:08:25 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:08:26 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:08:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:08:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:08:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:08:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:08:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:08:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:08:26 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:08:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:08:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:08:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:08:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:08:27 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:08:27 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:08:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:08:27 [ 68%] Linking C shared library libcsdk.so 02:08:27 [ 68%] Built target csdk 02:08:27 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:08:27 [ 72%] Linking C executable template 02:08:27 /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) 02:08:27 [ 72%] Built target template 02:08:27 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:08:27 [ 76%] Linking C executable device-counter 02:08:27 /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) 02:08:27 [ 76%] Built target device-counter 02:08:27 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:08:28 [ 80%] Linking C executable device-random 02:08:28 /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) 02:08:28 [ 80%] Built target device-random 02:08:28 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:08:28 [ 84%] Linking C executable device-gyro 02:08:28 /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) 02:08:28 [ 84%] Built target device-gyro 02:08:28 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:08:28 [ 88%] Linking C executable device-bitfields 02:08:28 /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) 02:08:28 [ 88%] Built target device-bitfields 02:08:28 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:08:28 [ 92%] Linking C executable template-discovery 02:08:28 /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) 02:08:28 [ 92%] Built target template-discovery 02:08:28 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:08:28 [ 96%] Linking C executable device-file 02:08:28 /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) 02:08:28 [ 96%] Built target device-file 02:08:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:08:28 [100%] Linking C executable device-terminal 02:08:28 /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) 02:08:28 [100%] Built target device-terminal 02:08:28 + cp -rf include/devsdk include/edgex /usr/include/ 02:08:28 + cp build/release/c/libcsdk.so /usr/lib/ 02:08:28 + rm -rf /device-coap/deps 02:08:29 Removing intermediate container 6790047cdf90 02:08:29 ---> 2c000bf56fd9 02:08:29 Step 14/14 : RUN /device-coap/scripts/build.sh 02:08:29 ---> Running in 3beb89d0f1f7 02:08:29 + readlink -f /device-coap/scripts/build.sh 02:08:29 + dirname /device-coap/scripts/build.sh 02:08:29 + dirname /device-coap/scripts 02:08:29 + ROOT=/device-coap 02:08:29 + echo /device-coap 02:08:29 + cd /device-coap 02:08:29 + mkdir -p /device-coap/build/release 02:08:29 /device-coap 02:08:29 + cd /device-coap/build/release 02:08:29 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 02:08:29 -- The C compiler identification is GNU 12.2.1 02:08:29 -- Detecting C compiler ABI info 02:08:29 -- Detecting C compiler ABI info - done 02:08:29 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:29 -- Detecting C compile features 02:08:29 -- Detecting C compile features - done 02:08:29 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 02:08:29 -- Configuring done (0.2s) 02:08:29 -- Generating done (0.0s) 02:08:29 -- Build files have been written to: /device-coap/build/release 02:08:29 + make 02:08:29 + tee release.log 02:08:29 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 02:08:29 In file included from /usr/include/devsdk/devsdk.h:18, 02:08:29 from /device-coap/src/c/device-coap.h:17, 02:08:29 from /device-coap/src/c/coap-client.h:21, 02:08:29 from /device-coap/src/c/coap-client.c:9: 02:08:29 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 02:08:29 /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=] 02:08:29 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~ 02:08:29 90 | strlen(end_dev_params_ptr->psk_key)); 02:08:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 02:08:29 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:08:29 | ~^ 02:08:29 | | 02:08:29 | unsigned int 02:08:29 | %lu 02:08:29 /device-coap/src/c/coap-client.c: In function 'message_handler': 02:08:29 /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=] 02:08:29 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 02:08:29 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:08:29 | ~^ 02:08:29 | | 02:08:29 | unsigned int 02:08:29 | %lu 02:08:29 /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=] 02:08:29 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 130 | resource->properties->type); 02:08:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 | | 02:08:29 | iot_typecode_t 02:08:29 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 02:08:29 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 /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=] 02:08:29 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 140 | len); 02:08:29 | ~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 02:08:29 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 | %ld 02:08:29 /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=] 02:08:29 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 145 | len); 02:08:29 | ~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 02:08:29 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 | %ld 02:08:29 /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=] 02:08:29 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 152 | len); 02:08:29 | ~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 02:08:29 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 | %ld 02:08:29 /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=] 02:08:29 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 157 | resource->properties->type); 02:08:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 | | 02:08:29 | iot_typecode_t 02:08:29 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 02:08:29 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 02:08:29 /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=] 02:08:29 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 02:08:29 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 | %ld 02:08:29 /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=] 02:08:29 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 253 | (uint8_t *)end_dev_params_ptr->psk_key, 02:08:29 254 | strlen(end_dev_params_ptr->psk_key)); 02:08:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 02:08:29 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 | %ld 02:08:29 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 02:08:29 /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=] 02:08:29 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 352 | (uint8_t *)end_dev_params_ptr->psk_key, 02:08:29 353 | strlen(end_dev_params_ptr->psk_key)); 02:08:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 02:08:29 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 | %ld 02:08:29 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 02:08:29 In file included from /usr/include/devsdk/devsdk.h:18, 02:08:29 from /usr/include/edgex/devices.h:17, 02:08:29 from /device-coap/src/c/coap-server.c:22: 02:08:29 /device-coap/src/c/coap-server.c: In function 'data_handler': 02:08:29 /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=] 02:08:29 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:08:29 | | 02:08:29 | size_t {aka long unsigned int} 02:08:29 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 02:08:29 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:08:29 | ~^ 02:08:29 | | 02:08:29 | unsigned int 02:08:29 | %lu 02:08:29 /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=] 02:08:29 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:08:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:29 | | 02:08:29 | iot_typecode_t 02:08:29 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 02:08:29 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:08:29 | ~^ 02:08:29 | | 02:08:29 | int 02:08:29 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 02:08:30 In file included from /usr/include/devsdk/devsdk.h:18, 02:08:30 from /device-coap/src/c/coap-util.h:18, 02:08:30 from /device-coap/src/c/coap-util.c:9: 02:08:30 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 02:08:30 /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=] 02:08:30 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:08:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:08:30 | | 02:08:30 | size_t {aka long unsigned int} 02:08:30 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 02:08:30 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:08:30 | ~^ 02:08:30 | | 02:08:30 | unsigned int 02:08:30 | %lu 02:08:30 /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=] 02:08:30 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:08:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:08:30 | | 02:08:30 | size_t {aka long unsigned int} 02:08:30 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 02:08:30 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:08:30 | ~^ 02:08:30 | | 02:08:30 | unsigned int 02:08:30 | %lu 02:08:30 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 02:08:30 /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=] 02:08:30 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:08:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:08:30 | | 02:08:30 | size_t {aka long unsigned int} 02:08:30 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 02:08:30 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:08:30 | ~^ 02:08:30 | | 02:08:30 | unsigned int 02:08:30 | %lu 02:08:30 /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=] 02:08:30 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:08:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:08:30 | | 02:08:30 | size_t {aka long unsigned int} 02:08:30 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 02:08:30 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:08:30 | ~^ 02:08:30 | | 02:08:30 | unsigned int 02:08:30 | %lu 02:08:30 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 02:08:30 In file included from /usr/include/devsdk/devsdk.h:18, 02:08:30 from /device-coap/src/c/device-coap.h:17, 02:08:30 from /device-coap/src/c/device-coap.c:10: 02:08:30 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 02:08:30 /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=] 02:08:30 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:08:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:30 131 | requests[i].resource->type); 02:08:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:30 | | 02:08:30 | iot_typecode_t 02:08:30 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 02:08:30 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:08:30 | ~^ 02:08:30 | | 02:08:30 | int 02:08:30 [100%] Linking C executable device-coap 02:08:30 /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) 02:08:30 [100%] Built target device-coap 02:08:30 Removing intermediate container 3beb89d0f1f7 02:08:30 ---> 38e78ae996b4 02:08:30 Successfully built 38e78ae996b4 02:08:30 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 02:08:31 + docker inspect -f . ci-base-image-x86_64 02:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:31 prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container 02:08:31 $ 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 02:08:31 $ docker top 834c31196fbd0da4bd32e1b6a6e38a80dcaed70ca8db61f755d8fd2157c99549 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:32 + make test 02:08:32 build/release/device-coap [Pipeline] } 02:08:32 $ docker stop --time=1 834c31196fbd0da4bd32e1b6a6e38a80dcaed70ca8db61f755d8fd2157c99549 02:08:33 $ docker rm -f --volumes 834c31196fbd0da4bd32e1b6a6e38a80dcaed70ca8db61f755d8fd2157c99549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:08:34 + ls -al . 02:08:34 total 96 02:08:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 02:07 . 02:08:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 02:07 .. 02:08:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 02:07 .git 02:08:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 02:07 .github 02:08:34 -rw-rw-r-- 1 jenkins jenkins 14 Mar 7 02:07 .gitignore 02:08:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 02:07 .semver 02:08:34 -rw-rw-r-- 1 jenkins jenkins 2037 Mar 7 02:07 Attribution.txt 02:08:34 -rw-rw-r-- 1 jenkins jenkins 3893 Mar 7 02:07 CHANGELOG.md 02:08:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 02:07 GOVERNANCE.md 02:08:34 -rw-rw-r-- 1 jenkins jenkins 798 Mar 7 02:07 Jenkinsfile 02:08:34 -rw-rw-r-- 1 jenkins jenkins 10173 Mar 7 02:07 LICENSE 02:08:34 -rw-rw-r-- 1 jenkins jenkins 938 Mar 7 02:07 Makefile 02:08:34 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 02:07 OWNERS.md 02:08:34 -rw-rw-r-- 1 jenkins jenkins 12454 Mar 7 02:07 README.md 02:08:34 -rw-rw-r-- 1 jenkins jenkins 506 Mar 7 02:07 ROADMAP.md 02:08:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 02:07 VERSION 02:08:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 02:07 res 02:08:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 02:07 scripts 02:08:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 02:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:35 + 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 . 02:08:35 Sending build context to Docker daemon 559.6kB 02:08:35 Step 1/33 : ARG BASE=alpine:3.20 02:08:35 Step 2/33 : FROM ${BASE} as builder 02:08:35 ---> 38e78ae996b4 02:08:35 Step 3/33 : LABEL maintainer="Ken Bannister " 02:08:35 ---> Running in 96c178f9fb8f 02:08:35 Removing intermediate container 96c178f9fb8f 02:08:35 ---> 7266982ea406 02:08:35 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 02:08:35 ---> Running in 99f8ff89116d 02:08:35 Connecting to iotech.jfrog.io (34.246.139.145:443) 02:08:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:08:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:08:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:08:36 Removing intermediate container 99f8ff89116d 02:08:36 ---> 16ce96123f6d 02:08:36 Step 5/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:08:36 ---> Running in 6cb3eca41fb8 02:08:36 Removing intermediate container 6cb3eca41fb8 02:08:36 ---> 4261546cbf67 02:08:36 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 02:08:36 ---> Running in 095a39159853 02:08:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:08:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:08:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:08:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:08:38 OK: 337 MiB in 103 packages 02:08:38 Removing intermediate container 095a39159853 02:08:38 ---> a94bdef39f87 02:08:38 Step 7/33 : COPY scripts /device-coap/scripts 02:08:38 ---> bea5679fcd8a 02:08:38 Step 8/33 : COPY src /device-coap/src/ 02:08:38 ---> 7f35c425e29f 02:08:38 Step 9/33 : COPY VERSION /device-coap 02:08:38 ---> 3fef34963c27 02:08:38 Step 10/33 : RUN mkdir -p /device-coap/build 02:08:38 ---> Running in ce8fcc3d193d 02:08:39 Removing intermediate container ce8fcc3d193d 02:08:39 ---> affbed957df0 02:08:39 Step 11/33 : WORKDIR /device-coap 02:08:39 ---> Running in af36fd277ccc 02:08:39 Removing intermediate container af36fd277ccc 02:08:39 ---> f92b52ecf951 02:08:39 Step 12/33 : RUN /device-coap/scripts/build_deps.sh 1 02:08:39 ---> Running in 92213dd2b174 02:08:39 + BUILD_CSDK=1 02:08:39 + TINYDTLS_VERSION=b0e230d 02:08:39 + LIBCOAP_VERSION=1739507 02:08:39 + CSDK_VERSION=4.0.0 02:08:39 + '[' -d deps ] 02:08:39 + mkdir deps 02:08:39 + cd /device-coap/deps 02:08:39 + git clone https://github.com/eclipse/tinydtls.git 02:08:39 Cloning into 'tinydtls'... 02:08:40 + cd tinydtls 02:08:40 + git checkout develop 02:08:40 branch 'develop' set up to track 'origin/develop'. 02:08:40 Switched to a new branch 'develop' 02:08:40 + git reset --hard b0e230d 02:08:40 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:08:40 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:08:40 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:08:40 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:08:40 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:08:40 + mkdir -p build 02:08:40 + cd build 02:08:40 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:08:40 -- The C compiler identification is GNU 12.2.1 02:08:40 -- Detecting C compiler ABI info 02:08:40 -- Detecting C compiler ABI info - done 02:08:40 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:40 -- Detecting C compile features 02:08:40 -- Detecting C compile features - done 02:08:40 -- Looking for assert.h 02:08:40 -- Looking for assert.h - found 02:08:40 -- Looking for arpa/inet.h 02:08:40 -- Looking for arpa/inet.h - found 02:08:40 -- Looking for fcntl.h 02:08:40 -- Looking for fcntl.h - found 02:08:40 -- Looking for inttypes.h 02:08:40 -- Looking for inttypes.h - found 02:08:40 -- Looking for memory.h 02:08:41 -- Looking for memory.h - found 02:08:41 -- Looking for netdb.h 02:08:41 -- Looking for netdb.h - found 02:08:41 -- Looking for netinet/in.h 02:08:41 -- Looking for netinet/in.h - found 02:08:41 -- Looking for stddef.h 02:08:41 -- Looking for stddef.h - found 02:08:41 -- Looking for stdint.h 02:08:41 -- Looking for stdint.h - found 02:08:41 -- Looking for stdlib.h 02:08:41 -- Looking for stdlib.h - found 02:08:41 -- Looking for string.h 02:08:41 -- Looking for string.h - found 02:08:41 -- Looking for strings.h 02:08:41 -- Looking for strings.h - found 02:08:41 -- Looking for time.h 02:08:41 -- Looking for time.h - found 02:08:41 -- Looking for sys/param.h 02:08:41 -- Looking for sys/param.h - found 02:08:41 -- Looking for sys/socket.h 02:08:41 -- Looking for sys/socket.h - found 02:08:41 -- Looking for sys/stat.h 02:08:42 -- Looking for sys/stat.h - found 02:08:42 -- Looking for sys/types.h 02:08:42 -- Looking for sys/types.h - found 02:08:42 -- Looking for sys/time.h 02:08:42 -- Looking for sys/time.h - found 02:08:42 -- Looking for unistd.h 02:08:42 -- Looking for unistd.h - found 02:08:42 -- Looking for float.h 02:08:42 -- Looking for float.h - found 02:08:42 -- Looking for dlfcn.h 02:08:42 -- Looking for dlfcn.h - found 02:08:42 -- Looking for memset 02:08:42 -- Looking for memset - found 02:08:42 -- Looking for select 02:08:42 -- Looking for select - found 02:08:42 -- Looking for socket 02:08:42 -- Looking for socket - found 02:08:42 -- Looking for strdup 02:08:42 -- Looking for strdup - found 02:08:42 -- Looking for strerror 02:08:42 -- Looking for strerror - found 02:08:42 -- Looking for strnlen 02:08:42 -- Looking for strnlen - found 02:08:42 -- Looking for fls 02:08:43 -- Looking for fls - not found 02:08:43 -- Looking for vprintf 02:08:43 -- Looking for vprintf - found 02:08:43 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:08:43 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:08:43 -- Configuring done (2.9s) 02:08:43 -- Generating done (0.0s) 02:08:43 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:08:43 + make 02:08:43 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:08:43 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:08:43 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:08:43 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:08:43 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:08:43 In function 'ecc_ecdh', 02:08:43 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:08:43 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:08:43 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:08:43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:43 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:08:43 /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 02:08:43 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:08:43 | ^~~~~~~~~~~ 02:08:43 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:08:43 431 | uint32_t pub_x[8]; 02:08:43 | ^~~~~ 02:08:43 In function 'ecc_ecdh', 02:08:43 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:08:43 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:08:43 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:08:43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:43 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:08:43 /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 02:08:43 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:08:43 | ^~~~~~~~~~~ 02:08:43 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:08:43 432 | uint32_t pub_y[8]; 02:08:43 | ^~~~~ 02:08:43 In function 'ecc_ecdh', 02:08:43 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:08:43 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:08:43 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:08:43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:43 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:08:43 /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 02:08:43 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:08:43 | ^~~~~~~~~~~ 02:08:43 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:08:43 430 | uint32_t priv[8]; 02:08:43 | ^~~~ 02:08:43 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:08:44 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:08:45 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:08:45 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:08:45 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:08:45 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:08:45 /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] 02:08:45 316 | for (idx = 0; idx < count; idx++) { 02:08:45 | ^ 02:08:45 /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] 02:08:45 319 | return result == count; 02:08:45 | ^~ 02:08:45 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:08:45 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:08:45 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:08:45 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:08:45 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:08:45 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 02:08:45 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:08:45 | ~~~~~~~~~~^~~~~~~~ 02:08:45 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:08:45 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:08:45 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:08:45 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:45 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:08:45 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:08:45 | ~~~~~^~~~~~~~ 02:08:45 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:08:45 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:08:45 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:08:46 [100%] Linking C shared library libtinydtls.so 02:08:46 [100%] Built target tinydtls 02:08:46 + make install 02:08:46 [100%] Built target tinydtls 02:08:46 Install the project... 02:08:46 -- Install configuration: "Release" 02:08:46 -- Installing: /usr/local/lib/libtinydtls.so 02:08:46 -- Up-to-date: /usr/local/include/tinydtls 02:08:46 -- Installing: /usr/local/include/tinydtls/uthash.h 02:08:46 -- Up-to-date: /usr/local/include/tinydtls/sha2 02:08:46 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:08:46 -- Up-to-date: /usr/local/include/tinydtls/ecc 02:08:46 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:08:46 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:08:46 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:08:46 -- Installing: /usr/local/include/tinydtls/alert.h 02:08:46 -- Up-to-date: /usr/local/include/tinydtls/aes 02:08:46 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:08:46 -- Installing: /usr/local/include/tinydtls/crypto.h 02:08:46 -- Installing: /usr/local/include/tinydtls/numeric.h 02:08:46 -- Installing: /usr/local/include/tinydtls/peer.h 02:08:46 -- Installing: /usr/local/include/tinydtls/utlist.h 02:08:46 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:08:46 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:08:46 -- Installing: /usr/local/include/tinydtls/netq.h 02:08:46 -- Installing: /usr/local/include/tinydtls/dtls.h 02:08:46 -- Installing: /usr/local/include/tinydtls/global.h 02:08:46 -- Installing: /usr/local/include/tinydtls/state.h 02:08:46 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:08:46 -- Installing: /usr/local/include/tinydtls/session.h 02:08:46 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:08:46 -- Installing: /usr/local/include/tinydtls/hmac.h 02:08:46 -- Installing: /usr/local/include/tinydtls/ccm.h 02:08:46 -- Up-to-date: /usr/local/include/tinydtls 02:08:46 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:08:46 + cd /device-coap/deps 02:08:46 + git clone https://github.com/obgm/libcoap.git 02:08:46 Cloning into 'libcoap'... 02:08:48 + cd libcoap 02:08:48 + git reset --hard 1739507 02:08:48 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:08:48 + patch -p1 02:08:48 patching file cmake/FindTinyDTLS.cmake 02:08:48 + patch -p1 02:08:48 patching file include/coap2/coap_config.h.in 02:08:48 + mkdir -p build 02:08:48 + cd build 02:08:48 + 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' .. 02:08:48 -- The CXX compiler identification is GNU 12.2.1 02:08:48 -- The C compiler identification is GNU 12.2.1 02:08:48 -- Detecting CXX compiler ABI info 02:08:48 -- Detecting CXX compiler ABI info - done 02:08:48 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:08:48 -- Detecting CXX compile features 02:08:48 -- Detecting CXX compile features - done 02:08:48 -- Detecting C compiler ABI info 02:08:48 -- Detecting C compiler ABI info - done 02:08:48 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:48 -- Detecting C compile features 02:08:48 -- Detecting C compile features - done 02:08:48 -- Looking for byteswap.h 02:08:48 -- Looking for byteswap.h - found 02:08:48 -- Looking for inttypes.h 02:08:48 -- Looking for inttypes.h - found 02:08:48 -- Looking for limits.h 02:08:48 -- Looking for limits.h - found 02:08:48 -- Looking for memory.h 02:08:48 -- Looking for memory.h - found 02:08:48 -- Looking for strings.h 02:08:48 -- Looking for strings.h - found 02:08:48 -- Looking for string.h 02:08:48 -- Looking for string.h - found 02:08:48 -- Looking for sys/sysctl.h 02:08:48 -- Looking for sys/sysctl.h - not found 02:08:48 -- Looking for netinet/in.h 02:08:49 -- Looking for netinet/in.h - found 02:08:49 -- Looking for sys/epoll.h 02:08:49 -- Looking for sys/epoll.h - found 02:08:49 -- Looking for sys/timerfd.h 02:08:49 -- Looking for sys/timerfd.h - found 02:08:49 -- Looking for arpa/inet.h 02:08:49 -- Looking for arpa/inet.h - found 02:08:49 -- Looking for stdbool.h 02:08:49 -- Looking for stdbool.h - found 02:08:49 -- Looking for netdb.h 02:08:49 -- Looking for netdb.h - found 02:08:49 -- Looking for pthread.h 02:08:49 -- Looking for pthread.h - found 02:08:49 -- Looking for stdlib.h 02:08:49 -- Looking for stdlib.h - found 02:08:49 -- Looking for stdint.h 02:08:49 -- Looking for stdint.h - found 02:08:49 -- Looking for syslog.h 02:08:49 -- Looking for syslog.h - found 02:08:49 -- Looking for sys/ioctl.h 02:08:49 -- Looking for sys/ioctl.h - found 02:08:49 -- Looking for sys/socket.h 02:08:50 -- Looking for sys/socket.h - found 02:08:50 -- Looking for sys/stat.h 02:08:50 -- Looking for sys/stat.h - found 02:08:50 -- Looking for sys/time.h 02:08:50 -- Looking for sys/time.h - found 02:08:50 -- Looking for sys/types.h 02:08:50 -- Looking for sys/types.h - found 02:08:50 -- Looking for sys/unistd.h 02:08:50 -- Looking for sys/unistd.h - not found 02:08:50 -- Looking for time.h 02:08:50 -- Looking for time.h - found 02:08:50 -- Looking for unistd.h 02:08:50 -- Looking for unistd.h - found 02:08:50 -- Looking for float.h 02:08:50 -- Looking for float.h - found 02:08:50 -- Looking for stddef.h 02:08:50 -- Looking for stddef.h - found 02:08:50 -- Looking for winsock2.h 02:08:50 -- Looking for winsock2.h - not found 02:08:50 -- Looking for ws2tcpip.h 02:08:50 -- Looking for ws2tcpip.h - not found 02:08:50 -- Looking for malloc 02:08:50 -- Looking for malloc - found 02:08:50 -- Looking for memset 02:08:50 -- Looking for memset - found 02:08:50 -- Looking for select 02:08:50 -- Looking for select - found 02:08:50 -- Looking for socket 02:08:51 -- Looking for socket - found 02:08:51 -- Looking for strcasecmp 02:08:51 -- Looking for strcasecmp - found 02:08:51 -- Looking for pthread_mutex_lock 02:08:51 -- Looking for pthread_mutex_lock - found 02:08:51 -- Looking for getaddrinfo 02:08:51 -- Looking for getaddrinfo - found 02:08:51 -- Looking for strnlen 02:08:51 -- Looking for strnlen - found 02:08:51 -- Looking for strrchr 02:08:51 -- Looking for strrchr - found 02:08:51 -- Looking for getrandom 02:08:51 -- Looking for getrandom - found 02:08:51 -- Looking for cmsghdr 02:08:51 -- Looking for cmsghdr - not found 02:08:51 -- compiling without epoll support 02:08:51 -- compiling with DTLS support 02:08:51 -- DTLS_BACKEND: tinydtls 02:08:51 -- Found TinyDTLS: /usr/local/include 02:08:51 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:08:51 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:08:51 -- TINYDTLS_ROOT_DIR: 02:08:51 -- compiling with tinydtls support 02:08:51 -- ENABLE_DTLS:.....................ON 02:08:51 -- ENABLE_TCP:......................ON 02:08:51 -- ENABLE_DOCS:.....................OFF 02:08:51 -- ENABLE_EXAMPLES:.................OFF 02:08:51 -- DTLS_BACKEND:....................tinydtls 02:08:51 -- WITH_GNUTLS:.....................OFF 02:08:51 -- WITH_TINYDTLS:...................ON 02:08:51 -- WITH_OPENSSL:....................OFF 02:08:51 -- WITH_MBEDTLS:....................OFF 02:08:51 -- HAVE_LIBTINYDTLS:................1 02:08:51 -- HAVE_LIBGNUTLS:.................. 02:08:51 -- HAVE_OPENSSL:.................... 02:08:51 -- HAVE_MBEDTLS:.................... 02:08:51 -- COAP_EPOLL_SUPPORT:.............. 02:08:51 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:08:51 -- BUILD_SHARED_LIBS:...............ON 02:08:51 -- CMAKE_BUILD_TYPE:................Release 02:08:51 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 02:08:51 -- Configuring done (3.8s) 02:08:51 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:08:51 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:08:51 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:08:51 command to set the policy and suppress this warning. 02:08:51 02:08:51 File: 02:08:51 02:08:51 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:08:51 This warning is for project developers. Use -Wno-dev to suppress it. 02:08:51 02:08:51 -- Generating done (0.0s) 02:08:51 -- Build files have been written to: /device-coap/deps/libcoap/build 02:08:51 + make 02:08:51 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:08:52 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:08:52 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:08:52 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:08:52 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:08:52 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:08:52 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:08:52 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:08:52 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:08:52 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:08:53 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:08:53 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:08:53 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:08:53 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:08:53 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:08:54 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:08:54 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:08:54 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:08:54 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:08:54 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:08:55 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:08:55 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:08:55 [100%] Linking C shared library libcoap-2.so 02:08:55 [100%] Built target coap-2 02:08:55 + make install 02:08:55 [100%] Built target coap-2 02:08:55 Install the project... 02:08:55 -- Install configuration: "Release" 02:08:55 -- Installing: /usr/local/lib/libcoap-2.so 02:08:55 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:08:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:08:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:08:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:08:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:08:55 -- Up-to-date: /usr/local/include 02:08:55 -- Up-to-date: /usr/local/include/coap2 02:08:55 -- Installing: /usr/local/include/coap2/uthash.h 02:08:55 -- Installing: /usr/local/include/coap2/subscribe.h 02:08:55 -- Installing: /usr/local/include/coap2/option.h 02:08:55 -- Installing: /usr/local/include/coap2/resource.h 02:08:55 -- Installing: /usr/local/include/coap2/bits.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:08:55 -- Installing: /usr/local/include/coap2/block.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_io.h 02:08:55 -- Installing: /usr/local/include/coap2/pdu.h 02:08:55 -- Installing: /usr/local/include/coap2/str.h 02:08:55 -- Installing: /usr/local/include/coap2/async.h 02:08:55 -- Installing: /usr/local/include/coap2/net.h 02:08:55 -- Installing: /usr/local/include/coap2/address.h 02:08:55 -- Installing: /usr/local/include/coap2/uri.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_event.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_riot.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_prng.h 02:08:55 -- Installing: /usr/local/include/coap2/lwippools.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_debug.h 02:08:55 -- Installing: /usr/local/include/coap2/utlist.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_time.h 02:08:55 -- Installing: /usr/local/include/coap2/encode.h 02:08:55 -- Installing: /usr/local/include/coap2/libcoap.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:08:55 -- Installing: /usr/local/include/coap2/mem.h 02:08:55 -- Installing: /usr/local/include/coap2/coap_session.h 02:08:55 -- Up-to-date: /usr/local/include 02:08:55 -- Up-to-date: /usr/local/include/coap2 02:08:55 -- Installing: /usr/local/include/coap2/coap.h 02:08:55 + '[' 1 '=' 1 ] 02:08:55 + cd /device-coap/deps 02:08:55 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:08:55 Connecting to github.com (140.82.114.4:443) 02:08:55 Connecting to codeload.github.com (140.82.112.9:443) 02:08:56 saving to 'v4.0.0.zip' 02:08:56 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:08:56 'v4.0.0.zip' saved 02:08:56 + unzip v4.0.0.zip 02:08:56 Archive: v4.0.0.zip 02:08:56 creating: device-sdk-c-4.0.0/ 02:08:56 creating: device-sdk-c-4.0.0/.github/ 02:08:56 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:08:56 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:08:56 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:08:56 creating: device-sdk-c-4.0.0/.github/workflows/ 02:08:56 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:08:56 inflating: device-sdk-c-4.0.0/.gitignore 02:08:56 inflating: device-sdk-c-4.0.0/Attribution.txt 02:08:56 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:08:56 inflating: device-sdk-c-4.0.0/Doxyfile 02:08:56 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:08:56 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:08:56 inflating: device-sdk-c-4.0.0/LICENSE 02:08:56 inflating: device-sdk-c-4.0.0/Makefile 02:08:56 inflating: device-sdk-c-4.0.0/OWNERS.md 02:08:56 inflating: device-sdk-c-4.0.0/README.IOT.md 02:08:56 inflating: device-sdk-c-4.0.0/README.md 02:08:56 inflating: device-sdk-c-4.0.0/README.v3.md 02:08:56 creating: device-sdk-c-4.0.0/docs/ 02:08:56 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:08:56 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:08:56 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:08:56 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:08:56 inflating: device-sdk-c-4.0.0/docs/startup.md 02:08:56 creating: device-sdk-c-4.0.0/include/ 02:08:56 creating: device-sdk-c-4.0.0/include/devsdk/ 02:08:56 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:08:56 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:08:56 creating: device-sdk-c-4.0.0/include/edgex/ 02:08:56 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:08:56 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:08:56 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:08:56 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:08:56 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:08:56 creating: device-sdk-c-4.0.0/scripts/ 02:08:56 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:08:56 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:08:56 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:08:56 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:08:56 creating: device-sdk-c-4.0.0/src/ 02:08:56 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:08:56 creating: device-sdk-c-4.0.0/src/c/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/api.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/config.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/config.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/data.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/data.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:08:56 inflating: device-sdk-c-4.0.0/src/c/device.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/device.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:08:56 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:08:56 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:08:56 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/map.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/map.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/service.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/service.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:08:56 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:08:56 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:08:56 creating: device-sdk-c-4.0.0/src/cmake/ 02:08:56 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:08:56 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:08:56 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:08:56 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:08:56 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:08:56 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:08:56 + cd device-sdk-c-4.0.0 02:08:56 + ./scripts/build.sh 02:08:56 + CPPCHECK=false 02:08:56 + DOCGEN=false 02:08:56 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:08:56 + '[' 0 -gt 0 ] 02:08:56 + readlink -f ./scripts/build.sh 02:08:56 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:08:56 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:08:56 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:08:56 + cd /device-coap/deps/device-sdk-c-4.0.0 02:08:56 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:08:56 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:08:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:08:56 -- The C compiler identification is GNU 12.2.1 02:08:56 -- Detecting C compiler ABI info 02:08:56 -- Detecting C compiler ABI info - done 02:08:56 -- Check for working C compiler: /usr/bin/cc - skipped 02:08:56 -- Detecting C compile features 02:08:56 -- Detecting C compile features - done 02:08:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:08:56 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:08:56 -- Found LIBYAML: /usr/lib/libyaml.so 02:08:56 -- Found LIBUUID: /usr/lib/libuuid.so 02:08:56 -- Found LIBCBOR: /usr/lib/libcbor.so 02:08:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:08:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:08:56 -- /opt/iotech/iot/1.5/include 02:08:56 -- C SDK 0.0.0 for Linux 02:08:56 -- Performing Test CSDK_HAVE_ATOMIC 02:08:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:08:56 -- Found Curses: /usr/lib/libcurses.so 02:08:56 -- Configuring done (0.5s) 02:08:56 -- Generating done (0.0s) 02:08:56 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:08:56 + make all package 02:08:56 + tee release.log 02:08:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:08:56 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:08:56 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:08:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:08:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:08:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:08:57 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:08:57 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:08:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:08:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:08:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:08:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:08:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:08:58 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:08:58 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:08:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:08:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:08:59 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:08:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:08:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:08:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:09:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:09:00 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:09:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:09:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:09:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:09:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:09:01 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:09:01 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:09:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:09:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:09:01 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:09:01 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 02:09:01 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:09:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:01 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:09:01 875 | const iot_data_t *deviceservices_config; 02:09:01 | ^~~~~~~~~~~~~~~~~~~~~ 02:09:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:09:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:09:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:09:02 [ 68%] Linking C shared library libcsdk.so 02:09:02 [ 68%] Built target csdk 02:09:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:09:02 [ 72%] Linking C executable template 02:09:02 /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) 02:09:02 [ 72%] Built target template 02:09:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:09:02 [ 76%] Linking C executable device-counter 02:09:02 /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) 02:09:02 [ 76%] Built target device-counter 02:09:02 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:09:02 [ 80%] Linking C executable device-random 02:09:02 /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) 02:09:02 [ 80%] Built target device-random 02:09:02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:09:02 [ 84%] Linking C executable device-gyro 02:09:02 /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) 02:09:03 [ 84%] Built target device-gyro 02:09:03 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:09:03 [ 88%] Linking C executable device-bitfields 02:09:03 /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) 02:09:03 [ 88%] Built target device-bitfields 02:09:03 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:09:03 [ 92%] Linking C executable template-discovery 02:09:03 /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) 02:09:03 [ 92%] Built target template-discovery 02:09:03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:09:03 [ 96%] Linking C executable device-file 02:09:03 /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) 02:09:03 [ 96%] Built target device-file 02:09:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:09:03 [100%] Linking C executable device-terminal 02:09:03 /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) 02:09:03 [100%] Built target device-terminal 02:09:03 Run CPack packaging tool... 02:09:03 CPack: Create package using TGZ 02:09:03 CPack: Install projects 02:09:03 CPack: - Run preinstall target for: Csdk 02:09:04 CPack: - Install project: Csdk [] 02:09:04 CPack: Create package 02:09:04 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:09:04 + '[' false '=' true ] 02:09:04 + '[' false '=' true ] 02:09:04 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:09:04 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:09:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:09:04 -- The C compiler identification is GNU 12.2.1 02:09:04 -- Detecting C compiler ABI info 02:09:04 -- Detecting C compiler ABI info - done 02:09:04 -- Check for working C compiler: /usr/bin/cc - skipped 02:09:04 -- Detecting C compile features 02:09:04 -- Detecting C compile features - done 02:09:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:09:04 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:09:04 -- Found LIBYAML: /usr/lib/libyaml.so 02:09:04 -- Found LIBUUID: /usr/lib/libuuid.so 02:09:04 -- Found LIBCBOR: /usr/lib/libcbor.so 02:09:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:09:04 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:09:04 -- /opt/iotech/iot/1.5/include 02:09:04 -- C SDK 0.0.0 for Linux 02:09:04 -- Performing Test CSDK_HAVE_ATOMIC 02:09:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:09:04 -- Found Curses: /usr/lib/libcurses.so 02:09:04 -- Configuring done (0.5s) 02:09:04 -- Generating done (0.0s) 02:09:04 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:09:04 + + teemake 02:09:04 debug.log 02:09:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:09:04 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:09:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:09:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:09:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:09:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:09:05 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:09:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:09:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:09:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:09:05 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:09:05 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:09:05 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:09:05 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:09:05 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:09:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:09:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:09:06 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:09:06 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:09:06 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:09:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:09:06 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:09:06 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:09:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:09:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:09:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:09:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:09:07 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:09:07 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:09:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:09:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:09:07 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:09:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:09:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:09:07 [ 68%] Linking C shared library libcsdk.so 02:09:07 [ 68%] Built target csdk 02:09:07 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:09:07 [ 72%] Linking C executable template 02:09:07 /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) 02:09:07 [ 72%] Built target template 02:09:07 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:09:07 [ 76%] Linking C executable device-counter 02:09:07 /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) 02:09:07 [ 76%] Built target device-counter 02:09:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:09:08 [ 80%] Linking C executable device-random 02:09:08 /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) 02:09:08 [ 80%] Built target device-random 02:09:08 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:09:08 [ 84%] Linking C executable device-gyro 02:09:08 /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) 02:09:08 [ 84%] Built target device-gyro 02:09:08 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:09:08 [ 88%] Linking C executable device-bitfields 02:09:08 /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) 02:09:08 [ 88%] Built target device-bitfields 02:09:08 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:09:08 [ 92%] Linking C executable template-discovery 02:09:08 /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) 02:09:08 [ 92%] Built target template-discovery 02:09:08 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:09:08 [ 96%] Linking C executable device-file 02:09:08 /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) 02:09:08 [ 96%] Built target device-file 02:09:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:09:08 [100%] Linking C executable device-terminal 02:09:08 /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) 02:09:08 [100%] Built target device-terminal 02:09:08 + cp -rf include/devsdk include/edgex /usr/include/ 02:09:08 + cp build/release/c/libcsdk.so /usr/lib/ 02:09:08 + rm -rf /device-coap/deps 02:09:09 Removing intermediate container 92213dd2b174 02:09:09 ---> c97b1569cb26 02:09:09 Step 13/33 : RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 02:09:09 ---> Running in e53ba4754e26 02:09:09 + readlink -f /device-coap/scripts/build.sh 02:09:09 + dirname /device-coap/scripts/build.sh 02:09:09 + dirname /device-coap/scripts 02:09:09 + ROOT=/device-coap 02:09:09 + echo /device-coap 02:09:09 + cd /device-coap 02:09:09 + mkdir -p /device-coap/build/release 02:09:09 /device-coap 02:09:09 + cd /device-coap/build/release 02:09:09 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 02:09:09 -- Configuring done (0.0s) 02:09:09 -- Generating done (0.0s) 02:09:09 -- Build files have been written to: /device-coap/build/release 02:09:09 + make 02:09:09 + tee release.log 02:09:09 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 02:09:09 In file included from /usr/include/devsdk/devsdk.h:18, 02:09:09 from /device-coap/src/c/device-coap.h:17, 02:09:09 from /device-coap/src/c/coap-client.h:21, 02:09:09 from /device-coap/src/c/coap-client.c:9: 02:09:09 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 02:09:09 /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=] 02:09:09 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~ 02:09:09 90 | strlen(end_dev_params_ptr->psk_key)); 02:09:09 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 02:09:09 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:09:09 | ~^ 02:09:09 | | 02:09:09 | unsigned int 02:09:09 | %lu 02:09:09 /device-coap/src/c/coap-client.c: In function 'message_handler': 02:09:09 /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=] 02:09:09 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 02:09:09 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | unsigned int 02:09:09 | %lu 02:09:09 /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=] 02:09:09 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 130 | resource->properties->type); 02:09:09 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 | | 02:09:09 | iot_typecode_t 02:09:09 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 02:09:09 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 /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=] 02:09:09 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 140 | len); 02:09:09 | ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 02:09:09 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 | %ld 02:09:09 /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=] 02:09:09 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 145 | len); 02:09:09 | ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 02:09:09 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 | %ld 02:09:09 /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=] 02:09:09 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 152 | len); 02:09:09 | ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 02:09:09 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 | %ld 02:09:09 /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=] 02:09:09 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 157 | resource->properties->type); 02:09:09 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 | | 02:09:09 | iot_typecode_t 02:09:09 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 02:09:09 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 02:09:09 /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=] 02:09:09 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 02:09:09 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 | %ld 02:09:09 /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=] 02:09:09 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 253 | (uint8_t *)end_dev_params_ptr->psk_key, 02:09:09 254 | strlen(end_dev_params_ptr->psk_key)); 02:09:09 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 02:09:09 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 | %ld 02:09:09 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 02:09:09 /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=] 02:09:09 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 352 | (uint8_t *)end_dev_params_ptr->psk_key, 02:09:09 353 | strlen(end_dev_params_ptr->psk_key)); 02:09:09 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 02:09:09 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 | %ld 02:09:09 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 02:09:09 In file included from /usr/include/devsdk/devsdk.h:18, 02:09:09 from /usr/include/edgex/devices.h:17, 02:09:09 from /device-coap/src/c/coap-server.c:22: 02:09:09 /device-coap/src/c/coap-server.c: In function 'data_handler': 02:09:09 /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=] 02:09:09 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 02:09:09 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | unsigned int 02:09:09 | %lu 02:09:09 /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=] 02:09:09 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:09 | | 02:09:09 | iot_typecode_t 02:09:09 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 02:09:09 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | int 02:09:09 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 02:09:09 In file included from /usr/include/devsdk/devsdk.h:18, 02:09:09 from /device-coap/src/c/coap-util.h:18, 02:09:09 from /device-coap/src/c/coap-util.c:9: 02:09:09 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 02:09:09 /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=] 02:09:09 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 02:09:09 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | unsigned int 02:09:09 | %lu 02:09:09 /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=] 02:09:09 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 02:09:09 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | unsigned int 02:09:09 | %lu 02:09:09 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 02:09:09 /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=] 02:09:09 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 02:09:09 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | unsigned int 02:09:09 | %lu 02:09:09 /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=] 02:09:09 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:09:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:09:09 | | 02:09:09 | size_t {aka long unsigned int} 02:09:09 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 02:09:09 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:09:09 | ~^ 02:09:09 | | 02:09:09 | unsigned int 02:09:09 | %lu 02:09:09 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 02:09:10 In file included from /usr/include/devsdk/devsdk.h:18, 02:09:10 from /device-coap/src/c/device-coap.h:17, 02:09:10 from /device-coap/src/c/device-coap.c:10: 02:09:10 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 02:09:10 /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=] 02:09:10 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:09:10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:10 131 | requests[i].resource->type); 02:09:10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:09:10 | | 02:09:10 | iot_typecode_t 02:09:10 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 02:09:10 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:09:10 | ~^ 02:09:10 | | 02:09:10 | int 02:09:10 [100%] Linking C executable device-coap 02:09:10 /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) 02:09:10 [100%] Built target device-coap 02:09:10 Removing intermediate container e53ba4754e26 02:09:10 ---> 8467995c75af 02:09:10 Step 14/33 : FROM ${BASE} 02:09:10 ---> 38e78ae996b4 02:09:10 Step 15/33 : RUN apk add --update --no-cache dumb-init 02:09:10 ---> Running in abaa046cca07 02:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:09:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:09:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:09:11 OK: 337 MiB in 103 packages 02:09:11 Removing intermediate container abaa046cca07 02:09:11 ---> 8e6614cc5614 02:09:11 Step 16/33 : RUN apk --no-cache upgrade 02:09:11 ---> Running in 3aedddefd2c1 02:09:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:09:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:09:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:09:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:09:13 OK: 337 MiB in 103 packages 02:09:13 Removing intermediate container 3aedddefd2c1 02:09:13 ---> 780eb376270e 02:09:13 Step 17/33 : WORKDIR / 02:09:13 ---> Running in 3cc750a2e906 02:09:13 Removing intermediate container 3cc750a2e906 02:09:13 ---> ef2c359c09a8 02:09:13 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 02:09:13 ---> Running in 8fa0e86efdf1 02:09:13 Connecting to iotech.jfrog.io (34.246.139.145:443) 02:09:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:09:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:09:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:09:14 Removing intermediate container 8fa0e86efdf1 02:09:14 ---> 4c8cc56756f3 02:09:14 Step 19/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:09:14 ---> Running in 641e47d684d2 02:09:15 Removing intermediate container 641e47d684d2 02:09:15 ---> e9d75203f124 02:09:15 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 02:09:15 ---> Running in ab70516ad5a3 02:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:09:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:09:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:09:15 (1/1) Installing curl (8.12.1-r0) 02:09:15 Executing busybox-1.36.1-r7.trigger 02:09:15 OK: 337 MiB in 104 packages 02:09:16 Removing intermediate container ab70516ad5a3 02:09:16 ---> 1133cc031546 02:09:16 Step 21/33 : COPY --from=builder /device-coap/build/release/device-coap / 02:09:16 ---> b5ebe4482f78 02:09:16 Step 22/33 : COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 02:09:16 ---> d81f1f05c932 02:09:16 Step 23/33 : COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 02:09:16 ---> cc9a58cafa42 02:09:16 Step 24/33 : COPY --from=builder /usr/local/lib/libtinydtls.so /usr/local/lib/ 02:09:16 ---> 4a2c55dddbb3 02:09:16 Step 25/33 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 02:09:16 ---> f73a86f47aaf 02:09:16 Step 26/33 : COPY LICENSE / 02:09:16 ---> 1137c4dfe456 02:09:16 Step 27/33 : COPY Attribution.txt / 02:09:17 ---> 34fef7454a8c 02:09:17 Step 28/33 : COPY res /res 02:09:17 ---> 696e51dc9388 02:09:17 Step 29/33 : ENTRYPOINT ["/device-coap"] 02:09:17 ---> Running in ffb026c8459f 02:09:17 Removing intermediate container ffb026c8459f 02:09:17 ---> e628aadbbdc2 02:09:17 Step 30/33 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:09:17 ---> Running in 1de10f257d0c 02:09:17 Removing intermediate container 1de10f257d0c 02:09:17 ---> c8a8218a2799 02:09:17 Step 31/33 : LABEL arch=amd64 02:09:17 ---> Running in 1d6a1f4bc6d3 02:09:17 Removing intermediate container 1d6a1f4bc6d3 02:09:17 ---> 3dc97edebfa3 02:09:17 Step 32/33 : LABEL git_sha=3d8850e1659c25f0877e4000d1122d2a78793a6f 02:09:17 ---> Running in 884cbb92dc60 02:09:17 Removing intermediate container 884cbb92dc60 02:09:17 ---> e9f0deb44f89 02:09:17 Step 33/33 : LABEL version=0.0.0 02:09:17 ---> Running in 6921e3cd3095 02:09:17 Removing intermediate container 6921e3cd3095 02:09:17 ---> 3b18979ee330 02:09:17 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:09:17 Successfully built 3b18979ee330 02:09:17 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 02:09:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:09:18 02:09:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:09:19 latest: Pulling from edgex-lftools-log-publisher 02:09:19 5eb5b503b376: Pulling fs layer 02:09:19 5c69ac0246d0: Pulling fs layer 02:09:19 ec43610c2a17: Pulling fs layer 02:09:19 3a2ae6a8a46f: Pulling fs layer 02:09:19 33b1e0a273af: Pulling fs layer 02:09:19 5d3b04190fa2: Pulling fs layer 02:09:19 2f39f015ded8: Pulling fs layer 02:09:19 2f39f015ded8: Waiting 02:09:19 33b1e0a273af: Waiting 02:09:19 5d3b04190fa2: Waiting 02:09:19 3a2ae6a8a46f: Waiting 02:09:19 5c69ac0246d0: Download complete 02:09:19 3a2ae6a8a46f: Verifying Checksum 02:09:19 3a2ae6a8a46f: Download complete 02:09:19 ec43610c2a17: Verifying Checksum 02:09:19 ec43610c2a17: Download complete 02:09:19 33b1e0a273af: Verifying Checksum 02:09:19 33b1e0a273af: Download complete 02:09:19 5d3b04190fa2: Verifying Checksum 02:09:19 5d3b04190fa2: Download complete 02:09:19 5eb5b503b376: Verifying Checksum 02:09:19 5eb5b503b376: Download complete 02:09:19 2f39f015ded8: Download complete 02:09:20 5eb5b503b376: Pull complete 02:09:20 5c69ac0246d0: Pull complete 02:09:21 ec43610c2a17: Pull complete 02:09:21 3a2ae6a8a46f: Pull complete 02:09:21 33b1e0a273af: Pull complete 02:09:21 5d3b04190fa2: Pull complete 02:09:25 2f39f015ded8: Pull complete 02:09:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:09:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:09:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:25 prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container 02:09:26 $ 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 02:09:27 $ docker top 6fc10090f733222206dfb9656071955786e0007cb2001500aaffd78f5eb7974f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:28 ---> job-cost.sh 02:09:28 lf-activate-venv: SKIPPING 02:09:28 INFO: No Stack... 02:09:28 INFO: Retrieving Pricing Info for: v3-standard-8 02:09:28 INFO: Archiving Costs [Pipeline] sh 02:09:29 + cat /w/workspace/edgexfoundry_device-coap-c_PR-62/archives/cost.csv 02:09:29 + cut -d, -f6 [Pipeline] lock 02:09:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] 02:09:29 Resource [jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] did not exist. Created. 02:09:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:09:29 + echo total: 0.2199999988079071 [Pipeline] stash 02:09:29 Stashed 1 file(s) [Pipeline] } 02:09:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:09:29 $ docker stop --time=1 6fc10090f733222206dfb9656071955786e0007cb2001500aaffd78f5eb7974f 02:09:31 $ 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 02:09:32 + [ -d /w/workspace/edgexfoundry_device-coap-c_PR-62/archives ] 02:09:32 + ls -al /w/workspace/edgexfoundry_device-coap-c_PR-62/archives 02:09:32 total 16 02:09:32 drwxr-xr-x 3 root root 4096 Mar 7 02:09 . 02:09:32 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 02:09 .. 02:09:32 drwxr-xr-x 2 root root 4096 Mar 7 02:09 cost 02:09:32 -rw-r--r-- 1 root root 84 Mar 7 02:09 cost.csv 02:09:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-coap-c_PR-62/archives 02:09:32 + ls -al /w/workspace/edgexfoundry_device-coap-c_PR-62/archives 02:09:32 total 16 02:09:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 02:09 . 02:09:32 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 02:09 .. 02:09:32 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 02:09 cost 02:09:32 -rw-r--r-- 1 jenkins jenkins 84 Mar 7 02:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:09:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:09:34 ---> package-listing.sh 02:09:34 ++ facter osfamily 02:09:34 ++ tr '[:upper:]' '[:lower:]' 02:09:34 + OS_FAMILY=debian 02:09:34 + workspace=/w/workspace/edgexfoundry_device-coap-c_PR-62 02:09:34 + START_PACKAGES=/tmp/packages_start.txt 02:09:34 + END_PACKAGES=/tmp/packages_end.txt 02:09:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:09:34 + PACKAGES=/tmp/packages_start.txt 02:09:34 + '[' /w/workspace/edgexfoundry_device-coap-c_PR-62 ']' 02:09:34 + PACKAGES=/tmp/packages_end.txt 02:09:34 + case "${OS_FAMILY}" in 02:09:34 + dpkg -l 02:09:34 + grep '^ii' 02:09:34 + '[' -f /tmp/packages_start.txt ']' 02:09:34 + '[' -f /tmp/packages_end.txt ']' 02:09:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:09:34 + '[' /w/workspace/edgexfoundry_device-coap-c_PR-62 ']' 02:09:34 + mkdir -p /w/workspace/edgexfoundry_device-coap-c_PR-62/archives/ 02:09:34 + 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 02:09:34 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 02:09:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:09:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:35 prd-ubuntu20.04-docker-8c-8g-40505 does not seem to be running inside a container 02:09:35 $ 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 02:09:35 $ docker top adefe74df11829c5849ab9df5827b2cfa48702fd5baa3c54d0229e9c3d7c932b -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:36 + touch /tmp/pre-build-complete [Pipeline] sh 02:09:36 + mkdir -p /var/log/sysstat [Pipeline] sh 02:09:36 + ls /var/log/sa-host 02:09:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:09:36 provisioning config files... 02:09:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-62@tmp/config18109094762158313510tmp [Pipeline] { [Pipeline] echo 02:09:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:09:37 ---> create-netrc.sh [Pipeline] } 02:09:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:09:37 ---> python-tools-install.sh [Pipeline] echo 02:09:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:09:38 ---> sudo-logs.sh 02:09:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:09:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:09:38 ---> job-cost.sh 02:09:38 lf-activate-venv: SKIPPING 02:09:38 DEBUG: total: 0.2199999988079071 02:09:38 INFO: Retrieving Stack Cost... 02:09:38 INFO: Retrieving Pricing Info for: v3-standard-8 02:09:38 INFO: Archiving Costs [Pipeline] echo 02:09:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:09:39 ---> logs-deploy.sh 02:09:39 lf-activate-venv: SKIPPING 02:09:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/PR-62/1 02:09:39 INFO: archiving workspace using pattern(s): 02:09:40 Archives upload complete. 02:09:40 INFO: archiving logs to Nexus