Pull request #65 closed Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8dd8b89e3844a7d2f70ca8a94769af24447a763 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-ssh15422996159367195391.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh11091662113383810939.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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/snyk-fix-a.ngnu7t6u1.66c5798011b/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/snyk-fix-a.ngnu7t6u1.66c5798011b/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3271274270112118929.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/snyk-fix-a.ngnu7t6u1.66c5798011b/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15410081084508892364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh4801287285486133243.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/snyk-fix-a.ngnu7t6u1.66c5798011b/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/snyk-fix-a.ngnu7t6u1.66c5798011b/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12043436049808795324.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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 ‘prd-centos7-blackbox-4c-2g-772770’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-772845’ is offline Running on prd-ubuntu20.04-docker-8c-8g-772849 in /w/workspace/a7aab1ab6d8efce1cc97566c5798011b [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/a7aab1ab6d8efce1cc97566c5798011b # 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 Avoid second fetch Checking out Revision b8dd8b89e3844a7d2f70ca8a94769af24447a763 (snyk-fix-a7aab1ab6d8efce1cc97566c5798011b) Commit message: "fix: scripts/Dockerfile.alpine to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 > 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 core.sparsecheckout # timeout=10 > git checkout -f b8dd8b89e3844a7d2f70ca8a94769af24447a763 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:53:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:53:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:53:25 ========================================================= 02:53:25 EdgeX Global Pipelines Version Info 02:53:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:53:26 ------------------- 02:53:26 stable info: 02:53:26 ------------------- 02:53:26 Commited By: Cherry Wang cherry@iotechsys.com 02:53:26 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 02:53:26 Message: update stable to v1.0.278 02:53:26 ------------------- 02:53:26 experimental info: 02:53:26 ------------------- 02:53:26 Commited By: **** collab-it+edgex@linuxfoundation.org 02:53:26 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 02:53:26 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:53:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo 02:53:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo 02:53:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk-fix-a7aab1ab6d8efce1cc97566c5798011b [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk-fix-a7aab1ab6d8efce1cc97566c5798011b [Pipeline] echo 02:53:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk-fix-a7aab1ab6d8efce1cc97566c5798011b [Pipeline] echo 02:53:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8dd8b89e3844a7d2f70ca8a94769af24447a763 [Pipeline] echo 02:53:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8dd8b8 [Pipeline] echo 02:53:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:28 provisioning config files... 02:53:28 copy managed file [device-coap-c-settings] to file:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp/config4425374155655088606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:28 ---> ****-login.sh 02:53:28 nexus3.edgexfoundry.org:10001 02:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:28 02:53:28 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:28 Configure a credential helper to remove this warning. See 02:53:28 https://docs.****.com/go/credential-store/ 02:53:28 02:53:28 Login Succeeded 02:53:28 nexus3.edgexfoundry.org:10002 02:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:28 02:53:28 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:28 Configure a credential helper to remove this warning. See 02:53:28 https://docs.****.com/go/credential-store/ 02:53:28 02:53:28 Login Succeeded 02:53:28 nexus3.edgexfoundry.org:10003 02:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:29 02:53:29 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:29 Configure a credential helper to remove this warning. See 02:53:29 https://docs.****.com/go/credential-store/ 02:53:29 02:53:29 Login Succeeded 02:53:29 nexus3.edgexfoundry.org:10004 02:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:29 02:53:29 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:29 Configure a credential helper to remove this warning. See 02:53:29 https://docs.****.com/go/credential-store/ 02:53:29 02:53:29 Login Succeeded 02:53:29 ****.io 02:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:29 02:53:29 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:29 Configure a credential helper to remove this warning. See 02:53:29 https://docs.****.com/go/credential-store/ 02:53:29 02:53:29 Login Succeeded 02:53:29 ---> ****-login.sh ends [Pipeline] } 02:53:29 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:53:30 + git rev-list -1 --merges b8dd8b89e3844a7d2f70ca8a94769af24447a763~1..b8dd8b89e3844a7d2f70ca8a94769af24447a763 [Pipeline] echo 02:53:30 -----------> git rev-list -1 --merges b8dd8b89e3844a7d2f70ca8a94769af24447a763~1..b8dd8b89e3844a7d2f70ca8a94769af24447a763 b8dd8b89e3844a7d2f70ca8a94769af24447a763 [false] [Pipeline] sh 02:53:30 + git log --format=format:%s -1 b8dd8b89e3844a7d2f70ca8a94769af24447a763 [Pipeline] echo 02:53:30 ========================================================= 02:53:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:53:30 ========================================================= 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:53:31 + git rev-list -1 --merges b8dd8b89e3844a7d2f70ca8a94769af24447a763~1..b8dd8b89e3844a7d2f70ca8a94769af24447a763 [Pipeline] echo 02:53:31 -----------> git rev-list -1 --merges b8dd8b89e3844a7d2f70ca8a94769af24447a763~1..b8dd8b89e3844a7d2f70ca8a94769af24447a763 b8dd8b89e3844a7d2f70ca8a94769af24447a763 [false] [Pipeline] sh 02:53:31 + git log --format=format:%s -1 b8dd8b89e3844a7d2f70ca8a94769af24447a763 [Pipeline] echo 02:53:31 ========================================================= 02:53:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:53:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:53:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:32 + grep -v github /etc/ssh/ssh_known_hosts 02:53:32 + [ -e /tmp/ssh_known_hosts ] 02:53:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:53:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:53:32 + sudo tee -a /etc/ssh/ssh_known_hosts 02:53:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:32 02:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:33 0.1.4: Pulling from edgex-devops/py-git-semver 02:53:33 3dae71ba6b94: Pulling fs layer 02:53:33 6bf1a483ea7c: Pulling fs layer 02:53:33 f5dfc541a4d3: Pulling fs layer 02:53:33 461d9e800cba: Pulling fs layer 02:53:33 80192f66455f: Pulling fs layer 02:53:33 2e8e34ca0e6c: Pulling fs layer 02:53:33 a29436f7fd5d: Pulling fs layer 02:53:33 923cac83aea3: Pulling fs layer 02:53:33 80192f66455f: Waiting 02:53:33 461d9e800cba: Waiting 02:53:33 2e8e34ca0e6c: Waiting 02:53:33 25ad8b0a4227: Pulling fs layer 02:53:33 db01528c6b51: Pulling fs layer 02:53:33 28988de357af: Pulling fs layer 02:53:33 db01528c6b51: Waiting 02:53:33 923cac83aea3: Waiting 02:53:33 28988de357af: Waiting 02:53:33 25ad8b0a4227: Waiting 02:53:33 6bf1a483ea7c: Verifying Checksum 02:53:33 6bf1a483ea7c: Download complete 02:53:33 461d9e800cba: Verifying Checksum 02:53:33 461d9e800cba: Download complete 02:53:33 80192f66455f: Download complete 02:53:33 f5dfc541a4d3: Download complete 02:53:33 3dae71ba6b94: Verifying Checksum 02:53:33 3dae71ba6b94: Download complete 02:53:33 923cac83aea3: Verifying Checksum 02:53:33 923cac83aea3: Download complete 02:53:33 25ad8b0a4227: Verifying Checksum 02:53:33 25ad8b0a4227: Download complete 02:53:33 db01528c6b51: Verifying Checksum 02:53:33 db01528c6b51: Download complete 02:53:33 28988de357af: Verifying Checksum 02:53:33 28988de357af: Download complete 02:53:33 a29436f7fd5d: Verifying Checksum 02:53:33 a29436f7fd5d: Download complete 02:53:34 2e8e34ca0e6c: Download complete 02:53:35 3dae71ba6b94: Pull complete 02:53:35 6bf1a483ea7c: Pull complete 02:53:35 f5dfc541a4d3: Pull complete 02:53:35 461d9e800cba: Pull complete 02:53:36 80192f66455f: Pull complete 02:53:41 2e8e34ca0e6c: Pull complete 02:53:41 a29436f7fd5d: Pull complete 02:53:41 923cac83aea3: Pull complete 02:53:41 25ad8b0a4227: Pull complete 02:53:41 db01528c6b51: Pull complete 02:53:41 28988de357af: Pull complete 02:53:41 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:41 prd-ubuntu20.04-docker-8c-8g-772849 does not seem to be running inside a container 02:53:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/a7aab1ab6d8efce1cc97566c5798011b -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b:rw,z -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:53:46 $ docker top fdc78b19ffda3d6e953785e0d08fec5c5aa944752db0b7184ba2f1d70cc03fd9 -eo pid,comm 02:53:46 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:53:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:46 [ssh-agent] Looking for ssh-agent implementation... 02:53:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:46 $ docker exec fdc78b19ffda3d6e953785e0d08fec5c5aa944752db0b7184ba2f1d70cc03fd9 ssh-agent 02:53:46 SSH_AUTH_SOCK=/tmp/ssh-kuYubfdbNyRQ/agent.31 02:53:46 SSH_AGENT_PID=37 02:53:46 Running ssh-add (command line suppressed) 02:53:46 Identity added: /w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp/private_key_2688802886968975537.key (/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp/private_key_2688802886968975537.key) 02:53:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:47 + git config --global --add safe.directory /w/workspace/a7aab1ab6d8efce1cc97566c5798011b [Pipeline] sh 02:53:47 + git tag --points-at HEAD [Pipeline] } 02:53:47 $ docker exec --env ******** --env ******** fdc78b19ffda3d6e953785e0d08fec5c5aa944752db0b7184ba2f1d70cc03fd9 ssh-agent -k 02:53:47 unset SSH_AUTH_SOCK; 02:53:47 unset SSH_AGENT_PID; 02:53:47 echo Agent pid 37 killed; 02:53:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:47 [ssh-agent] Looking for ssh-agent implementation... 02:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:47 $ docker exec fdc78b19ffda3d6e953785e0d08fec5c5aa944752db0b7184ba2f1d70cc03fd9 ssh-agent 02:53:47 SSH_AUTH_SOCK=/tmp/ssh-qWNYn9pNB8Kn/agent.85 02:53:47 SSH_AGENT_PID=91 02:53:47 Running ssh-add (command line suppressed) 02:53:47 Identity added: /w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp/private_key_10206483724177892604.key (/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp/private_key_10206483724177892604.key) 02:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:48 + git semver init 02:53:48 2025-11-10 02:53:48,505 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:53:48 2025-11-10 02:53:48,508 [run_init] DEBUG init version:0.0.0 force:False 02:53:48 2025-11-10 02:53:48,509 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver 02:53:48 2025-11-10 02:53:48,510 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-coap-c.git /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver 02:53:48 2025-11-10 02:53:48,510 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-coap-c.git', '/w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver'], cwd=/w/workspace/a7aab1ab6d8efce1cc97566c5798011b, stdin=None, shell=False, universal_newlines=False) 02:53:49 2025-11-10 02:53:49,215 [append_file] DEBUG append to file:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.git/info/exclude 02:53:49 2025-11-10 02:53:49,215 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver/snyk-fix-a7aab1ab6d8efce1cc97566c5798011b with force:False 02:53:49 2025-11-10 02:53:49,215 [write_file] DEBUG write to file:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver/snyk-fix-a7aab1ab6d8efce1cc97566c5798011b 02:53:49 2025-11-10 02:53:49,220 [execute] INFO git cat-file --batch-check 02:53:49 2025-11-10 02:53:49,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver, stdin=, shell=False, universal_newlines=False) 02:53:49 2025-11-10 02:53:49,224 [execute] INFO git cat-file --batch 02:53:49 2025-11-10 02:53:49,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver, stdin=, shell=False, universal_newlines=False) 02:53:49 2025-11-10 02:53:49,227 [read_version] DEBUG read version from /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/.semver/snyk-fix-a7aab1ab6d8efce1cc97566c5798011b 02:53:49 0.0.0 [Pipeline] } 02:53:49 $ docker exec --env ******** --env ******** fdc78b19ffda3d6e953785e0d08fec5c5aa944752db0b7184ba2f1d70cc03fd9 ssh-agent -k 02:53:49 unset SSH_AUTH_SOCK; 02:53:49 unset SSH_AGENT_PID; 02:53:49 echo Agent pid 91 killed; 02:53:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:50 + git semver [Pipeline] } 02:53:50 $ docker stop --time=1 fdc78b19ffda3d6e953785e0d08fec5c5aa944752db0b7184ba2f1d70cc03fd9 02:53:51 $ docker rm -f --volumes fdc78b19ffda3d6e953785e0d08fec5c5aa944752db0b7184ba2f1d70cc03fd9 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:53:52 Stashed 1 file(s) [Pipeline] echo 02:53:52 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:52 provisioning config files... 02:53:52 copy managed file [device-coap-c-settings] to file:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp/config16802756225698276818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:53 ---> ****-login.sh 02:53:53 nexus3.edgexfoundry.org:10001 02:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:53 Login Succeeded 02:53:53 nexus3.edgexfoundry.org:10002 02:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:53 Login Succeeded 02:53:53 nexus3.edgexfoundry.org:10003 02:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:53 Login Succeeded 02:53:53 nexus3.edgexfoundry.org:10004 02:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:53 Login Succeeded 02:53:53 ****.io 02:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:53 Login Succeeded 02:53:53 ---> ****-login.sh ends [Pipeline] } 02:53:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:53:54 [edgeX.isLTS] Checking if [snyk-fix-a7aab1ab6d8efce1cc97566c5798011b] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:53:54 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 02:53:54 [edgeX.isLTS] Checking if [snyk-fix-a7aab1ab6d8efce1cc97566c5798011b] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:53:54 ========================================================= 02:53:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:53:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:54 + 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:53:56 #0 building with "default" instance using docker driver 02:53:56 02:53:56 #1 [internal] load build definition from Dockerfile.alpine-base 02:53:56 #1 transferring dockerfile: 986B done 02:53:56 #1 DONE 0.0s 02:53:56 02:53:56 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 02:53:56 #2 DONE 0.1s 02:53:56 02:53:56 #3 [internal] load .dockerignore 02:53:56 #3 transferring context: 2B done 02:53:56 #3 DONE 0.0s 02:53:56 02:53:56 #4 [internal] load build context 02:53:56 #4 transferring context: 68.38kB 0.0s done 02:53:56 #4 DONE 0.0s 02:53:56 02:53:56 #5 [ 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 02:53:56 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 0.0s done 02:53:56 #5 sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 741B / 741B done 02:53:56 #5 sha256:6605166a5db42c9ef4e3b8366138377c430980df3f34fe18e3a1340b6ab951b9 2.56kB / 2.56kB done 02:53:56 #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 2.10MB / 3.40MB 0.1s 02:53:56 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 5.24MB / 118.14MB 0.1s 02:53:56 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 02:53:56 #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.40MB / 3.40MB 0.1s done 02:53:56 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 16.15MB / 118.14MB 0.2s 02:53:56 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 49.28MB / 118.14MB 0.4s 02:53:56 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s done 02:53:56 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 70.25MB / 118.14MB 0.5s 02:53:56 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 111.15MB / 118.14MB 0.7s 02:53:57 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 0.9s 02:53:57 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 02:53:57 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 1.4s done 02:54:01 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 3.7s done 02:54:01 #5 DONE 5.2s 02:54:01 02:54:01 #6 [ 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:54:01 #6 0.216 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:54:01 #6 0.611 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:54:01 #6 0.611 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:54:01 #6 0.611 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:54:03 #6 DONE 2.2s 02:54:03 02:54:03 #7 [ 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:54:03 #7 DONE 0.3s 02:54:03 02:54:03 #8 [ 4/12] 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:54:03 #8 0.220 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:04 #8 0.385 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:04 #8 0.578 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:04 #8 1.159 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:05 #8 1.167 (1/18) Installing dumb-init (1.2.5-r2) 02:54:05 #8 1.173 (2/18) Installing hiredis (1.1.0-r2) 02:54:05 #8 1.177 (3/18) Installing hiredis-dev (1.1.0-r2) 02:54:05 #8 1.188 (4/18) Installing libcbor (0.10.2-r1) 02:54:05 #8 1.193 (5/18) Installing iotech-iot-1.5 (1.5.7-r0) 02:54:05 #8 1.853 (6/18) Installing iotech-iot-1.5-dev (1.5.7-r0) 02:54:05 #8 1.954 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.131-r1) 02:54:05 #8 2.227 (8/18) Installing libcbor-dev (0.10.2-r1) 02:54:06 #8 2.232 (9/18) Installing libmenuw (6.4_p20230506-r0) 02:54:06 #8 2.238 (10/18) Installing libpanelw (6.4_p20230506-r0) 02:54:06 #8 2.242 (11/18) Installing libncurses++ (6.4_p20230506-r0) 02:54:06 #8 2.247 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 02:54:06 #8 2.254 (13/18) Installing libblkid (2.38.1-r8) 02:54:06 #8 2.262 (14/18) Installing libuuid (2.38.1-r8) 02:54:06 #8 2.265 (15/18) Installing libfdisk (2.38.1-r8) 02:54:06 #8 2.273 (16/18) Installing libmount (2.38.1-r8) 02:54:06 #8 2.293 (17/18) Installing libsmartcols (2.38.1-r8) 02:54:06 #8 2.299 (18/18) Installing util-linux-dev (2.38.1-r8) 02:54:06 #8 2.321 Executing busybox-1.36.1-r4.trigger 02:54:06 #8 2.331 OK: 336 MiB in 100 packages 02:54:06 #8 DONE 2.5s 02:54:06 02:54:06 #9 [ 5/12] RUN apk --no-cache upgrade 02:54:06 #9 0.257 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:06 #9 0.338 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:06 #9 0.451 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:07 #9 1.030 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:07 #9 1.038 Upgrading critical system libraries and apk-tools: 02:54:07 #9 1.038 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:54:07 #9 1.044 Executing busybox-1.36.1-r4.trigger 02:54:07 #9 1.096 Continuing the upgrade transaction with new apk-tools: 02:54:07 #9 1.102 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:07 #9 1.180 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:07 #9 1.291 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:07 Still waiting to schedule task 02:54:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-772847’ 02:54:08 #9 1.844 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:08 #9 1.851 (1/27) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 02:54:08 #9 1.866 (2/27) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 02:54:08 #9 1.880 Executing busybox-1.36.1-r7.post-upgrade 02:54:08 #9 1.894 (3/27) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 02:54:08 #9 1.898 (4/27) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 02:54:08 #9 1.905 (5/27) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 02:54:08 #9 1.943 (6/27) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 02:54:08 #9 1.950 (7/27) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 02:54:08 #9 1.954 (8/27) Upgrading binutils (2.40-r7 -> 2.40-r8) 02:54:08 #9 2.005 (9/27) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 02:54:08 #9 2.062 (10/27) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 02:54:08 #9 2.067 (11/27) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 02:54:08 #9 2.074 (12/27) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 02:54:08 #9 2.084 (13/27) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 02:54:08 #9 2.099 (14/27) Installing libpsl (0.21.5-r0) 02:54:08 #9 2.102 (15/27) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 02:54:08 #9 2.112 (16/27) Installing libpsl-utils (0.21.5-r0) 02:54:08 #9 2.116 (17/27) Installing libpsl-dev (0.21.5-r0) 02:54:08 #9 2.119 (18/27) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 02:54:08 #9 2.210 (19/27) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 02:54:08 #9 2.216 (20/27) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 02:54:08 #9 2.273 (21/27) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 02:54:08 #9 2.278 (22/27) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 02:54:08 #9 2.283 (23/27) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:54:08 #9 2.325 (24/27) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:54:08 #9 2.329 (25/27) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 02:54:08 #9 2.334 (26/27) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 02:54:08 #9 2.339 (27/27) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:54:08 #9 2.348 Executing busybox-1.36.1-r7.trigger 02:54:08 #9 2.353 Executing ca-certificates-20241121-r1.trigger 02:54:08 #9 2.407 OK: 337 MiB in 103 packages 02:54:08 #9 DONE 2.7s 02:54:09 02:54:09 #10 [ 6/12] COPY scripts /device-coap/scripts 02:54:09 #10 DONE 0.0s 02:54:09 02:54:09 #11 [ 7/12] COPY src /device-coap/src/ 02:54:09 #11 DONE 0.0s 02:54:09 02:54:09 #12 [ 8/12] COPY VERSION /device-coap 02:54:09 #12 DONE 0.0s 02:54:09 02:54:09 #13 [ 9/12] RUN mkdir -p /device-coap/build 02:54:09 #13 DONE 0.3s 02:54:09 02:54:09 #14 [10/12] WORKDIR /device-coap 02:54:09 #14 DONE 0.0s 02:54:09 02:54:09 #15 [11/12] RUN /device-coap/scripts/build_deps.sh 1 02:54:09 #15 0.295 + BUILD_CSDK=1 02:54:09 #15 0.295 + TINYDTLS_VERSION=b0e230d 02:54:09 #15 0.295 + LIBCOAP_VERSION=1739507 02:54:09 #15 0.295 + CSDK_VERSION=4.0.0 02:54:09 #15 0.295 + '[' -d deps ] 02:54:09 #15 0.295 + mkdir deps 02:54:09 #15 0.296 + cd /device-coap/deps 02:54:09 #15 0.296 + git clone https://github.com/eclipse/tinydtls.git 02:54:09 #15 0.297 Cloning into 'tinydtls'... 02:54:10 #15 0.813 + cd tinydtls 02:54:10 #15 0.813 + git checkout develop 02:54:10 #15 0.828 branch 'develop' set up to track 'origin/develop'. 02:54:10 #15 0.828 Switched to a new branch 'develop' 02:54:10 #15 0.829 + git reset --hard b0e230d 02:54:10 #15 0.843 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:54:10 #15 0.844 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:54:10 #15 0.845 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:54:10 #15 0.845 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:54:10 #15 0.845 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:54:10 #15 0.846 + mkdir -p build 02:54:10 #15 0.846 + cd build 02:54:10 #15 0.846 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:54:10 #15 0.916 -- The C compiler identification is GNU 12.2.1 02:54:10 #15 0.931 -- Detecting C compiler ABI info 02:54:10 #15 1.020 -- Detecting C compiler ABI info - done 02:54:10 #15 1.036 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:10 #15 1.037 -- Detecting C compile features 02:54:10 #15 1.037 -- Detecting C compile features - done 02:54:10 #15 1.041 -- Looking for assert.h 02:54:10 #15 1.126 -- Looking for assert.h - found 02:54:10 #15 1.127 -- Looking for arpa/inet.h 02:54:10 #15 1.215 -- Looking for arpa/inet.h - found 02:54:10 #15 1.216 -- Looking for fcntl.h 02:54:10 #15 1.308 -- Looking for fcntl.h - found 02:54:10 #15 1.308 -- Looking for inttypes.h 02:54:10 #15 1.398 -- Looking for inttypes.h - found 02:54:10 #15 1.398 -- Looking for memory.h 02:54:10 #15 1.488 -- Looking for memory.h - found 02:54:11 #15 1.488 -- Looking for netdb.h 02:54:11 #15 1.585 -- Looking for netdb.h - found 02:54:11 #15 1.585 -- Looking for netinet/in.h 02:54:11 #15 1.674 -- Looking for netinet/in.h - found 02:54:11 #15 1.674 -- Looking for stddef.h 02:54:11 #15 1.766 -- Looking for stddef.h - found 02:54:11 #15 1.767 -- Looking for stdint.h 02:54:11 #15 1.856 -- Looking for stdint.h - found 02:54:11 #15 1.856 -- Looking for stdlib.h 02:54:11 #15 1.946 -- Looking for stdlib.h - found 02:54:11 #15 1.946 -- Looking for string.h 02:54:11 #15 2.034 -- Looking for string.h - found 02:54:11 #15 2.035 -- Looking for strings.h 02:54:11 #15 2.124 -- Looking for strings.h - found 02:54:11 #15 2.124 -- Looking for time.h 02:54:11 #15 2.212 -- Looking for time.h - found 02:54:11 #15 2.212 -- Looking for sys/param.h 02:54:11 #15 2.301 -- Looking for sys/param.h - found 02:54:11 #15 2.301 -- Looking for sys/socket.h 02:54:11 #15 2.393 -- Looking for sys/socket.h - found 02:54:11 #15 2.393 -- Looking for sys/stat.h 02:54:11 #15 2.478 -- Looking for sys/stat.h - found 02:54:11 #15 2.478 -- Looking for sys/types.h 02:54:11 #15 2.570 -- Looking for sys/types.h - found 02:54:12 #15 2.571 -- Looking for sys/time.h 02:54:12 #15 2.653 -- Looking for sys/time.h - found 02:54:12 #15 2.654 -- Looking for unistd.h 02:54:12 #15 2.739 -- Looking for unistd.h - found 02:54:12 #15 2.739 -- Looking for float.h 02:54:12 #15 2.828 -- Looking for float.h - found 02:54:12 #15 2.828 -- Looking for dlfcn.h 02:54:12 #15 2.920 -- Looking for dlfcn.h - found 02:54:12 #15 2.920 -- Looking for memset 02:54:12 #15 3.011 -- Looking for memset - found 02:54:12 #15 3.011 -- Looking for select 02:54:12 #15 3.096 -- Looking for select - found 02:54:12 #15 3.096 -- Looking for socket 02:54:12 #15 3.175 -- Looking for socket - found 02:54:12 #15 3.175 -- Looking for strdup 02:54:12 #15 3.261 -- Looking for strdup - found 02:54:12 #15 3.261 -- Looking for strerror 02:54:12 #15 3.354 -- Looking for strerror - found 02:54:12 #15 3.354 -- Looking for strnlen 02:54:12 #15 3.446 -- Looking for strnlen - found 02:54:13 #15 3.446 -- Looking for fls 02:54:13 #15 3.529 -- Looking for fls - not found 02:54:13 #15 3.529 -- Looking for vprintf 02:54:13 #15 3.618 -- Looking for vprintf - found 02:54:13 #15 3.619 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:54:13 #15 3.674 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:54:13 #15 3.683 -- Configuring done (2.8s) 02:54:13 #15 3.687 -- Generating done (0.0s) 02:54:13 #15 3.688 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:54:13 #15 3.691 + make 02:54:13 #15 3.730 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:54:13 #15 3.890 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:54:13 #15 3.928 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:54:13 #15 4.201 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:54:13 #15 4.316 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:54:13 #15 4.316 In function 'ecc_ecdh', 02:54:13 #15 4.316 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:13 #15 4.316 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:54:13 #15 4.316 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:13 #15 4.316 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:13 #15 4.316 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:13 #15 4.316 /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:54:13 #15 4.316 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:54:13 #15 4.316 | ^~~~~~~~~~~ 02:54:13 #15 4.316 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:54:13 #15 4.316 431 | uint32_t pub_x[8]; 02:54:13 #15 4.316 | ^~~~~ 02:54:13 #15 4.316 In function 'ecc_ecdh', 02:54:13 #15 4.316 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:13 #15 4.316 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:54:13 #15 4.316 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:13 #15 4.316 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:13 #15 4.316 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:13 #15 4.316 /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:54:13 #15 4.316 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:54:13 #15 4.316 | ^~~~~~~~~~~ 02:54:13 #15 4.316 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:54:13 #15 4.316 432 | uint32_t pub_y[8]; 02:54:13 #15 4.316 | ^~~~~ 02:54:13 #15 4.316 In function 'ecc_ecdh', 02:54:13 #15 4.316 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:13 #15 4.316 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:54:13 #15 4.316 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:13 #15 4.316 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:14 #15 4.316 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:14 #15 4.316 /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:54:14 #15 4.316 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:54:14 #15 4.316 | ^~~~~~~~~~~ 02:54:14 #15 4.316 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:54:14 #15 4.316 430 | uint32_t priv[8]; 02:54:14 #15 4.316 | ^~~~ 02:54:14 #15 4.400 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:54:14 #15 5.392 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:54:14 #15 5.446 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:54:14 #15 5.490 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:54:14 #15 5.528 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:54:14 #15 5.545 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:54:14 #15 5.545 /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:54:14 #15 5.545 316 | for (idx = 0; idx < count; idx++) { 02:54:14 #15 5.545 | ^ 02:54:14 #15 5.546 /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:54:14 #15 5.546 319 | return result == count; 02:54:14 #15 5.546 | ^~ 02:54:15 #15 6.240 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:54:15 #15 6.307 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:54:15 #15 6.379 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:54:15 #15 6.430 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:54:15 #15 6.486 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:54:16 #15 6.503 /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:54:16 #15 6.503 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:54:16 #15 6.503 | ~~~~~~~~~~^~~~~~~~ 02:54:16 #15 6.503 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:54:16 #15 6.503 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:54:16 #15 6.503 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:54:16 #15 6.503 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:16 #15 6.503 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:54:16 #15 6.503 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:54:16 #15 6.503 | ~~~~~^~~~~~~~ 02:54:16 #15 6.503 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:54:16 #15 6.503 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:54:16 #15 6.503 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:16 #15 6.653 [100%] Linking C shared library libtinydtls.so 02:54:16 #15 6.688 [100%] Built target tinydtls 02:54:16 #15 6.693 + make install 02:54:16 #15 6.737 [100%] Built target tinydtls 02:54:16 #15 6.754 Install the project... 02:54:16 #15 6.762 -- Install configuration: "Release" 02:54:16 #15 6.762 -- Installing: /usr/local/lib/libtinydtls.so 02:54:16 #15 6.763 -- Installing: /usr/local/include/tinydtls 02:54:16 #15 6.763 -- Installing: /usr/local/include/tinydtls/uthash.h 02:54:16 #15 6.764 -- Installing: /usr/local/include/tinydtls/sha2 02:54:16 #15 6.764 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:54:16 #15 6.764 -- Installing: /usr/local/include/tinydtls/ecc 02:54:16 #15 6.764 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:54:16 #15 6.765 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:54:16 #15 6.765 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:54:16 #15 6.765 -- Installing: /usr/local/include/tinydtls/alert.h 02:54:16 #15 6.765 -- Installing: /usr/local/include/tinydtls/aes 02:54:16 #15 6.765 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:54:16 #15 6.766 -- Installing: /usr/local/include/tinydtls/crypto.h 02:54:16 #15 6.766 -- Installing: /usr/local/include/tinydtls/numeric.h 02:54:16 #15 6.766 -- Installing: /usr/local/include/tinydtls/peer.h 02:54:16 #15 6.767 -- Installing: /usr/local/include/tinydtls/utlist.h 02:54:16 #15 6.767 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:54:16 #15 6.767 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:54:16 #15 6.768 -- Installing: /usr/local/include/tinydtls/netq.h 02:54:16 #15 6.768 -- Installing: /usr/local/include/tinydtls/dtls.h 02:54:16 #15 6.768 -- Installing: /usr/local/include/tinydtls/global.h 02:54:16 #15 6.769 -- Installing: /usr/local/include/tinydtls/state.h 02:54:16 #15 6.769 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:54:16 #15 6.769 -- Installing: /usr/local/include/tinydtls/session.h 02:54:16 #15 6.769 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:54:16 #15 6.770 -- Installing: /usr/local/include/tinydtls/hmac.h 02:54:16 #15 6.770 -- Installing: /usr/local/include/tinydtls/ccm.h 02:54:16 #15 6.770 -- Up-to-date: /usr/local/include/tinydtls 02:54:16 #15 6.770 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:54:16 #15 6.771 + cd /device-coap/deps 02:54:16 #15 6.771 + git clone https://github.com/obgm/libcoap.git 02:54:16 #15 6.773 Cloning into 'libcoap'... 02:54:17 #15 8.434 + cd libcoap 02:54:17 #15 8.434 + git reset --hard 1739507 02:54:17 #15 8.469 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:54:17 #15 8.470 + patch -p1 02:54:17 #15 8.471 patching file cmake/FindTinyDTLS.cmake 02:54:17 #15 8.471 + patch -p1 02:54:17 #15 8.472 patching file include/coap2/coap_config.h.in 02:54:17 #15 8.473 + mkdir -p build 02:54:17 #15 8.473 + cd build 02:54:17 #15 8.473 + 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:54:17 #15 8.548 -- The CXX compiler identification is GNU 12.2.1 02:54:18 #15 8.606 -- The C compiler identification is GNU 12.2.1 02:54:18 #15 8.622 -- Detecting CXX compiler ABI info 02:54:18 #15 8.715 -- Detecting CXX compiler ABI info - done 02:54:18 #15 8.736 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:54:18 #15 8.737 -- Detecting CXX compile features 02:54:18 #15 8.738 -- Detecting CXX compile features - done 02:54:18 #15 8.742 -- Detecting C compiler ABI info 02:54:18 #15 8.819 -- Detecting C compiler ABI info - done 02:54:18 #15 8.838 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:18 #15 8.838 -- Detecting C compile features 02:54:18 #15 8.839 -- Detecting C compile features - done 02:54:18 #15 8.843 -- Looking for byteswap.h 02:54:18 #15 8.926 -- Looking for byteswap.h - found 02:54:18 #15 8.926 -- Looking for inttypes.h 02:54:18 #15 9.018 -- Looking for inttypes.h - found 02:54:18 #15 9.019 -- Looking for limits.h 02:54:18 #15 9.109 -- Looking for limits.h - found 02:54:18 #15 9.109 -- Looking for memory.h 02:54:18 #15 9.198 -- Looking for memory.h - found 02:54:18 #15 9.198 -- Looking for strings.h 02:54:18 #15 9.283 -- Looking for strings.h - found 02:54:18 #15 9.283 -- Looking for string.h 02:54:18 #15 9.362 -- Looking for string.h - found 02:54:18 #15 9.364 -- Looking for sys/sysctl.h 02:54:18 #15 9.416 -- Looking for sys/sysctl.h - not found 02:54:19 #15 9.416 -- Looking for netinet/in.h 02:54:19 #15 9.497 -- Looking for netinet/in.h - found 02:54:19 #15 9.497 -- Looking for sys/epoll.h 02:54:19 #15 9.583 -- Looking for sys/epoll.h - found 02:54:19 #15 9.584 -- Looking for sys/timerfd.h 02:54:19 #15 9.665 -- Looking for sys/timerfd.h - found 02:54:19 #15 9.665 -- Looking for arpa/inet.h 02:54:19 #15 9.747 -- Looking for arpa/inet.h - found 02:54:19 #15 9.747 -- Looking for stdbool.h 02:54:19 #15 9.828 -- Looking for stdbool.h - found 02:54:19 #15 9.828 -- Looking for netdb.h 02:54:19 #15 9.916 -- Looking for netdb.h - found 02:54:19 #15 9.916 -- Looking for pthread.h 02:54:19 #15 10.00 -- Looking for pthread.h - found 02:54:19 #15 10.00 -- Looking for stdlib.h 02:54:19 #15 10.09 -- Looking for stdlib.h - found 02:54:19 #15 10.09 -- Looking for stdint.h 02:54:19 #15 10.18 -- Looking for stdint.h - found 02:54:19 #15 10.18 -- Looking for syslog.h 02:54:19 #15 10.27 -- Looking for syslog.h - found 02:54:19 #15 10.27 -- Looking for sys/ioctl.h 02:54:19 #15 10.35 -- Looking for sys/ioctl.h - found 02:54:19 #15 10.35 -- Looking for sys/socket.h 02:54:19 #15 10.44 -- Looking for sys/socket.h - found 02:54:20 #15 10.44 -- Looking for sys/stat.h 02:54:20 #15 10.52 -- Looking for sys/stat.h - found 02:54:20 #15 10.52 -- Looking for sys/time.h 02:54:20 #15 10.61 -- Looking for sys/time.h - found 02:54:20 #15 10.61 -- Looking for sys/types.h 02:54:20 #15 10.70 -- Looking for sys/types.h - found 02:54:20 #15 10.70 -- Looking for sys/unistd.h 02:54:20 #15 10.75 -- Looking for sys/unistd.h - not found 02:54:20 #15 10.75 -- Looking for time.h 02:54:20 #15 10.83 -- Looking for time.h - found 02:54:20 #15 10.83 -- Looking for unistd.h 02:54:20 #15 10.92 -- Looking for unistd.h - found 02:54:20 #15 10.92 -- Looking for float.h 02:54:20 #15 10.99 -- Looking for float.h - found 02:54:20 #15 10.99 -- Looking for stddef.h 02:54:20 #15 11.08 -- Looking for stddef.h - found 02:54:20 #15 11.08 -- Looking for winsock2.h 02:54:20 #15 11.13 -- Looking for winsock2.h - not found 02:54:20 #15 11.13 -- Looking for ws2tcpip.h 02:54:20 #15 11.18 -- Looking for ws2tcpip.h - not found 02:54:20 #15 11.18 -- Looking for malloc 02:54:20 #15 11.27 -- Looking for malloc - found 02:54:20 #15 11.27 -- Looking for memset 02:54:20 #15 11.36 -- Looking for memset - found 02:54:21 #15 11.36 -- Looking for select 02:54:21 #15 11.45 -- Looking for select - found 02:54:21 #15 11.45 -- Looking for socket 02:54:21 #15 11.55 -- Looking for socket - found 02:54:21 #15 11.55 -- Looking for strcasecmp 02:54:21 #15 11.63 -- Looking for strcasecmp - found 02:54:21 #15 11.63 -- Looking for pthread_mutex_lock 02:54:21 #15 11.73 -- Looking for pthread_mutex_lock - found 02:54:21 #15 11.73 -- Looking for getaddrinfo 02:54:21 #15 11.83 -- Looking for getaddrinfo - found 02:54:21 #15 11.83 -- Looking for strnlen 02:54:21 #15 11.92 -- Looking for strnlen - found 02:54:21 #15 11.92 -- Looking for strrchr 02:54:21 #15 12.01 -- Looking for strrchr - found 02:54:21 #15 12.01 -- Looking for getrandom 02:54:21 #15 12.11 -- Looking for getrandom - found 02:54:21 #15 12.11 -- Looking for cmsghdr 02:54:21 #15 12.16 -- Looking for cmsghdr - not found 02:54:21 #15 12.16 -- compiling without epoll support 02:54:21 #15 12.16 -- compiling with DTLS support 02:54:21 #15 12.16 -- DTLS_BACKEND: tinydtls 02:54:21 #15 12.17 -- Found TinyDTLS: /usr/local/include 02:54:21 #15 12.17 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:54:21 #15 12.17 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:54:21 #15 12.17 -- TINYDTLS_ROOT_DIR: 02:54:21 #15 12.17 -- compiling with tinydtls support 02:54:21 #15 12.17 -- ENABLE_DTLS:.....................ON 02:54:21 #15 12.17 -- ENABLE_TCP:......................ON 02:54:21 #15 12.17 -- ENABLE_DOCS:.....................OFF 02:54:21 #15 12.17 -- ENABLE_EXAMPLES:.................OFF 02:54:21 #15 12.17 -- DTLS_BACKEND:....................tinydtls 02:54:21 #15 12.17 -- WITH_GNUTLS:.....................OFF 02:54:21 #15 12.17 -- WITH_TINYDTLS:...................ON 02:54:21 #15 12.17 -- WITH_OPENSSL:....................OFF 02:54:21 #15 12.17 -- WITH_MBEDTLS:....................OFF 02:54:21 #15 12.17 -- HAVE_LIBTINYDTLS:................1 02:54:21 #15 12.17 -- HAVE_LIBGNUTLS:.................. 02:54:21 #15 12.17 -- HAVE_OPENSSL:.................... 02:54:21 #15 12.17 -- HAVE_MBEDTLS:.................... 02:54:21 #15 12.17 -- COAP_EPOLL_SUPPORT:.............. 02:54:21 #15 12.17 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:54:21 #15 12.17 -- BUILD_SHARED_LIBS:...............ON 02:54:21 #15 12.17 -- CMAKE_BUILD_TYPE:................Release 02:54:21 #15 12.17 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 02:54:21 #15 12.17 -- Configuring done (3.7s) 02:54:21 #15 12.17 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:54:21 #15 12.17 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:54:21 #15 12.17 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:54:21 #15 12.17 command to set the policy and suppress this warning. 02:54:21 #15 12.17 02:54:21 #15 12.17 File: 02:54:21 #15 12.17 02:54:21 #15 12.17 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:54:21 #15 12.17 This warning is for project developers. Use -Wno-dev to suppress it. 02:54:21 #15 12.17 02:54:21 #15 12.18 -- Generating done (0.0s) 02:54:21 #15 12.18 -- Build files have been written to: /device-coap/deps/libcoap/build 02:54:21 #15 12.18 + make 02:54:21 #15 12.23 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:54:21 #15 12.30 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:54:21 #15 12.38 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:54:21 #15 12.51 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:54:22 #15 12.79 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:54:22 #15 12.84 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:54:22 #15 12.90 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:54:22 #15 13.16 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:54:22 #15 13.21 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:54:22 #15 13.26 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:54:23 #15 13.80 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:54:23 #15 13.92 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:54:23 #15 13.98 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:54:23 #15 14.06 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:54:23 #15 14.11 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:54:24 #15 14.69 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:54:24 #15 14.88 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:54:24 #15 15.07 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:54:24 #15 15.46 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:54:25 #15 15.53 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:54:25 #15 15.59 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:54:25 #15 15.79 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:54:25 #15 15.98 [100%] Linking C shared library libcoap-2.so 02:54:25 #15 16.01 [100%] Built target coap-2 02:54:25 #15 16.02 + make install 02:54:25 #15 16.08 [100%] Built target coap-2 02:54:25 #15 16.09 Install the project... 02:54:25 #15 16.10 -- Install configuration: "Release" 02:54:25 #15 16.10 -- Installing: /usr/local/lib/libcoap-2.so 02:54:25 #15 16.10 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:54:25 #15 16.10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:54:25 #15 16.10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:54:25 #15 16.10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:54:25 #15 16.10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:54:25 #15 16.10 -- Up-to-date: /usr/local/include 02:54:25 #15 16.10 -- Installing: /usr/local/include/coap2 02:54:25 #15 16.10 -- Installing: /usr/local/include/coap2/uthash.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/subscribe.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/option.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/resource.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/bits.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/block.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_io.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/pdu.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/str.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/async.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/net.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/address.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/uri.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_event.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_riot.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_prng.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/lwippools.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_debug.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/utlist.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_time.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/encode.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/libcoap.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/mem.h 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap_session.h 02:54:25 #15 16.11 -- Up-to-date: /usr/local/include 02:54:25 #15 16.11 -- Up-to-date: /usr/local/include/coap2 02:54:25 #15 16.11 -- Installing: /usr/local/include/coap2/coap.h 02:54:25 #15 16.11 + '[' 1 '=' 1 ] 02:54:25 #15 16.11 + cd /device-coap/deps 02:54:25 #15 16.11 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:54:25 #15 16.12 Connecting to github.com (140.82.112.3:443) 02:54:25 #15 16.21 Connecting to codeload.github.com (140.82.114.10:443) 02:54:25 #15 16.32 saving to 'v4.0.0.zip' 02:54:25 #15 16.38 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:54:25 #15 16.38 'v4.0.0.zip' saved 02:54:25 #15 16.39 + unzip v4.0.0.zip 02:54:25 #15 16.39 Archive: v4.0.0.zip 02:54:25 #15 16.39 creating: device-sdk-c-4.0.0/ 02:54:25 #15 16.39 creating: device-sdk-c-4.0.0/.github/ 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:54:25 #15 16.39 creating: device-sdk-c-4.0.0/.github/workflows/ 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/.gitignore 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/Attribution.txt 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/Doxyfile 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/LICENSE 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/Makefile 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/OWNERS.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/README.IOT.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/README.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/README.v3.md 02:54:25 #15 16.39 creating: device-sdk-c-4.0.0/docs/ 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:54:25 #15 16.39 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/docs/startup.md 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/include/ 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/include/devsdk/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/include/edgex/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/scripts/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/api.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/config.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/config.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/data.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/data.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/device.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/device.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:54:25 #15 16.40 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:54:25 #15 16.40 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/map.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/map.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/service.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/service.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:54:25 #15 16.41 creating: device-sdk-c-4.0.0/src/cmake/ 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:54:25 #15 16.41 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:54:25 #15 16.41 + cd device-sdk-c-4.0.0 02:54:25 #15 16.41 + ./scripts/build.sh 02:54:25 #15 16.41 + CPPCHECK=false 02:54:25 #15 16.41 + DOCGEN=false 02:54:25 #15 16.41 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:54:25 #15 16.41 + '[' 0 -gt 0 ] 02:54:25 #15 16.41 + readlink -f ./scripts/build.sh 02:54:25 #15 16.41 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:54:25 #15 16.41 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:54:25 #15 16.42 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:54:25 #15 16.42 + cd /device-coap/deps/device-sdk-c-4.0.0 02:54:25 #15 16.42 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:54:25 #15 16.42 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:54:25 #15 16.42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:54:25 #15 16.49 -- The C compiler identification is GNU 12.2.1 02:54:26 #15 16.51 -- Detecting C compiler ABI info 02:54:26 #15 16.60 -- Detecting C compiler ABI info - done 02:54:26 #15 16.61 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:26 #15 16.62 -- Detecting C compile features 02:54:26 #15 16.62 -- Detecting C compile features - done 02:54:26 #15 16.62 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:54:26 #15 16.69 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:54:26 #15 16.69 -- Found LIBYAML: /usr/lib/libyaml.so 02:54:26 #15 16.70 -- Found LIBUUID: /usr/lib/libuuid.so 02:54:26 #15 16.70 -- Found LIBCBOR: /usr/lib/libcbor.so 02:54:26 #15 16.70 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:54:26 #15 16.71 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:54:26 #15 16.71 -- /opt/iotech/iot/1.5/include 02:54:26 #15 16.71 -- C SDK 0.0.0 for Linux 02:54:26 #15 16.71 -- Performing Test CSDK_HAVE_ATOMIC 02:54:26 #15 16.80 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:54:26 #15 16.85 -- Found Curses: /usr/lib/libcurses.so 02:54:26 #15 16.87 -- Configuring done (0.4s) 02:54:26 #15 16.91 -- Generating done (0.0s) 02:54:26 #15 16.91 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:54:26 #15 16.91 + make all package+ 02:54:26 #15 16.91 tee release.log 02:54:26 #15 16.96 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:54:26 #15 17.06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:54:26 #15 17.22 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:54:26 #15 17.36 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:54:27 #15 17.45 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:54:27 #15 17.76 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:54:27 #15 17.81 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:54:27 #15 17.95 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:54:27 #15 18.24 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:54:27 #15 18.33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:54:27 #15 18.47 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:54:27 #15 18.60 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:54:28 #15 18.69 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:54:28 #15 18.85 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:54:28 #15 18.91 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:54:28 #15 19.22 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:54:28 #15 19.28 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:54:28 #15 19.53 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:54:28 #15 19.63 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:54:29 #15 19.83 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:54:29 #15 19.91 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:54:30 #15 20.94 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:54:30 #15 21.05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:54:30 #15 21.12 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:54:30 #15 21.21 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:54:30 #15 21.28 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:54:30 #15 21.50 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:54:31 #15 21.82 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:54:31 #15 21.90 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:54:31 #15 22.03 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:54:31 #15 22.12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:54:31 #15 22.38 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:54:31 #15 22.38 /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:54:31 #15 22.38 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:54:31 #15 22.38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:31 #15 22.39 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:54:31 #15 22.39 875 | const iot_data_t *deviceservices_config; 02:54:31 #15 22.39 | ^~~~~~~~~~~~~~~~~~~~~ 02:54:31 #15 22.53 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:54:31 #15 22.65 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:54:32 #15 22.71 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:54:32 #15 22.80 [ 68%] Linking C shared library libcsdk.so 02:54:32 #15 22.85 [ 68%] Built target csdk 02:54:32 #15 22.86 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:54:32 #15 23.00 [ 72%] Linking C executable template 02:54:32 #15 23.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:54:32 #15 23.07 [ 72%] Built target template 02:54:32 #15 23.08 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:54:32 #15 23.17 [ 76%] Linking C executable device-counter 02:54:32 #15 23.19 /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:54:32 #15 23.23 [ 76%] Built target device-counter 02:54:32 #15 23.25 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:54:32 #15 23.33 [ 80%] Linking C executable device-random 02:54:33 #15 23.36 /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:54:33 #15 23.40 [ 80%] Built target device-random 02:54:33 #15 23.42 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:54:33 #15 23.50 [ 84%] Linking C executable device-gyro 02:54:33 #15 23.52 /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:54:33 #15 23.56 [ 84%] Built target device-gyro 02:54:33 #15 23.58 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:54:33 #15 23.67 [ 88%] Linking C executable device-bitfields 02:54:33 #15 23.69 /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:54:33 #15 23.73 [ 88%] Built target device-bitfields 02:54:33 #15 23.75 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:54:33 #15 23.90 [ 92%] Linking C executable template-discovery 02:54:33 #15 23.92 /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:54:33 #15 23.96 [ 92%] Built target template-discovery 02:54:33 #15 23.98 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:54:33 #15 24.10 [ 96%] Linking C executable device-file 02:54:33 #15 24.12 /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:54:33 #15 24.17 [ 96%] Built target device-file 02:54:33 #15 24.18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:54:33 #15 24.28 [100%] Linking C executable device-terminal 02:54:34 #15 24.31 /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:54:34 #15 24.35 [100%] Built target device-terminal 02:54:34 #15 24.36 Run CPack packaging tool... 02:54:34 #15 24.38 CPack: Create package using TGZ 02:54:34 #15 24.38 CPack: Install projects 02:54:34 #15 24.38 CPack: - Run preinstall target for: Csdk 02:54:34 #15 24.61 CPack: - Install project: Csdk [] 02:54:34 #15 24.62 CPack: Create package 02:54:34 #15 24.64 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:54:34 #15 24.64 + '[' false '=' true ] 02:54:34 #15 24.64 + '[' false '=' true ] 02:54:34 #15 24.64 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:54:34 #15 24.64 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:54:34 #15 24.64 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:54:34 #15 24.72 -- The C compiler identification is GNU 12.2.1 02:54:34 #15 24.74 -- Detecting C compiler ABI info 02:54:34 #15 24.82 -- Detecting C compiler ABI info - done 02:54:34 #15 24.84 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:34 #15 24.84 -- Detecting C compile features 02:54:34 #15 24.84 -- Detecting C compile features - done 02:54:34 #15 24.84 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:54:34 #15 24.91 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:54:34 #15 24.91 -- Found LIBYAML: /usr/lib/libyaml.so 02:54:34 #15 24.91 -- Found LIBUUID: /usr/lib/libuuid.so 02:54:34 #15 24.92 -- Found LIBCBOR: /usr/lib/libcbor.so 02:54:34 #15 24.92 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:54:34 #15 24.92 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:54:34 #15 24.92 -- /opt/iotech/iot/1.5/include 02:54:34 #15 24.92 -- C SDK 0.0.0 for Linux 02:54:34 #15 24.92 -- Performing Test CSDK_HAVE_ATOMIC 02:54:34 #15 25.01 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:54:34 #15 25.05 -- Found Curses: /usr/lib/libcurses.so 02:54:34 #15 25.07 -- Configuring done (0.4s) 02:54:34 #15 25.11 -- Generating done (0.0s) 02:54:34 #15 25.11 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:54:34 #15 25.12 + make 02:54:34 #15 25.12 + tee debug.log 02:54:34 #15 25.16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:54:34 #15 25.23 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:54:34 #15 25.31 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:54:34 #15 25.38 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:54:34 #15 25.45 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:54:35 #15 25.57 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:54:35 #15 25.61 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:54:35 #15 25.68 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:54:35 #15 25.79 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:54:35 #15 25.85 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:54:35 #15 25.93 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:54:35 #15 26.01 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:54:35 #15 26.07 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:54:35 #15 26.15 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:54:35 #15 26.20 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:54:35 #15 26.34 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:54:35 #15 26.38 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:54:35 #15 26.49 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:54:36 #15 26.54 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:54:36 #15 26.65 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:54:36 #15 26.71 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:54:36 #15 26.91 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:54:36 #15 26.98 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:54:36 #15 27.03 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:54:36 #15 27.09 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:54:36 #15 27.14 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:54:36 #15 27.23 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:54:36 #15 27.45 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:54:36 #15 27.50 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:54:36 #15 27.56 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:54:37 #15 27.62 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:54:37 #15 27.77 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:54:37 #15 27.84 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:54:37 #15 27.89 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:54:37 #15 27.96 [ 68%] Linking C shared library libcsdk.so 02:54:37 #15 28.01 [ 68%] Built target csdk 02:54:37 #15 28.03 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:54:37 #15 28.10 [ 72%] Linking C executable template 02:54:37 #15 28.12 /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:54:37 #15 28.17 [ 72%] Built target template 02:54:37 #15 28.19 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:54:37 #15 28.24 [ 76%] Linking C executable device-counter 02:54:37 #15 28.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:54:37 #15 28.32 [ 76%] Built target device-counter 02:54:37 #15 28.33 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:54:37 #15 28.39 [ 80%] Linking C executable device-random 02:54:37 #15 28.42 /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:54:37 #15 28.47 [ 80%] Built target device-random 02:54:37 #15 28.49 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:54:37 #15 28.55 [ 84%] Linking C executable device-gyro 02:54:38 #15 28.57 /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:54:38 #15 28.61 [ 84%] Built target device-gyro 02:54:38 #15 28.63 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:54:38 #15 28.69 [ 88%] Linking C executable device-bitfields 02:54:38 #15 28.71 /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:54:38 #15 28.76 [ 88%] Built target device-bitfields 02:54:38 #15 28.78 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:54:38 #15 28.85 [ 92%] Linking C executable template-discovery 02:54:38 #15 28.88 /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:54:38 #15 28.92 [ 92%] Built target template-discovery 02:54:38 #15 28.94 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:54:38 #15 29.00 [ 96%] Linking C executable device-file 02:54:38 #15 29.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:54:38 #15 29.07 [ 96%] Built target device-file 02:54:38 #15 29.08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:54:38 #15 29.15 [100%] Linking C executable device-terminal 02:54:38 #15 29.18 /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:54:38 #15 29.22 [100%] Built target device-terminal 02:54:38 #15 29.23 + cp -rf include/devsdk include/edgex /usr/include/ 02:54:38 #15 29.24 + cp build/release/c/libcsdk.so /usr/lib/ 02:54:38 #15 29.24 + rm -rf /device-coap/deps 02:54:38 #15 DONE 29.3s 02:54:38 02:54:38 #16 [12/12] RUN /device-coap/scripts/build.sh 02:54:38 #16 0.194 + readlink -f /device-coap/scripts/build.sh 02:54:38 #16 0.194 + dirname /device-coap/scripts/build.sh 02:54:38 #16 0.195 + dirname /device-coap/scripts 02:54:38 #16 0.195 + ROOT=/device-coap 02:54:38 #16 0.195 + echo /device-coap 02:54:38 #16 0.195 /device-coap 02:54:38 #16 0.196 + cd /device-coap 02:54:38 #16 0.196 + mkdir -p /device-coap/build/release 02:54:38 #16 0.196 + cd /device-coap/build/release 02:54:38 #16 0.196 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 02:54:38 #16 0.269 -- The C compiler identification is GNU 12.2.1 02:54:38 #16 0.285 -- Detecting C compiler ABI info 02:54:38 #16 0.371 -- Detecting C compiler ABI info - done 02:54:39 #16 0.391 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:39 #16 0.391 -- Detecting C compile features 02:54:39 #16 0.392 -- Detecting C compile features - done 02:54:39 #16 0.396 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 02:54:39 #16 0.398 -- Configuring done (0.2s) 02:54:39 #16 0.402 -- Generating done (0.0s) 02:54:39 #16 0.403 -- Build files have been written to: /device-coap/build/release 02:54:39 #16 0.406 + make 02:54:39 #16 0.406 + tee release.log 02:54:39 #16 0.446 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 02:54:39 #16 0.487 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:39 #16 0.487 from /device-coap/src/c/device-coap.h:17, 02:54:39 #16 0.487 from /device-coap/src/c/coap-client.h:21, 02:54:39 #16 0.487 from /device-coap/src/c/coap-client.c:9: 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 02:54:39 #16 0.487 /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:54:39 #16 0.487 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:54:39 #16 0.487 | ^~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.487 90 | strlen(end_dev_params_ptr->psk_key)); 02:54:39 #16 0.487 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | size_t {aka long unsigned int} 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 02:54:39 #16 0.487 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:54:39 #16 0.487 | ~^ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | unsigned int 02:54:39 #16 0.487 | %lu 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c: In function 'message_handler': 02:54:39 #16 0.487 /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:54:39 #16 0.487 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:54:39 #16 0.487 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | size_t {aka long unsigned int} 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 02:54:39 #16 0.487 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:54:39 #16 0.487 | ~^ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | unsigned int 02:54:39 #16 0.487 | %lu 02:54:39 #16 0.487 /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:54:39 #16 0.487 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:54:39 #16 0.487 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.487 130 | resource->properties->type); 02:54:39 #16 0.487 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | iot_typecode_t 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 02:54:39 #16 0.487 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:54:39 #16 0.487 | ~^ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | int 02:54:39 #16 0.487 /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:54:39 #16 0.487 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:54:39 #16 0.487 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.487 140 | len); 02:54:39 #16 0.487 | ~~~ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | size_t {aka long unsigned int} 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 02:54:39 #16 0.487 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:54:39 #16 0.487 | ~^ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | int 02:54:39 #16 0.487 | %ld 02:54:39 #16 0.487 /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:54:39 #16 0.487 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:54:39 #16 0.487 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.487 145 | len); 02:54:39 #16 0.487 | ~~~ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | size_t {aka long unsigned int} 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 02:54:39 #16 0.487 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:54:39 #16 0.487 | ~^ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | int 02:54:39 #16 0.487 | %ld 02:54:39 #16 0.487 /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:54:39 #16 0.487 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:54:39 #16 0.487 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.487 152 | len); 02:54:39 #16 0.487 | ~~~ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | size_t {aka long unsigned int} 02:54:39 #16 0.487 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 02:54:39 #16 0.487 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:54:39 #16 0.487 | ~^ 02:54:39 #16 0.487 | | 02:54:39 #16 0.487 | int 02:54:39 #16 0.487 | %ld 02:54:39 #16 0.488 /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:54:39 #16 0.488 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:54:39 #16 0.488 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.488 157 | resource->properties->type); 02:54:39 #16 0.488 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.488 | | 02:54:39 #16 0.488 | iot_typecode_t 02:54:39 #16 0.488 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 02:54:39 #16 0.488 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:54:39 #16 0.488 | ~^ 02:54:39 #16 0.488 | | 02:54:39 #16 0.488 | int 02:54:39 #16 0.488 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 02:54:39 #16 0.488 /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:54:39 #16 0.488 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:54:39 #16 0.488 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:39 #16 0.488 | | 02:54:39 #16 0.488 | size_t {aka long unsigned int} 02:54:39 #16 0.488 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 02:54:39 #16 0.488 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:54:39 #16 0.488 | ~^ 02:54:39 #16 0.488 | | 02:54:39 #16 0.488 | int 02:54:39 #16 0.488 | %ld 02:54:39 #16 0.488 /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:54:39 #16 0.488 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:39 #16 0.488 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.488 253 | (uint8_t *)end_dev_params_ptr->psk_key, 02:54:39 #16 0.488 254 | strlen(end_dev_params_ptr->psk_key)); 02:54:39 #16 0.488 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.488 | | 02:54:39 #16 0.488 | size_t {aka long unsigned int} 02:54:39 #16 0.488 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 02:54:39 #16 0.488 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:39 #16 0.488 | ~^ 02:54:39 #16 0.488 | | 02:54:39 #16 0.488 | int 02:54:39 #16 0.488 | %ld 02:54:39 #16 0.489 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 02:54:39 #16 0.489 /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:54:39 #16 0.489 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:39 #16 0.489 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.489 352 | (uint8_t *)end_dev_params_ptr->psk_key, 02:54:39 #16 0.489 353 | strlen(end_dev_params_ptr->psk_key)); 02:54:39 #16 0.489 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.489 | | 02:54:39 #16 0.489 | size_t {aka long unsigned int} 02:54:39 #16 0.489 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 02:54:39 #16 0.489 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:39 #16 0.489 | ~^ 02:54:39 #16 0.489 | | 02:54:39 #16 0.489 | int 02:54:39 #16 0.489 | %ld 02:54:39 #16 0.599 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 02:54:39 #16 0.637 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:39 #16 0.637 from /usr/include/edgex/devices.h:17, 02:54:39 #16 0.637 from /device-coap/src/c/coap-server.c:22: 02:54:39 #16 0.637 /device-coap/src/c/coap-server.c: In function 'data_handler': 02:54:39 #16 0.637 /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:54:39 #16 0.637 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:54:39 #16 0.637 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:39 #16 0.637 | | 02:54:39 #16 0.637 | size_t {aka long unsigned int} 02:54:39 #16 0.637 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 02:54:39 #16 0.637 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:54:39 #16 0.637 | ~^ 02:54:39 #16 0.637 | | 02:54:39 #16 0.637 | unsigned int 02:54:39 #16 0.637 | %lu 02:54:39 #16 0.638 /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:54:39 #16 0.638 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:54:39 #16 0.638 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.638 | | 02:54:39 #16 0.638 | iot_typecode_t 02:54:39 #16 0.638 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 02:54:39 #16 0.638 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:54:39 #16 0.638 | ~^ 02:54:39 #16 0.638 | | 02:54:39 #16 0.638 | int 02:54:39 #16 0.698 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 02:54:39 #16 0.737 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:39 #16 0.737 from /device-coap/src/c/coap-util.h:18, 02:54:39 #16 0.737 from /device-coap/src/c/coap-util.c:9: 02:54:39 #16 0.737 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 02:54:39 #16 0.737 /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:54:39 #16 0.737 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:39 #16 0.737 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:39 #16 0.737 | | 02:54:39 #16 0.737 | size_t {aka long unsigned int} 02:54:39 #16 0.737 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 02:54:39 #16 0.737 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:39 #16 0.737 | ~^ 02:54:39 #16 0.737 | | 02:54:39 #16 0.737 | unsigned int 02:54:39 #16 0.737 | %lu 02:54:39 #16 0.737 /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:54:39 #16 0.737 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:39 #16 0.737 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:39 #16 0.737 | | 02:54:39 #16 0.737 | size_t {aka long unsigned int} 02:54:39 #16 0.737 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 02:54:39 #16 0.737 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:39 #16 0.737 | ~^ 02:54:39 #16 0.737 | | 02:54:39 #16 0.737 | unsigned int 02:54:39 #16 0.737 | %lu 02:54:39 #16 0.737 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 02:54:39 #16 0.737 /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:54:39 #16 0.737 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:39 #16 0.737 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:39 #16 0.737 | | 02:54:39 #16 0.737 | size_t {aka long unsigned int} 02:54:39 #16 0.737 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 02:54:39 #16 0.737 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:39 #16 0.737 | ~^ 02:54:39 #16 0.737 | | 02:54:39 #16 0.737 | unsigned int 02:54:39 #16 0.737 | %lu 02:54:39 #16 0.737 /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:54:39 #16 0.737 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:39 #16 0.737 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:39 #16 0.737 | | 02:54:39 #16 0.737 | size_t {aka long unsigned int} 02:54:39 #16 0.738 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 02:54:39 #16 0.738 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:39 #16 0.738 | ~^ 02:54:39 #16 0.738 | | 02:54:39 #16 0.738 | unsigned int 02:54:39 #16 0.738 | %lu 02:54:39 #16 0.838 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 02:54:39 #16 0.877 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:39 #16 0.877 from /device-coap/src/c/device-coap.h:17, 02:54:39 #16 0.877 from /device-coap/src/c/device-coap.c:10: 02:54:39 #16 0.877 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 02:54:39 #16 0.877 /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:54:39 #16 0.877 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:54:39 #16 0.877 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.877 131 | requests[i].resource->type); 02:54:39 #16 0.877 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:39 #16 0.877 | | 02:54:39 #16 0.877 | iot_typecode_t 02:54:39 #16 0.877 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 02:54:39 #16 0.877 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:54:39 #16 0.877 | ~^ 02:54:39 #16 0.877 | | 02:54:39 #16 0.877 | int 02:54:39 #16 0.986 [100%] Linking C executable device-coap 02:54:39 #16 1.012 /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:54:39 #16 1.054 [100%] Built target device-coap 02:54:39 #16 DONE 1.1s 02:54:40 02:54:40 #17 exporting to image 02:54:40 #17 exporting layers 02:54:40 #17 exporting layers 0.3s done 02:54:40 #17 writing image sha256:39115be57d6f77f52903ed2fac79709c7adabf9d6cca2ac3b34f48721e2e312b done 02:54:40 #17 naming to docker.io/library/ci-base-image-x86_64 done 02:54:40 #17 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:41 + docker inspect -f . ci-base-image-x86_64 02:54:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:41 prd-ubuntu20.04-docker-8c-8g-772849 does not seem to be running inside a container 02:54:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/a7aab1ab6d8efce1cc97566c5798011b -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b:rw,z -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@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 ******** ci-base-image-x86_64 cat 02:54:41 $ docker top 66a821e9e54981178b2a28de774f58960242509d98ded6ee5498a0c1936c4cbd -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:41 + make test 02:54:41 build/release/device-coap [Pipeline] } 02:54:41 $ docker stop --time=1 66a821e9e54981178b2a28de774f58960242509d98ded6ee5498a0c1936c4cbd 02:54:43 $ docker rm -f --volumes 66a821e9e54981178b2a28de774f58960242509d98ded6ee5498a0c1936c4cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:44 + ls -al . 02:54:44 total 96 02:54:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:53 . 02:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:53 .. 02:54:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:53 .git 02:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:53 .github 02:54:44 -rw-rw-r-- 1 jenkins jenkins 14 Nov 10 02:53 .gitignore 02:54:44 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:53 .semver 02:54:44 -rw-rw-r-- 1 jenkins jenkins 2037 Nov 10 02:53 Attribution.txt 02:54:44 -rw-rw-r-- 1 jenkins jenkins 3893 Nov 10 02:53 CHANGELOG.md 02:54:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:53 GOVERNANCE.md 02:54:44 -rw-rw-r-- 1 jenkins jenkins 798 Nov 10 02:53 Jenkinsfile 02:54:44 -rw-rw-r-- 1 jenkins jenkins 10173 Nov 10 02:53 LICENSE 02:54:44 -rw-rw-r-- 1 jenkins jenkins 938 Nov 10 02:53 Makefile 02:54:44 -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 02:53 OWNERS.md 02:54:44 -rw-rw-r-- 1 jenkins jenkins 12454 Nov 10 02:53 README.md 02:54:44 -rw-rw-r-- 1 jenkins jenkins 506 Nov 10 02:53 ROADMAP.md 02:54:44 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 02:53 VERSION 02:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:53 res 02:54:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:53 scripts 02:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:44 + 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=b8dd8b89e3844a7d2f70ca8a94769af24447a763 --label arch=amd64 --label version=0.0.0 . 02:54:44 #0 building with "default" instance using docker driver 02:54:44 02:54:44 #1 [internal] load build definition from Dockerfile.alpine 02:54:44 #1 transferring dockerfile: 2.13kB done 02:54:44 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10) 02:54:44 #1 DONE 0.0s 02:54:44 02:54:44 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 02:54:44 #2 DONE 0.0s 02:54:44 02:54:44 #3 [internal] load .dockerignore 02:54:44 #3 transferring context: 2B done 02:54:44 #3 DONE 0.0s 02:54:44 02:54:44 #4 [internal] load build context 02:54:44 #4 transferring context: 16.46kB done 02:54:44 #4 DONE 0.0s 02:54:44 02:54:44 #5 [builder 1/11] FROM docker.io/library/ci-base-image-x86_64:latest 02:54:44 #5 DONE 0.1s 02:54:44 02:54:44 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 02:54:45 #6 0.242 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:45 #6 0.404 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:45 #6 0.600 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:45 #6 ... 02:54:45 02:54:45 #7 [builder 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:54:45 #7 0.238 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:54:45 #7 0.639 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:54:45 #7 0.639 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:54:45 #7 0.639 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:54:45 #7 DONE 0.7s 02:54:45 02:54:45 #8 [builder 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:54:45 #8 DONE 0.2s 02:54:45 02:54:45 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 02:54:45 #6 1.151 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:46 #6 1.161 OK: 337 MiB in 103 packages 02:54:46 #6 DONE 1.2s 02:54:46 02:54:46 #9 [builder 4/11] 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:54:46 #9 0.216 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:46 #9 0.306 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:46 #9 0.423 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:46 #9 0.960 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:46 #9 0.968 OK: 337 MiB in 103 packages 02:54:46 #9 DONE 1.0s 02:54:46 02:54:46 #10 [builder 5/11] COPY scripts /device-coap/scripts 02:54:46 #10 DONE 0.0s 02:54:46 02:54:46 #11 [stage-1 3/15] RUN apk --no-cache upgrade 02:54:46 #11 0.223 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:46 #11 0.307 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:46 #11 0.428 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:47 #11 ... 02:54:47 02:54:47 #12 [builder 6/11] COPY src /device-coap/src/ 02:54:47 #12 DONE 0.0s 02:54:47 02:54:47 #13 [builder 7/11] COPY VERSION /device-coap 02:54:47 #13 DONE 0.0s 02:54:47 02:54:47 #11 [stage-1 3/15] RUN apk --no-cache upgrade 02:54:47 #11 0.970 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:47 #11 0.979 OK: 337 MiB in 103 packages 02:54:47 #11 DONE 1.1s 02:54:47 02:54:47 #14 [builder 8/11] RUN mkdir -p /device-coap/build 02:54:47 #14 DONE 0.3s 02:54:47 02:54:47 #15 [stage-1 4/15] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:54:47 #15 ... 02:54:47 02:54:47 #16 [builder 9/11] WORKDIR /device-coap 02:54:47 #16 DONE 0.0s 02:54:47 02:54:47 #15 [stage-1 4/15] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:54:47 #15 0.287 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:54:47 #15 0.686 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:54:48 #15 0.686 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:54:48 #15 0.686 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:54:48 #15 DONE 0.7s 02:54:48 02:54:48 #17 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 02:54:48 #17 0.321 + BUILD_CSDK=1 02:54:48 #17 0.321 + TINYDTLS_VERSION=b0e230d 02:54:48 #17 0.321 + LIBCOAP_VERSION=1739507 02:54:48 #17 0.321 + CSDK_VERSION=4.0.0 02:54:48 #17 0.321 + '[' -d deps ] 02:54:48 #17 0.321 + mkdir deps 02:54:48 #17 0.323 + cd /device-coap/deps 02:54:48 #17 0.323 + git clone https://github.com/eclipse/tinydtls.git 02:54:48 #17 0.324 Cloning into 'tinydtls'... 02:54:48 #17 0.845 + cd tinydtls 02:54:48 #17 0.845 + git checkout develop 02:54:48 #17 ... 02:54:48 02:54:48 #18 [stage-1 5/15] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:54:48 #18 DONE 0.3s 02:54:48 02:54:48 #17 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 02:54:48 #17 0.855 branch 'develop' set up to track 'origin/develop'. 02:54:48 #17 0.855 Switched to a new branch 'develop' 02:54:48 #17 0.856 + git reset --hard b0e230d 02:54:48 #17 0.876 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:54:48 #17 0.876 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:54:48 #17 0.877 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:54:48 #17 0.878 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:54:48 #17 0.878 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:54:48 #17 0.879 + mkdir -p build 02:54:48 #17 0.879 + cd build 02:54:48 #17 0.879 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:54:48 #17 0.942 -- The C compiler identification is GNU 12.2.1 02:54:48 #17 0.956 -- Detecting C compiler ABI info 02:54:48 #17 1.035 -- Detecting C compiler ABI info - done 02:54:48 #17 1.049 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:48 #17 1.050 -- Detecting C compile features 02:54:48 #17 1.051 -- Detecting C compile features - done 02:54:48 #17 1.054 -- Looking for assert.h 02:54:48 #17 1.134 -- Looking for assert.h - found 02:54:48 #17 1.135 -- Looking for arpa/inet.h 02:54:48 #17 1.221 -- Looking for arpa/inet.h - found 02:54:48 #17 1.221 -- Looking for fcntl.h 02:54:48 #17 1.307 -- Looking for fcntl.h - found 02:54:48 #17 1.307 -- Looking for inttypes.h 02:54:48 #17 1.388 -- Looking for inttypes.h - found 02:54:48 #17 1.388 -- Looking for memory.h 02:54:48 #17 1.472 -- Looking for memory.h - found 02:54:48 #17 1.473 -- Looking for netdb.h 02:54:48 #17 1.556 -- Looking for netdb.h - found 02:54:48 #17 1.557 -- Looking for netinet/in.h 02:54:48 #17 1.645 -- Looking for netinet/in.h - found 02:54:48 #17 1.645 -- Looking for stddef.h 02:54:48 #17 1.728 -- Looking for stddef.h - found 02:54:49 #17 1.728 -- Looking for stdint.h 02:54:49 #17 1.810 -- Looking for stdint.h - found 02:54:49 #17 1.810 -- Looking for stdlib.h 02:54:49 #17 1.891 -- Looking for stdlib.h - found 02:54:49 #17 ... 02:54:49 02:54:49 #19 [stage-1 6/15] 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:54:49 #19 0.239 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:49 #19 0.331 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:49 #19 0.443 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:49 #19 0.999 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:49 #19 1.005 (1/1) Installing curl (8.12.1-r0) 02:54:49 #19 1.014 Executing busybox-1.36.1-r7.trigger 02:54:49 #19 1.023 OK: 337 MiB in 104 packages 02:54:49 #19 DONE 1.1s 02:54:49 02:54:49 #17 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 02:54:49 #17 1.892 -- Looking for string.h 02:54:49 #17 1.981 -- Looking for string.h - found 02:54:49 #17 1.981 -- Looking for strings.h 02:54:49 #17 2.075 -- Looking for strings.h - found 02:54:49 #17 2.076 -- Looking for time.h 02:54:49 #17 2.162 -- Looking for time.h - found 02:54:49 #17 2.163 -- Looking for sys/param.h 02:54:49 #17 2.241 -- Looking for sys/param.h - found 02:54:49 #17 2.241 -- Looking for sys/socket.h 02:54:49 #17 2.330 -- Looking for sys/socket.h - found 02:54:49 #17 2.330 -- Looking for sys/stat.h 02:54:49 #17 2.431 -- Looking for sys/stat.h - found 02:54:49 #17 2.431 -- Looking for sys/types.h 02:54:49 #17 2.520 -- Looking for sys/types.h - found 02:54:49 #17 2.520 -- Looking for sys/time.h 02:54:49 #17 2.610 -- Looking for sys/time.h - found 02:54:50 #17 2.610 -- Looking for unistd.h 02:54:50 #17 2.697 -- Looking for unistd.h - found 02:54:50 #17 2.697 -- Looking for float.h 02:54:50 #17 2.782 -- Looking for float.h - found 02:54:50 #17 2.782 -- Looking for dlfcn.h 02:54:50 #17 2.870 -- Looking for dlfcn.h - found 02:54:50 #17 2.870 -- Looking for memset 02:54:50 #17 2.949 -- Looking for memset - found 02:54:50 #17 2.949 -- Looking for select 02:54:50 #17 3.029 -- Looking for select - found 02:54:50 #17 3.029 -- Looking for socket 02:54:50 #17 3.107 -- Looking for socket - found 02:54:50 #17 3.107 -- Looking for strdup 02:54:50 #17 3.196 -- Looking for strdup - found 02:54:50 #17 3.196 -- Looking for strerror 02:54:50 #17 3.291 -- Looking for strerror - found 02:54:50 #17 3.291 -- Looking for strnlen 02:54:50 #17 3.368 -- Looking for strnlen - found 02:54:50 #17 3.368 -- Looking for fls 02:54:50 #17 3.460 -- Looking for fls - not found 02:54:50 #17 3.460 -- Looking for vprintf 02:54:50 #17 3.544 -- Looking for vprintf - found 02:54:50 #17 3.545 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:54:50 #17 3.597 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:54:51 #17 3.606 -- Configuring done (2.7s) 02:54:51 #17 3.613 -- Generating done (0.0s) 02:54:51 #17 3.614 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:54:51 #17 3.617 + make 02:54:51 #17 3.662 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:54:51 #17 3.816 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:54:51 #17 3.852 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:54:51 #17 4.120 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:54:51 #17 4.233 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:54:51 #17 4.233 In function 'ecc_ecdh', 02:54:51 #17 4.233 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:51 #17 4.233 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:54:51 #17 4.233 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:51 #17 4.233 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:51 #17 4.233 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:51 #17 4.233 /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:54:51 #17 4.233 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:54:51 #17 4.233 | ^~~~~~~~~~~ 02:54:51 #17 4.233 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:54:51 #17 4.233 431 | uint32_t pub_x[8]; 02:54:51 #17 4.233 | ^~~~~ 02:54:51 #17 4.233 In function 'ecc_ecdh', 02:54:51 #17 4.233 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:51 #17 4.233 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:54:51 #17 4.233 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:51 #17 4.233 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:51 #17 4.233 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:51 #17 4.233 /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:54:51 #17 4.233 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:54:51 #17 4.233 | ^~~~~~~~~~~ 02:54:51 #17 4.233 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:54:51 #17 4.233 432 | uint32_t pub_y[8]; 02:54:51 #17 4.233 | ^~~~~ 02:54:51 #17 4.233 In function 'ecc_ecdh', 02:54:51 #17 4.233 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:51 #17 4.233 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:54:51 #17 4.233 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:51 #17 4.233 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:51 #17 4.233 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:51 #17 4.233 /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:54:51 #17 4.233 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:54:51 #17 4.233 | ^~~~~~~~~~~ 02:54:51 #17 4.233 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:54:51 #17 4.233 430 | uint32_t priv[8]; 02:54:51 #17 4.233 | ^~~~ 02:54:51 #17 4.316 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:54:52 #17 5.281 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:54:52 #17 5.334 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:54:52 #17 5.381 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:54:52 #17 5.416 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:54:52 #17 5.435 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:54:52 #17 5.435 /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:54:52 #17 5.435 316 | for (idx = 0; idx < count; idx++) { 02:54:52 #17 5.435 | ^ 02:54:52 #17 5.435 /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:54:52 #17 5.435 319 | return result == count; 02:54:52 #17 5.435 | ^~ 02:54:53 #17 6.122 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:54:53 #17 6.183 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:54:53 #17 6.259 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:54:53 #17 6.311 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:54:53 #17 6.362 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:54:53 #17 6.382 /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:54:53 #17 6.382 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:54:53 #17 6.382 | ~~~~~~~~~~^~~~~~~~ 02:54:53 #17 6.382 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:54:53 #17 6.382 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:54:53 #17 6.382 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:54:53 #17 6.382 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #17 6.382 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:54:53 #17 6.382 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:54:53 #17 6.382 | ~~~~~^~~~~~~~ 02:54:53 #17 6.382 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:54:53 #17 6.382 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:54:53 #17 6.382 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #17 6.521 [100%] Linking C shared library libtinydtls.so 02:54:53 #17 6.554 [100%] Built target tinydtls 02:54:53 #17 6.562 + make install 02:54:53 #17 6.599 [100%] Built target tinydtls 02:54:53 #17 6.615 Install the project... 02:54:53 #17 6.621 -- Install configuration: "Release" 02:54:53 #17 6.621 -- Installing: /usr/local/lib/libtinydtls.so 02:54:53 #17 6.622 -- Up-to-date: /usr/local/include/tinydtls 02:54:53 #17 6.622 -- Installing: /usr/local/include/tinydtls/uthash.h 02:54:53 #17 6.623 -- Up-to-date: /usr/local/include/tinydtls/sha2 02:54:53 #17 6.623 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:54:53 #17 6.623 -- Up-to-date: /usr/local/include/tinydtls/ecc 02:54:53 #17 6.624 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:54:53 #17 6.624 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:54:53 #17 6.624 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:54:53 #17 6.625 -- Installing: /usr/local/include/tinydtls/alert.h 02:54:53 #17 6.625 -- Up-to-date: /usr/local/include/tinydtls/aes 02:54:53 #17 6.625 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:54:53 #17 6.625 -- Installing: /usr/local/include/tinydtls/crypto.h 02:54:53 #17 6.626 -- Installing: /usr/local/include/tinydtls/numeric.h 02:54:53 #17 6.626 -- Installing: /usr/local/include/tinydtls/peer.h 02:54:53 #17 6.627 -- Installing: /usr/local/include/tinydtls/utlist.h 02:54:53 #17 6.627 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:54:53 #17 6.627 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:54:53 #17 6.627 -- Installing: /usr/local/include/tinydtls/netq.h 02:54:53 #17 6.628 -- Installing: /usr/local/include/tinydtls/dtls.h 02:54:53 #17 6.628 -- Installing: /usr/local/include/tinydtls/global.h 02:54:53 #17 6.628 -- Installing: /usr/local/include/tinydtls/state.h 02:54:53 #17 6.629 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:54:53 #17 6.629 -- Installing: /usr/local/include/tinydtls/session.h 02:54:53 #17 6.629 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:54:53 #17 6.629 -- Installing: /usr/local/include/tinydtls/hmac.h 02:54:53 #17 6.630 -- Installing: /usr/local/include/tinydtls/ccm.h 02:54:53 #17 6.630 -- Up-to-date: /usr/local/include/tinydtls 02:54:53 #17 6.630 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:54:53 #17 6.631 + cd /device-coap/deps 02:54:53 #17 6.631 + git clone https://github.com/obgm/libcoap.git 02:54:53 #17 6.631 Cloning into 'libcoap'... 02:54:55 #17 8.230 + cd libcoap 02:54:55 #17 8.230 + git reset --hard 1739507 02:54:55 #17 8.265 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:54:55 #17 8.266 + patch -p1 02:54:55 #17 8.267 patching file cmake/FindTinyDTLS.cmake 02:54:55 #17 8.268 + patch -p1 02:54:55 #17 8.269 patching file include/coap2/coap_config.h.in 02:54:55 #17 8.270 + mkdir -p build 02:54:55 #17 8.271 + cd build 02:54:55 #17 8.271 + 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:54:55 #17 8.344 -- The CXX compiler identification is GNU 12.2.1 02:54:55 #17 8.404 -- The C compiler identification is GNU 12.2.1 02:54:55 #17 8.417 -- Detecting CXX compiler ABI info 02:54:55 #17 8.508 -- Detecting CXX compiler ABI info - done 02:54:55 #17 8.526 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:54:55 #17 8.527 -- Detecting CXX compile features 02:54:55 #17 8.527 -- Detecting CXX compile features - done 02:54:55 #17 8.532 -- Detecting C compiler ABI info 02:54:55 #17 8.614 -- Detecting C compiler ABI info - done 02:54:55 #17 8.633 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:55 #17 8.633 -- Detecting C compile features 02:54:55 #17 8.634 -- Detecting C compile features - done 02:54:55 #17 8.637 -- Looking for byteswap.h 02:54:55 #17 8.715 -- Looking for byteswap.h - found 02:54:56 #17 8.716 -- Looking for inttypes.h 02:54:56 #17 8.803 -- Looking for inttypes.h - found 02:54:56 #17 8.803 -- Looking for limits.h 02:54:56 #17 8.891 -- Looking for limits.h - found 02:54:56 #17 8.891 -- Looking for memory.h 02:54:56 #17 8.979 -- Looking for memory.h - found 02:54:56 #17 8.980 -- Looking for strings.h 02:54:56 #17 9.067 -- Looking for strings.h - found 02:54:56 #17 9.068 -- Looking for string.h 02:54:56 #17 9.150 -- Looking for string.h - found 02:54:56 #17 9.150 -- Looking for sys/sysctl.h 02:54:56 #17 9.199 -- Looking for sys/sysctl.h - not found 02:54:56 #17 9.199 -- Looking for netinet/in.h 02:54:56 #17 9.279 -- Looking for netinet/in.h - found 02:54:56 #17 9.279 -- Looking for sys/epoll.h 02:54:56 #17 9.362 -- Looking for sys/epoll.h - found 02:54:56 #17 9.363 -- Looking for sys/timerfd.h 02:54:56 #17 9.451 -- Looking for sys/timerfd.h - found 02:54:56 #17 9.451 -- Looking for arpa/inet.h 02:54:56 #17 9.534 -- Looking for arpa/inet.h - found 02:54:56 #17 9.535 -- Looking for stdbool.h 02:54:56 #17 9.615 -- Looking for stdbool.h - found 02:54:56 #17 9.616 -- Looking for netdb.h 02:54:56 #17 9.709 -- Looking for netdb.h - found 02:54:57 #17 9.710 -- Looking for pthread.h 02:54:57 #17 9.797 -- Looking for pthread.h - found 02:54:57 #17 9.797 -- Looking for stdlib.h 02:54:57 #17 9.889 -- Looking for stdlib.h - found 02:54:57 #17 9.890 -- Looking for stdint.h 02:54:57 #17 9.977 -- Looking for stdint.h - found 02:54:57 #17 9.977 -- Looking for syslog.h 02:54:57 #17 10.06 -- Looking for syslog.h - found 02:54:57 #17 10.06 -- Looking for sys/ioctl.h 02:54:57 #17 10.15 -- Looking for sys/ioctl.h - found 02:54:57 #17 10.15 -- Looking for sys/socket.h 02:54:57 #17 10.23 -- Looking for sys/socket.h - found 02:54:57 #17 10.23 -- Looking for sys/stat.h 02:54:57 #17 10.32 -- Looking for sys/stat.h - found 02:54:57 #17 10.32 -- Looking for sys/time.h 02:54:57 #17 10.41 -- Looking for sys/time.h - found 02:54:57 #17 10.41 -- Looking for sys/types.h 02:54:57 #17 10.50 -- Looking for sys/types.h - found 02:54:57 #17 10.50 -- Looking for sys/unistd.h 02:54:57 #17 10.55 -- Looking for sys/unistd.h - not found 02:54:57 #17 10.55 -- Looking for time.h 02:54:57 #17 10.63 -- Looking for time.h - found 02:54:57 #17 10.63 -- Looking for unistd.h 02:54:57 #17 10.71 -- Looking for unistd.h - found 02:54:58 #17 10.71 -- Looking for float.h 02:54:58 #17 10.80 -- Looking for float.h - found 02:54:58 #17 10.80 -- Looking for stddef.h 02:54:58 #17 10.88 -- Looking for stddef.h - found 02:54:58 #17 10.88 -- Looking for winsock2.h 02:54:58 #17 10.93 -- Looking for winsock2.h - not found 02:54:58 #17 10.93 -- Looking for ws2tcpip.h 02:54:58 #17 10.99 -- Looking for ws2tcpip.h - not found 02:54:58 #17 10.99 -- Looking for malloc 02:54:58 #17 11.07 -- Looking for malloc - found 02:54:58 #17 11.07 -- Looking for memset 02:54:58 #17 11.15 -- Looking for memset - found 02:54:58 #17 11.15 -- Looking for select 02:54:58 #17 11.24 -- Looking for select - found 02:54:58 #17 11.24 -- Looking for socket 02:54:58 #17 11.34 -- Looking for socket - found 02:54:58 #17 11.34 -- Looking for strcasecmp 02:54:58 #17 11.43 -- Looking for strcasecmp - found 02:54:58 #17 11.44 -- Looking for pthread_mutex_lock 02:54:58 #17 11.52 -- Looking for pthread_mutex_lock - found 02:54:58 #17 11.52 -- Looking for getaddrinfo 02:54:58 #17 11.61 -- Looking for getaddrinfo - found 02:54:58 #17 11.61 -- Looking for strnlen 02:54:58 #17 11.69 -- Looking for strnlen - found 02:54:58 #17 11.69 -- Looking for strrchr 02:54:58 #17 11.78 -- Looking for strrchr - found 02:54:58 #17 11.78 -- Looking for getrandom 02:54:58 #17 11.86 -- Looking for getrandom - found 02:54:59 #17 11.87 -- Looking for cmsghdr 02:54:59 #17 11.92 -- Looking for cmsghdr - not found 02:54:59 #17 11.92 -- compiling without epoll support 02:54:59 #17 11.92 -- compiling with DTLS support 02:54:59 #17 11.92 -- DTLS_BACKEND: tinydtls 02:54:59 #17 11.92 -- Found TinyDTLS: /usr/local/include 02:54:59 #17 11.92 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:54:59 #17 11.92 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:54:59 #17 11.92 -- TINYDTLS_ROOT_DIR: 02:54:59 #17 11.92 -- compiling with tinydtls support 02:54:59 #17 11.92 -- ENABLE_DTLS:.....................ON 02:54:59 #17 11.92 -- ENABLE_TCP:......................ON 02:54:59 #17 11.92 -- ENABLE_DOCS:.....................OFF 02:54:59 #17 11.92 -- ENABLE_EXAMPLES:.................OFF 02:54:59 #17 11.92 -- DTLS_BACKEND:....................tinydtls 02:54:59 #17 11.92 -- WITH_GNUTLS:.....................OFF 02:54:59 #17 11.92 -- WITH_TINYDTLS:...................ON 02:54:59 #17 11.92 -- WITH_OPENSSL:....................OFF 02:54:59 #17 11.92 -- WITH_MBEDTLS:....................OFF 02:54:59 #17 11.92 -- HAVE_LIBTINYDTLS:................1 02:54:59 #17 11.92 -- HAVE_LIBGNUTLS:.................. 02:54:59 #17 11.92 -- HAVE_OPENSSL:.................... 02:54:59 #17 11.92 -- HAVE_MBEDTLS:.................... 02:54:59 #17 11.92 -- COAP_EPOLL_SUPPORT:.............. 02:54:59 #17 11.92 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:54:59 #17 11.92 -- BUILD_SHARED_LIBS:...............ON 02:54:59 #17 11.92 -- CMAKE_BUILD_TYPE:................Release 02:54:59 #17 11.92 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 02:54:59 #17 11.93 -- Configuring done (3.7s) 02:54:59 #17 11.93 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:54:59 #17 11.93 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:54:59 #17 11.93 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:54:59 #17 11.93 command to set the policy and suppress this warning. 02:54:59 #17 11.93 02:54:59 #17 11.93 File: 02:54:59 #17 11.93 02:54:59 #17 11.93 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:54:59 #17 11.93 This warning is for project developers. Use -Wno-dev to suppress it. 02:54:59 #17 11.93 02:54:59 #17 11.94 -- Generating done (0.0s) 02:54:59 #17 11.94 -- Build files have been written to: /device-coap/deps/libcoap/build 02:54:59 #17 11.95 + make 02:54:59 #17 11.98 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:54:59 #17 12.05 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:54:59 #17 12.13 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:54:59 #17 12.24 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:54:59 #17 12.48 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:54:59 #17 12.53 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:54:59 #17 12.59 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:55:00 #17 12.85 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:55:00 #17 12.90 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:55:00 #17 12.95 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:55:00 #17 13.49 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:55:00 #17 13.61 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:55:01 #17 13.67 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:55:01 #17 13.75 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:55:01 #17 13.80 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:55:01 #17 14.38 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:55:01 #17 14.57 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:55:01 #17 14.76 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:55:02 #17 15.16 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:55:02 #17 15.24 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:55:02 #17 15.28 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:55:02 #17 15.48 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:55:02 #17 15.66 [100%] Linking C shared library libcoap-2.so 02:55:03 #17 15.70 [100%] Built target coap-2 02:55:03 #17 15.71 + make install 02:55:03 #17 15.78 [100%] Built target coap-2 02:55:03 #17 15.79 Install the project... 02:55:03 #17 15.80 -- Install configuration: "Release" 02:55:03 #17 15.80 -- Installing: /usr/local/lib/libcoap-2.so 02:55:03 #17 15.80 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:55:03 #17 15.80 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:55:03 #17 15.81 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:55:03 #17 15.81 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:55:03 #17 15.81 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:55:03 #17 15.81 -- Up-to-date: /usr/local/include 02:55:03 #17 15.81 -- Up-to-date: /usr/local/include/coap2 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/uthash.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/subscribe.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/option.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/resource.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/bits.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/block.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_io.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/pdu.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/str.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/async.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/net.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/address.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/uri.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_event.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_riot.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_prng.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/lwippools.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_debug.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/utlist.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_time.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/encode.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/libcoap.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/mem.h 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap_session.h 02:55:03 #17 15.81 -- Up-to-date: /usr/local/include 02:55:03 #17 15.81 -- Up-to-date: /usr/local/include/coap2 02:55:03 #17 15.81 -- Installing: /usr/local/include/coap2/coap.h 02:55:03 #17 15.82 + '[' 1 '=' 1 ] 02:55:03 #17 15.82 + cd /device-coap/deps 02:55:03 #17 15.82 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:55:03 #17 15.82 Connecting to github.com (140.82.112.3:443) 02:55:03 #17 15.92 Connecting to codeload.github.com (140.82.113.9:443) 02:55:03 #17 16.03 saving to 'v4.0.0.zip' 02:55:03 #17 16.09 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:55:03 #17 16.09 'v4.0.0.zip' saved 02:55:03 #17 16.09 + unzip v4.0.0.zip 02:55:03 #17 16.09 Archive: v4.0.0.zip 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/ 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/.github/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/.github/workflows/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/.gitignore 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/Attribution.txt 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/Doxyfile 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/LICENSE 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/Makefile 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/OWNERS.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/README.IOT.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/README.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/README.v3.md 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/docs/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/docs/startup.md 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/include/ 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/include/devsdk/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/include/edgex/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/scripts/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/src/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:55:03 #17 16.10 creating: device-sdk-c-4.0.0/src/c/ 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/api.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/config.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/config.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/data.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/data.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/device.c 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/device.h 02:55:03 #17 16.10 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:55:03 #17 16.11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/map.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/map.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:55:03 #17 16.11 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/service.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/service.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:55:03 #17 16.12 inflating: + cd device-sdk-c-4.0.0 02:55:03 #17 16.12 + ./scripts/build.sh 02:55:03 #17 16.12 device-sdk-c-4.0.0/src/c/watchers.c 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:55:03 #17 16.12 creating: device-sdk-c-4.0.0/src/cmake/ 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:55:03 #17 16.12 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:55:03 #17 16.12 + CPPCHECK=false 02:55:03 #17 16.12 + DOCGEN=false 02:55:03 #17 16.12 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:55:03 #17 16.12 + '[' 0 -gt 0 ] 02:55:03 #17 16.12 + readlink -f ./scripts/build.sh 02:55:03 #17 16.12 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:55:03 #17 16.12 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:55:03 #17 16.12 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:55:03 #17 16.12 + cd /device-coap/deps/device-sdk-c-4.0.0 02:55:03 #17 16.12 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:55:03 #17 16.12 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:55:03 #17 16.12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:55:03 #17 16.20 -- The C compiler identification is GNU 12.2.1 02:55:03 #17 16.21 -- Detecting C compiler ABI info 02:55:03 #17 16.30 -- Detecting C compiler ABI info - done 02:55:03 #17 16.32 -- Check for working C compiler: /usr/bin/cc - skipped 02:55:03 #17 16.32 -- Detecting C compile features 02:55:03 #17 16.32 -- Detecting C compile features - done 02:55:03 #17 16.33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:55:03 #17 16.40 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:55:03 #17 16.40 -- Found LIBYAML: /usr/lib/libyaml.so 02:55:03 #17 16.41 -- Found LIBUUID: /usr/lib/libuuid.so 02:55:03 #17 16.41 -- Found LIBCBOR: /usr/lib/libcbor.so 02:55:03 #17 16.41 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:55:03 #17 16.41 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:55:03 #17 16.41 -- /opt/iotech/iot/1.5/include 02:55:03 #17 16.41 -- C SDK 0.0.0 for Linux 02:55:03 #17 16.42 -- Performing Test CSDK_HAVE_ATOMIC 02:55:03 #17 16.50 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:55:03 #17 16.55 -- Found Curses: /usr/lib/libcurses.so 02:55:03 #17 16.57 -- Configuring done (0.4s) 02:55:03 #17 16.60 -- Generating done (0.0s) 02:55:03 #17 16.61 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:55:03 #17 16.61 + make all package 02:55:03 #17 16.61 + tee release.log 02:55:03 #17 16.66 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:55:04 #17 16.77 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:55:04 #17 16.93 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:55:04 #17 17.05 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:55:04 #17 17.14 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:55:04 #17 17.44 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:55:04 #17 17.48 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:55:04 #17 17.62 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:55:05 #17 17.90 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:55:05 #17 17.99 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:55:05 #17 18.13 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:55:05 #17 18.26 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:55:05 #17 18.35 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:55:05 #17 18.51 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:55:05 #17 18.57 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:55:06 #17 18.88 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:55:06 #17 18.95 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:55:06 #17 19.22 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:55:06 #17 19.32 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:55:06 #17 19.53 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:55:06 #17 19.61 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:55:07 #17 20.61 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:55:07 #17 20.71 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:55:08 #17 20.78 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:55:08 #17 20.87 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:55:08 #17 20.93 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:55:08 #17 21.16 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:55:08 #17 21.49 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:55:08 #17 21.56 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:55:08 #17 21.69 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:55:09 #17 21.78 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:55:09 #17 22.06 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:55:09 #17 22.06 /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:55:09 #17 22.06 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:55:09 #17 22.06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:09 #17 22.06 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:55:09 #17 22.06 875 | const iot_data_t *deviceservices_config; 02:55:09 #17 22.06 | ^~~~~~~~~~~~~~~~~~~~~ 02:55:09 #17 22.20 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:55:09 #17 22.31 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:55:09 #17 22.37 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:55:09 #17 22.45 [ 68%] Linking C shared library libcsdk.so 02:55:09 #17 22.50 [ 68%] Built target csdk 02:55:09 #17 22.52 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:55:09 #17 22.65 [ 72%] Linking C executable template 02:55:09 #17 22.68 /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:55:09 #17 22.72 [ 72%] Built target template 02:55:09 #17 22.74 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:55:09 #17 22.82 [ 76%] Linking C executable device-counter 02:55:10 #17 22.85 /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:55:10 #17 22.90 [ 76%] Built target device-counter 02:55:10 #17 22.92 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:55:10 #17 23.01 [ 80%] Linking C executable device-random 02:55:10 #17 23.04 /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:55:10 #17 23.08 [ 80%] Built target device-random 02:55:10 #17 23.10 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:55:10 #17 23.18 [ 84%] Linking C executable device-gyro 02:55:10 #17 23.21 /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:55:10 #17 23.25 [ 84%] Built target device-gyro 02:55:10 #17 23.26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:55:10 #17 23.36 [ 88%] Linking C executable device-bitfields 02:55:10 #17 23.38 /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:55:10 #17 23.42 [ 88%] Built target device-bitfields 02:55:10 #17 23.44 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:55:10 #17 23.59 [ 92%] Linking C executable template-discovery 02:55:10 #17 23.62 /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:55:10 #17 23.67 [ 92%] Built target template-discovery 02:55:10 #17 23.69 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:55:10 #17 23.80 [ 96%] Linking C executable device-file 02:55:11 #17 23.83 /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:55:11 #17 23.88 [ 96%] Built target device-file 02:55:11 #17 23.90 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:55:11 #17 24.00 [100%] Linking C executable device-terminal 02:55:11 #17 24.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:55:11 #17 24.06 [100%] Built target device-terminal 02:55:11 #17 24.09 Run CPack packaging tool... 02:55:11 #17 24.10 CPack: Create package using TGZ 02:55:11 #17 24.10 CPack: Install projects 02:55:11 #17 24.10 CPack: - Run preinstall target for: Csdk 02:55:11 #17 24.36 CPack: - Install project: Csdk [] 02:55:11 #17 24.37 CPack: Create package 02:55:11 #17 24.39 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:55:11 #17 24.40 + '[' false '=' true ] 02:55:11 #17 24.40 + '[' false '=' true ] 02:55:11 #17 24.40 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:55:11 #17 24.40 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:55:11 #17 24.40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:55:11 #17 24.47 -- The C compiler identification is GNU 12.2.1 02:55:11 #17 24.48 -- Detecting C compiler ABI info 02:55:11 #17 24.57 -- Detecting C compiler ABI info - done 02:55:12 #17 24.60 -- Check for working C compiler: /usr/bin/cc - skipped 02:55:12 #17 24.60 -- Detecting C compile features 02:55:12 #17 24.60 -- Detecting C compile features - done 02:55:12 #17 24.60 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:55:12 #17 24.68 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:55:12 #17 24.68 -- Found LIBYAML: /usr/lib/libyaml.so 02:55:12 #17 24.68 -- Found LIBUUID: /usr/lib/libuuid.so 02:55:12 #17 24.69 -- Found LIBCBOR: /usr/lib/libcbor.so 02:55:12 #17 24.69 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:55:12 #17 24.69 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:55:12 #17 24.69 -- /opt/iotech/iot/1.5/include 02:55:12 #17 24.69 -- C SDK 0.0.0 for Linux 02:55:12 #17 24.69 -- Performing Test CSDK_HAVE_ATOMIC 02:55:12 #17 24.79 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:55:12 #17 24.83 -- Found Curses: /usr/lib/libcurses.so 02:55:12 #17 24.86 -- Configuring done (0.5s) 02:55:12 #17 24.89 -- Generating done (0.0s) 02:55:12 #17 24.89 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:55:12 #17 24.89 + make 02:55:12 #17 24.89 + tee debug.log 02:55:12 #17 24.93 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:55:12 #17 25.01 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:55:12 #17 25.09 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:55:12 #17 25.17 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:55:12 #17 25.23 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:55:12 #17 25.35 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:55:12 #17 25.39 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:55:12 #17 25.47 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:55:12 #17 25.60 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:55:13 #17 25.66 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:55:13 #17 25.74 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:55:13 #17 25.81 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:55:13 #17 25.89 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:55:13 #17 25.96 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:55:13 #17 26.01 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:55:13 #17 26.16 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:55:13 #17 26.21 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:55:13 #17 26.32 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:55:13 #17 26.37 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:55:13 #17 26.49 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:55:13 #17 26.56 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:55:14 #17 26.76 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:55:14 #17 26.83 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:55:14 #17 26.89 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:55:14 #17 26.95 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:55:14 #17 26.99 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:55:14 #17 27.10 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:55:14 #17 27.32 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:55:14 #17 27.38 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:55:14 #17 27.45 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:55:14 #17 27.52 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:55:14 #17 27.67 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:55:15 #17 27.74 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:55:15 #17 27.79 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:55:15 #17 27.85 [ 68%] Linking C shared library libcsdk.so 02:55:15 #17 27.91 [ 68%] Built target csdk 02:55:15 #17 27.93 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:55:15 #17 28.00 [ 72%] Linking C executable template 02:55:15 #17 28.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:55:15 #17 28.07 [ 72%] Built target template 02:55:15 #17 28.09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:55:15 #17 28.15 [ 76%] Linking C executable device-counter 02:55:15 #17 28.17 /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:55:15 #17 28.21 [ 76%] Built target device-counter 02:55:15 #17 28.23 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:55:15 #17 28.29 [ 80%] Linking C executable device-random 02:55:15 #17 28.32 /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:55:15 #17 28.36 [ 80%] Built target device-random 02:55:15 #17 28.38 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:55:15 #17 28.44 [ 84%] Linking C executable device-gyro 02:55:15 #17 28.46 /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:55:15 #17 28.50 [ 84%] Built target device-gyro 02:55:15 #17 28.52 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:55:15 #17 28.60 [ 88%] Linking C executable device-bitfields 02:55:15 #17 28.62 /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:55:15 #17 28.66 [ 88%] Built target device-bitfields 02:55:15 #17 28.68 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:55:15 #17 28.75 [ 92%] Linking C executable template-discovery 02:55:16 #17 28.78 /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:55:16 #17 28.83 [ 92%] Built target template-discovery 02:55:16 #17 28.84 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:55:16 #17 28.92 [ 96%] Linking C executable device-file 02:55:16 #17 28.95 /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:55:16 #17 28.99 [ 96%] Built target device-file 02:55:16 #17 29.01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:55:16 #17 29.07 [100%] Linking C executable device-terminal 02:55:16 #17 29.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:55:16 #17 29.15 [100%] Built target device-terminal 02:55:16 #17 29.16 + cp -rf include/devsdk include/edgex /usr/include/ 02:55:16 #17 29.16 + cp build/release/c/libcsdk.so /usr/lib/ 02:55:16 #17 29.16 + rm -rf /device-coap/deps 02:55:16 #17 DONE 29.3s 02:55:16 02:55:16 #20 [builder 11/11] RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 02:55:16 #20 0.229 + readlink -f /device-coap/scripts/build.sh 02:55:16 #20 0.229 + dirname /device-coap/scripts/build.sh 02:55:16 #20 0.230 + dirname /device-coap/scripts 02:55:16 #20 0.230 + ROOT=/device-coap 02:55:16 #20 0.230 + echo /device-coap 02:55:16 #20 0.230 + cd /device-coap 02:55:16 #20 0.230 + mkdir -p /device-coap/build/release 02:55:16 #20 0.231 /device-coap 02:55:16 #20 0.231 + cd /device-coap/build/release 02:55:16 #20 0.231 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 02:55:16 #20 0.248 -- Configuring done (0.0s) 02:55:16 #20 0.252 -- Generating done (0.0s) 02:55:16 #20 0.253 -- Build files have been written to: /device-coap/build/release 02:55:16 #20 0.254 + make 02:55:16 #20 0.254 + tee release.log 02:55:16 #20 0.292 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 02:55:16 #20 0.337 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:16 #20 0.337 from /device-coap/src/c/device-coap.h:17, 02:55:16 #20 0.337 from /device-coap/src/c/coap-client.h:21, 02:55:16 #20 0.337 from /device-coap/src/c/coap-client.c:9: 02:55:16 #20 0.337 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 02:55:16 #20 0.337 /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:55:16 #20 0.337 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:55:16 #20 0.337 | ^~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.337 90 | strlen(end_dev_params_ptr->psk_key)); 02:55:16 #20 0.337 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.337 | | 02:55:16 #20 0.337 | size_t {aka long unsigned int} 02:55:16 #20 0.337 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 02:55:16 #20 0.337 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:55:16 #20 0.337 | ~^ 02:55:16 #20 0.337 | | 02:55:16 #20 0.337 | unsigned int 02:55:16 #20 0.337 | %lu 02:55:16 #20 0.338 /device-coap/src/c/coap-client.c: In function 'message_handler': 02:55:16 #20 0.338 /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:55:16 #20 0.338 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:55:16 #20 0.338 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:16 #20 0.338 | | 02:55:16 #20 0.338 | size_t {aka long unsigned int} 02:55:16 #20 0.338 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 02:55:16 #20 0.338 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:55:16 #20 0.338 | ~^ 02:55:16 #20 0.338 | | 02:55:16 #20 0.338 | unsigned int 02:55:16 #20 0.338 | %lu 02:55:16 #20 0.339 /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:55:16 #20 0.339 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:55:16 #20 0.339 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.339 130 | resource->properties->type); 02:55:16 #20 0.339 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.339 | | 02:55:16 #20 0.339 | iot_typecode_t 02:55:16 #20 0.339 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 02:55:16 #20 0.339 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:55:16 #20 0.339 | ~^ 02:55:16 #20 0.339 | | 02:55:16 #20 0.339 | int 02:55:16 #20 0.339 /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:55:16 #20 0.339 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:55:16 #20 0.339 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.339 140 | len); 02:55:16 #20 0.339 | ~~~ 02:55:16 #20 0.339 | | 02:55:16 #20 0.339 | size_t {aka long unsigned int} 02:55:16 #20 0.339 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 02:55:16 #20 0.339 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:55:16 #20 0.339 | ~^ 02:55:16 #20 0.339 | | 02:55:16 #20 0.339 | int 02:55:16 #20 0.339 | %ld 02:55:16 #20 0.339 /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:55:16 #20 0.339 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:55:16 #20 0.339 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.339 145 | len); 02:55:16 #20 0.339 | ~~~ 02:55:16 #20 0.339 | | 02:55:16 #20 0.339 | size_t {aka long unsigned int} 02:55:16 #20 0.339 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 02:55:16 #20 0.339 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:55:16 #20 0.339 | ~^ 02:55:16 #20 0.339 | | 02:55:16 #20 0.339 | int 02:55:16 #20 0.339 | %ld 02:55:16 #20 0.340 /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:55:16 #20 0.340 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:55:16 #20 0.340 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.340 152 | len); 02:55:16 #20 0.340 | ~~~ 02:55:16 #20 0.340 | | 02:55:16 #20 0.340 | size_t {aka long unsigned int} 02:55:16 #20 0.340 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 02:55:16 #20 0.340 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:55:16 #20 0.340 | ~^ 02:55:16 #20 0.340 | | 02:55:16 #20 0.340 | int 02:55:16 #20 0.340 | %ld 02:55:16 #20 0.340 /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:55:16 #20 0.340 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:55:16 #20 0.340 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.340 157 | resource->properties->type); 02:55:16 #20 0.340 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.340 | | 02:55:16 #20 0.340 | iot_typecode_t 02:55:16 #20 0.340 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 02:55:16 #20 0.340 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:55:16 #20 0.340 | ~^ 02:55:16 #20 0.340 | | 02:55:16 #20 0.340 | int 02:55:16 #20 0.341 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 02:55:16 #20 0.341 /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:55:16 #20 0.341 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:55:16 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:16 #20 0.341 | | 02:55:16 #20 0.341 | size_t {aka long unsigned int} 02:55:16 #20 0.341 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 02:55:16 #20 0.341 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:55:16 #20 0.341 | ~^ 02:55:16 #20 0.341 | | 02:55:16 #20 0.341 | int 02:55:16 #20 0.341 | %ld 02:55:16 #20 0.341 /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:55:16 #20 0.341 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:16 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.341 253 | (uint8_t *)end_dev_params_ptr->psk_key, 02:55:16 #20 0.341 254 | strlen(end_dev_params_ptr->psk_key)); 02:55:16 #20 0.341 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.341 | | 02:55:16 #20 0.341 | size_t {aka long unsigned int} 02:55:16 #20 0.342 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 02:55:16 #20 0.342 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:16 #20 0.342 | ~^ 02:55:16 #20 0.342 | | 02:55:16 #20 0.342 | int 02:55:16 #20 0.342 | %ld 02:55:16 #20 0.342 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 02:55:16 #20 0.343 /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:55:16 #20 0.343 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:16 #20 0.343 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.343 352 | (uint8_t *)end_dev_params_ptr->psk_key, 02:55:16 #20 0.343 353 | strlen(end_dev_params_ptr->psk_key)); 02:55:16 #20 0.343 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.343 | | 02:55:16 #20 0.343 | size_t {aka long unsigned int} 02:55:16 #20 0.343 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 02:55:16 #20 0.343 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:16 #20 0.343 | ~^ 02:55:16 #20 0.343 | | 02:55:16 #20 0.343 | int 02:55:16 #20 0.343 | %ld 02:55:16 #20 0.457 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 02:55:16 #20 0.494 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:16 #20 0.494 from /usr/include/edgex/devices.h:17, 02:55:16 #20 0.494 from /device-coap/src/c/coap-server.c:22: 02:55:16 #20 0.494 /device-coap/src/c/coap-server.c: In function 'data_handler': 02:55:16 #20 0.494 /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:55:16 #20 0.494 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:55:16 #20 0.494 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:16 #20 0.494 | | 02:55:16 #20 0.494 | size_t {aka long unsigned int} 02:55:16 #20 0.494 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 02:55:16 #20 0.494 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:55:16 #20 0.494 | ~^ 02:55:16 #20 0.494 | | 02:55:16 #20 0.494 | unsigned int 02:55:16 #20 0.494 | %lu 02:55:16 #20 0.495 /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:55:16 #20 0.495 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:55:16 #20 0.495 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:16 #20 0.495 | | 02:55:16 #20 0.495 | iot_typecode_t 02:55:16 #20 0.495 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 02:55:16 #20 0.495 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:55:16 #20 0.495 | ~^ 02:55:16 #20 0.495 | | 02:55:16 #20 0.495 | int 02:55:16 #20 0.561 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 02:55:17 #20 0.597 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:17 #20 0.597 from /device-coap/src/c/coap-util.h:18, 02:55:17 #20 0.597 from /device-coap/src/c/coap-util.c:9: 02:55:17 #20 0.597 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 02:55:17 #20 0.597 /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:55:17 #20 0.597 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:17 #20 0.597 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:17 #20 0.597 | | 02:55:17 #20 0.597 | size_t {aka long unsigned int} 02:55:17 #20 0.597 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 02:55:17 #20 0.597 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:17 #20 0.597 | ~^ 02:55:17 #20 0.597 | | 02:55:17 #20 0.597 | unsigned int 02:55:17 #20 0.597 | %lu 02:55:17 #20 0.597 /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:55:17 #20 0.597 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:17 #20 0.597 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:17 #20 0.597 | | 02:55:17 #20 0.597 | size_t {aka long unsigned int} 02:55:17 #20 0.597 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 02:55:17 #20 0.597 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:17 #20 0.597 | ~^ 02:55:17 #20 0.597 | | 02:55:17 #20 0.597 | unsigned int 02:55:17 #20 0.597 | %lu 02:55:17 #20 0.597 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 02:55:17 #20 0.597 /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:55:17 #20 0.597 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:17 #20 0.597 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:17 #20 0.597 | | 02:55:17 #20 0.597 | size_t {aka long unsigned int} 02:55:17 #20 0.597 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 02:55:17 #20 0.597 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:17 #20 0.597 | ~^ 02:55:17 #20 0.597 | | 02:55:17 #20 0.597 | unsigned int 02:55:17 #20 0.597 | %lu 02:55:17 #20 0.598 /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:55:17 #20 0.598 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:17 #20 0.598 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:17 #20 0.598 | | 02:55:17 #20 0.598 | size_t {aka long unsigned int} 02:55:17 #20 0.598 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 02:55:17 #20 0.598 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:17 #20 0.598 | ~^ 02:55:17 #20 0.598 | | 02:55:17 #20 0.598 | unsigned int 02:55:17 #20 0.598 | %lu 02:55:17 #20 0.699 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 02:55:17 #20 0.742 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:17 #20 0.742 from /device-coap/src/c/device-coap.h:17, 02:55:17 #20 0.742 from /device-coap/src/c/device-coap.c:10: 02:55:17 #20 0.742 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 02:55:17 #20 0.742 /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:55:17 #20 0.742 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:55:17 #20 0.742 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:17 #20 0.742 131 | requests[i].resource->type); 02:55:17 #20 0.742 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:17 #20 0.742 | | 02:55:17 #20 0.742 | iot_typecode_t 02:55:17 #20 0.742 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 02:55:17 #20 0.742 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:55:17 #20 0.742 | ~^ 02:55:17 #20 0.742 | | 02:55:17 #20 0.742 | int 02:55:17 #20 0.852 [100%] Linking C executable device-coap 02:55:17 #20 0.877 /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:55:17 #20 0.924 [100%] Built target device-coap 02:55:17 #20 DONE 1.0s 02:55:17 02:55:17 #21 [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap / 02:55:17 #21 ERROR: cannot replace to directory /var/lib/docker/overlay2/ussmwsqa8r9tfzy5ahbrbosim/merged/device-coap with file 02:55:17 ------ 02:55:17 > [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap /: 02:55:17 ------ 02:55:17 Dockerfile.alpine:41 02:55:17 -------------------- 02:55:17 39 | 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:55:17 40 | 02:55:17 41 | >>> COPY --from=builder /device-coap/build/release/device-coap / 02:55:17 42 | COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 02:55:17 43 | COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 02:55:17 -------------------- 02:55:17 ERROR: failed to solve: cannot replace to directory /var/lib/docker/overlay2/ussmwsqa8r9tfzy5ahbrbosim/merged/device-coap with file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:18 02:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:19 latest: Pulling from edgex-lftools-log-publisher 02:55:19 5eb5b503b376: Pulling fs layer 02:55:19 5c69ac0246d0: Pulling fs layer 02:55:19 ec43610c2a17: Pulling fs layer 02:55:19 3a2ae6a8a46f: Pulling fs layer 02:55:19 33b1e0a273af: Pulling fs layer 02:55:19 5d3b04190fa2: Pulling fs layer 02:55:19 2f39f015ded8: Pulling fs layer 02:55:19 33b1e0a273af: Waiting 02:55:19 2f39f015ded8: Waiting 02:55:19 3a2ae6a8a46f: Waiting 02:55:19 5d3b04190fa2: Waiting 02:55:19 5c69ac0246d0: Download complete 02:55:19 3a2ae6a8a46f: Verifying Checksum 02:55:19 3a2ae6a8a46f: Download complete 02:55:19 33b1e0a273af: Verifying Checksum 02:55:19 33b1e0a273af: Download complete 02:55:19 ec43610c2a17: Verifying Checksum 02:55:19 ec43610c2a17: Download complete 02:55:19 5eb5b503b376: Verifying Checksum 02:55:19 5eb5b503b376: Download complete 02:55:20 2f39f015ded8: Download complete 02:55:20 5eb5b503b376: Pull complete 02:55:20 5c69ac0246d0: Pull complete 02:55:21 ec43610c2a17: Pull complete 02:55:21 3a2ae6a8a46f: Pull complete 02:55:21 33b1e0a273af: Pull complete 02:55:21 5d3b04190fa2: Pull complete 02:55:27 2f39f015ded8: Pull complete 02:55:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:55:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:27 prd-ubuntu20.04-docker-8c-8g-772849 does not seem to be running inside a container 02:55:27 $ 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/a7aab1ab6d8efce1cc97566c5798011b -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b:rw,z -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:55:29 $ docker top 6e89602186d8840a38632d16ecdb1175d9dcc6917c7c1e3d275b26d6af9b005b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:29 ---> job-cost.sh 02:55:29 lf-activate-venv: SKIPPING 02:55:29 INFO: No Stack... 02:55:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:55:30 INFO: Archiving Costs [Pipeline] sh 02:55:31 + cat /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/archives/cost.csv 02:55:31 + cut -d, -f6 [Pipeline] lock 02:55:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] 02:55:31 Resource [jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] did not exist. Created. 02:55:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:31 + echo total: 0.2199999988079071 [Pipeline] stash 02:55:31 Stashed 1 file(s) [Pipeline] } 02:55:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:55:31 $ docker stop --time=1 6e89602186d8840a38632d16ecdb1175d9dcc6917c7c1e3d275b26d6af9b005b 02:55:32 $ docker rm -f --volumes 6e89602186d8840a38632d16ecdb1175d9dcc6917c7c1e3d275b26d6af9b005b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:55:33 Failed in branch amd64 02:56:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-772852 in /w/workspace/a7aab1ab6d8efce1cc97566c5798011b [Pipeline] { [Pipeline] ws 02:56:34 Running in /w/workspace/device-coap-c/1 [Pipeline] { [Pipeline] checkout 02:56:37 Selected Git installation does not exist. Using Default 02:56:37 The recommended git tool is: NONE 02:56:42 using credential edgex-jenkins-ssh 02:56:42 Cloning the remote Git repository 02:56:42 Cloning repository git@github.com:edgexfoundry/device-coap-c.git 02:56:42 > git init /w/workspace/device-coap-c/1 # timeout=10 02:56:43 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-c.git 02:56:43 > git --version # timeout=10 02:56:43 > git --version # 'git version 2.25.1' 02:56:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:56:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-coap-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:44 Avoid second fetch 02:56:44 Checking out Revision b8dd8b89e3844a7d2f70ca8a94769af24447a763 (snyk-fix-a7aab1ab6d8efce1cc97566c5798011b) 02:56:43 > git config remote.origin.url git@github.com:edgexfoundry/device-coap-c.git # timeout=10 02:56:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:44 > git config core.sparsecheckout # timeout=10 02:56:45 Commit message: "fix: scripts/Dockerfile.alpine to reduce vulnerabilities" 02:56:45 > git --version # timeout=10 02:56:45 > git --version # 'git version 2.25.1' 02:56:45 fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 02:56:45 > git checkout -f b8dd8b89e3844a7d2f70ca8a94769af24447a763 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:50 provisioning config files... 02:56:50 copy managed file [device-coap-c-settings] to file:/w/workspace/device-coap-c/1@tmp/config9894603000856843633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:51 ---> ****-login.sh 02:56:51 nexus3.edgexfoundry.org:10001 02:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:52 Configure a credential helper to remove this warning. See 02:56:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:52 02:56:52 Login Succeeded 02:56:52 nexus3.edgexfoundry.org:10002 02:56:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:52 Configure a credential helper to remove this warning. See 02:56:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:52 02:56:52 Login Succeeded 02:56:52 nexus3.edgexfoundry.org:10003 02:56:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:52 Configure a credential helper to remove this warning. See 02:56:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:52 02:56:52 Login Succeeded 02:56:52 nexus3.edgexfoundry.org:10004 02:56:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:53 Configure a credential helper to remove this warning. See 02:56:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:53 02:56:53 Login Succeeded 02:56:53 ****.io 02:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:53 Configure a credential helper to remove this warning. See 02:56:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:53 02:56:53 Login Succeeded 02:56:53 ---> ****-login.sh ends [Pipeline] } 02:56:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:56:53 [edgeX.isLTS] Checking if [snyk-fix-a7aab1ab6d8efce1cc97566c5798011b] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:56:53 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 02:56:54 [edgeX.isLTS] Checking if [snyk-fix-a7aab1ab6d8efce1cc97566c5798011b] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:56:54 ========================================================= 02:56:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 02:56:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:54 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 02:56:54 Sending build context to Docker daemon 371.2kB 02:56:54 Step 1/14 : ARG BASE=alpine:3.20 02:56:54 Step 2/14 : FROM ${BASE} 02:56:55 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 02:56:55 579b34f0a95b: Pulling fs layer 02:56:55 e71477ac5e1b: Pulling fs layer 02:56:55 579b34f0a95b: Verifying Checksum 02:56:55 579b34f0a95b: Download complete 02:56:56 579b34f0a95b: Pull complete 02:56:57 e71477ac5e1b: Verifying Checksum 02:56:57 e71477ac5e1b: Download complete 02:57:09 e71477ac5e1b: Pull complete 02:57:09 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 02:57:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 02:57:09 ---> 2b552cad5dd9 02:57:09 Step 3/14 : LABEL maintainer="Ken Bannister " 02:57:09 ---> Running in 80f3b52def09 02:57:09 Removing intermediate container 80f3b52def09 02:57:09 ---> 41148bee76f9 02:57:09 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:57:09 ---> Running in 4543675c7dbf 02:57:10 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:57:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:57:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:57:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:57:11 Removing intermediate container 4543675c7dbf 02:57:11 ---> d27703f89e4d 02:57:11 Step 5/14 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:57:11 ---> Running in 27258a361c2b 02:57:13 Removing intermediate container 27258a361c2b 02:57:13 ---> 9fbb51691373 02:57:13 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:57:13 ---> Running in f4c8a24a271f 02:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:57:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:57:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:57:16 (1/18) Installing dumb-init (1.2.5-r2) 02:57:16 (2/18) Installing hiredis (1.1.0-r2) 02:57:16 (3/18) Installing hiredis-dev (1.1.0-r2) 02:57:16 (4/18) Installing libcbor (0.10.2-r1) 02:57:16 (5/18) Installing iotech-iot-1.5 (1.5.7-r0) 02:57:17 (6/18) Installing iotech-iot-1.5-dev (1.5.7-r0) 02:57:17 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.131-r1) 02:57:18 (8/18) Installing libcbor-dev (0.10.2-r1) 02:57:18 (9/18) Installing libmenuw (6.4_p20230506-r0) 02:57:18 (10/18) Installing libpanelw (6.4_p20230506-r0) 02:57:18 (11/18) Installing libncurses++ (6.4_p20230506-r0) 02:57:18 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 02:57:18 (13/18) Installing libblkid (2.38.1-r8) 02:57:18 (14/18) Installing libuuid (2.38.1-r8) 02:57:18 (15/18) Installing libfdisk (2.38.1-r8) 02:57:18 (16/18) Installing libmount (2.38.1-r8) 02:57:18 (17/18) Installing libsmartcols (2.38.1-r8) 02:57:18 (18/18) Installing util-linux-dev (2.38.1-r8) 02:57:18 Executing busybox-1.36.1-r4.trigger 02:57:18 OK: 333 MiB in 100 packages 02:57:19 Removing intermediate container f4c8a24a271f 02:57:19 ---> 284ecdc06f33 02:57:19 Step 7/14 : RUN apk --no-cache upgrade 02:57:19 ---> Running in a285d19aea63 02:57:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:57:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:57:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:57:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:57:22 Upgrading critical system libraries and apk-tools: 02:57:22 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:57:22 Executing busybox-1.36.1-r4.trigger 02:57:22 Continuing the upgrade transaction with new apk-tools: 02:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:57:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:57:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:57:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:57:24 (1/27) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 02:57:24 (2/27) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 02:57:24 Executing busybox-1.36.1-r7.post-upgrade 02:57:24 (3/27) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 02:57:24 (4/27) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 02:57:24 (5/27) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 02:57:24 (6/27) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 02:57:24 (7/27) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 02:57:24 (8/27) Upgrading binutils (2.40-r7 -> 2.40-r8) 02:57:25 (9/27) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 02:57:25 (10/27) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 02:57:25 (11/27) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 02:57:25 (12/27) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 02:57:25 (13/27) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 02:57:25 (14/27) Installing libpsl (0.21.5-r0) 02:57:25 (15/27) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 02:57:26 (16/27) Installing libpsl-utils (0.21.5-r0) 02:57:26 (17/27) Installing libpsl-dev (0.21.5-r0) 02:57:26 (18/27) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 02:57:26 (19/27) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 02:57:26 (20/27) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 02:57:26 (21/27) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 02:57:26 (22/27) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 02:57:26 (23/27) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:57:26 (24/27) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:57:26 (25/27) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 02:57:26 (26/27) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 02:57:26 (27/27) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:57:26 Executing busybox-1.36.1-r7.trigger 02:57:26 Executing ca-certificates-20241121-r1.trigger 02:57:26 OK: 334 MiB in 103 packages 02:57:30 Removing intermediate container a285d19aea63 02:57:30 ---> 54d41566756b 02:57:30 Step 8/14 : COPY scripts /device-coap/scripts 02:57:30 ---> e8258455b9fd 02:57:30 Step 9/14 : COPY src /device-coap/src/ 02:57:31 ---> f3a5d486223a 02:57:31 Step 10/14 : COPY VERSION /device-coap 02:57:31 ---> b90f129b5e58 02:57:31 Step 11/14 : RUN mkdir -p /device-coap/build 02:57:31 ---> Running in 6c0f77386c7a 02:57:33 Removing intermediate container 6c0f77386c7a 02:57:33 ---> 43882cb34305 02:57:33 Step 12/14 : WORKDIR /device-coap 02:57:33 ---> Running in 694fd902ceb2 02:57:33 Removing intermediate container 694fd902ceb2 02:57:33 ---> 868709200f2f 02:57:33 Step 13/14 : RUN /device-coap/scripts/build_deps.sh 1 02:57:33 ---> Running in 70e2ac1652dc 02:57:34 + BUILD_CSDK=1 02:57:34 + TINYDTLS_VERSION=b0e230d 02:57:34 + LIBCOAP_VERSION=1739507 02:57:34 + CSDK_VERSION=4.0.0 02:57:34 + '[' -d deps ] 02:57:34 + mkdir deps 02:57:34 + cd /device-coap/deps 02:57:34 + git clone https://github.com/eclipse/tinydtls.git 02:57:34 Cloning into 'tinydtls'... 02:57:36 + cd tinydtls 02:57:36 + git checkout develop 02:57:36 branch 'develop' set up to track 'origin/develop'. 02:57:36 Switched to a new branch 'develop' 02:57:36 + git reset --hard b0e230d 02:57:36 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:57:36 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:57:36 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:57:36 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:57:36 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:57:36 + mkdir -p build 02:57:36 + cd build 02:57:36 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:57:36 -- The C compiler identification is GNU 12.2.1 02:57:37 -- Detecting C compiler ABI info 02:57:37 -- Detecting C compiler ABI info - done 02:57:37 -- Check for working C compiler: /usr/bin/cc - skipped 02:57:37 -- Detecting C compile features 02:57:37 -- Detecting C compile features - done 02:57:37 -- Looking for assert.h 02:57:37 -- Looking for assert.h - found 02:57:37 -- Looking for arpa/inet.h 02:57:38 -- Looking for arpa/inet.h - found 02:57:38 -- Looking for fcntl.h 02:57:38 -- Looking for fcntl.h - found 02:57:38 -- Looking for inttypes.h 02:57:39 -- Looking for inttypes.h - found 02:57:39 -- Looking for memory.h 02:57:39 -- Looking for memory.h - found 02:57:39 -- Looking for netdb.h 02:57:39 -- Looking for netdb.h - found 02:57:39 -- Looking for netinet/in.h 02:57:40 -- Looking for netinet/in.h - found 02:57:40 -- Looking for stddef.h 02:57:40 -- Looking for stddef.h - found 02:57:40 -- Looking for stdint.h 02:57:40 -- Looking for stdint.h - found 02:57:40 -- Looking for stdlib.h 02:57:41 -- Looking for stdlib.h - found 02:57:41 -- Looking for string.h 02:57:41 -- Looking for string.h - found 02:57:41 -- Looking for strings.h 02:57:41 -- Looking for strings.h - found 02:57:41 -- Looking for time.h 02:57:42 -- Looking for time.h - found 02:57:42 -- Looking for sys/param.h 02:57:42 -- Looking for sys/param.h - found 02:57:42 -- Looking for sys/socket.h 02:57:42 -- Looking for sys/socket.h - found 02:57:42 -- Looking for sys/stat.h 02:57:43 -- Looking for sys/stat.h - found 02:57:43 -- Looking for sys/types.h 02:57:43 -- Looking for sys/types.h - found 02:57:43 -- Looking for sys/time.h 02:57:44 -- Looking for sys/time.h - found 02:57:44 -- Looking for unistd.h 02:57:44 -- Looking for unistd.h - found 02:57:44 -- Looking for float.h 02:57:44 -- Looking for float.h - found 02:57:44 -- Looking for dlfcn.h 02:57:45 -- Looking for dlfcn.h - found 02:57:45 -- Looking for memset 02:57:45 -- Looking for memset - found 02:57:45 -- Looking for select 02:57:46 -- Looking for select - found 02:57:46 -- Looking for socket 02:57:46 -- Looking for socket - found 02:57:46 -- Looking for strdup 02:57:46 -- Looking for strdup - found 02:57:46 -- Looking for strerror 02:57:47 -- Looking for strerror - found 02:57:47 -- Looking for strnlen 02:57:47 -- Looking for strnlen - found 02:57:47 -- Looking for fls 02:57:47 -- Looking for fls - not found 02:57:47 -- Looking for vprintf 02:57:48 -- Looking for vprintf - found 02:57:48 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:57:48 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:57:48 -- Configuring done (11.8s) 02:57:48 -- Generating done (0.0s) 02:57:48 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:57:48 + make 02:57:48 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:57:49 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:57:49 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:57:51 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:57:52 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:57:52 In function 'ecc_ecdh', 02:57:52 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:57:52 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:57:52 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:57:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:57:52 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:57:52 /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:57:52 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:57:52 | ^~~~~~~~~~~ 02:57:52 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:57:52 431 | uint32_t pub_x[8]; 02:57:52 | ^~~~~ 02:57:52 In function 'ecc_ecdh', 02:57:52 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:57:52 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:57:52 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:57:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:57:52 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:57:52 /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:57:52 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:57:52 | ^~~~~~~~~~~ 02:57:52 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:57:52 432 | uint32_t pub_y[8]; 02:57:52 | ^~~~~ 02:57:52 In function 'ecc_ecdh', 02:57:52 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:57:52 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:57:52 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:57:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:57:52 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:57:52 /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:57:52 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:57:52 | ^~~~~~~~~~~ 02:57:52 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:57:52 430 | uint32_t priv[8]; 02:57:52 | ^~~~ 02:57:53 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:58:02 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:58:02 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:58:02 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:58:02 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:58:02 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:58:02 /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:58:02 316 | for (idx = 0; idx < count; idx++) { 02:58:02 | ^ 02:58:02 /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:58:02 319 | return result == count; 02:58:02 | ^~ 02:58:07 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:58:07 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:58:08 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:58:08 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:58:09 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:58:09 /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:58:09 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:58:09 | ~~~~~~~~~~^~~~~~~~ 02:58:09 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:58:09 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:58:09 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:58:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:58:09 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:58:09 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:58:09 | ~~~~~^~~~~~~~ 02:58:09 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:58:09 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:58:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:58:09 [100%] Linking C shared library libtinydtls.so 02:58:09 [100%] Built target tinydtls 02:58:09 + make install 02:58:09 [100%] Built target tinydtls 02:58:10 Install the project... 02:58:10 -- Install configuration: "Release" 02:58:10 -- Installing: /usr/local/lib/libtinydtls.so 02:58:10 -- Installing: /usr/local/include/tinydtls 02:58:10 -- Installing: /usr/local/include/tinydtls/dtls.h 02:58:10 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:58:10 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:58:10 -- Installing: /usr/local/include/tinydtls/utlist.h 02:58:10 -- Installing: /usr/local/include/tinydtls/ccm.h 02:58:10 -- Installing: /usr/local/include/tinydtls/hmac.h 02:58:10 -- Installing: /usr/local/include/tinydtls/uthash.h 02:58:10 -- Installing: /usr/local/include/tinydtls/numeric.h 02:58:10 -- Installing: /usr/local/include/tinydtls/netq.h 02:58:10 -- Installing: /usr/local/include/tinydtls/sha2 02:58:10 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:58:10 -- Installing: /usr/local/include/tinydtls/crypto.h 02:58:10 -- Installing: /usr/local/include/tinydtls/alert.h 02:58:10 -- Installing: /usr/local/include/tinydtls/session.h 02:58:10 -- Installing: /usr/local/include/tinydtls/global.h 02:58:10 -- Installing: /usr/local/include/tinydtls/ecc 02:58:10 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:58:10 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:58:10 -- Installing: /usr/local/include/tinydtls/state.h 02:58:10 -- Installing: /usr/local/include/tinydtls/aes 02:58:10 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:58:10 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:58:10 -- Installing: /usr/local/include/tinydtls/peer.h 02:58:10 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:58:10 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:58:10 -- Up-to-date: /usr/local/include/tinydtls 02:58:10 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:58:10 + cd /device-coap/deps 02:58:10 + git clone https://github.com/obgm/libcoap.git 02:58:10 Cloning into 'libcoap'... 02:58:16 + cd libcoap 02:58:16 + git reset --hard 1739507 02:58:16 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:58:16 + patch -p1 02:58:16 patching file cmake/FindTinyDTLS.cmake 02:58:16 + patch -p1 02:58:16 patching file include/coap2/coap_config.h.in 02:58:16 + mkdir -p build 02:58:16 + cd build 02:58:16 + 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:58:16 -- The CXX compiler identification is GNU 12.2.1 02:58:17 -- The C compiler identification is GNU 12.2.1 02:58:17 -- Detecting CXX compiler ABI info 02:58:17 -- Detecting CXX compiler ABI info - done 02:58:17 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:58:17 -- Detecting CXX compile features 02:58:17 -- Detecting CXX compile features - done 02:58:17 -- Detecting C compiler ABI info 02:58:17 -- Detecting C compiler ABI info - done 02:58:18 -- Check for working C compiler: /usr/bin/cc - skipped 02:58:18 -- Detecting C compile features 02:58:18 -- Detecting C compile features - done 02:58:18 -- Looking for byteswap.h 02:58:18 -- Looking for byteswap.h - found 02:58:18 -- Looking for inttypes.h 02:58:18 -- Looking for inttypes.h - found 02:58:18 -- Looking for limits.h 02:58:19 -- Looking for limits.h - found 02:58:19 -- Looking for memory.h 02:58:19 -- Looking for memory.h - found 02:58:19 -- Looking for strings.h 02:58:19 -- Looking for strings.h - found 02:58:19 -- Looking for string.h 02:58:20 -- Looking for string.h - found 02:58:20 -- Looking for sys/sysctl.h 02:58:20 -- Looking for sys/sysctl.h - not found 02:58:20 -- Looking for netinet/in.h 02:58:20 -- Looking for netinet/in.h - found 02:58:20 -- Looking for sys/epoll.h 02:58:21 -- Looking for sys/epoll.h - found 02:58:21 -- Looking for sys/timerfd.h 02:58:21 -- Looking for sys/timerfd.h - found 02:58:21 -- Looking for arpa/inet.h 02:58:22 -- Looking for arpa/inet.h - found 02:58:22 -- Looking for stdbool.h 02:58:22 -- Looking for stdbool.h - found 02:58:22 -- Looking for netdb.h 02:58:22 -- Looking for netdb.h - found 02:58:22 -- Looking for pthread.h 02:58:22 -- Looking for pthread.h - found 02:58:22 -- Looking for stdlib.h 02:58:23 -- Looking for stdlib.h - found 02:58:23 -- Looking for stdint.h 02:58:23 -- Looking for stdint.h - found 02:58:23 -- Looking for syslog.h 02:58:24 -- Looking for syslog.h - found 02:58:24 -- Looking for sys/ioctl.h 02:58:24 -- Looking for sys/ioctl.h - found 02:58:24 -- Looking for sys/socket.h 02:58:24 -- Looking for sys/socket.h - found 02:58:24 -- Looking for sys/stat.h 02:58:25 -- Looking for sys/stat.h - found 02:58:25 -- Looking for sys/time.h 02:58:25 -- Looking for sys/time.h - found 02:58:25 -- Looking for sys/types.h 02:58:26 -- Looking for sys/types.h - found 02:58:26 -- Looking for sys/unistd.h 02:58:26 -- Looking for sys/unistd.h - not found 02:58:26 -- Looking for time.h 02:58:26 -- Looking for time.h - found 02:58:26 -- Looking for unistd.h 02:58:26 -- Looking for unistd.h - found 02:58:26 -- Looking for float.h 02:58:27 -- Looking for float.h - found 02:58:27 -- Looking for stddef.h 02:58:27 -- Looking for stddef.h - found 02:58:27 -- Looking for winsock2.h 02:58:27 -- Looking for winsock2.h - not found 02:58:27 -- Looking for ws2tcpip.h 02:58:27 -- Looking for ws2tcpip.h - not found 02:58:27 -- Looking for malloc 02:58:28 -- Looking for malloc - found 02:58:28 -- Looking for memset 02:58:28 -- Looking for memset - found 02:58:28 -- Looking for select 02:58:28 -- Looking for select - found 02:58:28 -- Looking for socket 02:58:29 -- Looking for socket - found 02:58:29 -- Looking for strcasecmp 02:58:29 -- Looking for strcasecmp - found 02:58:29 -- Looking for pthread_mutex_lock 02:58:29 -- Looking for pthread_mutex_lock - found 02:58:29 -- Looking for getaddrinfo 02:58:30 -- Looking for getaddrinfo - found 02:58:30 -- Looking for strnlen 02:58:30 -- Looking for strnlen - found 02:58:30 -- Looking for strrchr 02:58:30 -- Looking for strrchr - found 02:58:30 -- Looking for getrandom 02:58:31 -- Looking for getrandom - found 02:58:31 -- Looking for cmsghdr 02:58:31 -- Looking for cmsghdr - not found 02:58:31 -- compiling without epoll support 02:58:31 -- compiling with DTLS support 02:58:31 -- DTLS_BACKEND: tinydtls 02:58:31 -- Found TinyDTLS: /usr/local/include 02:58:31 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:58:31 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:58:31 -- TINYDTLS_ROOT_DIR: 02:58:31 -- compiling with tinydtls support 02:58:31 -- ENABLE_DTLS:.....................ON 02:58:31 -- ENABLE_TCP:......................ON 02:58:31 -- ENABLE_DOCS:.....................OFF 02:58:31 -- ENABLE_EXAMPLES:.................OFF 02:58:31 -- DTLS_BACKEND:....................tinydtls 02:58:31 -- WITH_GNUTLS:.....................OFF 02:58:31 -- WITH_TINYDTLS:...................ON 02:58:31 -- WITH_OPENSSL:....................OFF 02:58:31 -- WITH_MBEDTLS:....................OFF 02:58:31 -- HAVE_LIBTINYDTLS:................1 02:58:31 -- HAVE_LIBGNUTLS:.................. 02:58:31 -- HAVE_OPENSSL:.................... 02:58:31 -- HAVE_MBEDTLS:.................... 02:58:31 -- COAP_EPOLL_SUPPORT:.............. 02:58:31 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:58:31 -- BUILD_SHARED_LIBS:...............ON 02:58:31 -- CMAKE_BUILD_TYPE:................Release 02:58:31 -- CMAKE_SYSTEM_PROCESSOR:..........aarch64 02:58:31 -- Configuring done (15.0s) 02:58:31 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:58:31 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:58:31 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:58:31 command to set the policy and suppress this warning. 02:58:31 02:58:31 File: 02:58:31 02:58:31 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:58:31 This warning is for project developers. Use -Wno-dev to suppress it. 02:58:31 02:58:31 -- Generating done (0.0s) 02:58:31 -- Build files have been written to: /device-coap/deps/libcoap/build 02:58:31 + make 02:58:31 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:58:32 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:58:32 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:58:33 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:58:35 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:58:35 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:58:35 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:58:37 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:58:37 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:58:38 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:58:42 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:58:43 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:58:43 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:58:43 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:58:44 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:58:49 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:58:50 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:58:51 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:58:54 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:58:54 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:58:55 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:58:56 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:58:58 [100%] Linking C shared library libcoap-2.so 02:58:58 [100%] Built target coap-2 02:58:58 + make install 02:58:58 [100%] Built target coap-2 02:58:58 Install the project... 02:58:58 -- Install configuration: "Release" 02:58:58 -- Installing: /usr/local/lib/libcoap-2.so 02:58:58 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:58:58 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:58:58 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:58:58 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:58:58 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:58:58 -- Up-to-date: /usr/local/include 02:58:58 -- Installing: /usr/local/include/coap2 02:58:58 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:58:58 -- Installing: /usr/local/include/coap2/option.h 02:58:58 -- Installing: /usr/local/include/coap2/uri.h 02:58:58 -- Installing: /usr/local/include/coap2/net.h 02:58:58 -- Installing: /usr/local/include/coap2/bits.h 02:58:58 -- Installing: /usr/local/include/coap2/utlist.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_event.h 02:58:58 -- Installing: /usr/local/include/coap2/block.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_session.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_prng.h 02:58:58 -- Installing: /usr/local/include/coap2/uthash.h 02:58:58 -- Installing: /usr/local/include/coap2/async.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:58:58 -- Installing: /usr/local/include/coap2/libcoap.h 02:58:58 -- Installing: /usr/local/include/coap2/mem.h 02:58:58 -- Installing: /usr/local/include/coap2/subscribe.h 02:58:58 -- Installing: /usr/local/include/coap2/resource.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_riot.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_time.h 02:58:58 -- Installing: /usr/local/include/coap2/pdu.h 02:58:58 -- Installing: /usr/local/include/coap2/address.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_io.h 02:58:58 -- Installing: /usr/local/include/coap2/lwippools.h 02:58:58 -- Installing: /usr/local/include/coap2/str.h 02:58:58 -- Installing: /usr/local/include/coap2/coap_debug.h 02:58:58 -- Installing: /usr/local/include/coap2/encode.h 02:58:58 -- Up-to-date: /usr/local/include 02:58:58 -- Up-to-date: /usr/local/include/coap2 02:58:58 -- Installing: /usr/local/include/coap2/coap.h 02:58:58 + '[' 1 '=' 1 ] 02:58:58 + cd /device-coap/deps 02:58:58 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:58:58 Connecting to github.com (140.82.113.3:443) 02:58:59 Connecting to codeload.github.com (140.82.112.9:443) 02:58:59 saving to 'v4.0.0.zip' 02:58:59 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:58:59 'v4.0.0.zip' saved 02:58:59 + unzip v4.0.0.zip 02:58:59 Archive: v4.0.0.zip 02:58:59 creating: device-sdk-c-4.0.0/ 02:58:59 creating: device-sdk-c-4.0.0/.github/ 02:58:59 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:58:59 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:58:59 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:58:59 creating: device-sdk-c-4.0.0/.github/workflows/ 02:58:59 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:58:59 inflating: device-sdk-c-4.0.0/.gitignore 02:58:59 inflating: device-sdk-c-4.0.0/Attribution.txt 02:58:59 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:58:59 inflating: device-sdk-c-4.0.0/Doxyfile 02:58:59 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:58:59 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:58:59 inflating: device-sdk-c-4.0.0/LICENSE 02:58:59 inflating: device-sdk-c-4.0.0/Makefile 02:58:59 inflating: device-sdk-c-4.0.0/OWNERS.md 02:58:59 inflating: device-sdk-c-4.0.0/README.IOT.md 02:58:59 inflating: device-sdk-c-4.0.0/README.md 02:58:59 inflating: device-sdk-c-4.0.0/README.v3.md 02:58:59 creating: device-sdk-c-4.0.0/docs/ 02:58:59 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:58:59 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:58:59 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:58:59 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:58:59 inflating: device-sdk-c-4.0.0/docs/startup.md 02:58:59 creating: device-sdk-c-4.0.0/include/ 02:58:59 creating: device-sdk-c-4.0.0/include/devsdk/ 02:58:59 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:58:59 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:58:59 creating: device-sdk-c-4.0.0/include/edgex/ 02:58:59 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:58:59 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:58:59 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:58:59 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:58:59 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:58:59 creating: device-sdk-c-4.0.0/scripts/ 02:58:59 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:58:59 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:58:59 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:58:59 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:58:59 creating: device-sdk-c-4.0.0/src/ 02:58:59 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:58:59 creating: device-sdk-c-4.0.0/src/c/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/api.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/config.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/config.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/data.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/data.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:58:59 inflating: device-sdk-c-4.0.0/src/c/device.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/device.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:58:59 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:58:59 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:58:59 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/map.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/map.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/service.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/service.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:58:59 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:58:59 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:58:59 creating: device-sdk-c-4.0.0/src/cmake/ 02:58:59 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:58:59 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:58:59 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:58:59 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:58:59 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:58:59 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:58:59 + cd device-sdk-c-4.0.0 02:58:59 + ./scripts/build.sh 02:58:59 + CPPCHECK=false 02:58:59 + DOCGEN=false 02:58:59 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:58:59 + '[' 0 -gt 0 ] 02:58:59 + readlink -f ./scripts/build.sh 02:58:59 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:58:59 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:58:59 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:58:59 + cd /device-coap/deps/device-sdk-c-4.0.0 02:58:59 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:58:59 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:58:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:59:00 -- The C compiler identification is GNU 12.2.1 02:59:00 -- Detecting C compiler ABI info 02:59:00 -- Detecting C compiler ABI info - done 02:59:00 -- Check for working C compiler: /usr/bin/cc - skipped 02:59:00 -- Detecting C compile features 02:59:00 -- Detecting C compile features - done 02:59:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:59:00 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:59:00 -- Found LIBYAML: /usr/lib/libyaml.so 02:59:00 -- Found LIBUUID: /usr/lib/libuuid.so 02:59:00 -- Found LIBCBOR: /usr/lib/libcbor.so 02:59:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:59:00 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:59:00 -- /opt/iotech/iot/1.5/include 02:59:00 -- C SDK 0.0.0 for Linux 02:59:00 -- Performing Test CSDK_HAVE_ATOMIC 02:59:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:59:01 -- Found Curses: /usr/lib/libcurses.so 02:59:01 -- Configuring done (2.0s) 02:59:02 -- Generating done (0.3s) 02:59:02 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:59:02 + make all package 02:59:02 + tee release.log 02:59:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:59:02 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:59:04 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:59:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:59:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:59:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:59:08 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:59:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:59:12 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:59:12 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:59:13 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:59:14 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:59:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:59:16 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:59:16 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:59:19 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:59:19 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:59:21 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:59:22 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:59:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:59:24 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:59:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:59:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:59:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:59:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:59:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:59:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:59:37 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:59:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:59:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:59:39 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:59:41 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:59:41 /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:59:41 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:59:41 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:59:41 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:59:41 875 | const iot_data_t *deviceservices_config; 02:59:41 | ^~~~~~~~~~~~~~~~~~~~~ 02:59:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:59:43 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:59:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:59:44 [ 68%] Linking C shared library libcsdk.so 02:59:44 [ 68%] Built target csdk 02:59:45 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:59:46 [ 72%] Linking C executable template 02:59:46 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:46 [ 72%] Built target template 02:59:46 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:59:47 [ 76%] Linking C executable device-counter 02:59:47 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:47 [ 76%] Built target device-counter 02:59:47 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:59:48 [ 80%] Linking C executable device-random 02:59:48 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:48 [ 80%] Built target device-random 02:59:48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:59:49 [ 84%] Linking C executable device-gyro 02:59:49 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:49 [ 84%] Built target device-gyro 02:59:49 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:59:50 [ 88%] Linking C executable device-bitfields 02:59:50 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:50 [ 88%] Built target device-bitfields 02:59:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:59:51 [ 92%] Linking C executable template-discovery 02:59:51 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:52 [ 92%] Built target template-discovery 02:59:52 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:59:53 [ 96%] Linking C executable device-file 02:59:53 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:53 [ 96%] Built target device-file 02:59:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:59:54 [100%] Linking C executable device-terminal 02:59:54 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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:59:54 [100%] Built target device-terminal 02:59:54 Run CPack packaging tool... 02:59:54 CPack: Create package using TGZ 02:59:54 CPack: Install projects 02:59:54 CPack: - Run preinstall target for: Csdk 02:59:55 CPack: - Install project: Csdk [] 02:59:55 CPack: Create package 02:59:55 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:59:55 + '[' false '=' true ] 02:59:55 + '[' false '=' true ] 02:59:55 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:59:55 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:59:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:59:55 -- The C compiler identification is GNU 12.2.1 02:59:55 -- Detecting C compiler ABI info 02:59:56 -- Detecting C compiler ABI info - done 02:59:56 -- Check for working C compiler: /usr/bin/cc - skipped 02:59:56 -- Detecting C compile features 02:59:56 -- Detecting C compile features - done 02:59:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:59:56 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:59:56 -- Found LIBYAML: /usr/lib/libyaml.so 02:59:56 -- Found LIBUUID: /usr/lib/libuuid.so 02:59:56 -- Found LIBCBOR: /usr/lib/libcbor.so 02:59:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:59:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:59:56 -- /opt/iotech/iot/1.5/include 02:59:56 -- C SDK 0.0.0 for Linux 02:59:56 -- Performing Test CSDK_HAVE_ATOMIC 02:59:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:59:57 -- Found Curses: /usr/lib/libcurses.so 02:59:57 -- Configuring done (1.9s) 02:59:57 -- Generating done (0.3s) 02:59:57 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:59:57 + make 02:59:57 + tee debug.log 02:59:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:59:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:59:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:59:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:59:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:00:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:00:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:00:01 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:00:01 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:00:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:00:02 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:00:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:00:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:00:04 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:00:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:00:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:00:05 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 03:00:06 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:00:06 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:00:07 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:00:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:00:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:00:09 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:00:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:00:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:00:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:00:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:00:12 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:00:12 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:00:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:00:13 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:00:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:00:14 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:00:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:00:15 [ 68%] Linking C shared library libcsdk.so 03:00:15 [ 68%] Built target csdk 03:00:15 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:00:16 [ 72%] Linking C executable template 03:00:16 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:16 [ 72%] Built target template 03:00:16 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:00:16 [ 76%] Linking C executable device-counter 03:00:16 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:17 [ 76%] Built target device-counter 03:00:17 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:00:17 [ 80%] Linking C executable device-random 03:00:17 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:17 [ 80%] Built target device-random 03:00:17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:00:18 [ 84%] Linking C executable device-gyro 03:00:18 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:18 [ 84%] Built target device-gyro 03:00:18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:00:19 [ 88%] Linking C executable device-bitfields 03:00:19 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:19 [ 88%] Built target device-bitfields 03:00:19 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:00:19 [ 92%] Linking C executable template-discovery 03:00:19 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:20 [ 92%] Built target template-discovery 03:00:20 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:00:20 [ 96%] Linking C executable device-file 03:00:20 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:20 [ 96%] Built target device-file 03:00:20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:00:21 [100%] Linking C executable device-terminal 03:00:21 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:21 [100%] Built target device-terminal 03:00:21 + cp -rf include/devsdk include/edgex /usr/include/ 03:00:21 + cp build/release/c/libcsdk.so /usr/lib/ 03:00:21 + rm -rf /device-coap/deps 03:00:22 Removing intermediate container 70e2ac1652dc 03:00:22 ---> 0c4c2ab4c43a 03:00:22 Step 14/14 : RUN /device-coap/scripts/build.sh 03:00:23 ---> Running in a45bb43fa134 03:00:24 + readlink -f /device-coap/scripts/build.sh 03:00:24 + dirname /device-coap/scripts/build.sh 03:00:24 + dirname /device-coap/scripts 03:00:24 + ROOT=/device-coap 03:00:24 + echo /device-coap 03:00:24 + cd /device-coap 03:00:24 + mkdir -p /device-coap/build/release 03:00:24 /device-coap 03:00:24 + cd /device-coap/build/release 03:00:24 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 03:00:24 -- The C compiler identification is GNU 12.2.1 03:00:24 -- Detecting C compiler ABI info 03:00:24 -- Detecting C compiler ABI info - done 03:00:24 -- Check for working C compiler: /usr/bin/cc - skipped 03:00:24 -- Detecting C compile features 03:00:24 -- Detecting C compile features - done 03:00:25 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 03:00:25 -- Configuring done (1.0s) 03:00:25 -- Generating done (0.0s) 03:00:25 -- Build files have been written to: /device-coap/build/release 03:00:25 + make 03:00:25 + tee release.log 03:00:25 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 03:00:25 In file included from /usr/include/devsdk/devsdk.h:18, 03:00:25 from /device-coap/src/c/device-coap.h:17, 03:00:25 from /device-coap/src/c/coap-client.h:21, 03:00:25 from /device-coap/src/c/coap-client.c:9: 03:00:25 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 03:00:25 /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=] 03:00:25 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~ 03:00:25 90 | strlen(end_dev_params_ptr->psk_key)); 03:00:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 03:00:25 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:00:25 | ~^ 03:00:25 | | 03:00:25 | unsigned int 03:00:25 | %lu 03:00:25 /device-coap/src/c/coap-client.c: In function 'message_handler': 03:00:25 /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=] 03:00:25 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 03:00:25 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:00:25 | ~^ 03:00:25 | | 03:00:25 | unsigned int 03:00:25 | %lu 03:00:25 /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=] 03:00:25 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 130 | resource->properties->type); 03:00:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 | | 03:00:25 | iot_typecode_t 03:00:25 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 03:00:25 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 /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=] 03:00:25 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 140 | len); 03:00:25 | ~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 03:00:25 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 | %ld 03:00:25 /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=] 03:00:25 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 145 | len); 03:00:25 | ~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 03:00:25 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 | %ld 03:00:25 /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=] 03:00:25 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 152 | len); 03:00:25 | ~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 03:00:25 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 | %ld 03:00:25 /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=] 03:00:25 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 157 | resource->properties->type); 03:00:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 | | 03:00:25 | iot_typecode_t 03:00:25 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 03:00:25 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 03:00:25 /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=] 03:00:25 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 03:00:25 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 | %ld 03:00:25 /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=] 03:00:25 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 253 | (uint8_t *)end_dev_params_ptr->psk_key, 03:00:25 254 | strlen(end_dev_params_ptr->psk_key)); 03:00:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 03:00:25 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 | %ld 03:00:25 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 03:00:25 /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=] 03:00:25 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:00:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 352 | (uint8_t *)end_dev_params_ptr->psk_key, 03:00:25 353 | strlen(end_dev_params_ptr->psk_key)); 03:00:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:25 | | 03:00:25 | size_t {aka long unsigned int} 03:00:25 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 03:00:25 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:00:25 | ~^ 03:00:25 | | 03:00:25 | int 03:00:25 | %ld 03:00:26 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 03:00:26 In file included from /usr/include/devsdk/devsdk.h:18, 03:00:26 from /usr/include/edgex/devices.h:17, 03:00:26 from /device-coap/src/c/coap-server.c:22: 03:00:26 /device-coap/src/c/coap-server.c: In function 'data_handler': 03:00:26 /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=] 03:00:26 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:00:26 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:00:26 | | 03:00:26 | size_t {aka long unsigned int} 03:00:26 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 03:00:26 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:00:26 | ~^ 03:00:26 | | 03:00:26 | unsigned int 03:00:26 | %lu 03:00:26 /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=] 03:00:26 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:00:26 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:26 | | 03:00:26 | iot_typecode_t 03:00:26 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 03:00:26 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:00:26 | ~^ 03:00:26 | | 03:00:26 | int 03:00:27 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 03:00:27 In file included from /usr/include/devsdk/devsdk.h:18, 03:00:27 from /device-coap/src/c/coap-util.h:18, 03:00:27 from /device-coap/src/c/coap-util.c:9: 03:00:27 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 03:00:27 /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=] 03:00:27 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:00:27 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:00:27 | | 03:00:27 | size_t {aka long unsigned int} 03:00:27 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 03:00:27 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:00:27 | ~^ 03:00:27 | | 03:00:27 | unsigned int 03:00:27 | %lu 03:00:27 /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=] 03:00:27 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:00:27 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:00:27 | | 03:00:27 | size_t {aka long unsigned int} 03:00:27 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 03:00:27 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:00:27 | ~^ 03:00:27 | | 03:00:27 | unsigned int 03:00:27 | %lu 03:00:27 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 03:00:27 /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=] 03:00:27 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:00:27 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:00:27 | | 03:00:27 | size_t {aka long unsigned int} 03:00:27 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 03:00:27 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:00:27 | ~^ 03:00:27 | | 03:00:27 | unsigned int 03:00:27 | %lu 03:00:27 /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=] 03:00:27 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:00:27 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:00:27 | | 03:00:27 | size_t {aka long unsigned int} 03:00:27 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 03:00:27 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:00:27 | ~^ 03:00:27 | | 03:00:27 | unsigned int 03:00:27 | %lu 03:00:28 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 03:00:28 In file included from /usr/include/devsdk/devsdk.h:18, 03:00:28 from /device-coap/src/c/device-coap.h:17, 03:00:28 from /device-coap/src/c/device-coap.c:10: 03:00:28 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 03:00:28 /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=] 03:00:28 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:00:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:28 131 | requests[i].resource->type); 03:00:28 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:28 | | 03:00:28 | iot_typecode_t 03:00:28 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 03:00:28 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:00:28 | ~^ 03:00:28 | | 03:00:28 | int 03:00:29 [100%] Linking C executable device-coap 03:00:29 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:00:29 [100%] Built target device-coap 03:00:30 Removing intermediate container a45bb43fa134 03:00:30 ---> a1be735dc1d3 03:00:30 Successfully built a1be735dc1d3 03:00:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:31 + docker inspect -f . ci-base-image-arm64 03:00:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:31 prd-ubuntu20.04-docker-arm64-4c-16g-772852 does not seem to be running inside a container 03:00:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-coap-c/1 -v /w/workspace/device-coap-c/1:/w/workspace/device-coap-c/1:rw,z -v /w/workspace/device-coap-c/1@tmp:/w/workspace/device-coap-c/1@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 ******** ci-base-image-arm64 cat 03:00:33 $ docker top f95e78f0dd56e697148162e313b84cfa816ecc6ab6f4439ee52accd9e82fbaa0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:00:34 + make test 03:00:34 build/release/device-coap [Pipeline] } 03:00:34 $ docker stop --time=1 f95e78f0dd56e697148162e313b84cfa816ecc6ab6f4439ee52accd9e82fbaa0 03:00:36 $ docker rm -f --volumes f95e78f0dd56e697148162e313b84cfa816ecc6ab6f4439ee52accd9e82fbaa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:00:37 + ls -al . 03:00:37 total 92 03:00:37 drwxrwxr-x 7 jenkins jenkins 4096 Nov 10 02:56 . 03:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:56 .. 03:00:37 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:56 .git 03:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:56 .github 03:00:37 -rw-rw-r-- 1 jenkins jenkins 14 Nov 10 02:56 .gitignore 03:00:37 -rw-rw-r-- 1 jenkins jenkins 2037 Nov 10 02:56 Attribution.txt 03:00:37 -rw-rw-r-- 1 jenkins jenkins 3893 Nov 10 02:56 CHANGELOG.md 03:00:37 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:56 GOVERNANCE.md 03:00:37 -rw-rw-r-- 1 jenkins jenkins 798 Nov 10 02:56 Jenkinsfile 03:00:37 -rw-rw-r-- 1 jenkins jenkins 10173 Nov 10 02:56 LICENSE 03:00:37 -rw-rw-r-- 1 jenkins jenkins 938 Nov 10 02:56 Makefile 03:00:37 -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 02:56 OWNERS.md 03:00:37 -rw-rw-r-- 1 jenkins jenkins 12454 Nov 10 02:56 README.md 03:00:37 -rw-rw-r-- 1 jenkins jenkins 506 Nov 10 02:56 ROADMAP.md 03:00:37 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 02:53 VERSION 03:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:56 res 03:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:56 scripts 03:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:37 + docker build -t device-coap-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b8dd8b89e3844a7d2f70ca8a94769af24447a763 --label arch=arm64 --label version=0.0.0 . 03:00:38 Sending build context to Docker daemon 371.2kB 03:00:38 Step 1/33 : ARG BASE=alpine:3.22.1 03:00:38 Step 2/33 : FROM ${BASE} as builder 03:00:38 ---> a1be735dc1d3 03:00:38 Step 3/33 : LABEL maintainer="Ken Bannister " 03:00:38 ---> Running in f7020853fa02 03:00:38 Removing intermediate container f7020853fa02 03:00:38 ---> dc27adb19b54 03:00:38 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 03:00:38 ---> Running in d13c6fb2ddf8 03:00:39 Connecting to iotech.jfrog.io (34.246.139.145:443) 03:00:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:00:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:00:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:00:40 Removing intermediate container d13c6fb2ddf8 03:00:40 ---> b395b406cfc8 03:00:40 Step 5/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 03:00:40 ---> Running in b7aac2f675d2 03:00:42 Removing intermediate container b7aac2f675d2 03:00:42 ---> a23249eeb1aa 03:00:42 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 03:00:42 ---> Running in a5967ddd907c 03:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:00:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:00:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:00:45 OK: 334 MiB in 103 packages 03:00:45 Removing intermediate container a5967ddd907c 03:00:45 ---> 8cea6e69f0ee 03:00:45 Step 7/33 : COPY scripts /device-coap/scripts 03:00:46 ---> 2c6cdae3f34c 03:00:46 Step 8/33 : COPY src /device-coap/src/ 03:00:47 ---> 560c3ed19cb7 03:00:47 Step 9/33 : COPY VERSION /device-coap 03:00:47 ---> f708808fd19d 03:00:47 Step 10/33 : RUN mkdir -p /device-coap/build 03:00:47 ---> Running in 884acf20c44b 03:00:49 Removing intermediate container 884acf20c44b 03:00:49 ---> 63a9022127ba 03:00:49 Step 11/33 : WORKDIR /device-coap 03:00:49 ---> Running in 152c9b9f29f7 03:00:49 Removing intermediate container 152c9b9f29f7 03:00:49 ---> f04b8c24d674 03:00:49 Step 12/33 : RUN /device-coap/scripts/build_deps.sh 1 03:00:49 ---> Running in 757ee27f2b1e 03:00:50 + BUILD_CSDK=1 03:00:50 + TINYDTLS_VERSION=b0e230d 03:00:50 + LIBCOAP_VERSION=1739507 03:00:50 + CSDK_VERSION=4.0.0 03:00:50 + '[' -d deps ] 03:00:50 + mkdir deps 03:00:50 + cd /device-coap/deps 03:00:50 + git clone https://github.com/eclipse/tinydtls.git 03:00:50 Cloning into 'tinydtls'... 03:00:51 + cd tinydtls 03:00:51 + git checkout develop 03:00:51 branch 'develop' set up to track 'origin/develop'. 03:00:51 Switched to a new branch 'develop' 03:00:51 + git reset --hard b0e230d 03:00:52 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 03:00:52 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 03:00:52 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 03:00:52 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 03:00:52 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 03:00:52 + mkdir -p build 03:00:52 + cd build 03:00:52 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 03:00:52 -- The C compiler identification is GNU 12.2.1 03:00:52 -- Detecting C compiler ABI info 03:00:52 -- Detecting C compiler ABI info - done 03:00:53 -- Check for working C compiler: /usr/bin/cc - skipped 03:00:53 -- Detecting C compile features 03:00:53 -- Detecting C compile features - done 03:00:53 -- Looking for assert.h 03:00:53 -- Looking for assert.h - found 03:00:53 -- Looking for arpa/inet.h 03:00:53 -- Looking for arpa/inet.h - found 03:00:53 -- Looking for fcntl.h 03:00:53 -- Looking for fcntl.h - found 03:00:53 -- Looking for inttypes.h 03:00:54 -- Looking for inttypes.h - found 03:00:54 -- Looking for memory.h 03:00:54 -- Looking for memory.h - found 03:00:54 -- Looking for netdb.h 03:00:54 -- Looking for netdb.h - found 03:00:54 -- Looking for netinet/in.h 03:00:55 -- Looking for netinet/in.h - found 03:00:55 -- Looking for stddef.h 03:00:55 -- Looking for stddef.h - found 03:00:55 -- Looking for stdint.h 03:00:56 -- Looking for stdint.h - found 03:00:56 -- Looking for stdlib.h 03:00:56 -- Looking for stdlib.h - found 03:00:56 -- Looking for string.h 03:00:56 -- Looking for string.h - found 03:00:56 -- Looking for strings.h 03:00:57 -- Looking for strings.h - found 03:00:57 -- Looking for time.h 03:00:57 -- Looking for time.h - found 03:00:57 -- Looking for sys/param.h 03:00:58 -- Looking for sys/param.h - found 03:00:58 -- Looking for sys/socket.h 03:00:58 -- Looking for sys/socket.h - found 03:00:58 -- Looking for sys/stat.h 03:00:58 -- Looking for sys/stat.h - found 03:00:58 -- Looking for sys/types.h 03:00:58 -- Looking for sys/types.h - found 03:00:58 -- Looking for sys/time.h 03:00:59 -- Looking for sys/time.h - found 03:00:59 -- Looking for unistd.h 03:00:59 -- Looking for unistd.h - found 03:00:59 -- Looking for float.h 03:00:59 -- Looking for float.h - found 03:00:59 -- Looking for dlfcn.h 03:01:00 -- Looking for dlfcn.h - found 03:01:00 -- Looking for memset 03:01:00 -- Looking for memset - found 03:01:00 -- Looking for select 03:01:01 -- Looking for select - found 03:01:01 -- Looking for socket 03:01:01 -- Looking for socket - found 03:01:01 -- Looking for strdup 03:01:01 -- Looking for strdup - found 03:01:01 -- Looking for strerror 03:01:02 -- Looking for strerror - found 03:01:02 -- Looking for strnlen 03:01:02 -- Looking for strnlen - found 03:01:02 -- Looking for fls 03:01:02 -- Looking for fls - not found 03:01:02 -- Looking for vprintf 03:01:02 -- Looking for vprintf - found 03:01:02 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 03:01:03 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 03:01:03 -- Configuring done (11.2s) 03:01:03 -- Generating done (0.0s) 03:01:03 -- Build files have been written to: /device-coap/deps/tinydtls/build 03:01:03 + make 03:01:03 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 03:01:04 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 03:01:04 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 03:01:06 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 03:01:07 In file included from /device-coap/deps/tinydtls/crypto.c:34: 03:01:07 In function 'ecc_ecdh', 03:01:07 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 03:01:07 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 03:01:07 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 03:01:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:07 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 03:01:07 /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 03:01:07 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 03:01:07 | ^~~~~~~~~~~ 03:01:07 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 03:01:07 431 | uint32_t pub_x[8]; 03:01:07 | ^~~~~ 03:01:07 In function 'ecc_ecdh', 03:01:07 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 03:01:07 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 03:01:07 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 03:01:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:07 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 03:01:07 /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 03:01:07 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 03:01:07 | ^~~~~~~~~~~ 03:01:07 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 03:01:07 432 | uint32_t pub_y[8]; 03:01:07 | ^~~~~ 03:01:07 In function 'ecc_ecdh', 03:01:07 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 03:01:07 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 03:01:07 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 03:01:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:07 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 03:01:07 /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 03:01:07 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 03:01:07 | ^~~~~~~~~~~ 03:01:07 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 03:01:07 430 | uint32_t priv[8]; 03:01:07 | ^~~~ 03:01:08 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 03:01:16 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 03:01:16 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 03:01:16 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 03:01:17 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 03:01:17 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 03:01:17 /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] 03:01:17 316 | for (idx = 0; idx < count; idx++) { 03:01:17 | ^ 03:01:17 /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] 03:01:17 319 | return result == count; 03:01:17 | ^~ 03:01:22 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 03:01:22 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 03:01:23 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 03:01:23 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 03:01:23 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 03:01:24 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 03:01:24 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 03:01:24 | ~~~~~~~~~~^~~~~~~~ 03:01:24 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 03:01:24 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 03:01:24 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 03:01:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:24 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 03:01:24 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 03:01:24 | ~~~~~^~~~~~~~ 03:01:24 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 03:01:24 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 03:01:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:24 [100%] Linking C shared library libtinydtls.so 03:01:24 [100%] Built target tinydtls 03:01:24 + make install 03:01:24 [100%] Built target tinydtls 03:01:24 Install the project... 03:01:24 -- Install configuration: "Release" 03:01:24 -- Installing: /usr/local/lib/libtinydtls.so 03:01:24 -- Up-to-date: /usr/local/include/tinydtls 03:01:24 -- Installing: /usr/local/include/tinydtls/dtls.h 03:01:24 -- Installing: /usr/local/include/tinydtls/tinydtls.h 03:01:24 -- Installing: /usr/local/include/tinydtls/dtls_time.h 03:01:24 -- Installing: /usr/local/include/tinydtls/utlist.h 03:01:24 -- Installing: /usr/local/include/tinydtls/ccm.h 03:01:24 -- Installing: /usr/local/include/tinydtls/hmac.h 03:01:24 -- Installing: /usr/local/include/tinydtls/uthash.h 03:01:24 -- Installing: /usr/local/include/tinydtls/numeric.h 03:01:24 -- Installing: /usr/local/include/tinydtls/netq.h 03:01:24 -- Up-to-date: /usr/local/include/tinydtls/sha2 03:01:24 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 03:01:24 -- Installing: /usr/local/include/tinydtls/crypto.h 03:01:24 -- Installing: /usr/local/include/tinydtls/alert.h 03:01:25 -- Installing: /usr/local/include/tinydtls/session.h 03:01:25 -- Installing: /usr/local/include/tinydtls/global.h 03:01:25 -- Up-to-date: /usr/local/include/tinydtls/ecc 03:01:25 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 03:01:25 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 03:01:25 -- Installing: /usr/local/include/tinydtls/state.h 03:01:25 -- Up-to-date: /usr/local/include/tinydtls/aes 03:01:25 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 03:01:25 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 03:01:25 -- Installing: /usr/local/include/tinydtls/peer.h 03:01:25 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 03:01:25 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 03:01:25 -- Up-to-date: /usr/local/include/tinydtls 03:01:25 -- Installing: /usr/local/include/tinydtls/dtls_config.h 03:01:25 + cd /device-coap/deps 03:01:25 + git clone https://github.com/obgm/libcoap.git 03:01:25 Cloning into 'libcoap'... 03:01:31 + cd libcoap 03:01:31 + git reset --hard 1739507 03:01:31 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 03:01:31 + patch -p1 03:01:31 patching file cmake/FindTinyDTLS.cmake 03:01:31 + patch -p1 03:01:31 patching file include/coap2/coap_config.h.in 03:01:31 + mkdir -p build 03:01:31 + cd build 03:01:31 + 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' .. 03:01:31 -- The CXX compiler identification is GNU 12.2.1 03:01:31 -- The C compiler identification is GNU 12.2.1 03:01:31 -- Detecting CXX compiler ABI info 03:01:32 -- Detecting CXX compiler ABI info - done 03:01:32 -- Check for working CXX compiler: /usr/bin/c++ - skipped 03:01:32 -- Detecting CXX compile features 03:01:32 -- Detecting CXX compile features - done 03:01:32 -- Detecting C compiler ABI info 03:01:32 -- Detecting C compiler ABI info - done 03:01:32 -- Check for working C compiler: /usr/bin/cc - skipped 03:01:32 -- Detecting C compile features 03:01:32 -- Detecting C compile features - done 03:01:32 -- Looking for byteswap.h 03:01:33 -- Looking for byteswap.h - found 03:01:33 -- Looking for inttypes.h 03:01:33 -- Looking for inttypes.h - found 03:01:33 -- Looking for limits.h 03:01:34 -- Looking for limits.h - found 03:01:34 -- Looking for memory.h 03:01:34 -- Looking for memory.h - found 03:01:34 -- Looking for strings.h 03:01:34 -- Looking for strings.h - found 03:01:34 -- Looking for string.h 03:01:35 -- Looking for string.h - found 03:01:35 -- Looking for sys/sysctl.h 03:01:35 -- Looking for sys/sysctl.h - not found 03:01:35 -- Looking for netinet/in.h 03:01:35 -- Looking for netinet/in.h - found 03:01:35 -- Looking for sys/epoll.h 03:01:35 -- Looking for sys/epoll.h - found 03:01:35 -- Looking for sys/timerfd.h 03:01:36 -- Looking for sys/timerfd.h - found 03:01:36 -- Looking for arpa/inet.h 03:01:36 -- Looking for arpa/inet.h - found 03:01:36 -- Looking for stdbool.h 03:01:37 -- Looking for stdbool.h - found 03:01:37 -- Looking for netdb.h 03:01:37 -- Looking for netdb.h - found 03:01:37 -- Looking for pthread.h 03:01:37 -- Looking for pthread.h - found 03:01:37 -- Looking for stdlib.h 03:01:38 -- Looking for stdlib.h - found 03:01:38 -- Looking for stdint.h 03:01:38 -- Looking for stdint.h - found 03:01:38 -- Looking for syslog.h 03:01:39 -- Looking for syslog.h - found 03:01:39 -- Looking for sys/ioctl.h 03:01:39 -- Looking for sys/ioctl.h - found 03:01:39 -- Looking for sys/socket.h 03:01:39 -- Looking for sys/socket.h - found 03:01:39 -- Looking for sys/stat.h 03:01:40 -- Looking for sys/stat.h - found 03:01:40 -- Looking for sys/time.h 03:01:40 -- Looking for sys/time.h - found 03:01:40 -- Looking for sys/types.h 03:01:40 -- Looking for sys/types.h - found 03:01:40 -- Looking for sys/unistd.h 03:01:40 -- Looking for sys/unistd.h - not found 03:01:40 -- Looking for time.h 03:01:41 -- Looking for time.h - found 03:01:41 -- Looking for unistd.h 03:01:41 -- Looking for unistd.h - found 03:01:41 -- Looking for float.h 03:01:42 -- Looking for float.h - found 03:01:42 -- Looking for stddef.h 03:01:42 -- Looking for stddef.h - found 03:01:42 -- Looking for winsock2.h 03:01:42 -- Looking for winsock2.h - not found 03:01:42 -- Looking for ws2tcpip.h 03:01:42 -- Looking for ws2tcpip.h - not found 03:01:42 -- Looking for malloc 03:01:43 -- Looking for malloc - found 03:01:43 -- Looking for memset 03:01:43 -- Looking for memset - found 03:01:43 -- Looking for select 03:01:44 -- Looking for select - found 03:01:44 -- Looking for socket 03:01:44 -- Looking for socket - found 03:01:44 -- Looking for strcasecmp 03:01:44 -- Looking for strcasecmp - found 03:01:44 -- Looking for pthread_mutex_lock 03:01:45 -- Looking for pthread_mutex_lock - found 03:01:45 -- Looking for getaddrinfo 03:01:45 -- Looking for getaddrinfo - found 03:01:45 -- Looking for strnlen 03:01:45 -- Looking for strnlen - found 03:01:45 -- Looking for strrchr 03:01:45 -- Looking for strrchr - found 03:01:45 -- Looking for getrandom 03:01:46 -- Looking for getrandom - found 03:01:46 -- Looking for cmsghdr 03:01:46 -- Looking for cmsghdr - not found 03:01:46 -- compiling without epoll support 03:01:46 -- compiling with DTLS support 03:01:46 -- DTLS_BACKEND: tinydtls 03:01:46 -- Found TinyDTLS: /usr/local/include 03:01:46 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 03:01:46 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 03:01:46 -- TINYDTLS_ROOT_DIR: 03:01:46 -- compiling with tinydtls support 03:01:46 -- ENABLE_DTLS:.....................ON 03:01:46 -- ENABLE_TCP:......................ON 03:01:46 -- ENABLE_DOCS:.....................OFF 03:01:46 -- ENABLE_EXAMPLES:.................OFF 03:01:46 -- DTLS_BACKEND:....................tinydtls 03:01:46 -- WITH_GNUTLS:.....................OFF 03:01:46 -- WITH_TINYDTLS:...................ON 03:01:46 -- WITH_OPENSSL:....................OFF 03:01:46 -- WITH_MBEDTLS:....................OFF 03:01:46 -- HAVE_LIBTINYDTLS:................1 03:01:46 -- HAVE_LIBGNUTLS:.................. 03:01:46 -- HAVE_OPENSSL:.................... 03:01:46 -- HAVE_MBEDTLS:.................... 03:01:46 -- COAP_EPOLL_SUPPORT:.............. 03:01:46 -- CMAKE_C_COMPILER:................/usr/bin/cc 03:01:46 -- BUILD_SHARED_LIBS:...............ON 03:01:46 -- CMAKE_BUILD_TYPE:................Release 03:01:46 -- CMAKE_SYSTEM_PROCESSOR:..........aarch64 03:01:46 -- Configuring done (15.4s) 03:01:46 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 03:01:46 Policy CMP0115 is not set: Source file extensions must be explicit. Run 03:01:46 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 03:01:46 command to set the policy and suppress this warning. 03:01:46 03:01:46 File: 03:01:46 03:01:46 /device-coap/deps/libcoap/include/coap2/coap.h.in 03:01:46 This warning is for project developers. Use -Wno-dev to suppress it. 03:01:46 03:01:46 -- Generating done (0.0s) 03:01:46 -- Build files have been written to: /device-coap/deps/libcoap/build 03:01:46 + make 03:01:46 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 03:01:47 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 03:01:47 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 03:01:48 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 03:01:51 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 03:01:51 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 03:01:51 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 03:01:53 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 03:01:53 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 03:01:53 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 03:01:58 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 03:01:58 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 03:01:58 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 03:01:59 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 03:01:59 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 03:02:03 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 03:02:04 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 03:02:06 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 03:02:08 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 03:02:09 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 03:02:09 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 03:02:11 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 03:02:12 [100%] Linking C shared library libcoap-2.so 03:02:12 [100%] Built target coap-2 03:02:12 + make install 03:02:12 [100%] Built target coap-2 03:02:12 Install the project... 03:02:12 -- Install configuration: "Release" 03:02:12 -- Installing: /usr/local/lib/libcoap-2.so 03:02:12 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 03:02:12 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 03:02:12 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 03:02:12 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 03:02:12 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 03:02:12 -- Up-to-date: /usr/local/include 03:02:12 -- Up-to-date: /usr/local/include/coap2 03:02:12 -- Installing: /usr/local/include/coap2/coap_dtls.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_mutex.h 03:02:12 -- Installing: /usr/local/include/coap2/option.h 03:02:12 -- Installing: /usr/local/include/coap2/uri.h 03:02:12 -- Installing: /usr/local/include/coap2/net.h 03:02:12 -- Installing: /usr/local/include/coap2/bits.h 03:02:12 -- Installing: /usr/local/include/coap2/utlist.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_event.h 03:02:12 -- Installing: /usr/local/include/coap2/block.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_session.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_prng.h 03:02:12 -- Installing: /usr/local/include/coap2/uthash.h 03:02:12 -- Installing: /usr/local/include/coap2/async.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_hashkey.h 03:02:12 -- Installing: /usr/local/include/coap2/libcoap.h 03:02:12 -- Installing: /usr/local/include/coap2/mem.h 03:02:12 -- Installing: /usr/local/include/coap2/subscribe.h 03:02:12 -- Installing: /usr/local/include/coap2/resource.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_riot.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_time.h 03:02:12 -- Installing: /usr/local/include/coap2/pdu.h 03:02:12 -- Installing: /usr/local/include/coap2/address.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_io.h 03:02:12 -- Installing: /usr/local/include/coap2/lwippools.h 03:02:12 -- Installing: /usr/local/include/coap2/str.h 03:02:12 -- Installing: /usr/local/include/coap2/coap_debug.h 03:02:12 -- Installing: /usr/local/include/coap2/encode.h 03:02:12 -- Up-to-date: /usr/local/include 03:02:12 -- Up-to-date: /usr/local/include/coap2 03:02:12 -- Installing: /usr/local/include/coap2/coap.h 03:02:12 + '[' 1 '=' 1 ] 03:02:12 + cd /device-coap/deps 03:02:12 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 03:02:12 Connecting to github.com (140.82.114.4:443) 03:02:13 Connecting to codeload.github.com (140.82.113.9:443) 03:02:13 saving to 'v4.0.0.zip' 03:02:13 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 03:02:13 'v4.0.0.zip' saved 03:02:13 + unzip v4.0.0.zip 03:02:13 Archive: v4.0.0.zip 03:02:13 creating: device-sdk-c-4.0.0/ 03:02:13 creating: device-sdk-c-4.0.0/.github/ 03:02:13 inflating: device-sdk-c-4.0.0/.github/Contributing.md 03:02:13 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 03:02:13 inflating: device-sdk-c-4.0.0/.github/semantic.yml 03:02:13 creating: device-sdk-c-4.0.0/.github/workflows/ 03:02:13 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 03:02:13 inflating: device-sdk-c-4.0.0/.gitignore 03:02:13 inflating: device-sdk-c-4.0.0/Attribution.txt 03:02:13 inflating: device-sdk-c-4.0.0/CHANGELOG.md 03:02:13 inflating: device-sdk-c-4.0.0/Doxyfile 03:02:13 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 03:02:13 inflating: device-sdk-c-4.0.0/Jenkinsfile 03:02:13 inflating: device-sdk-c-4.0.0/LICENSE 03:02:13 inflating: device-sdk-c-4.0.0/Makefile 03:02:13 inflating: device-sdk-c-4.0.0/OWNERS.md 03:02:13 inflating: device-sdk-c-4.0.0/README.IOT.md 03:02:13 inflating: device-sdk-c-4.0.0/README.md 03:02:13 inflating: device-sdk-c-4.0.0/README.v3.md 03:02:13 creating: device-sdk-c-4.0.0/docs/ 03:02:13 inflating: device-sdk-c-4.0.0/docs/configuration.md 03:02:13 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 03:02:13 inflating: device-sdk-c-4.0.0/docs/metrics.md 03:02:13 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 03:02:13 inflating: device-sdk-c-4.0.0/docs/startup.md 03:02:13 creating: device-sdk-c-4.0.0/include/ 03:02:13 creating: device-sdk-c-4.0.0/include/devsdk/ 03:02:13 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 03:02:13 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 03:02:13 creating: device-sdk-c-4.0.0/include/edgex/ 03:02:13 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 03:02:13 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 03:02:13 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 03:02:13 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 03:02:13 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 03:02:13 creating: device-sdk-c-4.0.0/scripts/ 03:02:13 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 03:02:13 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 03:02:13 inflating: device-sdk-c-4.0.0/scripts/build.sh 03:02:13 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 03:02:13 creating: device-sdk-c-4.0.0/src/ 03:02:13 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 03:02:13 creating: device-sdk-c-4.0.0/src/c/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/api.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/bus.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/bus.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/callback3.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/callback3.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/config.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/config.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/correlation.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/correlation.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/data.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/data.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 03:02:13 inflating: device-sdk-c-4.0.0/src/c/device.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/device.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/devman.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/devmap.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/devmap.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/devutil.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/discovery.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/discovery.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/file/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/random/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 03:02:13 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 03:02:13 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 03:02:13 inflating: device-sdk-c-4.0.0/src/c/filesys.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/filesys.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/keeper.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/keeper.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/map.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/map.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/metadata.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/metadata.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/metrics.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/opstate.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/opstate.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/parson.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/parson.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/profiles.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/profiles.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/registry.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/registry.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/rest.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/rest.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/secrets.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/secrets.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/service.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/service.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/transform.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/transform.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/validate.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/validate.h 03:02:13 inflating: device-sdk-c-4.0.0/src/c/watchers.c 03:02:13 inflating: device-sdk-c-4.0.0/src/c/watchers.h 03:02:13 creating: device-sdk-c-4.0.0/src/cmake/ 03:02:13 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 03:02:13 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 03:02:13 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 03:02:13 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 03:02:13 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 03:02:13 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 03:02:13 + cd device-sdk-c-4.0.0 03:02:13 + ./scripts/build.sh 03:02:13 + CPPCHECK=false 03:02:13 + DOCGEN=false 03:02:13 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 03:02:13 + '[' 0 -gt 0 ] 03:02:13 + readlink -f ./scripts/build.sh 03:02:13 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 03:02:13 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 03:02:13 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 03:02:13 + cd /device-coap/deps/device-sdk-c-4.0.0 03:02:13 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 03:02:13 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 03:02:13 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 03:02:14 -- The C compiler identification is GNU 12.2.1 03:02:14 -- Detecting C compiler ABI info 03:02:14 -- Detecting C compiler ABI info - done 03:02:14 -- Check for working C compiler: /usr/bin/cc - skipped 03:02:14 -- Detecting C compile features 03:02:14 -- Detecting C compile features - done 03:02:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:02:15 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 03:02:15 -- Found LIBYAML: /usr/lib/libyaml.so 03:02:15 -- Found LIBUUID: /usr/lib/libuuid.so 03:02:15 -- Found LIBCBOR: /usr/lib/libcbor.so 03:02:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:02:15 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:02:15 -- /opt/iotech/iot/1.5/include 03:02:15 -- C SDK 0.0.0 for Linux 03:02:15 -- Performing Test CSDK_HAVE_ATOMIC 03:02:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:02:15 -- Found Curses: /usr/lib/libcurses.so 03:02:15 -- Configuring done (2.0s) 03:02:15 -- Generating done (0.3s) 03:02:16 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 03:02:16 + + make all package 03:02:16 tee release.log 03:02:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:02:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:02:18 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:02:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:02:20 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:02:22 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:02:22 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:02:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:02:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:02:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:02:27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:02:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:02:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:02:30 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:02:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:02:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:02:33 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 03:02:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:02:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:02:36 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:02:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:02:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:02:45 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:02:45 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:02:46 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:02:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:02:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:02:50 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:02:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:02:51 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:02:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:02:54 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 03:02:54 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 03:02:54 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 03:02:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:02:54 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 03:02:54 875 | const iot_data_t *deviceservices_config; 03:02:54 | ^~~~~~~~~~~~~~~~~~~~~ 03:02:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:02:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:02:57 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:02:58 [ 68%] Linking C shared library libcsdk.so 03:02:58 [ 68%] Built target csdk 03:02:58 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:02:59 [ 72%] Linking C executable template 03:02:59 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:02:59 [ 72%] Built target template 03:02:59 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:03:00 [ 76%] Linking C executable device-counter 03:03:00 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:00 [ 76%] Built target device-counter 03:03:00 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:03:01 [ 80%] Linking C executable device-random 03:03:01 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:01 [ 80%] Built target device-random 03:03:01 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:03:02 [ 84%] Linking C executable device-gyro 03:03:02 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:02 [ 84%] Built target device-gyro 03:03:02 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:03:02 [ 88%] Linking C executable device-bitfields 03:03:03 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:03 [ 88%] Built target device-bitfields 03:03:03 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:03:04 [ 92%] Linking C executable template-discovery 03:03:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:04 [ 92%] Built target template-discovery 03:03:04 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:03:05 [ 96%] Linking C executable device-file 03:03:05 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:06 [ 96%] Built target device-file 03:03:06 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:03:07 [100%] Linking C executable device-terminal 03:03:07 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:07 [100%] Built target device-terminal 03:03:07 Run CPack packaging tool... 03:03:07 CPack: Create package using TGZ 03:03:07 CPack: Install projects 03:03:07 CPack: - Run preinstall target for: Csdk 03:03:08 CPack: - Install project: Csdk [] 03:03:08 CPack: Create package 03:03:08 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 03:03:08 + '[' false '=' true ] 03:03:08 + '[' false '=' true ] 03:03:08 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:03:08 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:03:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 03:03:08 -- The C compiler identification is GNU 12.2.1 03:03:08 -- Detecting C compiler ABI info 03:03:09 -- Detecting C compiler ABI info - done 03:03:09 -- Check for working C compiler: /usr/bin/cc - skipped 03:03:09 -- Detecting C compile features 03:03:09 -- Detecting C compile features - done 03:03:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:03:09 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 03:03:09 -- Found LIBYAML: /usr/lib/libyaml.so 03:03:09 -- Found LIBUUID: /usr/lib/libuuid.so 03:03:09 -- Found LIBCBOR: /usr/lib/libcbor.so 03:03:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:03:09 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:03:09 -- /opt/iotech/iot/1.5/include 03:03:09 -- C SDK 0.0.0 for Linux 03:03:09 -- Performing Test CSDK_HAVE_ATOMIC 03:03:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:03:10 -- Found Curses: /usr/lib/libcurses.so 03:03:10 -- Configuring done (1.9s) 03:03:10 -- Generating done (0.3s) 03:03:10 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:03:10 + make 03:03:10 + tee debug.log 03:03:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:03:11 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:03:11 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:03:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:03:12 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:03:13 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:03:13 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:03:13 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:03:14 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:03:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:03:15 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:03:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:03:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:03:16 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:03:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:03:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:03:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 03:03:18 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:03:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:03:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:03:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:03:21 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:03:21 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:03:22 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:03:22 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:03:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:03:23 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:03:24 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:03:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:03:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:03:25 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:03:26 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:03:26 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:03:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:03:27 [ 68%] Linking C shared library libcsdk.so 03:03:27 [ 68%] Built target csdk 03:03:27 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:03:28 [ 72%] Linking C executable template 03:03:28 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:28 [ 72%] Built target template 03:03:28 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:03:28 [ 76%] Linking C executable device-counter 03:03:28 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:29 [ 76%] Built target device-counter 03:03:29 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:03:29 [ 80%] Linking C executable device-random 03:03:29 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:29 [ 80%] Built target device-random 03:03:29 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:03:30 [ 84%] Linking C executable device-gyro 03:03:30 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:30 [ 84%] Built target device-gyro 03:03:30 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:03:30 [ 88%] Linking C executable device-bitfields 03:03:30 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:31 [ 88%] Built target device-bitfields 03:03:31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:03:31 [ 92%] Linking C executable template-discovery 03:03:31 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:32 [ 92%] Built target template-discovery 03:03:32 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:03:32 [ 96%] Linking C executable device-file 03:03:32 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:32 [ 96%] Built target device-file 03:03:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:03:33 [100%] Linking C executable device-terminal 03:03:33 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:33 [100%] Built target device-terminal 03:03:33 + cp -rf include/devsdk include/edgex /usr/include/ 03:03:33 + cp build/release/c/libcsdk.so /usr/lib/ 03:03:33 + rm -rf /device-coap/deps 03:03:36 Removing intermediate container 757ee27f2b1e 03:03:36 ---> 00ae1d69cbec 03:03:36 Step 13/33 : RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 03:03:36 ---> Running in 15812a7d1863 03:03:36 + readlink -f /device-coap/scripts/build.sh 03:03:36 + dirname /device-coap/scripts/build.sh 03:03:36 + dirname /device-coap/scripts 03:03:36 + ROOT=/device-coap 03:03:36 + echo /device-coap 03:03:36 + cd /device-coap 03:03:36 + mkdir -p /device-coap/build/release 03:03:36 /device-coap 03:03:36 + cd /device-coap/build/release 03:03:36 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 03:03:36 -- Configuring done (0.0s) 03:03:36 -- Generating done (0.0s) 03:03:36 -- Build files have been written to: /device-coap/build/release 03:03:36 + + maketee 03:03:36 release.log 03:03:37 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 03:03:37 In file included from /usr/include/devsdk/devsdk.h:18, 03:03:37 from /device-coap/src/c/device-coap.h:17, 03:03:37 from /device-coap/src/c/coap-client.h:21, 03:03:37 from /device-coap/src/c/coap-client.c:9: 03:03:37 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 03:03:37 /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=] 03:03:37 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~ 03:03:37 90 | strlen(end_dev_params_ptr->psk_key)); 03:03:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 03:03:37 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:03:37 | ~^ 03:03:37 | | 03:03:37 | unsigned int 03:03:37 | %lu 03:03:37 /device-coap/src/c/coap-client.c: In function 'message_handler': 03:03:37 /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=] 03:03:37 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 03:03:37 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:03:37 | ~^ 03:03:37 | | 03:03:37 | unsigned int 03:03:37 | %lu 03:03:37 /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=] 03:03:37 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 130 | resource->properties->type); 03:03:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 | | 03:03:37 | iot_typecode_t 03:03:37 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 03:03:37 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 /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=] 03:03:37 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 140 | len); 03:03:37 | ~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 03:03:37 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 | %ld 03:03:37 /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=] 03:03:37 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 145 | len); 03:03:37 | ~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 03:03:37 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 | %ld 03:03:37 /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=] 03:03:37 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 152 | len); 03:03:37 | ~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 03:03:37 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 | %ld 03:03:37 /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=] 03:03:37 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 157 | resource->properties->type); 03:03:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 | | 03:03:37 | iot_typecode_t 03:03:37 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 03:03:37 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 03:03:37 /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=] 03:03:37 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 03:03:37 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 | %ld 03:03:37 /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=] 03:03:37 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 253 | (uint8_t *)end_dev_params_ptr->psk_key, 03:03:37 254 | strlen(end_dev_params_ptr->psk_key)); 03:03:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 03:03:37 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 | %ld 03:03:37 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 03:03:37 /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=] 03:03:37 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:03:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 352 | (uint8_t *)end_dev_params_ptr->psk_key, 03:03:37 353 | strlen(end_dev_params_ptr->psk_key)); 03:03:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:37 | | 03:03:37 | size_t {aka long unsigned int} 03:03:37 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 03:03:37 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:03:37 | ~^ 03:03:37 | | 03:03:37 | int 03:03:37 | %ld 03:03:37 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 03:03:38 In file included from /usr/include/devsdk/devsdk.h:18, 03:03:38 from /usr/include/edgex/devices.h:17, 03:03:38 from /device-coap/src/c/coap-server.c:22: 03:03:38 /device-coap/src/c/coap-server.c: In function 'data_handler': 03:03:38 /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=] 03:03:38 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:03:38 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:03:38 | | 03:03:38 | size_t {aka long unsigned int} 03:03:38 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 03:03:38 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:03:38 | ~^ 03:03:38 | | 03:03:38 | unsigned int 03:03:38 | %lu 03:03:38 /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=] 03:03:38 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:03:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:38 | | 03:03:38 | iot_typecode_t 03:03:38 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 03:03:38 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:03:38 | ~^ 03:03:38 | | 03:03:38 | int 03:03:38 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 03:03:39 In file included from /usr/include/devsdk/devsdk.h:18, 03:03:39 from /device-coap/src/c/coap-util.h:18, 03:03:39 from /device-coap/src/c/coap-util.c:9: 03:03:39 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 03:03:39 /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=] 03:03:39 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:03:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:03:39 | | 03:03:39 | size_t {aka long unsigned int} 03:03:39 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 03:03:39 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:03:39 | ~^ 03:03:39 | | 03:03:39 | unsigned int 03:03:39 | %lu 03:03:39 /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=] 03:03:39 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:03:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:03:39 | | 03:03:39 | size_t {aka long unsigned int} 03:03:39 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 03:03:39 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:03:39 | ~^ 03:03:39 | | 03:03:39 | unsigned int 03:03:39 | %lu 03:03:39 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 03:03:39 /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=] 03:03:39 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:03:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:03:39 | | 03:03:39 | size_t {aka long unsigned int} 03:03:39 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 03:03:39 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:03:39 | ~^ 03:03:39 | | 03:03:39 | unsigned int 03:03:39 | %lu 03:03:39 /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=] 03:03:39 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:03:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:03:39 | | 03:03:39 | size_t {aka long unsigned int} 03:03:39 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 03:03:39 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:03:39 | ~^ 03:03:39 | | 03:03:39 | unsigned int 03:03:39 | %lu 03:03:39 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 03:03:39 In file included from /usr/include/devsdk/devsdk.h:18, 03:03:39 from /device-coap/src/c/device-coap.h:17, 03:03:39 from /device-coap/src/c/device-coap.c:10: 03:03:39 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 03:03:39 /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=] 03:03:39 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:03:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:39 131 | requests[i].resource->type); 03:03:39 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:39 | | 03:03:39 | iot_typecode_t 03:03:39 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 03:03:39 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:03:39 | ~^ 03:03:39 | | 03:03:39 | int 03:03:40 [100%] Linking C executable device-coap 03:03:40 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-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) 03:03:41 [100%] Built target device-coap 03:03:41 Removing intermediate container 15812a7d1863 03:03:41 ---> 786f9edaee99 03:03:41 Step 14/33 : FROM ${BASE} 03:03:41 ---> a1be735dc1d3 03:03:41 Step 15/33 : RUN apk add --update --no-cache dumb-init 03:03:41 ---> Running in 2930d0ee9087 03:03:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:03:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:03:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:03:44 OK: 334 MiB in 103 packages 03:03:45 Removing intermediate container 2930d0ee9087 03:03:45 ---> 238b7de5e722 03:03:45 Step 16/33 : RUN apk --no-cache upgrade 03:03:45 ---> Running in c79d80e6e427 03:03:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:03:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:03:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:03:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:03:48 OK: 334 MiB in 103 packages 03:03:49 Removing intermediate container c79d80e6e427 03:03:49 ---> 6dda4dee3921 03:03:49 Step 17/33 : WORKDIR / 03:03:49 ---> Running in 0aa430b6f571 03:03:49 Removing intermediate container 0aa430b6f571 03:03:49 ---> 88495e08ff8c 03:03:49 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 03:03:49 ---> Running in b37ccacaaf73 03:03:50 Connecting to iotech.jfrog.io (34.247.22.236:443) 03:03:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:03:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:03:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:03:51 Removing intermediate container b37ccacaaf73 03:03:51 ---> f6099869e5cd 03:03:51 Step 19/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 03:03:51 ---> Running in 71b665ccf8bb 03:03:53 Removing intermediate container 71b665ccf8bb 03:03:53 ---> f828b1ef48ad 03:03:53 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 03:03:53 ---> Running in eebd695c7a8b 03:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:03:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:03:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:03:56 (1/1) Installing curl (8.12.1-r0) 03:03:56 Executing busybox-1.36.1-r7.trigger 03:03:56 OK: 334 MiB in 104 packages 03:03:57 Removing intermediate container eebd695c7a8b 03:03:57 ---> bcbea1844bf2 03:03:57 Step 21/33 : COPY --from=builder /device-coap/build/release/device-coap / 03:03:57 ---> 2c5c6affaf08 03:03:57 Step 22/33 : COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 03:04:00 ---> 1d7d4e91ffce 03:04:00 Step 23/33 : COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 03:04:01 ---> 320ddee69c15 03:04:01 Step 24/33 : COPY --from=builder /usr/local/lib/libtinydtls.so /usr/local/lib/ 03:04:01 ---> cf6f14d1485b 03:04:01 Step 25/33 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 03:04:02 ---> b478caf13403 03:04:02 Step 26/33 : COPY LICENSE / 03:04:02 ---> e5bba8bbb90f 03:04:02 Step 27/33 : COPY Attribution.txt / 03:04:03 ---> 659680d181bb 03:04:03 Step 28/33 : COPY res /res 03:04:03 ---> 6cdaf8da0db4 03:04:03 Step 29/33 : ENTRYPOINT ["/device-coap"] 03:04:03 ---> Running in 6f4990690baf 03:04:04 Removing intermediate container 6f4990690baf 03:04:04 ---> 6e07e43582a4 03:04:04 Step 30/33 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:04:04 ---> Running in 2be513027333 03:04:04 Removing intermediate container 2be513027333 03:04:04 ---> b3c767a0982f 03:04:04 Step 31/33 : LABEL arch=arm64 03:04:04 ---> Running in 66d90e7c2baf 03:04:04 Removing intermediate container 66d90e7c2baf 03:04:04 ---> aea37f430882 03:04:04 Step 32/33 : LABEL git_sha=b8dd8b89e3844a7d2f70ca8a94769af24447a763 03:04:04 ---> Running in b1a95d884540 03:04:05 Removing intermediate container b1a95d884540 03:04:05 ---> af86764e490e 03:04:05 Step 33/33 : LABEL version=0.0.0 03:04:05 ---> Running in 58ca55521e14 03:04:05 Removing intermediate container 58ca55521e14 03:04:05 ---> fab1ab23cb02 03:04:05 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:04:05 Successfully built fab1ab23cb02 03:04:05 Successfully tagged device-coap-arm64: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:06 03:04:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:06 arm64: Pulling from edgex-lftools-log-publisher 03:04:06 8998bd30e6a1: Pulling fs layer 03:04:06 04944245beec: Pulling fs layer 03:04:06 699f458cf7ca: Pulling fs layer 03:04:06 765212b225bb: Pulling fs layer 03:04:06 f23df028b6ca: Pulling fs layer 03:04:06 d65c8cfc05b1: Pulling fs layer 03:04:06 2437ff75d9bd: Pulling fs layer 03:04:06 765212b225bb: Waiting 03:04:06 d65c8cfc05b1: Waiting 03:04:06 f23df028b6ca: Waiting 03:04:06 2437ff75d9bd: Waiting 03:04:07 04944245beec: Verifying Checksum 03:04:07 04944245beec: Download complete 03:04:07 765212b225bb: Verifying Checksum 03:04:07 765212b225bb: Download complete 03:04:07 f23df028b6ca: Download complete 03:04:07 d65c8cfc05b1: Verifying Checksum 03:04:07 d65c8cfc05b1: Download complete 03:04:07 699f458cf7ca: Verifying Checksum 03:04:07 699f458cf7ca: Download complete 03:04:07 8998bd30e6a1: Download complete 03:04:10 2437ff75d9bd: Verifying Checksum 03:04:10 2437ff75d9bd: Download complete 03:04:12 8998bd30e6a1: Pull complete 03:04:13 04944245beec: Pull complete 03:04:14 699f458cf7ca: Pull complete 03:04:15 765212b225bb: Pull complete 03:04:15 f23df028b6ca: Pull complete 03:04:15 d65c8cfc05b1: Pull complete 03:04:34 2437ff75d9bd: Pull complete 03:04:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:04:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:34 prd-ubuntu20.04-docker-arm64-4c-16g-772852 does not seem to be running inside a container 03:04:34 $ 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/device-coap-c/1 -v /w/workspace/device-coap-c/1:/w/workspace/device-coap-c/1:rw,z -v /w/workspace/device-coap-c/1@tmp:/w/workspace/device-coap-c/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:04:37 $ docker top 656f002d4111b85782343225774dc66354d1090d083208bbe390ece5ac9ded06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:38 ---> job-cost.sh 03:04:38 lf-activate-venv: SKIPPING 03:04:38 INFO: No Stack... 03:04:38 INFO: Retrieving Pricing Info for: v3-standard-4 03:04:39 INFO: Archiving Costs [Pipeline] sh 03:04:40 + cat /w/workspace/device-coap-c/1/archives/cost.csv 03:04:40 + cut -d, -f6 [Pipeline] lock 03:04:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] 03:04:40 Resource [jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] did not exist. Created. 03:04:40 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:04:40 /w/workspace/device-coap-c/1@tmp/durable-d870e33b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:04:41 + echo total: 0.10999999940395355 [Pipeline] stash 03:04:41 Warning: overwriting stash ‘stack-cost’ 03:04:42 Stashed 1 file(s) [Pipeline] } 03:04:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-a7aab1ab6d8efce1cc97566c5798011b-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:04:42 $ docker stop --time=1 656f002d4111b85782343225774dc66354d1090d083208bbe390ece5ac9ded06 03:04:43 $ docker rm -f --volumes 656f002d4111b85782343225774dc66354d1090d083208bbe390ece5ac9ded06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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 03:04:56 + [ -d /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/archives ] 03:04:56 + ls -al /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/archives 03:04:56 total 16 03:04:56 drwxr-xr-x 3 root root 4096 Nov 10 02:55 . 03:04:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:55 .. 03:04:56 drwxr-xr-x 2 root root 4096 Nov 10 02:55 cost 03:04:56 -rw-r--r-- 1 root root 120 Nov 10 02:55 cost.csv 03:04:56 + sudo chown -R jenkins:jenkins /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/archives 03:04:56 + ls -al /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/archives 03:04:56 total 16 03:04:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:55 . 03:04:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:55 .. 03:04:56 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 02:55 cost 03:04:56 -rw-r--r-- 1 jenkins jenkins 120 Nov 10 02:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:04:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:04:58 ---> package-listing.sh 03:04:58 ++ facter osfamily 03:04:58 ++ tr '[:upper:]' '[:lower:]' 03:04:58 + OS_FAMILY=debian 03:04:58 + workspace=/w/workspace/a7aab1ab6d8efce1cc97566c5798011b 03:04:58 + START_PACKAGES=/tmp/packages_start.txt 03:04:58 + END_PACKAGES=/tmp/packages_end.txt 03:04:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:04:58 + PACKAGES=/tmp/packages_start.txt 03:04:58 + '[' /w/workspace/a7aab1ab6d8efce1cc97566c5798011b ']' 03:04:58 + PACKAGES=/tmp/packages_end.txt 03:04:58 + case "${OS_FAMILY}" in 03:04:58 + dpkg -l 03:04:58 + grep '^ii' 03:04:58 + '[' -f /tmp/packages_start.txt ']' 03:04:58 + '[' -f /tmp/packages_end.txt ']' 03:04:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:04:58 + '[' /w/workspace/a7aab1ab6d8efce1cc97566c5798011b ']' 03:04:58 + mkdir -p /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/archives/ 03:04:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/a7aab1ab6d8efce1cc97566c5798011b/archives/ [Pipeline] echo 03:04:58 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/a7aab1ab6d8efce1cc97566c5798011b/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:04:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:59 prd-ubuntu20.04-docker-8c-8g-772849 does not seem to be running inside a container 03:04:59 $ 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/a7aab1ab6d8efce1cc97566c5798011b/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/a7aab1ab6d8efce1cc97566c5798011b -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b:rw,z -v /w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:04:59 $ docker top e1c4a01a7a3d723949adaacdcb9f32c97488cd99d772e12620e1858db721a1a4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:00 + touch /tmp/pre-build-complete [Pipeline] sh 03:05:00 + mkdir -p /var/log/sysstat [Pipeline] sh 03:05:00 + ls /var/log/sa-host 03:05:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:05:00 provisioning config files... 03:05:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/a7aab1ab6d8efce1cc97566c5798011b@tmp/config10680621910213868249tmp [Pipeline] { [Pipeline] echo 03:05:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:05:01 ---> create-netrc.sh [Pipeline] } 03:05:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:05:01 ---> python-tools-install.sh [Pipeline] echo 03:05:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:05:02 ---> sudo-logs.sh 03:05:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:05:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:05:02 ---> job-cost.sh 03:05:02 lf-activate-venv: SKIPPING 03:05:02 DEBUG: total: 0.2199999988079071 03:05:02 INFO: Retrieving Stack Cost... 03:05:03 INFO: Retrieving Pricing Info for: v3-standard-8 03:05:03 INFO: Archiving Costs [Pipeline] echo 03:05:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:05:04 ---> logs-deploy.sh 03:05:04 lf-activate-venv: SKIPPING 03:05:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/snyk-fix-a7aab1ab6d8efce1cc97566c5798011b/1 03:05:04 INFO: archiving workspace using pattern(s): 03:05:05 Archives upload complete. 03:05:05 INFO: archiving logs to Nexus