Pull request #64 closed Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c525e427ea752742b54d22c6461dec1292f4fddb 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-ssh8528087987067950541.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-ssh5053903197281181250.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-d.sr62qkv0q.fc499206208/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-d.sr62qkv0q.fc499206208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14410291003026452424.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-d.sr62qkv0q.fc499206208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15680972965936041997.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-ssh11233685808799681265.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-d.sr62qkv0q.fc499206208/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-d.sr62qkv0q.fc499206208/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3367204740565678397.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-772845’ Running on prd-ubuntu20.04-docker-8c-8g-772848 in /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 [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/db1e6a6ac0c93ad5dbb7dfc499206208 # 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 c525e427ea752742b54d22c6461dec1292f4fddb (snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208) Commit message: "fix: scripts/Dockerfile.alpine-base 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 c525e427ea752742b54d22c6461dec1292f4fddb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:53:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:53:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:53:41 ========================================================= 02:53:41 EdgeX Global Pipelines Version Info 02:53:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:53:41 ------------------- 02:53:41 stable info: 02:53:41 ------------------- 02:53:41 Commited By: Cherry Wang cherry@iotechsys.com 02:53:41 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 02:53:41 Message: update stable to v1.0.278 02:53:42 ------------------- 02:53:42 experimental info: 02:53:42 ------------------- 02:53:42 Commited By: **** collab-it+edgex@linuxfoundation.org 02:53:42 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 02:53:42 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:53:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo 02:53:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo 02:53:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:53:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208 [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208 [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208 [Pipeline] echo 02:53:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c525e427ea752742b54d22c6461dec1292f4fddb [Pipeline] echo 02:53:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c525e42 [Pipeline] echo 02:53:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:44 provisioning config files... 02:53:44 copy managed file [device-coap-c-settings] to file:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp/config7249450047563074916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:44 ---> ****-login.sh 02:53:44 nexus3.edgexfoundry.org:10001 02:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:44 02:53:44 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:44 Configure a credential helper to remove this warning. See 02:53:44 https://docs.****.com/go/credential-store/ 02:53:44 02:53:44 Login Succeeded 02:53:44 nexus3.edgexfoundry.org:10002 02:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:44 02:53:44 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:44 Configure a credential helper to remove this warning. See 02:53:44 https://docs.****.com/go/credential-store/ 02:53:44 02:53:44 Login Succeeded 02:53:44 nexus3.edgexfoundry.org:10003 02:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:45 02:53:45 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:45 Configure a credential helper to remove this warning. See 02:53:45 https://docs.****.com/go/credential-store/ 02:53:45 02:53:45 Login Succeeded 02:53:45 nexus3.edgexfoundry.org:10004 02:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:45 02:53:45 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:45 Configure a credential helper to remove this warning. See 02:53:45 https://docs.****.com/go/credential-store/ 02:53:45 02:53:45 Login Succeeded 02:53:45 ****.io 02:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:45 02:53:45 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:53:45 Configure a credential helper to remove this warning. See 02:53:45 https://docs.****.com/go/credential-store/ 02:53:45 02:53:45 Login Succeeded 02:53:45 ---> ****-login.sh ends [Pipeline] } 02:53:45 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:46 + git rev-list -1 --merges c525e427ea752742b54d22c6461dec1292f4fddb~1..c525e427ea752742b54d22c6461dec1292f4fddb [Pipeline] echo 02:53:46 -----------> git rev-list -1 --merges c525e427ea752742b54d22c6461dec1292f4fddb~1..c525e427ea752742b54d22c6461dec1292f4fddb c525e427ea752742b54d22c6461dec1292f4fddb [false] [Pipeline] sh 02:53:46 + git log --format=format:%s -1 c525e427ea752742b54d22c6461dec1292f4fddb [Pipeline] echo 02:53:46 ========================================================= 02:53:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:53:46 ========================================================= 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:47 + git rev-list -1 --merges c525e427ea752742b54d22c6461dec1292f4fddb~1..c525e427ea752742b54d22c6461dec1292f4fddb [Pipeline] echo 02:53:47 -----------> git rev-list -1 --merges c525e427ea752742b54d22c6461dec1292f4fddb~1..c525e427ea752742b54d22c6461dec1292f4fddb c525e427ea752742b54d22c6461dec1292f4fddb [false] [Pipeline] sh 02:53:47 + git log --format=format:%s -1 c525e427ea752742b54d22c6461dec1292f4fddb [Pipeline] echo 02:53:47 ========================================================= 02:53:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:53:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:53:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:48 + grep -v github /etc/ssh/ssh_known_hosts 02:53:48 + [ -e /tmp/ssh_known_hosts ] 02:53:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:53:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:53:48 + sudo tee -a /etc/ssh/ssh_known_hosts 02:53:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:48 02:53:48 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:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:49 0.1.4: Pulling from edgex-devops/py-git-semver 02:53:49 3dae71ba6b94: Pulling fs layer 02:53:49 6bf1a483ea7c: Pulling fs layer 02:53:49 f5dfc541a4d3: Pulling fs layer 02:53:49 461d9e800cba: Pulling fs layer 02:53:49 80192f66455f: Pulling fs layer 02:53:49 2e8e34ca0e6c: Pulling fs layer 02:53:49 a29436f7fd5d: Pulling fs layer 02:53:49 923cac83aea3: Pulling fs layer 02:53:49 25ad8b0a4227: Pulling fs layer 02:53:49 db01528c6b51: Pulling fs layer 02:53:49 28988de357af: Pulling fs layer 02:53:49 461d9e800cba: Waiting 02:53:49 923cac83aea3: Waiting 02:53:49 28988de357af: Waiting 02:53:49 80192f66455f: Waiting 02:53:49 a29436f7fd5d: Waiting 02:53:49 db01528c6b51: Waiting 02:53:49 2e8e34ca0e6c: Waiting 02:53:49 25ad8b0a4227: Waiting 02:53:49 6bf1a483ea7c: Verifying Checksum 02:53:49 6bf1a483ea7c: Download complete 02:53:49 461d9e800cba: Verifying Checksum 02:53:49 461d9e800cba: Download complete 02:53:49 80192f66455f: Verifying Checksum 02:53:49 80192f66455f: Download complete 02:53:49 f5dfc541a4d3: Verifying Checksum 02:53:49 f5dfc541a4d3: Download complete 02:53:49 3dae71ba6b94: Verifying Checksum 02:53:49 3dae71ba6b94: Download complete 02:53:49 923cac83aea3: Download complete 02:53:49 25ad8b0a4227: Verifying Checksum 02:53:49 25ad8b0a4227: Download complete 02:53:49 db01528c6b51: Verifying Checksum 02:53:49 db01528c6b51: Download complete 02:53:49 28988de357af: Verifying Checksum 02:53:49 28988de357af: Download complete 02:53:49 a29436f7fd5d: Verifying Checksum 02:53:49 a29436f7fd5d: Download complete 02:53:49 2e8e34ca0e6c: Verifying Checksum 02:53:49 2e8e34ca0e6c: Download complete 02:53:50 3dae71ba6b94: Pull complete 02:53:51 6bf1a483ea7c: Pull complete 02:53:52 f5dfc541a4d3: Pull complete 02:53:52 461d9e800cba: Pull complete 02:53:52 80192f66455f: Pull complete 02:53:56 2e8e34ca0e6c: Pull complete 02:53:57 a29436f7fd5d: Pull complete 02:53:57 923cac83aea3: Pull complete 02:53:57 25ad8b0a4227: Pull complete 02:53:57 db01528c6b51: Pull complete 02:53:57 28988de357af: Pull complete 02:53:57 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:53:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:57 prd-ubuntu20.04-docker-8c-8g-772848 does not seem to be running inside a container 02:53:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:rw,z -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:54:00 $ docker top 624b3890a92d3f243990a5fc43ccb981ee43abf060c0af71bbf10df6feb42358 -eo pid,comm 02:54:00 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:54:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:54:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:00 [ssh-agent] Looking for ssh-agent implementation... 02:54:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:00 $ docker exec 624b3890a92d3f243990a5fc43ccb981ee43abf060c0af71bbf10df6feb42358 ssh-agent 02:54:00 SSH_AUTH_SOCK=/tmp/ssh-8c666gAH6yiN/agent.32 02:54:00 SSH_AGENT_PID=38 02:54:00 Running ssh-add (command line suppressed) 02:54:01 Identity added: /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp/private_key_11365786697273266957.key (/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp/private_key_11365786697273266957.key) 02:54:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:01 + git config --global --add safe.directory /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 [Pipeline] sh 02:54:01 + git tag --points-at HEAD [Pipeline] } 02:54:01 $ docker exec --env ******** --env ******** 624b3890a92d3f243990a5fc43ccb981ee43abf060c0af71bbf10df6feb42358 ssh-agent -k 02:54:01 unset SSH_AUTH_SOCK; 02:54:01 unset SSH_AGENT_PID; 02:54:01 echo Agent pid 38 killed; 02:54:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:54:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:01 [ssh-agent] Looking for ssh-agent implementation... 02:54:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:02 $ docker exec 624b3890a92d3f243990a5fc43ccb981ee43abf060c0af71bbf10df6feb42358 ssh-agent 02:54:02 SSH_AUTH_SOCK=/tmp/ssh-PqNcg8QiqiwY/agent.85 02:54:02 SSH_AGENT_PID=91 02:54:02 Running ssh-add (command line suppressed) 02:54:02 Identity added: /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp/private_key_12713689765135677888.key (/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp/private_key_12713689765135677888.key) 02:54:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:02 + git semver init 02:54:02 2025-11-10 02:54:02,872 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:54:02 2025-11-10 02:54:02,877 [run_init] DEBUG init version:0.0.0 force:False 02:54:02 2025-11-10 02:54:02,878 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver 02:54:02 2025-11-10 02:54:02,878 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-coap-c.git /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver 02:54:02 2025-11-10 02:54:02,879 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-coap-c.git', '/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver'], cwd=/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208, stdin=None, shell=False, universal_newlines=False) 02:54:03 2025-11-10 02:54:03,563 [append_file] DEBUG append to file:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.git/info/exclude 02:54:03 2025-11-10 02:54:03,564 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver/snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208 with force:False 02:54:03 2025-11-10 02:54:03,564 [write_file] DEBUG write to file:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver/snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208 02:54:03 2025-11-10 02:54:03,567 [execute] INFO git cat-file --batch-check 02:54:03 2025-11-10 02:54:03,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver, stdin=, shell=False, universal_newlines=False) 02:54:03 2025-11-10 02:54:03,572 [execute] INFO git cat-file --batch 02:54:03 2025-11-10 02:54:03,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver, stdin=, shell=False, universal_newlines=False) 02:54:03 2025-11-10 02:54:03,575 [read_version] DEBUG read version from /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/.semver/snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208 02:54:03 0.0.0 [Pipeline] } 02:54:03 $ docker exec --env ******** --env ******** 624b3890a92d3f243990a5fc43ccb981ee43abf060c0af71bbf10df6feb42358 ssh-agent -k 02:54:03 unset SSH_AUTH_SOCK; 02:54:03 unset SSH_AGENT_PID; 02:54:03 echo Agent pid 91 killed; 02:54:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:54:04 + git semver [Pipeline] } 02:54:04 $ docker stop --time=1 624b3890a92d3f243990a5fc43ccb981ee43abf060c0af71bbf10df6feb42358 02:54:06 $ docker rm -f --volumes 624b3890a92d3f243990a5fc43ccb981ee43abf060c0af71bbf10df6feb42358 [Pipeline] // withDockerContainer [Pipeline] sh 02:54:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:54:07 Stashed 1 file(s) [Pipeline] echo 02:54:07 [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:54:07 provisioning config files... 02:54:07 copy managed file [device-coap-c-settings] to file:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp/config2623904172294767404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:08 ---> ****-login.sh 02:54:08 nexus3.edgexfoundry.org:10001 02:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:08 Login Succeeded 02:54:08 nexus3.edgexfoundry.org:10002 02:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:08 Login Succeeded 02:54:08 nexus3.edgexfoundry.org:10003 02:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:08 Login Succeeded 02:54:08 nexus3.edgexfoundry.org:10004 02:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:08 Login Succeeded 02:54:08 ****.io 02:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:08 Login Succeeded 02:54:08 ---> ****-login.sh ends [Pipeline] } 02:54:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:54:08 [edgeX.isLTS] Checking if [snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:54:08 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 02:54:08 [edgeX.isLTS] Checking if [snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:54:08 ========================================================= 02:54:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:54:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:09 + 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:54:09 #0 building with "default" instance using docker driver 02:54:09 02:54:09 #1 [internal] load build definition from Dockerfile.alpine-base 02:54:09 #1 transferring dockerfile: 988B done 02:54:09 #1 DONE 0.0s 02:54:09 02:54:09 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 02:54:09 #2 DONE 0.1s 02:54:10 02:54:10 #3 [internal] load .dockerignore 02:54:10 #3 transferring context: 2B done 02:54:10 #3 DONE 0.0s 02:54:10 02:54:10 #4 [internal] load build context 02:54:10 #4 transferring context: 68.38kB 0.0s done 02:54:10 #4 DONE 0.0s 02:54:10 02:54:10 #5 [ 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 02:54:10 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 0.0s done 02:54:10 #5 sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 741B / 741B done 02:54:10 #5 sha256:6605166a5db42c9ef4e3b8366138377c430980df3f34fe18e3a1340b6ab951b9 2.56kB / 2.56kB done 02:54:10 #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.04MB / 3.40MB 0.1s 02:54:10 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 6.29MB / 118.14MB 0.1s 02:54:10 #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.40MB / 3.40MB 0.1s done 02:54:10 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 19.92MB / 118.14MB 0.2s 02:54:10 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s 02:54:10 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 54.53MB / 118.14MB 0.4s 02:54:10 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s done 02:54:10 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 109.05MB / 118.14MB 0.6s 02:54:10 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 0.7s 02:54:10 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 1.0s done 02:54:10 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 02:54:15 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 4.1s done 02:54:15 #5 DONE 5.2s 02:54:15 02:54:15 #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:15 #6 0.231 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:54:15 #6 0.626 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:54:15 #6 0.627 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:54:15 #6 0.627 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:54:16 #6 DONE 1.8s 02:54:17 02:54:17 #7 [ 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:54:17 #7 DONE 0.3s 02:54:17 02:54:17 #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:17 #8 0.292 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:17 #8 0.456 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:17 #8 0.649 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:18 #8 1.231 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:18 #8 1.240 (1/18) Installing dumb-init (1.2.5-r2) 02:54:18 #8 1.260 (2/18) Installing hiredis (1.1.0-r2) 02:54:18 #8 1.266 (3/18) Installing hiredis-dev (1.1.0-r2) 02:54:18 #8 1.275 (4/18) Installing libcbor (0.10.2-r1) 02:54:18 #8 1.279 (5/18) Installing iotech-iot-1.5 (1.5.7-r0) 02:54:19 #8 1.946 (6/18) Installing iotech-iot-1.5-dev (1.5.7-r0) 02:54:19 #8 2.054 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.131-r1) 02:54:19 #8 2.253 (8/18) Installing libcbor-dev (0.10.2-r1) 02:54:19 #8 2.258 (9/18) Installing libmenuw (6.4_p20230506-r0) 02:54:19 #8 2.262 (10/18) Installing libpanelw (6.4_p20230506-r0) 02:54:19 #8 2.265 (11/18) Installing libncurses++ (6.4_p20230506-r0) 02:54:19 #8 2.270 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 02:54:19 #8 2.278 (13/18) Installing libblkid (2.38.1-r8) 02:54:19 #8 2.285 (14/18) Installing libuuid (2.38.1-r8) 02:54:19 #8 2.289 (15/18) Installing libfdisk (2.38.1-r8) 02:54:19 #8 2.296 (16/18) Installing libmount (2.38.1-r8) 02:54:19 #8 2.303 (17/18) Installing libsmartcols (2.38.1-r8) 02:54:19 #8 2.309 (18/18) Installing util-linux-dev (2.38.1-r8) 02:54:19 #8 2.332 Executing busybox-1.36.1-r4.trigger 02:54:19 #8 2.342 OK: 336 MiB in 100 packages 02:54:19 #8 DONE 2.5s 02:54:19 02:54:19 #9 [ 5/12] RUN apk --no-cache upgrade 02:54:20 #9 0.237 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:20 #9 0.313 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:20 #9 0.424 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:20 #9 1.039 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:20 #9 1.055 Upgrading critical system libraries and apk-tools: 02:54:20 #9 1.055 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:54:20 #9 1.065 Executing busybox-1.36.1-r4.trigger 02:54:20 #9 1.148 Continuing the upgrade transaction with new apk-tools: 02:54:21 #9 1.154 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:54:21 #9 1.233 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:54:21 #9 1.336 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:54:21 #9 1.888 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:54:21 #9 1.896 (1/27) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 02:54:21 #9 1.906 (2/27) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 02:54:21 #9 1.919 Executing busybox-1.36.1-r7.post-upgrade 02:54:21 #9 1.935 (3/27) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 02:54:21 #9 1.939 (4/27) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 02:54:21 #9 1.949 (5/27) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 02:54:21 #9 1.980 (6/27) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 02:54:21 #9 1.989 (7/27) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 02:54:21 #9 1.993 (8/27) Upgrading binutils (2.40-r7 -> 2.40-r8) 02:54:21 #9 2.046 (9/27) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 02:54:21 #9 2.106 (10/27) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 02:54:22 #9 2.111 (11/27) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 02:54:22 #9 2.121 (12/27) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 02:54:22 #9 2.132 (13/27) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 02:54:22 #9 2.148 (14/27) Installing libpsl (0.21.5-r0) 02:54:22 #9 2.151 (15/27) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 02:54:22 #9 2.164 (16/27) Installing libpsl-utils (0.21.5-r0) 02:54:22 #9 2.168 (17/27) Installing libpsl-dev (0.21.5-r0) 02:54:22 #9 2.172 (18/27) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 02:54:22 #9 2.194 (19/27) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 02:54:22 #9 2.201 (20/27) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 02:54:22 #9 2.257 (21/27) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 02:54:22 #9 2.261 (22/27) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 02:54:22 #9 2.266 (23/27) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:54:22 #9 2.285 (24/27) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:54:22 #9 2.289 (25/27) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 02:54:22 #9 2.295 (26/27) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 02:54:22 #9 2.299 (27/27) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:54:22 #9 2.307 Executing busybox-1.36.1-r7.trigger 02:54:22 #9 2.312 Executing ca-certificates-20241121-r1.trigger 02:54:22 #9 2.358 OK: 337 MiB in 103 packages 02:54:22 #9 DONE 2.6s 02:54:22 Still waiting to schedule task 02:54:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-772847’ 02:54:22 02:54:22 #10 [ 6/12] COPY scripts /device-coap/scripts 02:54:22 #10 DONE 0.0s 02:54:22 02:54:22 #11 [ 7/12] COPY src /device-coap/src/ 02:54:22 #11 DONE 0.0s 02:54:22 02:54:22 #12 [ 8/12] COPY VERSION /device-coap 02:54:22 #12 DONE 0.0s 02:54:22 02:54:22 #13 [ 9/12] RUN mkdir -p /device-coap/build 02:54:22 #13 DONE 0.3s 02:54:23 02:54:23 #14 [10/12] WORKDIR /device-coap 02:54:23 #14 DONE 0.0s 02:54:23 02:54:23 #15 [11/12] RUN /device-coap/scripts/build_deps.sh 1 02:54:23 #15 0.274 + BUILD_CSDK=1 02:54:23 #15 0.274 + TINYDTLS_VERSION=b0e230d 02:54:23 #15 0.274 + LIBCOAP_VERSION=1739507 02:54:23 #15 0.274 + CSDK_VERSION=4.0.0 02:54:23 #15 0.274 + '[' -d deps ] 02:54:23 #15 0.274 + mkdir deps 02:54:23 #15 0.276 + cd /device-coap/deps 02:54:23 #15 0.276 + git clone https://github.com/eclipse/tinydtls.git 02:54:23 #15 0.277 Cloning into 'tinydtls'... 02:54:23 #15 0.787 + cd tinydtls 02:54:23 #15 0.788 + git checkout develop 02:54:23 #15 0.803 branch 'develop' set up to track 'origin/develop'. 02:54:23 #15 0.803 Switched to a new branch 'develop' 02:54:23 #15 0.804 + git reset --hard b0e230d 02:54:23 #15 0.827 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:54:23 #15 0.827 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:54:23 #15 0.829 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:54:23 #15 0.830 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:54:23 #15 0.831 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:54:23 #15 0.832 + mkdir -p build 02:54:23 #15 0.833 + cd build 02:54:23 #15 0.833 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:54:23 #15 0.906 -- The C compiler identification is GNU 12.2.1 02:54:23 #15 0.923 -- Detecting C compiler ABI info 02:54:23 #15 1.006 -- Detecting C compiler ABI info - done 02:54:23 #15 1.020 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:24 #15 1.021 -- Detecting C compile features 02:54:24 #15 1.021 -- Detecting C compile features - done 02:54:24 #15 1.024 -- Looking for assert.h 02:54:24 #15 1.111 -- Looking for assert.h - found 02:54:24 #15 1.111 -- Looking for arpa/inet.h 02:54:24 #15 1.192 -- Looking for arpa/inet.h - found 02:54:24 #15 1.193 -- Looking for fcntl.h 02:54:24 #15 1.279 -- Looking for fcntl.h - found 02:54:24 #15 1.280 -- Looking for inttypes.h 02:54:24 #15 1.365 -- Looking for inttypes.h - found 02:54:24 #15 1.366 -- Looking for memory.h 02:54:24 #15 1.474 -- Looking for memory.h - found 02:54:24 #15 1.474 -- Looking for netdb.h 02:54:24 #15 1.566 -- Looking for netdb.h - found 02:54:24 #15 1.566 -- Looking for netinet/in.h 02:54:24 #15 1.660 -- Looking for netinet/in.h - found 02:54:24 #15 1.660 -- Looking for stddef.h 02:54:24 #15 1.757 -- Looking for stddef.h - found 02:54:24 #15 1.758 -- Looking for stdint.h 02:54:24 #15 1.845 -- Looking for stdint.h - found 02:54:24 #15 1.846 -- Looking for stdlib.h 02:54:24 #15 1.928 -- Looking for stdlib.h - found 02:54:24 #15 1.929 -- Looking for string.h 02:54:24 #15 2.034 -- Looking for string.h - found 02:54:24 #15 2.034 -- Looking for strings.h 02:54:24 #15 2.124 -- Looking for strings.h - found 02:54:24 #15 2.125 -- Looking for time.h 02:54:24 #15 2.205 -- Looking for time.h - found 02:54:25 #15 2.206 -- Looking for sys/param.h 02:54:25 #15 2.301 -- Looking for sys/param.h - found 02:54:25 #15 2.301 -- Looking for sys/socket.h 02:54:25 #15 2.394 -- Looking for sys/socket.h - found 02:54:25 #15 2.394 -- Looking for sys/stat.h 02:54:25 #15 2.482 -- Looking for sys/stat.h - found 02:54:25 #15 2.482 -- Looking for sys/types.h 02:54:25 #15 2.578 -- Looking for sys/types.h - found 02:54:25 #15 2.578 -- Looking for sys/time.h 02:54:25 #15 2.671 -- Looking for sys/time.h - found 02:54:25 #15 2.672 -- Looking for unistd.h 02:54:25 #15 2.756 -- Looking for unistd.h - found 02:54:25 #15 2.756 -- Looking for float.h 02:54:25 #15 2.846 -- Looking for float.h - found 02:54:25 #15 2.846 -- Looking for dlfcn.h 02:54:25 #15 2.930 -- Looking for dlfcn.h - found 02:54:26 #15 2.931 -- Looking for memset 02:54:26 #15 3.017 -- Looking for memset - found 02:54:26 #15 3.017 -- Looking for select 02:54:26 #15 3.105 -- Looking for select - found 02:54:26 #15 3.106 -- Looking for socket 02:54:26 #15 3.196 -- Looking for socket - found 02:54:26 #15 3.196 -- Looking for strdup 02:54:26 #15 3.291 -- Looking for strdup - found 02:54:26 #15 3.291 -- Looking for strerror 02:54:26 #15 3.378 -- Looking for strerror - found 02:54:26 #15 3.378 -- Looking for strnlen 02:54:26 #15 3.464 -- Looking for strnlen - found 02:54:26 #15 3.464 -- Looking for fls 02:54:26 #15 3.554 -- Looking for fls - not found 02:54:26 #15 3.554 -- Looking for vprintf 02:54:26 #15 3.646 -- Looking for vprintf - found 02:54:26 #15 3.646 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:54:26 #15 3.701 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:54:26 #15 3.708 -- Configuring done (2.9s) 02:54:26 #15 3.714 -- Generating done (0.0s) 02:54:26 #15 3.715 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:54:26 #15 3.718 + make 02:54:26 #15 3.763 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:54:26 #15 3.922 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:54:26 #15 3.959 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:54:27 #15 4.231 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:54:27 #15 4.343 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:54:27 #15 4.343 In function 'ecc_ecdh', 02:54:27 #15 4.343 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:27 #15 4.343 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:54:27 #15 4.343 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:27 #15 4.343 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:27 #15 4.343 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:27 #15 4.343 /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:27 #15 4.343 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:27 #15 4.343 | ^~~~~~~~~~~ 02:54:27 #15 4.344 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:54:27 #15 4.344 431 | uint32_t pub_x[8]; 02:54:27 #15 4.344 | ^~~~~ 02:54:27 #15 4.344 In function 'ecc_ecdh', 02:54:27 #15 4.344 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:27 #15 4.344 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:54:27 #15 4.344 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:27 #15 4.344 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:27 #15 4.344 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:27 #15 4.344 /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:27 #15 4.344 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:27 #15 4.344 | ^~~~~~~~~~~ 02:54:27 #15 4.344 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:54:27 #15 4.344 432 | uint32_t pub_y[8]; 02:54:27 #15 4.344 | ^~~~~ 02:54:27 #15 4.344 In function 'ecc_ecdh', 02:54:27 #15 4.344 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:54:27 #15 4.344 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:54:27 #15 4.344 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:54:27 #15 4.344 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:27 #15 4.344 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:54:27 #15 4.344 /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:27 #15 4.344 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:27 #15 4.344 | ^~~~~~~~~~~ 02:54:27 #15 4.344 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:54:27 #15 4.344 430 | uint32_t priv[8]; 02:54:27 #15 4.344 | ^~~~ 02:54:27 #15 4.429 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:54:28 #15 5.432 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:54:28 #15 5.489 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:54:28 #15 5.537 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:54:28 #15 5.574 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:54:28 #15 5.590 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:54:28 #15 5.590 /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:28 #15 5.590 316 | for (idx = 0; idx < count; idx++) { 02:54:28 #15 5.590 | ^ 02:54:28 #15 5.591 /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:28 #15 5.591 319 | return result == count; 02:54:28 #15 5.591 | ^~ 02:54:29 #15 6.279 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:54:29 #15 6.347 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:54:29 #15 6.425 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:54:29 #15 6.479 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:54:29 #15 6.536 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:54:29 #15 6.553 /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:29 #15 6.553 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:54:29 #15 6.553 | ~~~~~~~~~~^~~~~~~~ 02:54:29 #15 6.554 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:54:29 #15 6.554 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:54:29 #15 6.554 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:54:29 #15 6.554 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:29 #15 6.554 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:54:29 #15 6.554 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:54:29 #15 6.554 | ~~~~~^~~~~~~~ 02:54:29 #15 6.555 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:54:29 #15 6.555 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:54:29 #15 6.555 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:29 #15 6.705 [100%] Linking C shared library libtinydtls.so 02:54:29 #15 6.744 [100%] Built target tinydtls 02:54:29 #15 6.753 + make install 02:54:29 #15 6.802 [100%] Built target tinydtls 02:54:29 #15 6.821 Install the project... 02:54:29 #15 6.831 -- Install configuration: "Release" 02:54:29 #15 6.831 -- Installing: /usr/local/lib/libtinydtls.so 02:54:29 #15 6.832 -- Installing: /usr/local/include/tinydtls 02:54:29 #15 6.832 -- Installing: /usr/local/include/tinydtls/uthash.h 02:54:29 #15 6.832 -- Installing: /usr/local/include/tinydtls/sha2 02:54:29 #15 6.833 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:54:29 #15 6.833 -- Installing: /usr/local/include/tinydtls/ecc 02:54:29 #15 6.833 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:54:29 #15 6.834 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:54:29 #15 6.834 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:54:29 #15 6.834 -- Installing: /usr/local/include/tinydtls/alert.h 02:54:29 #15 6.834 -- Installing: /usr/local/include/tinydtls/aes 02:54:29 #15 6.835 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:54:29 #15 6.835 -- Installing: /usr/local/include/tinydtls/crypto.h 02:54:29 #15 6.835 -- Installing: /usr/local/include/tinydtls/numeric.h 02:54:29 #15 6.836 -- Installing: /usr/local/include/tinydtls/peer.h 02:54:29 #15 6.836 -- Installing: /usr/local/include/tinydtls/utlist.h 02:54:29 #15 6.837 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:54:29 #15 6.837 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:54:29 #15 6.837 -- Installing: /usr/local/include/tinydtls/netq.h 02:54:29 #15 6.837 -- Installing: /usr/local/include/tinydtls/dtls.h 02:54:29 #15 6.838 -- Installing: /usr/local/include/tinydtls/global.h 02:54:29 #15 6.838 -- Installing: /usr/local/include/tinydtls/state.h 02:54:29 #15 6.838 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:54:29 #15 6.838 -- Installing: /usr/local/include/tinydtls/session.h 02:54:29 #15 6.838 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:54:29 #15 6.839 -- Installing: /usr/local/include/tinydtls/hmac.h 02:54:29 #15 6.839 -- Installing: /usr/local/include/tinydtls/ccm.h 02:54:29 #15 6.839 -- Up-to-date: /usr/local/include/tinydtls 02:54:29 #15 6.839 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:54:29 #15 6.841 + cd /device-coap/deps 02:54:29 #15 6.841 + git clone https://github.com/obgm/libcoap.git 02:54:29 #15 6.842 Cloning into 'libcoap'... 02:54:31 #15 8.652 + cd libcoap 02:54:31 #15 8.652 + git reset --hard 1739507 02:54:31 #15 8.696 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:54:31 #15 8.697 + patch -p1 02:54:31 #15 8.698 patching file cmake/FindTinyDTLS.cmake 02:54:31 #15 8.698 + patch -p1 02:54:31 #15 8.699 patching file include/coap2/coap_config.h.in 02:54:31 #15 8.700 + mkdir -p build 02:54:31 #15 8.701 + cd build 02:54:31 #15 8.701 + 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:31 #15 8.779 -- The CXX compiler identification is GNU 12.2.1 02:54:31 #15 8.838 -- The C compiler identification is GNU 12.2.1 02:54:31 #15 8.853 -- Detecting CXX compiler ABI info 02:54:31 #15 8.953 -- Detecting CXX compiler ABI info - done 02:54:31 #15 8.973 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:54:31 #15 8.974 -- Detecting CXX compile features 02:54:31 #15 8.974 -- Detecting CXX compile features - done 02:54:31 #15 8.979 -- Detecting C compiler ABI info 02:54:31 #15 9.075 -- Detecting C compiler ABI info - done 02:54:32 #15 9.093 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:32 #15 9.093 -- Detecting C compile features 02:54:32 #15 9.094 -- Detecting C compile features - done 02:54:32 #15 9.098 -- Looking for byteswap.h 02:54:32 #15 9.190 -- Looking for byteswap.h - found 02:54:32 #15 9.190 -- Looking for inttypes.h 02:54:32 #15 9.284 -- Looking for inttypes.h - found 02:54:32 #15 9.285 -- Looking for limits.h 02:54:32 #15 9.372 -- Looking for limits.h - found 02:54:32 #15 9.372 -- Looking for memory.h 02:54:32 #15 9.463 -- Looking for memory.h - found 02:54:32 #15 9.463 -- Looking for strings.h 02:54:32 #15 9.543 -- Looking for strings.h - found 02:54:32 #15 9.544 -- Looking for string.h 02:54:32 #15 9.625 -- Looking for string.h - found 02:54:32 #15 9.626 -- Looking for sys/sysctl.h 02:54:32 #15 9.675 -- Looking for sys/sysctl.h - not found 02:54:32 #15 9.676 -- Looking for netinet/in.h 02:54:32 #15 9.773 -- Looking for netinet/in.h - found 02:54:32 #15 9.774 -- Looking for sys/epoll.h 02:54:32 #15 9.878 -- Looking for sys/epoll.h - found 02:54:32 #15 9.879 -- Looking for sys/timerfd.h 02:54:32 #15 9.967 -- Looking for sys/timerfd.h - found 02:54:32 #15 9.967 -- Looking for arpa/inet.h 02:54:32 #15 10.06 -- Looking for arpa/inet.h - found 02:54:33 #15 10.06 -- Looking for stdbool.h 02:54:33 #15 10.15 -- Looking for stdbool.h - found 02:54:33 #15 10.15 -- Looking for netdb.h 02:54:33 #15 10.24 -- Looking for netdb.h - found 02:54:33 #15 10.24 -- Looking for pthread.h 02:54:33 #15 10.34 -- Looking for pthread.h - found 02:54:33 #15 10.34 -- Looking for stdlib.h 02:54:33 #15 10.43 -- Looking for stdlib.h - found 02:54:33 #15 10.43 -- Looking for stdint.h 02:54:33 #15 10.52 -- Looking for stdint.h - found 02:54:33 #15 10.52 -- Looking for syslog.h 02:54:33 #15 10.61 -- Looking for syslog.h - found 02:54:33 #15 10.61 -- Looking for sys/ioctl.h 02:54:33 #15 10.70 -- Looking for sys/ioctl.h - found 02:54:33 #15 10.70 -- Looking for sys/socket.h 02:54:33 #15 10.80 -- Looking for sys/socket.h - found 02:54:33 #15 10.80 -- Looking for sys/stat.h 02:54:33 #15 10.89 -- Looking for sys/stat.h - found 02:54:33 #15 10.89 -- Looking for sys/time.h 02:54:33 #15 10.99 -- Looking for sys/time.h - found 02:54:33 #15 10.99 -- Looking for sys/types.h 02:54:33 #15 11.08 -- Looking for sys/types.h - found 02:54:33 #15 11.08 -- Looking for sys/unistd.h 02:54:33 #15 11.13 -- Looking for sys/unistd.h - not found 02:54:34 #15 11.13 -- Looking for time.h 02:54:34 #15 11.23 -- Looking for time.h - found 02:54:34 #15 11.23 -- Looking for unistd.h 02:54:34 #15 11.32 -- Looking for unistd.h - found 02:54:34 #15 11.32 -- Looking for float.h 02:54:34 #15 11.41 -- Looking for float.h - found 02:54:34 #15 11.41 -- Looking for stddef.h 02:54:34 #15 11.51 -- Looking for stddef.h - found 02:54:34 #15 11.51 -- Looking for winsock2.h 02:54:34 #15 11.56 -- Looking for winsock2.h - not found 02:54:34 #15 11.56 -- Looking for ws2tcpip.h 02:54:34 #15 11.62 -- Looking for ws2tcpip.h - not found 02:54:34 #15 11.62 -- Looking for malloc 02:54:34 #15 11.70 -- Looking for malloc - found 02:54:34 #15 11.70 -- Looking for memset 02:54:34 #15 11.80 -- Looking for memset - found 02:54:34 #15 11.80 -- Looking for select 02:54:34 #15 11.89 -- Looking for select - found 02:54:34 #15 11.89 -- Looking for socket 02:54:34 #15 11.99 -- Looking for socket - found 02:54:34 #15 11.99 -- Looking for strcasecmp 02:54:34 #15 12.08 -- Looking for strcasecmp - found 02:54:34 #15 12.08 -- Looking for pthread_mutex_lock 02:54:34 #15 12.16 -- Looking for pthread_mutex_lock - found 02:54:35 #15 12.16 -- Looking for getaddrinfo 02:54:35 #15 12.26 -- Looking for getaddrinfo - found 02:54:35 #15 12.26 -- Looking for strnlen 02:54:35 #15 12.35 -- Looking for strnlen - found 02:54:35 #15 12.35 -- Looking for strrchr 02:54:35 #15 12.44 -- Looking for strrchr - found 02:54:35 #15 12.44 -- Looking for getrandom 02:54:35 #15 12.53 -- Looking for getrandom - found 02:54:35 #15 12.53 -- Looking for cmsghdr 02:54:35 #15 12.59 -- Looking for cmsghdr - not found 02:54:35 #15 12.59 -- compiling without epoll support 02:54:35 #15 12.59 -- compiling with DTLS support 02:54:35 #15 12.59 -- DTLS_BACKEND: tinydtls 02:54:35 #15 12.60 -- Found TinyDTLS: /usr/local/include 02:54:35 #15 12.60 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:54:35 #15 12.60 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:54:35 #15 12.60 -- TINYDTLS_ROOT_DIR: 02:54:35 #15 12.60 -- compiling with tinydtls support 02:54:35 #15 12.60 -- ENABLE_DTLS:.....................ON 02:54:35 #15 12.60 -- ENABLE_TCP:......................ON 02:54:35 #15 12.60 -- ENABLE_DOCS:.....................OFF 02:54:35 #15 12.60 -- ENABLE_EXAMPLES:.................OFF 02:54:35 #15 12.60 -- DTLS_BACKEND:....................tinydtls 02:54:35 #15 12.60 -- WITH_GNUTLS:.....................OFF 02:54:35 #15 12.60 -- WITH_TINYDTLS:...................ON 02:54:35 #15 12.60 -- WITH_OPENSSL:....................OFF 02:54:35 #15 12.60 -- WITH_MBEDTLS:....................OFF 02:54:35 #15 12.60 -- HAVE_LIBTINYDTLS:................1 02:54:35 #15 12.60 -- HAVE_LIBGNUTLS:.................. 02:54:35 #15 12.60 -- HAVE_OPENSSL:.................... 02:54:35 #15 12.60 -- HAVE_MBEDTLS:.................... 02:54:35 #15 12.60 -- COAP_EPOLL_SUPPORT:.............. 02:54:35 #15 12.60 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:54:35 #15 12.60 -- BUILD_SHARED_LIBS:...............ON 02:54:35 #15 12.60 -- CMAKE_BUILD_TYPE:................Release 02:54:35 #15 12.60 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 02:54:35 #15 12.60 -- Configuring done (3.9s) 02:54:35 #15 12.61 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:54:35 #15 12.61 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:54:35 #15 12.61 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:54:35 #15 12.61 command to set the policy and suppress this warning. 02:54:35 #15 12.61 02:54:35 #15 12.61 File: 02:54:35 #15 12.61 02:54:35 #15 12.61 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:54:35 #15 12.61 This warning is for project developers. Use -Wno-dev to suppress it. 02:54:35 #15 12.61 02:54:35 #15 12.61 -- Generating done (0.0s) 02:54:35 #15 12.61 -- Build files have been written to: /device-coap/deps/libcoap/build 02:54:35 #15 12.62 + make 02:54:35 #15 12.66 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:54:35 #15 12.73 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:54:35 #15 12.82 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:54:35 #15 12.93 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:54:36 #15 13.18 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:54:36 #15 13.23 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:54:36 #15 13.28 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:54:36 #15 13.55 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:54:36 #15 13.59 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:54:36 #15 13.65 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:54:37 #15 14.17 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:54:37 #15 14.29 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:54:37 #15 14.35 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:54:37 #15 14.43 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:54:37 #15 14.49 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:54:37 #15 15.08 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:54:38 #15 15.28 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:54:38 #15 15.46 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:54:38 #15 15.89 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:54:38 #15 15.96 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:54:38 #15 16.01 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:54:39 #15 16.21 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:54:39 #15 16.40 [100%] Linking C shared library libcoap-2.so 02:54:39 #15 16.44 [100%] Built target coap-2 02:54:39 #15 16.45 + make install 02:54:39 #15 16.51 [100%] Built target coap-2 02:54:39 #15 16.53 Install the project... 02:54:39 #15 16.53 -- Install configuration: "Release" 02:54:39 #15 16.53 -- Installing: /usr/local/lib/libcoap-2.so 02:54:39 #15 16.53 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:54:39 #15 16.53 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:54:39 #15 16.53 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:54:39 #15 16.54 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:54:39 #15 16.54 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:54:39 #15 16.54 -- Up-to-date: /usr/local/include 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/uthash.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/subscribe.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/option.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/resource.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/bits.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/block.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_io.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/pdu.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/str.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/async.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/net.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/address.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/uri.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_event.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_riot.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_prng.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/lwippools.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_debug.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/utlist.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_time.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/encode.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/libcoap.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/mem.h 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap_session.h 02:54:39 #15 16.54 -- Up-to-date: /usr/local/include 02:54:39 #15 16.54 -- Up-to-date: /usr/local/include/coap2 02:54:39 #15 16.54 -- Installing: /usr/local/include/coap2/coap.h 02:54:39 #15 16.54 + '[' 1 '=' 1 ] 02:54:39 #15 16.54 + cd /device-coap/deps 02:54:39 #15 16.54 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:54:39 #15 16.54 Connecting to github.com (140.82.112.3:443) 02:54:39 #15 16.65 Connecting to codeload.github.com (140.82.113.9:443) 02:54:39 #15 16.80 saving to 'v4.0.0.zip' 02:54:39 #15 16.86 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:54:39 #15 16.86 'v4.0.0.zip' saved 02:54:39 #15 16.86 + unzip v4.0.0.zip 02:54:39 #15 16.86 Archive: v4.0.0.zip 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/ 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/.github/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/.github/workflows/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/.gitignore 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/Attribution.txt 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/Doxyfile 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/LICENSE 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/Makefile 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/OWNERS.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/README.IOT.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/README.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/README.v3.md 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/docs/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/docs/startup.md 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/include/ 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/include/devsdk/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/include/edgex/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/scripts/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/src/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:54:39 #15 16.87 creating: device-sdk-c-4.0.0/src/c/ 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/api.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/config.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/config.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/data.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/data.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/device.c 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/device.h 02:54:39 #15 16.87 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:54:39 #15 16.88 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/map.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/map.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:54:39 #15 16.88 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/service.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/service.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:54:39 #15 16.89 creating: device-sdk-c-4.0.0/src/cmake/ 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:54:39 #15 16.89 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:54:39 #15 16.89 + cd device-sdk-c-4.0.0 02:54:39 #15 16.89 + ./scripts/build.sh 02:54:39 #15 16.89 + CPPCHECK=false 02:54:39 #15 16.89 + DOCGEN=false 02:54:39 #15 16.89 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:54:39 #15 16.89 + '[' 0 -gt 0 ] 02:54:39 #15 16.89 + readlink -f ./scripts/build.sh 02:54:39 #15 16.89 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:54:39 #15 16.89 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:54:39 #15 16.89 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:54:39 #15 16.89 + cd /device-coap/deps/device-sdk-c-4.0.0 02:54:39 #15 16.89 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:54:39 #15 16.89 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:54:39 #15 16.89 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:54:39 #15 16.97 -- The C compiler identification is GNU 12.2.1 02:54:39 #15 16.99 -- Detecting C compiler ABI info 02:54:39 #15 17.07 -- Detecting C compiler ABI info - done 02:54:40 #15 17.10 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:40 #15 17.10 -- Detecting C compile features 02:54:40 #15 17.10 -- Detecting C compile features - done 02:54:40 #15 17.10 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:54:40 #15 17.18 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:54:40 #15 17.18 -- Found LIBYAML: /usr/lib/libyaml.so 02:54:40 #15 17.18 -- Found LIBUUID: /usr/lib/libuuid.so 02:54:40 #15 17.19 -- Found LIBCBOR: /usr/lib/libcbor.so 02:54:40 #15 17.19 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:54:40 #15 17.19 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:54:40 #15 17.19 -- /opt/iotech/iot/1.5/include 02:54:40 #15 17.19 -- C SDK 0.0.0 for Linux 02:54:40 #15 17.19 -- Performing Test CSDK_HAVE_ATOMIC 02:54:40 #15 17.28 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:54:40 #15 17.34 -- Found Curses: /usr/lib/libcurses.so 02:54:40 #15 17.36 -- Configuring done (0.5s) 02:54:40 #15 17.39 -- Generating done (0.0s) 02:54:40 #15 17.39 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:54:40 #15 17.40 + make all package 02:54:40 #15 17.40 + tee release.log 02:54:40 #15 17.45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:54:40 #15 17.56 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:54:40 #15 17.71 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:54:40 #15 17.85 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:54:40 #15 17.95 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:54:41 #15 18.25 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:54:41 #15 18.30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:54:41 #15 18.44 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:54:41 #15 18.73 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:54:41 #15 18.82 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:54:41 #15 18.96 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:54:41 #15 19.09 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:54:42 #15 19.18 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:54:42 #15 19.34 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:54:42 #15 19.40 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:54:42 #15 19.72 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:54:42 #15 19.78 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:54:42 #15 20.04 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:54:42 #15 20.15 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:54:43 #15 20.35 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:54:43 #15 20.44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:54:44 #15 21.48 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:54:44 #15 21.58 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:54:44 #15 21.66 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:54:44 #15 21.75 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:54:44 #15 21.81 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:54:44 #15 22.04 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:54:45 #15 22.36 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:54:45 #15 22.44 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:54:45 #15 22.58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:54:45 #15 22.67 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:54:45 #15 22.94 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:54:45 #15 22.94 /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:45 #15 22.94 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:54:45 #15 22.94 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:45 #15 22.94 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:54:45 #15 22.94 875 | const iot_data_t *deviceservices_config; 02:54:45 #15 22.94 | ^~~~~~~~~~~~~~~~~~~~~ 02:54:45 #15 23.08 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:54:45 #15 23.20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:54:46 #15 23.27 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:54:46 #15 23.36 [ 68%] Linking C shared library libcsdk.so 02:54:46 #15 23.42 [ 68%] Built target csdk 02:54:46 #15 23.44 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:54:46 #15 23.58 [ 72%] Linking C executable template 02:54:46 #15 23.60 /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:46 #15 23.65 [ 72%] Built target template 02:54:46 #15 23.67 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:54:46 #15 23.76 [ 76%] Linking C executable device-counter 02:54:46 #15 23.79 /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:46 #15 23.83 [ 76%] Built target device-counter 02:54:46 #15 23.85 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:54:46 #15 23.94 [ 80%] Linking C executable device-random 02:54:47 #15 23.96 /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:47 #15 24.00 [ 80%] Built target device-random 02:54:47 #15 24.02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:54:47 #15 24.10 [ 84%] Linking C executable device-gyro 02:54:47 #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:47 #15 24.17 [ 84%] Built target device-gyro 02:54:47 #15 24.19 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:54:47 #15 24.27 [ 88%] Linking C executable device-bitfields 02:54:47 #15 24.30 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:54:47 #15 24.34 [ 88%] Built target device-bitfields 02:54:47 #15 24.36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:54:47 #15 24.51 [ 92%] Linking C executable template-discovery 02:54:47 #15 24.53 /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:47 #15 24.58 [ 92%] Built target template-discovery 02:54:47 #15 24.60 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:54:47 #15 24.72 [ 96%] Linking C executable device-file 02:54:47 #15 24.74 /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:47 #15 24.78 [ 96%] Built target device-file 02:54:47 #15 24.80 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:54:47 #15 24.90 [100%] Linking C executable device-terminal 02:54:47 #15 24.94 /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:47 #15 24.98 [100%] Built target device-terminal 02:54:47 #15 25.00 Run CPack packaging tool... 02:54:47 #15 25.01 CPack: Create package using TGZ 02:54:48 #15 25.01 CPack: Install projects 02:54:48 #15 25.01 CPack: - Run preinstall target for: Csdk 02:54:48 #15 25.25 CPack: - Install project: Csdk [] 02:54:48 #15 25.25 CPack: Create package 02:54:48 #15 25.28 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:54:48 #15 25.28 + '[' false '=' true ] 02:54:48 #15 25.28 + '[' false '=' true ] 02:54:48 #15 25.28 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:54:48 #15 25.28 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:54:48 #15 25.28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:54:48 #15 25.36 -- The C compiler identification is GNU 12.2.1 02:54:48 #15 25.37 -- Detecting C compiler ABI info 02:54:48 #15 25.46 -- Detecting C compiler ABI info - done 02:54:48 #15 25.48 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:48 #15 25.48 -- Detecting C compile features 02:54:48 #15 25.48 -- Detecting C compile features - done 02:54:48 #15 25.49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:54:48 #15 25.57 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:54:48 #15 25.57 -- Found LIBYAML: /usr/lib/libyaml.so 02:54:48 #15 25.57 -- Found LIBUUID: /usr/lib/libuuid.so 02:54:48 #15 25.58 -- Found LIBCBOR: /usr/lib/libcbor.so 02:54:48 #15 25.58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:54:48 #15 25.58 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:54:48 #15 25.58 -- /opt/iotech/iot/1.5/include 02:54:48 #15 25.58 -- C SDK 0.0.0 for Linux 02:54:48 #15 25.59 -- Performing Test CSDK_HAVE_ATOMIC 02:54:48 #15 25.68 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:54:48 #15 25.73 -- Found Curses: /usr/lib/libcurses.so 02:54:48 #15 25.75 -- Configuring done (0.5s) 02:54:48 #15 25.79 -- Generating done (0.0s) 02:54:48 #15 25.79 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:54:48 #15 25.79 + make 02:54:48 #15 25.79 + tee debug.log 02:54:48 #15 25.83 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:54:48 #15 25.91 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:54:48 #15 25.99 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:54:48 #15 26.07 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:54:49 #15 26.14 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:54:49 #15 26.26 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:54:49 #15 26.30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:54:49 #15 26.37 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:54:49 #15 26.50 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:54:49 #15 26.57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:54:49 #15 26.65 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:54:49 #15 26.73 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:54:49 #15 26.80 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:54:49 #15 26.88 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:54:49 #15 26.92 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:54:49 #15 27.06 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:54:50 #15 27.11 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:54:50 #15 27.22 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:54:50 #15 27.27 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:54:50 #15 27.38 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:54:50 #15 27.44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:54:50 #15 27.65 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:54:50 #15 27.72 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:54:50 #15 27.79 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:54:50 #15 27.85 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:54:50 #15 27.90 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:54:50 #15 28.00 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:54:51 #15 28.22 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:54:51 #15 28.28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:54:51 #15 28.35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:54:51 #15 28.42 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:54:51 #15 28.58 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:54:51 #15 28.66 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:54:51 #15 28.72 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:54:51 #15 28.78 [ 68%] Linking C shared library libcsdk.so 02:54:51 #15 28.84 [ 68%] Built target csdk 02:54:51 #15 28.86 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:54:51 #15 28.93 [ 72%] Linking C executable template 02:54:51 #15 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:54:51 #15 28.99 [ 72%] Built target template 02:54:51 #15 29.01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:54:51 #15 29.07 [ 76%] Linking C executable device-counter 02:54:51 #15 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:54:51 #15 29.14 [ 76%] Built target device-counter 02:54:51 #15 29.16 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:54:51 #15 29.22 [ 80%] Linking C executable device-random 02:54:52 #15 29.25 /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:52 #15 29.29 [ 80%] Built target device-random 02:54:52 #15 29.31 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:54:52 #15 29.37 [ 84%] Linking C executable device-gyro 02:54:52 #15 29.40 /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:52 #15 29.44 [ 84%] Built target device-gyro 02:54:52 #15 29.46 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:54:52 #15 29.52 [ 88%] Linking C executable device-bitfields 02:54:52 #15 29.54 /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:52 #15 29.58 [ 88%] Built target device-bitfields 02:54:52 #15 29.60 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:54:52 #15 29.67 [ 92%] Linking C executable template-discovery 02:54:52 #15 29.70 /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:52 #15 29.74 [ 92%] Built target template-discovery 02:54:52 #15 29.76 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:54:52 #15 29.82 [ 96%] Linking C executable device-file 02:54:52 #15 29.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:54:52 #15 29.89 [ 96%] Built target device-file 02:54:52 #15 29.91 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:54:52 #15 29.97 [100%] Linking C executable device-terminal 02:54:53 #15 30.00 /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:53 #15 30.04 [100%] Built target device-terminal 02:54:53 #15 30.05 + cp -rf include/devsdk include/edgex /usr/include/ 02:54:53 #15 30.05 + cp build/release/c/libcsdk.so /usr/lib/ 02:54:53 #15 30.06 + rm -rf /device-coap/deps 02:54:53 #15 DONE 30.2s 02:54:53 02:54:53 #16 [12/12] RUN /device-coap/scripts/build.sh 02:54:53 #16 0.307 + readlink -f /device-coap/scripts/build.sh 02:54:53 #16 0.308 + dirname /device-coap/scripts/build.sh 02:54:53 #16 0.309 + dirname /device-coap/scripts 02:54:53 #16 0.309 + ROOT=/device-coap 02:54:53 #16 0.309 + echo /device-coap 02:54:53 #16 0.309 + cd /device-coap 02:54:53 #16 0.309 + mkdir -p /device-coap/build/release 02:54:53 #16 0.309 /device-coap 02:54:53 #16 0.311 + cd /device-coap/build/release 02:54:53 #16 0.311 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 02:54:53 #16 0.391 -- The C compiler identification is GNU 12.2.1 02:54:53 #16 0.411 -- Detecting C compiler ABI info 02:54:53 #16 0.503 -- Detecting C compiler ABI info - done 02:54:53 #16 0.523 -- Check for working C compiler: /usr/bin/cc - skipped 02:54:53 #16 0.523 -- Detecting C compile features 02:54:53 #16 0.524 -- Detecting C compile features - done 02:54:53 #16 0.528 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 02:54:53 #16 0.529 -- Configuring done (0.2s) 02:54:53 #16 0.533 -- Generating done (0.0s) 02:54:53 #16 0.534 -- Build files have been written to: /device-coap/build/release 02:54:53 #16 0.537 + make 02:54:53 #16 0.537 + tee release.log 02:54:53 #16 0.574 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 02:54:53 #16 0.614 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:53 #16 0.614 from /device-coap/src/c/device-coap.h:17, 02:54:53 #16 0.614 from /device-coap/src/c/coap-client.h:21, 02:54:53 #16 0.614 from /device-coap/src/c/coap-client.c:9: 02:54:53 #16 0.614 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 02:54:53 #16 0.614 /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:53 #16 0.614 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:54:53 #16 0.614 | ^~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.614 90 | strlen(end_dev_params_ptr->psk_key)); 02:54:53 #16 0.614 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.614 | | 02:54:53 #16 0.614 | size_t {aka long unsigned int} 02:54:53 #16 0.614 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 02:54:53 #16 0.614 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:54:53 #16 0.614 | ~^ 02:54:53 #16 0.614 | | 02:54:53 #16 0.614 | unsigned int 02:54:53 #16 0.614 | %lu 02:54:53 #16 0.615 /device-coap/src/c/coap-client.c: In function 'message_handler': 02:54:53 #16 0.615 /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:53 #16 0.615 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:54:53 #16 0.615 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:53 #16 0.615 | | 02:54:53 #16 0.615 | size_t {aka long unsigned int} 02:54:53 #16 0.615 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 02:54:53 #16 0.615 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:54:53 #16 0.615 | ~^ 02:54:53 #16 0.615 | | 02:54:53 #16 0.615 | unsigned int 02:54:53 #16 0.615 | %lu 02:54:53 #16 0.615 /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:53 #16 0.615 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:54:53 #16 0.615 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.615 130 | resource->properties->type); 02:54:53 #16 0.615 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.615 | | 02:54:53 #16 0.615 | iot_typecode_t 02:54:53 #16 0.615 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 02:54:53 #16 0.615 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:54:53 #16 0.615 | ~^ 02:54:53 #16 0.615 | | 02:54:53 #16 0.615 | int 02:54:53 #16 0.615 /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:53 #16 0.615 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:54:53 #16 0.615 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.615 140 | len); 02:54:53 #16 0.615 | ~~~ 02:54:53 #16 0.615 | | 02:54:53 #16 0.615 | size_t {aka long unsigned int} 02:54:53 #16 0.615 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 02:54:53 #16 0.615 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:54:53 #16 0.615 | ~^ 02:54:53 #16 0.615 | | 02:54:53 #16 0.615 | int 02:54:53 #16 0.615 | %ld 02:54:53 #16 0.618 /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:53 #16 0.618 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:54:53 #16 0.618 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.618 145 | len); 02:54:53 #16 0.618 | ~~~ 02:54:53 #16 0.618 | | 02:54:53 #16 0.618 | size_t {aka long unsigned int} 02:54:53 #16 0.618 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 02:54:53 #16 0.618 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:54:53 #16 0.618 | ~^ 02:54:53 #16 0.618 | | 02:54:53 #16 0.618 | int 02:54:53 #16 0.618 | %ld 02:54:53 #16 0.618 /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:53 #16 0.618 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:54:53 #16 0.618 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.618 152 | len); 02:54:53 #16 0.618 | ~~~ 02:54:53 #16 0.618 | | 02:54:53 #16 0.618 | size_t {aka long unsigned int} 02:54:53 #16 0.618 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 02:54:53 #16 0.618 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:54:53 #16 0.618 | ~^ 02:54:53 #16 0.618 | | 02:54:53 #16 0.618 | int 02:54:53 #16 0.618 | %ld 02:54:53 #16 0.619 /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:53 #16 0.619 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:54:53 #16 0.619 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.619 157 | resource->properties->type); 02:54:53 #16 0.619 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.619 | | 02:54:53 #16 0.619 | iot_typecode_t 02:54:53 #16 0.619 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 02:54:53 #16 0.619 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:54:53 #16 0.619 | ~^ 02:54:53 #16 0.619 | | 02:54:53 #16 0.619 | int 02:54:53 #16 0.620 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 02:54:53 #16 0.620 /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:53 #16 0.620 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:54:53 #16 0.620 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:53 #16 0.620 | | 02:54:53 #16 0.620 | size_t {aka long unsigned int} 02:54:53 #16 0.620 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 02:54:53 #16 0.620 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:54:53 #16 0.620 | ~^ 02:54:53 #16 0.620 | | 02:54:53 #16 0.620 | int 02:54:53 #16 0.620 | %ld 02:54:53 #16 0.621 /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:53 #16 0.621 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:53 #16 0.621 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.621 253 | (uint8_t *)end_dev_params_ptr->psk_key, 02:54:53 #16 0.621 254 | strlen(end_dev_params_ptr->psk_key)); 02:54:53 #16 0.621 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.621 | | 02:54:53 #16 0.621 | size_t {aka long unsigned int} 02:54:53 #16 0.621 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 02:54:53 #16 0.621 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:53 #16 0.621 | ~^ 02:54:53 #16 0.621 | | 02:54:53 #16 0.621 | int 02:54:53 #16 0.621 | %ld 02:54:53 #16 0.623 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 02:54:53 #16 0.623 /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:53 #16 0.623 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:53 #16 0.623 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.623 352 | (uint8_t *)end_dev_params_ptr->psk_key, 02:54:53 #16 0.623 353 | strlen(end_dev_params_ptr->psk_key)); 02:54:53 #16 0.623 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.623 | | 02:54:53 #16 0.623 | size_t {aka long unsigned int} 02:54:53 #16 0.623 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 02:54:53 #16 0.623 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:54:53 #16 0.623 | ~^ 02:54:53 #16 0.623 | | 02:54:53 #16 0.623 | int 02:54:53 #16 0.623 | %ld 02:54:53 #16 0.742 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 02:54:53 #16 0.783 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:53 #16 0.783 from /usr/include/edgex/devices.h:17, 02:54:53 #16 0.783 from /device-coap/src/c/coap-server.c:22: 02:54:53 #16 0.783 /device-coap/src/c/coap-server.c: In function 'data_handler': 02:54:53 #16 0.783 /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:53 #16 0.783 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:54:53 #16 0.783 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:53 #16 0.783 | | 02:54:53 #16 0.783 | size_t {aka long unsigned int} 02:54:53 #16 0.783 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 02:54:53 #16 0.783 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:54:53 #16 0.783 | ~^ 02:54:53 #16 0.783 | | 02:54:53 #16 0.783 | unsigned int 02:54:53 #16 0.783 | %lu 02:54:53 #16 0.783 /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:53 #16 0.783 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:54:53 #16 0.783 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:53 #16 0.783 | | 02:54:53 #16 0.783 | iot_typecode_t 02:54:53 #16 0.783 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 02:54:53 #16 0.783 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:54:53 #16 0.783 | ~^ 02:54:53 #16 0.783 | | 02:54:53 #16 0.783 | int 02:54:53 #16 0.848 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 02:54:54 #16 0.886 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:54 #16 0.886 from /device-coap/src/c/coap-util.h:18, 02:54:54 #16 0.886 from /device-coap/src/c/coap-util.c:9: 02:54:54 #16 0.886 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 02:54:54 #16 0.886 /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:54 #16 0.886 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:54 #16 0.886 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:54 #16 0.886 | | 02:54:54 #16 0.886 | size_t {aka long unsigned int} 02:54:54 #16 0.886 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 02:54:54 #16 0.886 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:54 #16 0.886 | ~^ 02:54:54 #16 0.886 | | 02:54:54 #16 0.886 | unsigned int 02:54:54 #16 0.886 | %lu 02:54:54 #16 0.886 /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:54 #16 0.886 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:54 #16 0.886 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:54 #16 0.886 | | 02:54:54 #16 0.886 | size_t {aka long unsigned int} 02:54:54 #16 0.886 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 02:54:54 #16 0.886 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:54:54 #16 0.886 | ~^ 02:54:54 #16 0.886 | | 02:54:54 #16 0.886 | unsigned int 02:54:54 #16 0.886 | %lu 02:54:54 #16 0.886 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 02:54:54 #16 0.886 /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:54 #16 0.886 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:54 #16 0.886 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:54 #16 0.886 | | 02:54:54 #16 0.886 | size_t {aka long unsigned int} 02:54:54 #16 0.886 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 02:54:54 #16 0.886 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:54 #16 0.886 | ~^ 02:54:54 #16 0.886 | | 02:54:54 #16 0.886 | unsigned int 02:54:54 #16 0.886 | %lu 02:54:54 #16 0.887 /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:54 #16 0.887 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:54 #16 0.887 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:54:54 #16 0.887 | | 02:54:54 #16 0.887 | size_t {aka long unsigned int} 02:54:54 #16 0.887 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 02:54:54 #16 0.887 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:54:54 #16 0.887 | ~^ 02:54:54 #16 0.887 | | 02:54:54 #16 0.887 | unsigned int 02:54:54 #16 0.887 | %lu 02:54:54 #16 0.996 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 02:54:54 #16 1.033 In file included from /usr/include/devsdk/devsdk.h:18, 02:54:54 #16 1.033 from /device-coap/src/c/device-coap.h:17, 02:54:54 #16 1.033 from /device-coap/src/c/device-coap.c:10: 02:54:54 #16 1.033 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 02:54:54 #16 1.033 /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:54 #16 1.033 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:54:54 #16 1.033 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:54 #16 1.033 131 | requests[i].resource->type); 02:54:54 #16 1.033 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:54:54 #16 1.033 | | 02:54:54 #16 1.033 | iot_typecode_t 02:54:54 #16 1.033 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 02:54:54 #16 1.033 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:54:54 #16 1.033 | ~^ 02:54:54 #16 1.033 | | 02:54:54 #16 1.033 | int 02:54:54 #16 1.146 [100%] Linking C executable device-coap 02:54:54 #16 1.172 /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:54 #16 1.218 [100%] Built target device-coap 02:54:54 #16 DONE 1.3s 02:54:54 02:54:54 #17 exporting to image 02:54:54 #17 exporting layers 02:54:54 #17 exporting layers 0.4s done 02:54:54 #17 writing image sha256:d94969fdd8c0fffab1a137f0a85a2cf52d2b6a5e9e6e832f91a8499be279a95d done 02:54:54 #17 naming to docker.io/library/ci-base-image-x86_64 done 02:54:54 #17 DONE 0.4s [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:55 + docker inspect -f . ci-base-image-x86_64 02:54:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:55 prd-ubuntu20.04-docker-8c-8g-772848 does not seem to be running inside a container 02:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:rw,z -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@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-x86_64 cat 02:54:56 $ docker top 0851fd8af9cd8e8b29bf85caf3ca1a8e0c5e237fc93488edaa828a77ce945004 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:56 + make test 02:54:56 build/release/device-coap [Pipeline] } 02:54:56 $ docker stop --time=1 0851fd8af9cd8e8b29bf85caf3ca1a8e0c5e237fc93488edaa828a77ce945004 02:54:57 $ docker rm -f --volumes 0851fd8af9cd8e8b29bf85caf3ca1a8e0c5e237fc93488edaa828a77ce945004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:58 + ls -al . 02:54:58 total 96 02:54:58 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:54 . 02:54:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:53 .. 02:54:58 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:54 .git 02:54:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:53 .github 02:54:58 -rw-rw-r-- 1 jenkins jenkins 14 Nov 10 02:53 .gitignore 02:54:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:54 .semver 02:54:58 -rw-rw-r-- 1 jenkins jenkins 2037 Nov 10 02:53 Attribution.txt 02:54:58 -rw-rw-r-- 1 jenkins jenkins 3893 Nov 10 02:53 CHANGELOG.md 02:54:58 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:53 GOVERNANCE.md 02:54:58 -rw-rw-r-- 1 jenkins jenkins 798 Nov 10 02:53 Jenkinsfile 02:54:58 -rw-rw-r-- 1 jenkins jenkins 10173 Nov 10 02:53 LICENSE 02:54:58 -rw-rw-r-- 1 jenkins jenkins 938 Nov 10 02:53 Makefile 02:54:58 -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 02:53 OWNERS.md 02:54:58 -rw-rw-r-- 1 jenkins jenkins 12454 Nov 10 02:53 README.md 02:54:58 -rw-rw-r-- 1 jenkins jenkins 506 Nov 10 02:53 ROADMAP.md 02:54:58 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 02:54 VERSION 02:54:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:53 res 02:54:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:53 scripts 02:54:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:59 + 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=c525e427ea752742b54d22c6461dec1292f4fddb --label arch=amd64 --label version=0.0.0 . 02:54:59 #0 building with "default" instance using docker driver 02:54:59 02:54:59 #1 [internal] load build definition from Dockerfile.alpine 02:54:59 #1 transferring dockerfile: 2.13kB done 02:54:59 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10) 02:54:59 #1 DONE 0.0s 02:54:59 02:54:59 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 02:54:59 #2 DONE 0.0s 02:54:59 02:54:59 #3 [internal] load .dockerignore 02:54:59 #3 transferring context: 2B done 02:54:59 #3 DONE 0.0s 02:54:59 02:54:59 #4 [internal] load build context 02:54:59 #4 transferring context: 16.46kB done 02:54:59 #4 DONE 0.0s 02:54:59 02:54:59 #5 [builder 1/11] FROM docker.io/library/ci-base-image-x86_64:latest 02:54:59 #5 DONE 0.1s 02:54:59 02:54:59 #6 [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:55:00 #6 0.292 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:55:00 #6 0.706 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:55:00 #6 0.706 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:55:00 #6 0.706 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:55:00 #6 DONE 0.8s 02:55:00 02:55:00 #7 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 02:55:00 #7 0.256 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:00 #7 0.432 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:00 #7 0.642 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:55:00 #7 ... 02:55:00 02:55:00 #8 [builder 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:55:00 #8 DONE 0.3s 02:55:00 02:55:00 #7 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 02:55:00 #7 1.201 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:55:00 #7 1.217 OK: 337 MiB in 103 packages 02:55:00 #7 DONE 1.3s 02:55:00 02:55:00 #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:55:00 #9 0.359 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:00 #9 0.446 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:01 #9 0.569 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:55:01 #9 1.133 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:55:01 #9 1.144 OK: 337 MiB in 103 packages 02:55:01 #9 DONE 1.2s 02:55:01 02:55:01 #10 [stage-1 3/15] RUN apk --no-cache upgrade 02:55:01 #10 0.356 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:01 #10 0.441 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:01 #10 0.569 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:55:01 #10 ... 02:55:01 02:55:01 #11 [builder 5/11] COPY scripts /device-coap/scripts 02:55:01 #11 DONE 0.0s 02:55:01 02:55:01 #12 [builder 6/11] COPY src /device-coap/src/ 02:55:01 #12 DONE 0.0s 02:55:01 02:55:01 #13 [builder 7/11] COPY VERSION /device-coap 02:55:01 #13 DONE 0.0s 02:55:02 02:55:02 #10 [stage-1 3/15] RUN apk --no-cache upgrade 02:55:02 #10 1.138 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:55:02 #10 1.154 OK: 337 MiB in 103 packages 02:55:02 #10 DONE 1.3s 02:55:02 02:55:02 #14 [builder 8/11] RUN mkdir -p /device-coap/build 02:55:02 #14 DONE 0.3s 02:55:02 02:55:02 #15 [builder 9/11] WORKDIR /device-coap 02:55:02 #15 DONE 0.0s 02:55:02 02:55:02 #16 [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:55:02 #16 0.410 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:55:02 #16 0.798 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:55:02 #16 0.798 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:55:02 #16 0.798 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:55:03 #16 DONE 0.9s 02:55:03 02:55:03 #17 [stage-1 5/15] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:55:03 #17 DONE 0.4s 02:55:03 02:55:03 #18 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 02:55:03 #18 0.300 + BUILD_CSDK=1 02:55:03 #18 0.300 + TINYDTLS_VERSION=b0e230d 02:55:03 #18 0.300 + LIBCOAP_VERSION=1739507 02:55:03 #18 0.300 + CSDK_VERSION=4.0.0 02:55:03 #18 0.300 + '[' -d deps ] 02:55:03 #18 0.300 + mkdir deps 02:55:03 #18 0.301 + cd /device-coap/deps 02:55:03 #18 0.301 + git clone https://github.com/eclipse/tinydtls.git 02:55:03 #18 0.303 Cloning into 'tinydtls'... 02:55:03 #18 0.857 + cd tinydtls 02:55:03 #18 0.857 + git checkout develop 02:55:03 #18 0.871 branch 'develop' set up to track 'origin/develop'. 02:55:03 #18 0.871 Switched to a new branch 'develop' 02:55:03 #18 0.871 + git reset --hard b0e230d 02:55:03 #18 0.895 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:55:03 #18 0.896 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:55:03 #18 0.897 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:55:03 #18 0.897 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:55:03 #18 0.897 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:55:03 #18 0.898 + mkdir -p build 02:55:03 #18 0.898 + cd build 02:55:03 #18 0.898 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:55:03 #18 0.973 -- The C compiler identification is GNU 12.2.1 02:55:03 #18 0.991 -- Detecting C compiler ABI info 02:55:03 #18 1.092 -- Detecting C compiler ABI info - done 02:55:03 #18 1.111 -- Check for working C compiler: /usr/bin/cc - skipped 02:55:03 #18 1.111 -- Detecting C compile features 02:55:03 #18 1.112 -- Detecting C compile features - done 02:55:03 #18 1.116 -- Looking for assert.h 02:55:03 #18 1.218 -- Looking for assert.h - found 02:55:03 #18 1.218 -- Looking for arpa/inet.h 02:55:03 #18 1.324 -- Looking for arpa/inet.h - found 02:55:03 #18 1.324 -- Looking for fcntl.h 02:55:03 #18 1.436 -- Looking for fcntl.h - found 02:55:03 #18 1.437 -- Looking for inttypes.h 02:55:03 #18 1.541 -- Looking for inttypes.h - found 02:55:03 #18 1.542 -- Looking for memory.h 02:55:03 #18 1.635 -- Looking for memory.h - found 02:55:03 #18 1.635 -- Looking for netdb.h 02:55:03 #18 1.731 -- Looking for netdb.h - found 02:55:04 #18 1.731 -- Looking for netinet/in.h 02:55:04 #18 1.827 -- Looking for netinet/in.h - found 02:55:04 #18 1.828 -- Looking for stddef.h 02:55:04 #18 1.924 -- Looking for stddef.h - found 02:55:04 #18 1.925 -- Looking for stdint.h 02:55:04 #18 2.005 -- Looking for stdint.h - found 02:55:04 #18 2.005 -- Looking for stdlib.h 02:55:04 #18 2.102 -- Looking for stdlib.h - found 02:55:04 #18 2.102 -- Looking for string.h 02:55:04 #18 2.202 -- Looking for string.h - found 02:55:04 #18 2.202 -- Looking for strings.h 02:55:04 #18 2.294 -- Looking for strings.h - found 02:55:04 #18 2.294 -- Looking for time.h 02:55:04 #18 2.394 -- Looking for time.h - found 02:55:04 #18 2.394 -- Looking for sys/param.h 02:55:04 #18 ... 02:55:04 02:55:04 #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:55:04 #19 0.248 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:04 #19 0.334 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:04 #19 0.463 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:55:04 #19 1.046 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:55:04 #19 1.063 (1/1) Installing curl (8.12.1-r0) 02:55:04 #19 1.072 Executing busybox-1.36.1-r7.trigger 02:55:04 #19 1.083 OK: 337 MiB in 104 packages 02:55:04 #19 DONE 1.2s 02:55:04 02:55:04 #18 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 02:55:04 #18 2.490 -- Looking for sys/param.h - found 02:55:04 #18 2.490 -- Looking for sys/socket.h 02:55:04 #18 2.581 -- Looking for sys/socket.h - found 02:55:04 #18 2.582 -- Looking for sys/stat.h 02:55:04 #18 2.674 -- Looking for sys/stat.h - found 02:55:04 #18 2.675 -- Looking for sys/types.h 02:55:04 #18 2.766 -- Looking for sys/types.h - found 02:55:05 #18 2.767 -- Looking for sys/time.h 02:55:05 #18 2.862 -- Looking for sys/time.h - found 02:55:05 #18 2.862 -- Looking for unistd.h 02:55:05 #18 2.959 -- Looking for unistd.h - found 02:55:05 #18 2.960 -- Looking for float.h 02:55:05 #18 3.055 -- Looking for float.h - found 02:55:05 #18 3.055 -- Looking for dlfcn.h 02:55:05 #18 3.152 -- Looking for dlfcn.h - found 02:55:05 #18 3.152 -- Looking for memset 02:55:05 #18 3.251 -- Looking for memset - found 02:55:05 #18 3.251 -- Looking for select 02:55:05 #18 3.346 -- Looking for select - found 02:55:05 #18 3.346 -- Looking for socket 02:55:05 #18 3.439 -- Looking for socket - found 02:55:05 #18 3.439 -- Looking for strdup 02:55:05 #18 3.533 -- Looking for strdup - found 02:55:05 #18 3.533 -- Looking for strerror 02:55:05 #18 3.629 -- Looking for strerror - found 02:55:05 #18 3.629 -- Looking for strnlen 02:55:05 #18 3.717 -- Looking for strnlen - found 02:55:06 #18 3.717 -- Looking for fls 02:55:06 #18 3.804 -- Looking for fls - not found 02:55:06 #18 3.804 -- Looking for vprintf 02:55:06 #18 3.905 -- Looking for vprintf - found 02:55:06 #18 3.906 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:55:06 #18 3.962 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:55:06 #18 3.970 -- Configuring done (3.1s) 02:55:06 #18 3.977 -- Generating done (0.0s) 02:55:06 #18 3.978 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:55:06 #18 3.982 + make 02:55:06 #18 4.030 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:55:06 #18 4.190 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:55:06 #18 4.228 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:55:06 #18 4.486 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:55:06 #18 4.602 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:55:06 #18 4.602 In function 'ecc_ecdh', 02:55:06 #18 4.602 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:55:06 #18 4.602 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:55:06 #18 4.602 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:55:06 #18 4.602 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:06 #18 4.602 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:55:06 #18 4.602 /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:55:06 #18 4.602 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:55:06 #18 4.602 | ^~~~~~~~~~~ 02:55:06 #18 4.602 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:55:06 #18 4.602 431 | uint32_t pub_x[8]; 02:55:06 #18 4.602 | ^~~~~ 02:55:06 #18 4.602 In function 'ecc_ecdh', 02:55:06 #18 4.602 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:55:06 #18 4.602 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:55:06 #18 4.602 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:55:06 #18 4.602 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:06 #18 4.602 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:55:06 #18 4.602 /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:55:06 #18 4.602 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:55:06 #18 4.602 | ^~~~~~~~~~~ 02:55:06 #18 4.602 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:55:06 #18 4.602 432 | uint32_t pub_y[8]; 02:55:06 #18 4.602 | ^~~~~ 02:55:06 #18 4.602 In function 'ecc_ecdh', 02:55:06 #18 4.602 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:55:06 #18 4.602 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:55:06 #18 4.602 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:55:06 #18 4.602 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:06 #18 4.603 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:55:06 #18 4.603 /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:55:06 #18 4.603 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:55:06 #18 4.603 | ^~~~~~~~~~~ 02:55:06 #18 4.603 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:55:06 #18 4.603 430 | uint32_t priv[8]; 02:55:06 #18 4.603 | ^~~~ 02:55:06 #18 4.693 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:55:07 #18 5.709 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:55:07 #18 5.772 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:55:07 #18 5.818 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:55:08 #18 5.856 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:55:08 #18 5.874 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:55:08 #18 5.874 /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:55:08 #18 5.874 316 | for (idx = 0; idx < count; idx++) { 02:55:08 #18 5.874 | ^ 02:55:08 #18 5.874 /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:55:08 #18 5.874 319 | return result == count; 02:55:08 #18 5.874 | ^~ 02:55:08 #18 6.563 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:55:09 #18 6.630 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:55:09 #18 6.706 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:55:09 #18 6.759 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:55:09 #18 6.823 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:55:09 #18 6.844 /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:55:09 #18 6.844 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:55:09 #18 6.844 | ~~~~~~~~~~^~~~~~~~ 02:55:09 #18 6.844 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:55:09 #18 6.844 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:55:09 #18 6.844 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:55:09 #18 6.844 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:09 #18 6.845 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:55:09 #18 6.845 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:55:09 #18 6.845 | ~~~~~^~~~~~~~ 02:55:09 #18 6.845 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:55:09 #18 6.845 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:55:09 #18 6.845 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:09 #18 7.009 [100%] Linking C shared library libtinydtls.so 02:55:09 #18 7.043 [100%] Built target tinydtls 02:55:09 #18 7.054 + make install 02:55:09 #18 7.105 [100%] Built target tinydtls 02:55:09 #18 7.123 Install the project... 02:55:09 #18 7.131 -- Install configuration: "Release" 02:55:09 #18 7.131 -- Installing: /usr/local/lib/libtinydtls.so 02:55:09 #18 7.132 -- Up-to-date: /usr/local/include/tinydtls 02:55:09 #18 7.132 -- Installing: /usr/local/include/tinydtls/uthash.h 02:55:09 #18 7.133 -- Up-to-date: /usr/local/include/tinydtls/sha2 02:55:09 #18 7.133 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:55:09 #18 7.133 -- Up-to-date: /usr/local/include/tinydtls/ecc 02:55:09 #18 7.133 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:55:09 #18 7.134 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:55:09 #18 7.134 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:55:09 #18 7.134 -- Installing: /usr/local/include/tinydtls/alert.h 02:55:09 #18 7.134 -- Up-to-date: /usr/local/include/tinydtls/aes 02:55:09 #18 7.134 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:55:09 #18 7.135 -- Installing: /usr/local/include/tinydtls/crypto.h 02:55:09 #18 7.135 -- Installing: /usr/local/include/tinydtls/numeric.h 02:55:09 #18 7.135 -- Installing: /usr/local/include/tinydtls/peer.h 02:55:09 #18 7.136 -- Installing: /usr/local/include/tinydtls/utlist.h 02:55:09 #18 7.136 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:55:09 #18 7.136 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:55:09 #18 7.137 -- Installing: /usr/local/include/tinydtls/netq.h 02:55:09 #18 7.137 -- Installing: /usr/local/include/tinydtls/dtls.h 02:55:09 #18 7.137 -- Installing: /usr/local/include/tinydtls/global.h 02:55:09 #18 7.137 -- Installing: /usr/local/include/tinydtls/state.h 02:55:09 #18 7.138 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:55:09 #18 7.138 -- Installing: /usr/local/include/tinydtls/session.h 02:55:09 #18 7.138 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:55:09 #18 7.138 -- Installing: /usr/local/include/tinydtls/hmac.h 02:55:09 #18 7.138 -- Installing: /usr/local/include/tinydtls/ccm.h 02:55:09 #18 7.138 -- Up-to-date: /usr/local/include/tinydtls 02:55:09 #18 7.139 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:55:09 #18 7.140 + cd /device-coap/deps 02:55:09 #18 7.140 + git clone https://github.com/obgm/libcoap.git 02:55:09 #18 7.141 Cloning into 'libcoap'... 02:55:11 #18 8.985 + cd libcoap 02:55:11 #18 8.985 + git reset --hard 1739507 02:55:11 #18 9.021 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:55:11 #18 9.022 + patch -p1 02:55:11 #18 9.023 patching file cmake/FindTinyDTLS.cmake 02:55:11 #18 9.023 + patch -p1 02:55:11 #18 9.024 patching file include/coap2/coap_config.h.in 02:55:11 #18 9.025 + mkdir -p build 02:55:11 #18 9.026 + cd build 02:55:11 #18 9.026 + 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:55:11 #18 9.106 -- The CXX compiler identification is GNU 12.2.1 02:55:11 #18 9.163 -- The C compiler identification is GNU 12.2.1 02:55:11 #18 9.180 -- Detecting CXX compiler ABI info 02:55:11 #18 9.282 -- Detecting CXX compiler ABI info - done 02:55:11 #18 9.302 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:55:11 #18 9.303 -- Detecting CXX compile features 02:55:11 #18 9.304 -- Detecting CXX compile features - done 02:55:11 #18 9.308 -- Detecting C compiler ABI info 02:55:11 #18 9.399 -- Detecting C compiler ABI info - done 02:55:11 #18 9.419 -- Check for working C compiler: /usr/bin/cc - skipped 02:55:11 #18 9.419 -- Detecting C compile features 02:55:11 #18 9.420 -- Detecting C compile features - done 02:55:11 #18 9.424 -- Looking for byteswap.h 02:55:11 #18 9.514 -- Looking for byteswap.h - found 02:55:11 #18 9.515 -- Looking for inttypes.h 02:55:11 #18 9.608 -- Looking for inttypes.h - found 02:55:11 #18 9.609 -- Looking for limits.h 02:55:11 #18 9.700 -- Looking for limits.h - found 02:55:12 #18 9.701 -- Looking for memory.h 02:55:12 #18 9.799 -- Looking for memory.h - found 02:55:12 #18 9.799 -- Looking for strings.h 02:55:12 #18 9.890 -- Looking for strings.h - found 02:55:12 #18 9.891 -- Looking for string.h 02:55:12 #18 9.971 -- Looking for string.h - found 02:55:12 #18 9.972 -- Looking for sys/sysctl.h 02:55:12 #18 10.02 -- Looking for sys/sysctl.h - not found 02:55:12 #18 10.02 -- Looking for netinet/in.h 02:55:12 #18 10.11 -- Looking for netinet/in.h - found 02:55:12 #18 10.11 -- Looking for sys/epoll.h 02:55:12 #18 10.20 -- Looking for sys/epoll.h - found 02:55:12 #18 10.20 -- Looking for sys/timerfd.h 02:55:12 #18 10.29 -- Looking for sys/timerfd.h - found 02:55:12 #18 10.29 -- Looking for arpa/inet.h 02:55:12 #18 10.39 -- Looking for arpa/inet.h - found 02:55:12 #18 10.39 -- Looking for stdbool.h 02:55:12 #18 10.48 -- Looking for stdbool.h - found 02:55:12 #18 10.48 -- Looking for netdb.h 02:55:12 #18 10.57 -- Looking for netdb.h - found 02:55:13 #18 10.57 -- Looking for pthread.h 02:55:13 #18 10.66 -- Looking for pthread.h - found 02:55:13 #18 10.66 -- Looking for stdlib.h 02:55:13 #18 10.74 -- Looking for stdlib.h - found 02:55:13 #18 10.75 -- Looking for stdint.h 02:55:13 #18 10.84 -- Looking for stdint.h - found 02:55:13 #18 10.84 -- Looking for syslog.h 02:55:13 #18 10.93 -- Looking for syslog.h - found 02:55:13 #18 10.93 -- Looking for sys/ioctl.h 02:55:13 #18 11.03 -- Looking for sys/ioctl.h - found 02:55:13 #18 11.03 -- Looking for sys/socket.h 02:55:13 #18 11.12 -- Looking for sys/socket.h - found 02:55:13 #18 11.12 -- Looking for sys/stat.h 02:55:13 #18 11.22 -- Looking for sys/stat.h - found 02:55:13 #18 11.22 -- Looking for sys/time.h 02:55:13 #18 11.32 -- Looking for sys/time.h - found 02:55:13 #18 11.32 -- Looking for sys/types.h 02:55:13 #18 11.42 -- Looking for sys/types.h - found 02:55:13 #18 11.42 -- Looking for sys/unistd.h 02:55:13 #18 11.47 -- Looking for sys/unistd.h - not found 02:55:13 #18 11.47 -- Looking for time.h 02:55:13 #18 11.57 -- Looking for time.h - found 02:55:14 #18 11.57 -- Looking for unistd.h 02:55:14 #18 11.67 -- Looking for unistd.h - found 02:55:14 #18 11.67 -- Looking for float.h 02:55:14 #18 11.76 -- Looking for float.h - found 02:55:14 #18 11.76 -- Looking for stddef.h 02:55:14 #18 11.86 -- Looking for stddef.h - found 02:55:14 #18 11.86 -- Looking for winsock2.h 02:55:14 #18 11.91 -- Looking for winsock2.h - not found 02:55:14 #18 11.91 -- Looking for ws2tcpip.h 02:55:14 #18 11.96 -- Looking for ws2tcpip.h - not found 02:55:14 #18 11.96 -- Looking for malloc 02:55:14 #18 12.06 -- Looking for malloc - found 02:55:14 #18 12.06 -- Looking for memset 02:55:14 #18 12.14 -- Looking for memset - found 02:55:14 #18 12.14 -- Looking for select 02:55:14 #18 12.22 -- Looking for select - found 02:55:14 #18 12.23 -- Looking for socket 02:55:14 #18 12.32 -- Looking for socket - found 02:55:14 #18 12.32 -- Looking for strcasecmp 02:55:14 #18 12.41 -- Looking for strcasecmp - found 02:55:14 #18 12.41 -- Looking for pthread_mutex_lock 02:55:14 #18 12.50 -- Looking for pthread_mutex_lock - found 02:55:14 #18 12.50 -- Looking for getaddrinfo 02:55:14 #18 12.59 -- Looking for getaddrinfo - found 02:55:15 #18 12.59 -- Looking for strnlen 02:55:15 #18 12.68 -- Looking for strnlen - found 02:55:15 #18 12.68 -- Looking for strrchr 02:55:15 #18 12.78 -- Looking for strrchr - found 02:55:15 #18 12.78 -- Looking for getrandom 02:55:15 #18 12.87 -- Looking for getrandom - found 02:55:15 #18 12.87 -- Looking for cmsghdr 02:55:15 #18 12.92 -- Looking for cmsghdr - not found 02:55:15 #18 12.92 -- compiling without epoll support 02:55:15 #18 12.92 -- compiling with DTLS support 02:55:15 #18 12.92 -- DTLS_BACKEND: tinydtls 02:55:15 #18 12.93 -- Found TinyDTLS: /usr/local/include 02:55:15 #18 12.93 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:55:15 #18 12.93 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:55:15 #18 12.93 -- TINYDTLS_ROOT_DIR: 02:55:15 #18 12.93 -- compiling with tinydtls support 02:55:15 #18 12.93 -- ENABLE_DTLS:.....................ON 02:55:15 #18 12.93 -- ENABLE_TCP:......................ON 02:55:15 #18 12.93 -- ENABLE_DOCS:.....................OFF 02:55:15 #18 12.93 -- ENABLE_EXAMPLES:.................OFF 02:55:15 #18 12.93 -- DTLS_BACKEND:....................tinydtls 02:55:15 #18 12.93 -- WITH_GNUTLS:.....................OFF 02:55:15 #18 12.93 -- WITH_TINYDTLS:...................ON 02:55:15 #18 12.93 -- WITH_OPENSSL:....................OFF 02:55:15 #18 12.93 -- WITH_MBEDTLS:....................OFF 02:55:15 #18 12.93 -- HAVE_LIBTINYDTLS:................1 02:55:15 #18 12.93 -- HAVE_LIBGNUTLS:.................. 02:55:15 #18 12.93 -- HAVE_OPENSSL:.................... 02:55:15 #18 12.93 -- HAVE_MBEDTLS:.................... 02:55:15 #18 12.93 -- COAP_EPOLL_SUPPORT:.............. 02:55:15 #18 12.93 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:55:15 #18 12.93 -- BUILD_SHARED_LIBS:...............ON 02:55:15 #18 12.93 -- CMAKE_BUILD_TYPE:................Release 02:55:15 #18 12.93 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 02:55:15 #18 12.93 -- Configuring done (3.9s) 02:55:15 #18 12.93 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:55:15 #18 12.93 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:55:15 #18 12.93 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:55:15 #18 12.93 command to set the policy and suppress this warning. 02:55:15 #18 12.93 02:55:15 #18 12.93 File: 02:55:15 #18 12.93 02:55:15 #18 12.93 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:55:15 #18 12.93 This warning is for project developers. Use -Wno-dev to suppress it. 02:55:15 #18 12.93 02:55:15 #18 12.94 -- Generating done (0.0s) 02:55:15 #18 12.94 -- Build files have been written to: /device-coap/deps/libcoap/build 02:55:15 #18 12.95 + make 02:55:15 #18 12.99 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:55:15 #18 13.06 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:55:15 #18 13.13 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:55:15 #18 13.23 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:55:15 #18 13.49 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:55:15 #18 13.54 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:55:15 #18 13.60 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:55:16 #18 13.87 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:55:16 #18 13.91 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:55:16 #18 13.97 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:55:16 #18 14.52 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:55:16 #18 14.63 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:55:16 #18 14.70 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:55:16 #18 14.79 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:55:17 #18 14.84 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:55:17 #18 15.43 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:55:17 #18 15.63 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:55:17 #18 15.82 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:55:18 #18 16.21 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:55:18 #18 16.28 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:55:18 #18 16.33 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:55:18 #18 16.53 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:55:18 #18 16.72 [100%] Linking C shared library libcoap-2.so 02:55:19 #18 16.75 [100%] Built target coap-2 02:55:19 #18 16.76 + make install 02:55:19 #18 16.83 [100%] Built target coap-2 02:55:19 #18 16.84 Install the project... 02:55:19 #18 16.85 -- Install configuration: "Release" 02:55:19 #18 16.85 -- Installing: /usr/local/lib/libcoap-2.so 02:55:19 #18 16.85 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:55:19 #18 16.85 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:55:19 #18 16.85 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:55:19 #18 16.85 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:55:19 #18 16.85 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:55:19 #18 16.85 -- Up-to-date: /usr/local/include 02:55:19 #18 16.85 -- Up-to-date: /usr/local/include/coap2 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/uthash.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/subscribe.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/option.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/resource.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/bits.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/block.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_io.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/pdu.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/str.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/async.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/net.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/address.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/uri.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_event.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_riot.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_prng.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/lwippools.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_debug.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/utlist.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_time.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/encode.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/libcoap.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/mem.h 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap_session.h 02:55:19 #18 16.86 -- Up-to-date: /usr/local/include 02:55:19 #18 16.86 -- Up-to-date: /usr/local/include/coap2 02:55:19 #18 16.86 -- Installing: /usr/local/include/coap2/coap.h 02:55:19 #18 16.86 + '[' 1 '=' 1 ] 02:55:19 #18 16.86 + cd /device-coap/deps 02:55:19 #18 16.86 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:55:19 #18 16.88 Connecting to github.com (140.82.112.3:443) 02:55:19 #18 16.98 Connecting to codeload.github.com (140.82.113.9:443) 02:55:19 #18 17.08 saving to 'v4.0.0.zip' 02:55:19 #18 17.14 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:55:19 #18 17.14 'v4.0.0.zip' saved 02:55:19 #18 17.14 + unzip v4.0.0.zip 02:55:19 #18 17.14 Archive: v4.0.0.zip 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/ 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/.github/ 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/.github/workflows/ 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/.gitignore 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/Attribution.txt 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/Doxyfile 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/LICENSE 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/Makefile 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/OWNERS.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/README.IOT.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/README.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/README.v3.md 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/docs/ 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/docs/startup.md 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/include/ 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/include/devsdk/ 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/include/edgex/ 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/scripts/ 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:55:19 #18 17.15 creating: device-sdk-c-4.0.0/src/ 02:55:19 #18 17.15 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/api.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/config.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/config.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/data.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/data.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/device.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/device.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:55:19 #18 17.16 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/map.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/map.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:55:19 #18 17.16 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/service.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/service.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:55:19 #18 17.17 creating: device-sdk-c-4.0.0/src/cmake/ 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:55:19 #18 17.17 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:55:19 #18 17.17 + cd device-sdk-c-4.0.0 02:55:19 #18 17.17 + ./scripts/build.sh 02:55:19 #18 17.17 + CPPCHECK=false 02:55:19 #18 17.17 + DOCGEN=false 02:55:19 #18 17.17 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:55:19 #18 17.17 + '[' 0 -gt 0 ] 02:55:19 #18 17.17 + readlink -f ./scripts/build.sh 02:55:19 #18 17.17 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:55:19 #18 17.17 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:55:19 #18 17.17 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:55:19 #18 17.17 + cd /device-coap/deps/device-sdk-c-4.0.0 02:55:19 #18 17.17 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:55:19 #18 17.17 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:55:19 #18 17.17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:55:19 #18 17.25 -- The C compiler identification is GNU 12.2.1 02:55:19 #18 17.27 -- Detecting C compiler ABI info 02:55:19 #18 17.37 -- Detecting C compiler ABI info - done 02:55:19 #18 17.39 -- Check for working C compiler: /usr/bin/cc - skipped 02:55:19 #18 17.39 -- Detecting C compile features 02:55:19 #18 17.39 -- Detecting C compile features - done 02:55:19 #18 17.39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:55:19 #18 17.47 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:55:19 #18 17.47 -- Found LIBYAML: /usr/lib/libyaml.so 02:55:19 #18 17.48 -- Found LIBUUID: /usr/lib/libuuid.so 02:55:19 #18 17.48 -- Found LIBCBOR: /usr/lib/libcbor.so 02:55:19 #18 17.48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:55:19 #18 17.49 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:55:19 #18 17.49 -- /opt/iotech/iot/1.5/include 02:55:19 #18 17.49 -- C SDK 0.0.0 for Linux 02:55:19 #18 17.49 -- Performing Test CSDK_HAVE_ATOMIC 02:55:19 #18 17.58 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:55:19 #18 17.63 -- Found Curses: /usr/lib/libcurses.so 02:55:19 #18 17.65 -- Configuring done (0.5s) 02:55:19 #18 17.69 -- Generating done (0.0s) 02:55:20 #18 17.69 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:55:20 #18 17.69 + make all package 02:55:20 #18 17.69 + tee release.log 02:55:20 #18 17.73 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:55:20 #18 17.84 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:55:20 #18 18.00 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:55:20 #18 18.13 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:55:20 #18 18.23 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:55:20 #18 18.55 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:55:20 #18 18.59 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:55:20 #18 18.73 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:55:21 #18 19.02 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:55:21 #18 19.13 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:55:21 #18 19.27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:55:21 #18 19.40 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:55:21 #18 19.50 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:55:21 #18 19.66 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:55:22 #18 19.72 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:55:22 #18 20.04 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:55:22 #18 20.12 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:55:22 #18 20.37 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:55:22 #18 20.49 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:55:22 #18 20.70 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:55:23 #18 20.79 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:55:24 #18 21.83 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:55:24 #18 21.93 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:55:24 #18 22.01 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:55:24 #18 22.10 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:55:24 #18 22.16 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:55:24 #18 22.40 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:55:24 #18 22.72 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:55:25 #18 22.80 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:55:25 #18 22.93 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:55:25 #18 23.02 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:55:25 #18 23.29 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:55:25 #18 23.29 /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:25 #18 23.29 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:55:25 #18 23.29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:25 #18 23.29 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:55:25 #18 23.29 875 | const iot_data_t *deviceservices_config; 02:55:25 #18 23.29 | ^~~~~~~~~~~~~~~~~~~~~ 02:55:25 #18 23.43 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:55:25 #18 23.55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:55:26 #18 23.62 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:55:26 #18 23.71 [ 68%] Linking C shared library libcsdk.so 02:55:26 #18 23.77 [ 68%] Built target csdk 02:55:26 #18 23.78 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:55:26 #18 23.92 [ 72%] Linking C executable template 02:55:26 #18 23.94 /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:26 #18 23.99 [ 72%] Built target template 02:55:26 #18 24.01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:55:26 #18 24.11 [ 76%] Linking C executable device-counter 02:55:26 #18 24.14 /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:26 #18 24.18 [ 76%] Built target device-counter 02:55:26 #18 24.20 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:55:26 #18 24.30 [ 80%] Linking C executable device-random 02:55:26 #18 24.33 /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:26 #18 24.37 [ 80%] Built target device-random 02:55:26 #18 24.39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:55:26 #18 24.47 [ 84%] Linking C executable device-gyro 02:55:26 #18 24.50 /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:26 #18 24.55 [ 84%] Built target device-gyro 02:55:26 #18 24.57 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:55:26 #18 24.66 [ 88%] Linking C executable device-bitfields 02:55:26 #18 24.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:27 #18 24.73 [ 88%] Built target device-bitfields 02:55:27 #18 24.75 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:55:27 #18 24.91 [ 92%] Linking C executable template-discovery 02:55:27 #18 24.94 /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:27 #18 24.98 [ 92%] Built target template-discovery 02:55:27 #18 25.00 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:55:27 #18 25.12 [ 96%] Linking C executable device-file 02:55:27 #18 25.15 /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:27 #18 25.19 [ 96%] Built target device-file 02:55:27 #18 25.21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:55:27 #18 25.32 [100%] Linking C executable device-terminal 02:55:27 #18 25.35 /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:27 #18 25.39 [100%] Built target device-terminal 02:55:27 #18 25.41 Run CPack packaging tool... 02:55:27 #18 25.42 CPack: Create package using TGZ 02:55:27 #18 25.42 CPack: Install projects 02:55:27 #18 25.42 CPack: - Run preinstall target for: Csdk 02:55:27 #18 25.69 CPack: - Install project: Csdk [] 02:55:28 #18 25.69 CPack: Create package 02:55:28 #18 25.72 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:55:28 #18 25.72 + '[' false '=' true ] 02:55:28 #18 25.72 + '[' false '=' true ] 02:55:28 #18 25.72 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:55:28 #18 25.72 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:55:28 #18 25.72 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:55:28 #18 25.81 -- The C compiler identification is GNU 12.2.1 02:55:28 #18 25.83 -- Detecting C compiler ABI info 02:55:28 #18 25.93 -- Detecting C compiler ABI info - done 02:55:28 #18 25.95 -- Check for working C compiler: /usr/bin/cc - skipped 02:55:28 #18 25.95 -- Detecting C compile features 02:55:28 #18 25.95 -- Detecting C compile features - done 02:55:28 #18 25.95 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:55:28 #18 26.04 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:55:28 #18 26.04 -- Found LIBYAML: /usr/lib/libyaml.so 02:55:28 #18 26.04 -- Found LIBUUID: /usr/lib/libuuid.so 02:55:28 #18 26.05 -- Found LIBCBOR: /usr/lib/libcbor.so 02:55:28 #18 26.05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:55:28 #18 26.05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:55:28 #18 26.05 -- /opt/iotech/iot/1.5/include 02:55:28 #18 26.05 -- C SDK 0.0.0 for Linux 02:55:28 #18 26.05 -- Performing Test CSDK_HAVE_ATOMIC 02:55:28 #18 26.15 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:55:28 #18 26.20 -- Found Curses: /usr/lib/libcurses.so 02:55:28 #18 26.22 -- Configuring done (0.5s) 02:55:28 #18 26.26 -- Generating done (0.0s) 02:55:28 #18 26.26 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:55:28 #18 26.27 + make 02:55:28 #18 26.27 + tee debug.log 02:55:28 #18 26.31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:55:28 #18 26.39 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:55:28 #18 26.47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:55:28 #18 26.56 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:55:28 #18 26.64 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:55:28 #18 26.77 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:55:29 #18 26.81 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:55:29 #18 26.89 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:55:29 #18 27.03 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:55:29 #18 27.11 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:55:29 #18 27.19 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:55:29 #18 27.26 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:55:29 #18 27.34 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:55:29 #18 27.41 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:55:29 #18 27.46 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:55:29 #18 27.61 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:55:29 #18 27.66 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:55:29 #18 27.77 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:55:30 #18 27.82 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:55:30 #18 27.95 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:55:30 #18 28.01 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:55:30 #18 28.22 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:55:30 #18 28.29 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:55:30 #18 28.35 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:55:30 #18 28.41 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:55:30 #18 28.47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:55:30 #18 28.58 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:55:30 #18 28.79 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:55:31 #18 28.85 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:55:31 #18 28.93 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:55:31 #18 28.99 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:55:31 #18 29.15 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:55:31 #18 29.22 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:55:31 #18 29.28 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:55:31 #18 29.34 [ 68%] Linking C shared library libcsdk.so 02:55:31 #18 29.41 [ 68%] Built target csdk 02:55:31 #18 29.43 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:55:31 #18 29.51 [ 72%] Linking C executable template 02:55:31 #18 29.54 /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:31 #18 29.59 [ 72%] Built target template 02:55:31 #18 29.62 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:55:32 #18 29.68 [ 76%] Linking C executable device-counter 02:55:32 #18 29.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:55:32 #18 29.75 [ 76%] Built target device-counter 02:55:32 #18 29.77 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:55:32 #18 29.84 [ 80%] Linking C executable device-random 02:55:32 #18 29.87 /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:32 #18 29.91 [ 80%] Built target device-random 02:55:32 #18 29.93 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:55:32 #18 29.99 [ 84%] Linking C executable device-gyro 02:55:32 #18 30.01 /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:32 #18 30.06 [ 84%] Built target device-gyro 02:55:32 #18 30.08 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:55:32 #18 30.15 [ 88%] Linking C executable device-bitfields 02:55:32 #18 30.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:32 #18 30.21 [ 88%] Built target device-bitfields 02:55:32 #18 30.23 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:55:32 #18 30.30 [ 92%] Linking C executable template-discovery 02:55:32 #18 30.33 /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:32 #18 30.37 [ 92%] Built target template-discovery 02:55:32 #18 30.39 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:55:32 #18 30.47 [ 96%] Linking C executable device-file 02:55:32 #18 30.49 /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:32 #18 30.55 [ 96%] Built target device-file 02:55:32 #18 30.57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:55:32 #18 30.65 [100%] Linking C executable device-terminal 02:55:32 #18 30.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:33 #18 30.72 [100%] Built target device-terminal 02:55:33 #18 30.73 + cp -rf include/devsdk include/edgex /usr/include/ 02:55:33 #18 30.73 + cp build/release/c/libcsdk.so /usr/lib/ 02:55:33 #18 30.74 + rm -rf /device-coap/deps 02:55:33 #18 DONE 30.8s 02:55:33 02:55:33 #20 [builder 11/11] RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 02:55:33 #20 0.290 + readlink -f /device-coap/scripts/build.sh 02:55:33 #20 0.291 + dirname /device-coap/scripts/build.sh 02:55:33 #20 0.292 + dirname /device-coap/scripts 02:55:33 #20 0.292 + ROOT=/device-coap 02:55:33 #20 0.292 + echo /device-coap 02:55:33 #20 0.292 + cd /device-coap 02:55:33 #20 0.292 + mkdir -p /device-coap/build/release 02:55:33 #20 0.293 /device-coap 02:55:33 #20 0.294 + cd /device-coap/build/release 02:55:33 #20 0.294 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 02:55:33 #20 0.314 -- Configuring done (0.0s) 02:55:33 #20 0.319 -- Generating done (0.0s) 02:55:33 #20 0.319 -- Build files have been written to: /device-coap/build/release 02:55:33 #20 0.321 + make 02:55:33 #20 0.321 + tee release.log 02:55:33 #20 0.366 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 02:55:33 #20 0.408 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:33 #20 0.408 from /device-coap/src/c/device-coap.h:17, 02:55:33 #20 0.408 from /device-coap/src/c/coap-client.h:21, 02:55:33 #20 0.408 from /device-coap/src/c/coap-client.c:9: 02:55:33 #20 0.408 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 02:55:33 #20 0.408 /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:33 #20 0.408 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:55:33 #20 0.408 | ^~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.408 90 | strlen(end_dev_params_ptr->psk_key)); 02:55:33 #20 0.408 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.408 | | 02:55:33 #20 0.408 | size_t {aka long unsigned int} 02:55:33 #20 0.408 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 02:55:33 #20 0.408 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:55:33 #20 0.408 | ~^ 02:55:33 #20 0.408 | | 02:55:33 #20 0.408 | unsigned int 02:55:33 #20 0.408 | %lu 02:55:33 #20 0.408 /device-coap/src/c/coap-client.c: In function 'message_handler': 02:55:33 #20 0.408 /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:33 #20 0.408 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:55:33 #20 0.408 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:33 #20 0.408 | | 02:55:33 #20 0.408 | size_t {aka long unsigned int} 02:55:33 #20 0.408 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 02:55:33 #20 0.408 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:55:33 #20 0.408 | ~^ 02:55:33 #20 0.408 | | 02:55:33 #20 0.408 | unsigned int 02:55:33 #20 0.408 | %lu 02:55:33 #20 0.409 /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:33 #20 0.409 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:55:33 #20 0.409 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.409 130 | resource->properties->type); 02:55:33 #20 0.409 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.409 | | 02:55:33 #20 0.409 | iot_typecode_t 02:55:33 #20 0.409 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 02:55:33 #20 0.409 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:55:33 #20 0.409 | ~^ 02:55:33 #20 0.409 | | 02:55:33 #20 0.409 | int 02:55:33 #20 0.409 /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:33 #20 0.409 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:55:33 #20 0.409 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.409 140 | len); 02:55:33 #20 0.409 | ~~~ 02:55:33 #20 0.409 | | 02:55:33 #20 0.409 | size_t {aka long unsigned int} 02:55:33 #20 0.409 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 02:55:33 #20 0.409 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:55:33 #20 0.409 | ~^ 02:55:33 #20 0.409 | | 02:55:33 #20 0.409 | int 02:55:33 #20 0.409 | %ld 02:55:33 #20 0.410 /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:33 #20 0.410 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:55:33 #20 0.410 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.410 145 | len); 02:55:33 #20 0.410 | ~~~ 02:55:33 #20 0.410 | | 02:55:33 #20 0.410 | size_t {aka long unsigned int} 02:55:33 #20 0.410 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 02:55:33 #20 0.410 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:55:33 #20 0.410 | ~^ 02:55:33 #20 0.410 | | 02:55:33 #20 0.410 | int 02:55:33 #20 0.410 | %ld 02:55:33 #20 0.410 /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:33 #20 0.410 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:55:33 #20 0.410 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.410 152 | len); 02:55:33 #20 0.410 | ~~~ 02:55:33 #20 0.410 | | 02:55:33 #20 0.410 | size_t {aka long unsigned int} 02:55:33 #20 0.410 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 02:55:33 #20 0.410 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:55:33 #20 0.410 | ~^ 02:55:33 #20 0.410 | | 02:55:33 #20 0.410 | int 02:55:33 #20 0.410 | %ld 02:55:33 #20 0.410 /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:33 #20 0.410 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:55:33 #20 0.410 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.410 157 | resource->properties->type); 02:55:33 #20 0.410 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.410 | | 02:55:33 #20 0.410 | iot_typecode_t 02:55:33 #20 0.410 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 02:55:33 #20 0.410 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:55:33 #20 0.410 | ~^ 02:55:33 #20 0.410 | | 02:55:33 #20 0.410 | int 02:55:33 #20 0.411 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 02:55:33 #20 0.411 /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:33 #20 0.411 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:55:33 #20 0.411 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:33 #20 0.411 | | 02:55:33 #20 0.411 | size_t {aka long unsigned int} 02:55:33 #20 0.412 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 02:55:33 #20 0.412 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:55:33 #20 0.412 | ~^ 02:55:33 #20 0.412 | | 02:55:33 #20 0.412 | int 02:55:33 #20 0.412 | %ld 02:55:33 #20 0.412 /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:33 #20 0.412 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:33 #20 0.412 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.412 253 | (uint8_t *)end_dev_params_ptr->psk_key, 02:55:33 #20 0.412 254 | strlen(end_dev_params_ptr->psk_key)); 02:55:33 #20 0.412 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.412 | | 02:55:33 #20 0.412 | size_t {aka long unsigned int} 02:55:33 #20 0.412 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 02:55:33 #20 0.412 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:33 #20 0.412 | ~^ 02:55:33 #20 0.412 | | 02:55:33 #20 0.412 | int 02:55:33 #20 0.412 | %ld 02:55:33 #20 0.413 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 02:55:33 #20 0.413 /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:33 #20 0.413 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:33 #20 0.413 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.413 352 | (uint8_t *)end_dev_params_ptr->psk_key, 02:55:33 #20 0.413 353 | strlen(end_dev_params_ptr->psk_key)); 02:55:33 #20 0.413 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.413 | | 02:55:33 #20 0.413 | size_t {aka long unsigned int} 02:55:33 #20 0.413 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 02:55:33 #20 0.413 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:55:33 #20 0.413 | ~^ 02:55:33 #20 0.413 | | 02:55:33 #20 0.413 | int 02:55:33 #20 0.413 | %ld 02:55:33 #20 0.529 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 02:55:33 #20 0.573 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:33 #20 0.573 from /usr/include/edgex/devices.h:17, 02:55:33 #20 0.573 from /device-coap/src/c/coap-server.c:22: 02:55:33 #20 0.573 /device-coap/src/c/coap-server.c: In function 'data_handler': 02:55:33 #20 0.573 /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:33 #20 0.573 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:55:33 #20 0.573 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:33 #20 0.573 | | 02:55:33 #20 0.573 | size_t {aka long unsigned int} 02:55:33 #20 0.573 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 02:55:33 #20 0.573 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:55:33 #20 0.573 | ~^ 02:55:33 #20 0.573 | | 02:55:33 #20 0.573 | unsigned int 02:55:33 #20 0.573 | %lu 02:55:33 #20 0.573 /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:33 #20 0.573 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:55:33 #20 0.573 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:33 #20 0.573 | | 02:55:33 #20 0.573 | iot_typecode_t 02:55:33 #20 0.573 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 02:55:33 #20 0.573 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:55:33 #20 0.573 | ~^ 02:55:33 #20 0.573 | | 02:55:33 #20 0.573 | int 02:55:33 #20 0.637 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 02:55:33 #20 0.674 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:33 #20 0.674 from /device-coap/src/c/coap-util.h:18, 02:55:33 #20 0.674 from /device-coap/src/c/coap-util.c:9: 02:55:33 #20 0.674 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 02:55:33 #20 0.674 /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:33 #20 0.674 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:33 #20 0.674 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | size_t {aka long unsigned int} 02:55:33 #20 0.674 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 02:55:33 #20 0.674 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:33 #20 0.674 | ~^ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | unsigned int 02:55:33 #20 0.674 | %lu 02:55:33 #20 0.674 /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:33 #20 0.674 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:33 #20 0.674 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | size_t {aka long unsigned int} 02:55:33 #20 0.674 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 02:55:33 #20 0.674 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:55:33 #20 0.674 | ~^ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | unsigned int 02:55:33 #20 0.674 | %lu 02:55:33 #20 0.674 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 02:55:33 #20 0.674 /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:33 #20 0.674 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:33 #20 0.674 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | size_t {aka long unsigned int} 02:55:33 #20 0.674 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 02:55:33 #20 0.674 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:33 #20 0.674 | ~^ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | unsigned int 02:55:33 #20 0.674 | %lu 02:55:33 #20 0.674 /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:33 #20 0.674 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:33 #20 0.674 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | size_t {aka long unsigned int} 02:55:33 #20 0.674 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 02:55:33 #20 0.674 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:55:33 #20 0.674 | ~^ 02:55:33 #20 0.674 | | 02:55:33 #20 0.674 | unsigned int 02:55:33 #20 0.674 | %lu 02:55:33 #20 0.782 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 02:55:34 #20 0.822 In file included from /usr/include/devsdk/devsdk.h:18, 02:55:34 #20 0.822 from /device-coap/src/c/device-coap.h:17, 02:55:34 #20 0.822 from /device-coap/src/c/device-coap.c:10: 02:55:34 #20 0.822 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 02:55:34 #20 0.822 /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:34 #20 0.822 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:55:34 #20 0.822 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:34 #20 0.822 131 | requests[i].resource->type); 02:55:34 #20 0.822 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:55:34 #20 0.822 | | 02:55:34 #20 0.822 | iot_typecode_t 02:55:34 #20 0.822 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 02:55:34 #20 0.822 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:55:34 #20 0.822 | ~^ 02:55:34 #20 0.822 | | 02:55:34 #20 0.822 | int 02:55:34 #20 0.934 [100%] Linking C executable device-coap 02:55:34 #20 0.960 /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:34 #20 1.017 [100%] Built target device-coap 02:55:34 #20 DONE 1.1s 02:55:34 02:55:34 #21 [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap / 02:55:34 #21 ERROR: cannot replace to directory /var/lib/docker/overlay2/e0qgwf7b0mjojb7g9bi55paqi/merged/device-coap with file 02:55:34 ------ 02:55:34 > [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap /: 02:55:34 ------ 02:55:34 02:55:34 1 warning found (use docker --debug to expand): 02:55:34  - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10) 02:55:34 Dockerfile.alpine:41 02:55:34 -------------------- 02:55:34 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:34 40 | 02:55:34 41 | >>> COPY --from=builder /device-coap/build/release/device-coap / 02:55:34 42 | COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 02:55:34 43 | COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 02:55:34 -------------------- 02:55:34 ERROR: failed to solve: cannot replace to directory /var/lib/docker/overlay2/e0qgwf7b0mjojb7g9bi55paqi/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:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:35 02:55:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:35 latest: Pulling from edgex-lftools-log-publisher 02:55:35 5eb5b503b376: Pulling fs layer 02:55:35 5c69ac0246d0: Pulling fs layer 02:55:35 ec43610c2a17: Pulling fs layer 02:55:35 3a2ae6a8a46f: Pulling fs layer 02:55:35 33b1e0a273af: Pulling fs layer 02:55:35 5d3b04190fa2: Pulling fs layer 02:55:35 2f39f015ded8: Pulling fs layer 02:55:35 3a2ae6a8a46f: Waiting 02:55:35 33b1e0a273af: Waiting 02:55:35 5d3b04190fa2: Waiting 02:55:35 2f39f015ded8: Waiting 02:55:35 5c69ac0246d0: Download complete 02:55:35 3a2ae6a8a46f: Verifying Checksum 02:55:35 3a2ae6a8a46f: Download complete 02:55:35 33b1e0a273af: Verifying Checksum 02:55:35 33b1e0a273af: Download complete 02:55:35 ec43610c2a17: Verifying Checksum 02:55:35 ec43610c2a17: Download complete 02:55:35 5d3b04190fa2: Verifying Checksum 02:55:35 5d3b04190fa2: Download complete 02:55:36 5eb5b503b376: Download complete 02:55:36 2f39f015ded8: Download complete 02:55:38 5eb5b503b376: Pull complete 02:55:38 5c69ac0246d0: Pull complete 02:55:38 ec43610c2a17: Pull complete 02:55:38 3a2ae6a8a46f: Pull complete 02:55:38 33b1e0a273af: Pull complete 02:55:39 5d3b04190fa2: Pull complete 02:55:45 2f39f015ded8: Pull complete 02:55:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:46 prd-ubuntu20.04-docker-8c-8g-772848 does not seem to be running inside a container 02:55:46 $ 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/db1e6a6ac0c93ad5dbb7dfc499206208 -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:rw,z -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@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:latest cat 02:55:48 $ docker top 19ac61f1a234a820a36612a3c30fcf2da382a38c3c15d2679807ebed9b315d51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:48 ---> job-cost.sh 02:55:48 lf-activate-venv: SKIPPING 02:55:48 INFO: No Stack... 02:55:49 INFO: Retrieving Pricing Info for: v3-standard-8 02:55:49 INFO: Archiving Costs [Pipeline] sh 02:55:49 + cat /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/archives/cost.csv 02:55:49 + cut -d, -f6 [Pipeline] lock 02:55:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] 02:55:49 Resource [jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] did not exist. Created. 02:55:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:50 + echo total: 0.2199999988079071 [Pipeline] stash 02:55:50 Stashed 1 file(s) [Pipeline] } 02:55:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:55:50 $ docker stop --time=1 19ac61f1a234a820a36612a3c30fcf2da382a38c3c15d2679807ebed9b315d51 02:55:51 $ docker rm -f --volumes 19ac61f1a234a820a36612a3c30fcf2da382a38c3c15d2679807ebed9b315d51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:55:51 Failed in branch amd64 02:57:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-772853 in /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 [Pipeline] { [Pipeline] ws 02:57:18 Running in /w/workspace/device-coap-c/1 [Pipeline] { [Pipeline] checkout 02:57:18 Selected Git installation does not exist. Using Default 02:57:18 The recommended git tool is: NONE 02:57:23 using credential edgex-jenkins-ssh 02:57:23 Cloning the remote Git repository 02:57:23 Cloning repository git@github.com:edgexfoundry/device-coap-c.git 02:57:23 > git init /w/workspace/device-coap-c/1 # timeout=10 02:57:23 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-c.git 02:57:23 > git --version # timeout=10 02:57:23 > git --version # 'git version 2.25.1' 02:57:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-coap-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:24 > git config remote.origin.url git@github.com:edgexfoundry/device-coap-c.git # timeout=10 02:57:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:25 Avoid second fetch 02:57:25 Checking out Revision c525e427ea752742b54d22c6461dec1292f4fddb (snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208) 02:57:25 > git config core.sparsecheckout # timeout=10 02:57:25 > git checkout -f c525e427ea752742b54d22c6461dec1292f4fddb # timeout=10 02:57:26 Commit message: "fix: scripts/Dockerfile.alpine-base to reduce vulnerabilities" 02:57:26 > git --version # timeout=10 02:57:26 > git --version # 'git version 2.25.1' 02:57:26 fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:31 provisioning config files... 02:57:31 copy managed file [device-coap-c-settings] to file:/w/workspace/device-coap-c/1@tmp/config18276105179712891121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:57:31 ---> ****-login.sh 02:57:31 nexus3.edgexfoundry.org:10001 02:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:32 Configure a credential helper to remove this warning. See 02:57:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:32 02:57:32 Login Succeeded 02:57:32 nexus3.edgexfoundry.org:10002 02:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:33 Configure a credential helper to remove this warning. See 02:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:33 02:57:33 Login Succeeded 02:57:33 nexus3.edgexfoundry.org:10003 02:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:33 Configure a credential helper to remove this warning. See 02:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:33 02:57:33 Login Succeeded 02:57:33 nexus3.edgexfoundry.org:10004 02:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:33 Configure a credential helper to remove this warning. See 02:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:33 02:57:33 Login Succeeded 02:57:33 ****.io 02:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:34 Configure a credential helper to remove this warning. See 02:57:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:34 02:57:34 Login Succeeded 02:57:34 ---> ****-login.sh ends [Pipeline] } 02:57:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:57:34 [edgeX.isLTS] Checking if [snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:57:34 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 02:57:34 [edgeX.isLTS] Checking if [snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:57:34 ========================================================= 02:57:34 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 02:57:34 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:35 + 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:57:35 Sending build context to Docker daemon 371.2kB 02:57:35 Step 1/14 : ARG BASE=alpine:3.22.1 02:57:35 Step 2/14 : FROM ${BASE} 02:57:35 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 02:57:35 579b34f0a95b: Pulling fs layer 02:57:35 e71477ac5e1b: Pulling fs layer 02:57:35 579b34f0a95b: Verifying Checksum 02:57:35 579b34f0a95b: Download complete 02:57:36 579b34f0a95b: Pull complete 02:57:38 e71477ac5e1b: Verifying Checksum 02:57:38 e71477ac5e1b: Download complete 02:57:50 e71477ac5e1b: Pull complete 02:57:50 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 02:57:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 02:57:50 ---> 2b552cad5dd9 02:57:50 Step 3/14 : LABEL maintainer="Ken Bannister " 02:57:50 ---> Running in 5ba55fd9b0ca 02:57:50 Removing intermediate container 5ba55fd9b0ca 02:57:50 ---> 13394489cbf0 02:57:50 Step 4/14 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:57:50 ---> Running in fb1724c55590 02:57:52 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:57:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:57:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:57:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:57:53 Removing intermediate container fb1724c55590 02:57:53 ---> 9abf6512ab54 02:57:53 Step 5/14 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:57:53 ---> Running in b1eb769e9d1d 02:57:55 Removing intermediate container b1eb769e9d1d 02:57:55 ---> 814e38313543 02:57:55 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:55 ---> Running in 39d805b0da4f 02:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:57:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:57:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:57:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:57:57 (1/18) Installing dumb-init (1.2.5-r2) 02:57:57 (2/18) Installing hiredis (1.1.0-r2) 02:57:57 (3/18) Installing hiredis-dev (1.1.0-r2) 02:57:57 (4/18) Installing libcbor (0.10.2-r1) 02:57:57 (5/18) Installing iotech-iot-1.5 (1.5.7-r0) 02:57:58 (6/18) Installing iotech-iot-1.5-dev (1.5.7-r0) 02:57:58 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.131-r1) 02:57:59 (8/18) Installing libcbor-dev (0.10.2-r1) 02:57:59 (9/18) Installing libmenuw (6.4_p20230506-r0) 02:57:59 (10/18) Installing libpanelw (6.4_p20230506-r0) 02:57:59 (11/18) Installing libncurses++ (6.4_p20230506-r0) 02:57:59 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 02:57:59 (13/18) Installing libblkid (2.38.1-r8) 02:57:59 (14/18) Installing libuuid (2.38.1-r8) 02:57:59 (15/18) Installing libfdisk (2.38.1-r8) 02:57:59 (16/18) Installing libmount (2.38.1-r8) 02:57:59 (17/18) Installing libsmartcols (2.38.1-r8) 02:57:59 (18/18) Installing util-linux-dev (2.38.1-r8) 02:57:59 Executing busybox-1.36.1-r4.trigger 02:57:59 OK: 333 MiB in 100 packages 02:58:00 Removing intermediate container 39d805b0da4f 02:58:00 ---> b41f403d7074 02:58:00 Step 7/14 : RUN apk --no-cache upgrade 02:58:00 ---> Running in 5550d8ffdd33 02:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:58:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:58:03 Upgrading critical system libraries and apk-tools: 02:58:03 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:58:03 Executing busybox-1.36.1-r4.trigger 02:58:03 Continuing the upgrade transaction with new apk-tools: 02:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:58:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:58:06 (1/27) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 02:58:06 (2/27) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 02:58:06 Executing busybox-1.36.1-r7.post-upgrade 02:58:06 (3/27) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 02:58:06 (4/27) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 02:58:06 (5/27) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 02:58:06 (6/27) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 02:58:06 (7/27) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 02:58:06 (8/27) Upgrading binutils (2.40-r7 -> 2.40-r8) 02:58:06 (9/27) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 02:58:06 (10/27) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 02:58:06 (11/27) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 02:58:06 (12/27) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 02:58:06 (13/27) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 02:58:06 (14/27) Installing libpsl (0.21.5-r0) 02:58:06 (15/27) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 02:58:06 (16/27) Installing libpsl-utils (0.21.5-r0) 02:58:06 (17/27) Installing libpsl-dev (0.21.5-r0) 02:58:06 (18/27) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 02:58:07 (19/27) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 02:58:07 (20/27) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 02:58:07 (21/27) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 02:58:07 (22/27) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 02:58:07 (23/27) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:58:07 (24/27) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:58:07 (25/27) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 02:58:07 (26/27) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 02:58:07 (27/27) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:58:07 Executing busybox-1.36.1-r7.trigger 02:58:07 Executing ca-certificates-20241121-r1.trigger 02:58:08 OK: 334 MiB in 103 packages 02:58:10 Removing intermediate container 5550d8ffdd33 02:58:10 ---> ef86c1860667 02:58:10 Step 8/14 : COPY scripts /device-coap/scripts 02:58:11 ---> 37b331df4cae 02:58:11 Step 9/14 : COPY src /device-coap/src/ 02:58:11 ---> a543570f3f2d 02:58:11 Step 10/14 : COPY VERSION /device-coap 02:58:12 ---> 54b7c981eafe 02:58:12 Step 11/14 : RUN mkdir -p /device-coap/build 02:58:12 ---> Running in 1d1f71669857 02:58:13 Removing intermediate container 1d1f71669857 02:58:13 ---> d4e7a1e776fd 02:58:13 Step 12/14 : WORKDIR /device-coap 02:58:14 ---> Running in f8c8f9a09ab4 02:58:14 Removing intermediate container f8c8f9a09ab4 02:58:14 ---> e5f6ededb167 02:58:14 Step 13/14 : RUN /device-coap/scripts/build_deps.sh 1 02:58:15 ---> Running in 0dd5fd3e20ec 02:58:16 + BUILD_CSDK=1 02:58:16 + TINYDTLS_VERSION=b0e230d 02:58:16 + LIBCOAP_VERSION=1739507 02:58:16 + CSDK_VERSION=4.0.0 02:58:16 + '[' -d deps ] 02:58:16 + mkdir deps 02:58:16 + cd /device-coap/deps 02:58:16 + git clone https://github.com/eclipse/tinydtls.git 02:58:16 Cloning into 'tinydtls'... 02:58:18 + cd tinydtls 02:58:18 + git checkout develop 02:58:18 branch 'develop' set up to track 'origin/develop'. 02:58:18 Switched to a new branch 'develop' 02:58:18 + git reset --hard b0e230d 02:58:18 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:58:18 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:58:18 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:58:18 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:58:18 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:58:18 + mkdir -p build 02:58:18 + cd build 02:58:18 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:58:18 -- The C compiler identification is GNU 12.2.1 02:58:18 -- Detecting C compiler ABI info 02:58:18 -- 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:19 -- Detecting C compile features - done 02:58:19 -- Looking for assert.h 02:58:19 -- Looking for assert.h - found 02:58:19 -- Looking for arpa/inet.h 02:58:19 -- Looking for arpa/inet.h - found 02:58:19 -- Looking for fcntl.h 02:58:20 -- Looking for fcntl.h - found 02:58:20 -- Looking for inttypes.h 02:58:20 -- Looking for inttypes.h - found 02:58:20 -- Looking for memory.h 02:58:20 -- Looking for memory.h - found 02:58:20 -- Looking for netdb.h 02:58:21 -- Looking for netdb.h - found 02:58:21 -- Looking for netinet/in.h 02:58:21 -- Looking for netinet/in.h - found 02:58:21 -- Looking for stddef.h 02:58:22 -- Looking for stddef.h - found 02:58:22 -- Looking for stdint.h 02:58:22 -- Looking for stdint.h - found 02:58:22 -- Looking for stdlib.h 02:58:22 -- Looking for stdlib.h - found 02:58:22 -- Looking for string.h 02:58:22 -- Looking for string.h - found 02:58:22 -- Looking for strings.h 02:58:23 -- Looking for strings.h - found 02:58:23 -- Looking for time.h 02:58:23 -- Looking for time.h - found 02:58:23 -- Looking for sys/param.h 02:58:23 -- Looking for sys/param.h - found 02:58:23 -- Looking for sys/socket.h 02:58:24 -- Looking for sys/socket.h - found 02:58:24 -- Looking for sys/stat.h 02:58:24 -- Looking for sys/stat.h - found 02:58:24 -- Looking for sys/types.h 02:58:25 -- Looking for sys/types.h - found 02:58:25 -- Looking for sys/time.h 02:58:25 -- Looking for sys/time.h - found 02:58:25 -- Looking for unistd.h 02:58:25 -- Looking for unistd.h - found 02:58:25 -- Looking for float.h 02:58:25 -- Looking for float.h - found 02:58:25 -- Looking for dlfcn.h 02:58:26 -- Looking for dlfcn.h - found 02:58:26 -- Looking for memset 02:58:26 -- Looking for memset - found 02:58:26 -- Looking for select 02:58:26 -- Looking for select - found 02:58:26 -- Looking for socket 02:58:27 -- Looking for socket - found 02:58:27 -- Looking for strdup 02:58:27 -- Looking for strdup - found 02:58:27 -- Looking for strerror 02:58:28 -- Looking for strerror - found 02:58:28 -- Looking for strnlen 02:58:28 -- Looking for strnlen - found 02:58:28 -- Looking for fls 02:58:28 -- Looking for fls - not found 02:58:28 -- Looking for vprintf 02:58:28 -- Looking for vprintf - found 02:58:28 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:58:29 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:58:29 -- Configuring done (10.9s) 02:58:29 -- Generating done (0.0s) 02:58:29 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:58:29 + make 02:58:29 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:58:30 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:58:30 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:58:32 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:58:33 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:58:33 In function 'ecc_ecdh', 02:58:33 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:58:33 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:58:33 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:58:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:58:33 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:58:33 /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:58:33 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:58:33 | ^~~~~~~~~~~ 02:58:33 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:58:33 431 | uint32_t pub_x[8]; 02:58:33 | ^~~~~ 02:58:33 In function 'ecc_ecdh', 02:58:33 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:58:33 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:58:33 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:58:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:58:33 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:58:33 /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:58:33 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:58:33 | ^~~~~~~~~~~ 02:58:33 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:58:33 432 | uint32_t pub_y[8]; 02:58:33 | ^~~~~ 02:58:33 In function 'ecc_ecdh', 02:58:33 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:58:33 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:58:33 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:58:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:58:33 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:58:33 /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:58:33 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:58:33 | ^~~~~~~~~~~ 02:58:33 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:58:33 430 | uint32_t priv[8]; 02:58:33 | ^~~~ 02:58:34 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:58:42 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:58:42 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:58:42 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:58:42 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:58:42 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:58:42 /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:42 316 | for (idx = 0; idx < count; idx++) { 02:58:42 | ^ 02:58:42 /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:42 319 | return result == count; 02:58:42 | ^~ 02:58:47 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:58:47 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:58:47 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:58:48 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:58:48 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:58:48 /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:48 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:58:48 | ~~~~~~~~~~^~~~~~~~ 02:58:48 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:58:48 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:58:48 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:58:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:58:48 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:58:48 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:58:48 | ~~~~~^~~~~~~~ 02:58:48 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:58:48 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:58:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:58:49 [100%] Linking C shared library libtinydtls.so 02:58:49 [100%] Built target tinydtls 02:58:49 + make install 02:58:49 [100%] Built target tinydtls 02:58:49 Install the project... 02:58:49 -- Install configuration: "Release" 02:58:49 -- Installing: /usr/local/lib/libtinydtls.so 02:58:49 -- Installing: /usr/local/include/tinydtls 02:58:49 -- Installing: /usr/local/include/tinydtls/dtls.h 02:58:49 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:58:49 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:58:49 -- Installing: /usr/local/include/tinydtls/utlist.h 02:58:49 -- Installing: /usr/local/include/tinydtls/ccm.h 02:58:49 -- Installing: /usr/local/include/tinydtls/hmac.h 02:58:49 -- Installing: /usr/local/include/tinydtls/uthash.h 02:58:49 -- Installing: /usr/local/include/tinydtls/numeric.h 02:58:49 -- Installing: /usr/local/include/tinydtls/netq.h 02:58:49 -- Installing: /usr/local/include/tinydtls/sha2 02:58:49 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:58:49 -- Installing: /usr/local/include/tinydtls/crypto.h 02:58:49 -- Installing: /usr/local/include/tinydtls/alert.h 02:58:49 -- Installing: /usr/local/include/tinydtls/session.h 02:58:49 -- Installing: /usr/local/include/tinydtls/global.h 02:58:49 -- Installing: /usr/local/include/tinydtls/ecc 02:58:49 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:58:49 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:58:49 -- Installing: /usr/local/include/tinydtls/state.h 02:58:49 -- Installing: /usr/local/include/tinydtls/aes 02:58:49 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:58:49 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:58:49 -- Installing: /usr/local/include/tinydtls/peer.h 02:58:49 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:58:49 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:58:49 -- Up-to-date: /usr/local/include/tinydtls 02:58:49 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:58:49 + cd /device-coap/deps 02:58:49 + git clone https://github.com/obgm/libcoap.git 02:58:49 Cloning into 'libcoap'... 02:58:55 + cd libcoap 02:58:55 + git reset --hard 1739507 02:58:55 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:58:55 + patch -p1 02:58:55 patching file cmake/FindTinyDTLS.cmake 02:58:55 + patch -p1 02:58:55 patching file include/coap2/coap_config.h.in 02:58:55 + mkdir -p build 02:58:55 + cd build 02:58:55 + 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:56 -- The CXX compiler identification is GNU 12.2.1 02:58:56 -- The C compiler identification is GNU 12.2.1 02:58:56 -- Detecting CXX compiler ABI info 02:58:56 -- Detecting CXX compiler ABI info - done 02:58:56 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:58:56 -- Detecting CXX compile features 02:58:56 -- Detecting CXX compile features - done 02:58:56 -- Detecting C compiler ABI info 02:58:57 -- Detecting C compiler ABI info - done 02:58:57 -- Check for working C compiler: /usr/bin/cc - skipped 02:58:57 -- Detecting C compile features 02:58:57 -- Detecting C compile features - done 02:58:57 -- Looking for byteswap.h 02:58:57 -- Looking for byteswap.h - found 02:58:57 -- Looking for inttypes.h 02:58:57 -- Looking for inttypes.h - found 02:58:57 -- Looking for limits.h 02:58:58 -- Looking for limits.h - found 02:58:58 -- Looking for memory.h 02:58:58 -- Looking for memory.h - found 02:58:58 -- Looking for strings.h 02:58:59 -- Looking for strings.h - found 02:58:59 -- Looking for string.h 02:58:59 -- Looking for string.h - found 02:58:59 -- Looking for sys/sysctl.h 02:58:59 -- Looking for sys/sysctl.h - not found 02:58:59 -- Looking for netinet/in.h 02:58:59 -- Looking for netinet/in.h - found 02:58:59 -- Looking for sys/epoll.h 02:59:00 -- Looking for sys/epoll.h - found 02:59:00 -- Looking for sys/timerfd.h 02:59:00 -- Looking for sys/timerfd.h - found 02:59:00 -- Looking for arpa/inet.h 02:59:00 -- Looking for arpa/inet.h - found 02:59:00 -- Looking for stdbool.h 02:59:01 -- Looking for stdbool.h - found 02:59:01 -- Looking for netdb.h 02:59:01 -- Looking for netdb.h - found 02:59:01 -- Looking for pthread.h 02:59:02 -- Looking for pthread.h - found 02:59:02 -- Looking for stdlib.h 02:59:02 -- Looking for stdlib.h - found 02:59:02 -- Looking for stdint.h 02:59:02 -- Looking for stdint.h - found 02:59:02 -- Looking for syslog.h 02:59:02 -- Looking for syslog.h - found 02:59:02 -- Looking for sys/ioctl.h 02:59:03 -- Looking for sys/ioctl.h - found 02:59:03 -- Looking for sys/socket.h 02:59:03 -- Looking for sys/socket.h - found 02:59:03 -- Looking for sys/stat.h 02:59:04 -- Looking for sys/stat.h - found 02:59:04 -- Looking for sys/time.h 02:59:04 -- Looking for sys/time.h - found 02:59:04 -- Looking for sys/types.h 02:59:04 -- Looking for sys/types.h - found 02:59:04 -- Looking for sys/unistd.h 02:59:04 -- Looking for sys/unistd.h - not found 02:59:04 -- Looking for time.h 02:59:05 -- Looking for time.h - found 02:59:05 -- Looking for unistd.h 02:59:05 -- Looking for unistd.h - found 02:59:05 -- Looking for float.h 02:59:05 -- Looking for float.h - found 02:59:05 -- Looking for stddef.h 02:59:06 -- Looking for stddef.h - found 02:59:06 -- Looking for winsock2.h 02:59:06 -- Looking for winsock2.h - not found 02:59:06 -- Looking for ws2tcpip.h 02:59:06 -- Looking for ws2tcpip.h - not found 02:59:06 -- Looking for malloc 02:59:07 -- Looking for malloc - found 02:59:07 -- Looking for memset 02:59:07 -- Looking for memset - found 02:59:07 -- Looking for select 02:59:07 -- Looking for select - found 02:59:07 -- Looking for socket 02:59:07 -- Looking for socket - found 02:59:07 -- Looking for strcasecmp 02:59:08 -- Looking for strcasecmp - found 02:59:08 -- Looking for pthread_mutex_lock 02:59:08 -- Looking for pthread_mutex_lock - found 02:59:08 -- Looking for getaddrinfo 02:59:09 -- Looking for getaddrinfo - found 02:59:09 -- Looking for strnlen 02:59:09 -- Looking for strnlen - found 02:59:09 -- Looking for strrchr 02:59:09 -- Looking for strrchr - found 02:59:09 -- Looking for getrandom 02:59:09 -- Looking for getrandom - found 02:59:09 -- Looking for cmsghdr 02:59:10 -- Looking for cmsghdr - not found 02:59:10 -- compiling without epoll support 02:59:10 -- compiling with DTLS support 02:59:10 -- DTLS_BACKEND: tinydtls 02:59:10 -- Found TinyDTLS: /usr/local/include 02:59:10 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:59:10 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:59:10 -- TINYDTLS_ROOT_DIR: 02:59:10 -- compiling with tinydtls support 02:59:10 -- ENABLE_DTLS:.....................ON 02:59:10 -- ENABLE_TCP:......................ON 02:59:10 -- ENABLE_DOCS:.....................OFF 02:59:10 -- ENABLE_EXAMPLES:.................OFF 02:59:10 -- DTLS_BACKEND:....................tinydtls 02:59:10 -- WITH_GNUTLS:.....................OFF 02:59:10 -- WITH_TINYDTLS:...................ON 02:59:10 -- WITH_OPENSSL:....................OFF 02:59:10 -- WITH_MBEDTLS:....................OFF 02:59:10 -- HAVE_LIBTINYDTLS:................1 02:59:10 -- HAVE_LIBGNUTLS:.................. 02:59:10 -- HAVE_OPENSSL:.................... 02:59:10 -- HAVE_MBEDTLS:.................... 02:59:10 -- COAP_EPOLL_SUPPORT:.............. 02:59:10 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:59:10 -- BUILD_SHARED_LIBS:...............ON 02:59:10 -- CMAKE_BUILD_TYPE:................Release 02:59:10 -- CMAKE_SYSTEM_PROCESSOR:..........aarch64 02:59:10 -- Configuring done (14.7s) 02:59:10 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:59:10 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:59:10 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:59:10 command to set the policy and suppress this warning. 02:59:10 02:59:10 File: 02:59:10 02:59:10 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:59:10 This warning is for project developers. Use -Wno-dev to suppress it. 02:59:10 02:59:10 -- Generating done (0.0s) 02:59:10 -- Build files have been written to: /device-coap/deps/libcoap/build 02:59:10 + make 02:59:10 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:59:10 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:59:11 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:59:12 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:59:14 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:59:14 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:59:14 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:59:16 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:59:16 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:59:17 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:59:21 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:59:21 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:59:21 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:59:22 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:59:22 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:59:27 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:59:28 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:59:29 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:59:32 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:59:32 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:59:33 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:59:34 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:59:35 [100%] Linking C shared library libcoap-2.so 02:59:35 [100%] Built target coap-2 02:59:35 + make install 02:59:36 [100%] Built target coap-2 02:59:36 Install the project... 02:59:36 -- Install configuration: "Release" 02:59:36 -- Installing: /usr/local/lib/libcoap-2.so 02:59:36 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:59:36 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:59:36 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:59:36 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:59:36 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:59:36 -- Up-to-date: /usr/local/include 02:59:36 -- Installing: /usr/local/include/coap2 02:59:36 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:59:36 -- Installing: /usr/local/include/coap2/option.h 02:59:36 -- Installing: /usr/local/include/coap2/uri.h 02:59:36 -- Installing: /usr/local/include/coap2/net.h 02:59:36 -- Installing: /usr/local/include/coap2/bits.h 02:59:36 -- Installing: /usr/local/include/coap2/utlist.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_event.h 02:59:36 -- Installing: /usr/local/include/coap2/block.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_session.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_prng.h 02:59:36 -- Installing: /usr/local/include/coap2/uthash.h 02:59:36 -- Installing: /usr/local/include/coap2/async.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:59:36 -- Installing: /usr/local/include/coap2/libcoap.h 02:59:36 -- Installing: /usr/local/include/coap2/mem.h 02:59:36 -- Installing: /usr/local/include/coap2/subscribe.h 02:59:36 -- Installing: /usr/local/include/coap2/resource.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_riot.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_time.h 02:59:36 -- Installing: /usr/local/include/coap2/pdu.h 02:59:36 -- Installing: /usr/local/include/coap2/address.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_io.h 02:59:36 -- Installing: /usr/local/include/coap2/lwippools.h 02:59:36 -- Installing: /usr/local/include/coap2/str.h 02:59:36 -- Installing: /usr/local/include/coap2/coap_debug.h 02:59:36 -- Installing: /usr/local/include/coap2/encode.h 02:59:36 -- Up-to-date: /usr/local/include 02:59:36 -- Up-to-date: /usr/local/include/coap2 02:59:36 -- Installing: /usr/local/include/coap2/coap.h 02:59:36 + '[' 1 '=' 1 ] 02:59:36 + cd /device-coap/deps 02:59:36 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:59:36 Connecting to github.com (140.82.113.3:443) 02:59:36 Connecting to codeload.github.com (140.82.112.9:443) 02:59:36 saving to 'v4.0.0.zip' 02:59:36 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:59:36 'v4.0.0.zip' saved 02:59:36 + unzip v4.0.0.zip 02:59:36 Archive: v4.0.0.zip 02:59:36 creating: device-sdk-c-4.0.0/ 02:59:36 creating: device-sdk-c-4.0.0/.github/ 02:59:36 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:59:36 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:59:36 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:59:36 creating: device-sdk-c-4.0.0/.github/workflows/ 02:59:36 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:59:36 inflating: device-sdk-c-4.0.0/.gitignore 02:59:36 inflating: device-sdk-c-4.0.0/Attribution.txt 02:59:36 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:59:36 inflating: device-sdk-c-4.0.0/Doxyfile 02:59:36 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:59:36 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:59:36 inflating: device-sdk-c-4.0.0/LICENSE 02:59:36 inflating: device-sdk-c-4.0.0/Makefile 02:59:36 inflating: device-sdk-c-4.0.0/OWNERS.md 02:59:36 inflating: device-sdk-c-4.0.0/README.IOT.md 02:59:36 inflating: device-sdk-c-4.0.0/README.md 02:59:36 inflating: device-sdk-c-4.0.0/README.v3.md 02:59:36 creating: device-sdk-c-4.0.0/docs/ 02:59:36 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:59:36 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:59:36 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:59:36 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:59:36 inflating: device-sdk-c-4.0.0/docs/startup.md 02:59:36 creating: device-sdk-c-4.0.0/include/ 02:59:36 creating: device-sdk-c-4.0.0/include/devsdk/ 02:59:36 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:59:36 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:59:36 creating: device-sdk-c-4.0.0/include/edgex/ 02:59:36 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:59:36 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:59:36 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:59:36 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:59:36 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:59:36 creating: device-sdk-c-4.0.0/scripts/ 02:59:36 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:59:36 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:59:36 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:59:36 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:59:36 creating: device-sdk-c-4.0.0/src/ 02:59:36 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:59:36 creating: device-sdk-c-4.0.0/src/c/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/api.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/config.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/config.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/data.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/data.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:59:36 inflating: device-sdk-c-4.0.0/src/c/device.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/device.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:59:36 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:59:36 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:59:36 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/map.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/map.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/service.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/service.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:59:36 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:59:36 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:59:36 creating: device-sdk-c-4.0.0/src/cmake/ 02:59:36 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:59:36 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:59:36 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:59:36 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:59:36 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:59:36 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:59:36 + cd device-sdk-c-4.0.0 02:59:36 + ./scripts/build.sh 02:59:36 + CPPCHECK=false 02:59:36 + DOCGEN=false 02:59:36 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:59:36 + '[' 0 -gt 0 ] 02:59:36 + readlink -f ./scripts/build.sh 02:59:36 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:59:36 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:59:36 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:59:36 + cd /device-coap/deps/device-sdk-c-4.0.0 02:59:36 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:59:36 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:59:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:59:37 -- The C compiler identification is GNU 12.2.1 02:59:37 -- Detecting C compiler ABI info 02:59:37 -- Detecting C compiler ABI info - done 02:59:37 -- Check for working C compiler: /usr/bin/cc - skipped 02:59:37 -- Detecting C compile features 02:59:37 -- Detecting C compile features - done 02:59:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:59:38 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:59:38 -- Found LIBYAML: /usr/lib/libyaml.so 02:59:38 -- Found LIBUUID: /usr/lib/libuuid.so 02:59:38 -- Found LIBCBOR: /usr/lib/libcbor.so 02:59:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:59:38 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:59:38 -- /opt/iotech/iot/1.5/include 02:59:38 -- C SDK 0.0.0 for Linux 02:59:38 -- Performing Test CSDK_HAVE_ATOMIC 02:59:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:59:38 -- Found Curses: /usr/lib/libcurses.so 02:59:38 -- Configuring done (1.8s) 02:59:38 -- Generating done (0.2s) 02:59:38 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:59:38 + make all package 02:59:38 + tee release.log 02:59:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:59:40 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:59:41 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:59:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:59:42 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:59:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:59:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:59:46 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:59:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:59:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:59:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:59:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:59:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:59:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:59:52 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:59:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:59:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:59:57 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:59:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:00:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:00:00 [ 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:08 [ 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:12 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:00:14 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:00:14 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:00:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:00:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:00:18 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 03:00:18 /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:00:18 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 03:00:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:00:18 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 03:00:18 875 | const iot_data_t *deviceservices_config; 03:00:18 | ^~~~~~~~~~~~~~~~~~~~~ 03:00:19 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:00:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:00:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:00:21 [ 68%] Linking C shared library libcsdk.so 03:00:21 [ 68%] Built target csdk 03:00:21 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:00:23 [ 72%] Linking C executable template 03:00:23 /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:23 [ 72%] Built target template 03:00:23 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:00:24 [ 76%] Linking C executable device-counter 03:00:24 /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:24 [ 76%] Built target device-counter 03:00:24 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:00:25 [ 80%] Linking C executable device-random 03:00:25 /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:25 [ 80%] Built target device-random 03:00:25 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:00:25 [ 84%] Linking C executable device-gyro 03:00:26 /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:26 [ 84%] Built target device-gyro 03:00:26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:00:26 [ 88%] Linking C executable device-bitfields 03:00:26 /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:27 [ 88%] Built target device-bitfields 03:00:27 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:00:28 [ 92%] Linking C executable template-discovery 03:00: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:00:28 [ 92%] Built target template-discovery 03:00:28 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:00:29 [ 96%] Linking C executable device-file 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:30 [ 96%] Built target device-file 03:00:30 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:00:30 [100%] Linking C executable device-terminal 03:00: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:00:31 [100%] Built target device-terminal 03:00:31 Run CPack packaging tool... 03:00:31 CPack: Create package using TGZ 03:00:31 CPack: Install projects 03:00:31 CPack: - Run preinstall target for: Csdk 03:00:32 CPack: - Install project: Csdk [] 03:00:32 CPack: Create package 03:00:32 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 03:00:32 + '[' false '=' true ] 03:00:32 + '[' false '=' true ] 03:00:32 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:00:32 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:00:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 03:00:32 -- The C compiler identification is GNU 12.2.1 03:00:32 -- Detecting C compiler ABI info 03:00:33 -- Detecting C compiler ABI info - done 03:00:33 -- Check for working C compiler: /usr/bin/cc - skipped 03:00:33 -- Detecting C compile features 03:00:33 -- Detecting C compile features - done 03:00:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:00:33 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 03:00:33 -- Found LIBYAML: /usr/lib/libyaml.so 03:00:33 -- Found LIBUUID: /usr/lib/libuuid.so 03:00:33 -- Found LIBCBOR: /usr/lib/libcbor.so 03:00:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:00:33 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:00:33 -- /opt/iotech/iot/1.5/include 03:00:33 -- C SDK 0.0.0 for Linux 03:00:33 -- Performing Test CSDK_HAVE_ATOMIC 03:00:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:00:34 -- Found Curses: /usr/lib/libcurses.so 03:00:34 -- Configuring done (1.9s) 03:00:34 -- Generating done (0.3s) 03:00:34 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:00:34 + make 03:00:34 + tee debug.log 03:00:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:00:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:00:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:00:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:00:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:00:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:00:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:00:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:00:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:00:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:00:39 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:00:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:00:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:00:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:00:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:00:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:00:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 03:00:43 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:00:43 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:00:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:00:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:00:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:00:46 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:00:46 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:00:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:00:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:00:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:00:49 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:00:50 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:00:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:00:51 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:00:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:00:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:00:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:00:53 [ 68%] Linking C shared library libcsdk.so 03:00:53 [ 68%] Built target csdk 03:00:53 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:00:54 [ 72%] Linking C executable template 03:00: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) 03:00:54 [ 72%] Built target template 03:00:54 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:00:54 [ 76%] Linking C executable device-counter 03:00:55 /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:55 [ 76%] Built target device-counter 03:00:55 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:00:55 [ 80%] Linking C executable device-random 03:00:55 /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:55 [ 80%] Built target device-random 03:00:56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:00:56 [ 84%] Linking C executable device-gyro 03:00:56 /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:56 [ 84%] Built target device-gyro 03:00:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:00:57 [ 88%] Linking C executable device-bitfields 03:00:57 /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:57 [ 88%] Built target device-bitfields 03:00:57 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:00:58 [ 92%] Linking C executable template-discovery 03:00:58 /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:58 [ 92%] Built target template-discovery 03:00:58 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:00:58 [ 96%] Linking C executable device-file 03:00:58 /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:59 [ 96%] Built target device-file 03:00:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:00:59 [100%] Linking C executable device-terminal 03:00: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:01:00 [100%] Built target device-terminal 03:01:00 + cp -rf include/devsdk include/edgex /usr/include/ 03:01:00 + cp build/release/c/libcsdk.so /usr/lib/ 03:01:00 + rm -rf /device-coap/deps 03:01:01 Removing intermediate container 0dd5fd3e20ec 03:01:01 ---> b2c2b8acf715 03:01:01 Step 14/14 : RUN /device-coap/scripts/build.sh 03:01:01 ---> Running in 1d46d0e99b87 03:01:02 + readlink -f /device-coap/scripts/build.sh 03:01:02 + dirname /device-coap/scripts/build.sh 03:01:02 + dirname /device-coap/scripts 03:01:02 + ROOT=/device-coap 03:01:02 + echo /device-coap 03:01:02 + cd /device-coap 03:01:02 + mkdir -p /device-coap/build/release 03:01:02 /device-coap 03:01:02 + cd /device-coap/build/release 03:01:02 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 03:01:02 -- The C compiler identification is GNU 12.2.1 03:01:02 -- Detecting C compiler ABI info 03:01:03 -- Detecting C compiler ABI info - done 03:01:03 -- Check for working C compiler: /usr/bin/cc - skipped 03:01:03 -- Detecting C compile features 03:01:03 -- Detecting C compile features - done 03:01:03 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 03:01:03 -- Configuring done (0.9s) 03:01:03 -- Generating done (0.0s) 03:01:03 -- Build files have been written to: /device-coap/build/release 03:01:03 + make 03:01:03 + tee release.log 03:01:03 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 03:01:03 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:03 from /device-coap/src/c/device-coap.h:17, 03:01:03 from /device-coap/src/c/coap-client.h:21, 03:01:03 from /device-coap/src/c/coap-client.c:9: 03:01:03 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 03:01:03 /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:01:03 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~ 03:01:03 90 | strlen(end_dev_params_ptr->psk_key)); 03:01:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 03:01:03 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:01:03 | ~^ 03:01:03 | | 03:01:03 | unsigned int 03:01:03 | %lu 03:01:03 /device-coap/src/c/coap-client.c: In function 'message_handler': 03:01:03 /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:01:03 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 03:01:03 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:01:03 | ~^ 03:01:03 | | 03:01:03 | unsigned int 03:01:03 | %lu 03:01:03 /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:01:03 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 130 | resource->properties->type); 03:01:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 | | 03:01:03 | iot_typecode_t 03:01:03 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 03:01:03 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 /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:01:03 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 140 | len); 03:01:03 | ~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 03:01:03 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 | %ld 03:01:03 /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:01:03 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 145 | len); 03:01:03 | ~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 03:01:03 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 | %ld 03:01:03 /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:01:03 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 152 | len); 03:01:03 | ~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 03:01:03 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 | %ld 03:01:03 /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:01:03 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 157 | resource->properties->type); 03:01:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 | | 03:01:03 | iot_typecode_t 03:01:03 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 03:01:03 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 03:01:03 /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:01:03 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 03:01:03 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 | %ld 03:01:03 /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:01:03 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 253 | (uint8_t *)end_dev_params_ptr->psk_key, 03:01:03 254 | strlen(end_dev_params_ptr->psk_key)); 03:01:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 03:01:03 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 | %ld 03:01:03 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 03:01:03 /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:01:03 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 352 | (uint8_t *)end_dev_params_ptr->psk_key, 03:01:03 353 | strlen(end_dev_params_ptr->psk_key)); 03:01:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:03 | | 03:01:03 | size_t {aka long unsigned int} 03:01:03 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 03:01:03 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:03 | ~^ 03:01:03 | | 03:01:03 | int 03:01:03 | %ld 03:01:04 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 03:01:04 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:04 from /usr/include/edgex/devices.h:17, 03:01:04 from /device-coap/src/c/coap-server.c:22: 03:01:04 /device-coap/src/c/coap-server.c: In function 'data_handler': 03:01:04 /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:01:04 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:01:04 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:04 | | 03:01:04 | size_t {aka long unsigned int} 03:01:04 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 03:01:04 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:01:04 | ~^ 03:01:04 | | 03:01:04 | unsigned int 03:01:04 | %lu 03:01:04 /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:01:04 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:01:04 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:04 | | 03:01:04 | iot_typecode_t 03:01:04 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 03:01:04 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:01:04 | ~^ 03:01:04 | | 03:01:04 | int 03:01:05 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 03:01:05 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:05 from /device-coap/src/c/coap-util.h:18, 03:01:05 from /device-coap/src/c/coap-util.c:9: 03:01:05 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 03:01:05 /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:01:05 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:05 | | 03:01:05 | size_t {aka long unsigned int} 03:01:05 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 03:01:05 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:05 | ~^ 03:01:05 | | 03:01:05 | unsigned int 03:01:05 | %lu 03:01:05 /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:01:05 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:05 | | 03:01:05 | size_t {aka long unsigned int} 03:01:05 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 03:01:05 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:05 | ~^ 03:01:05 | | 03:01:05 | unsigned int 03:01:05 | %lu 03:01:05 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 03:01:05 /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:01:05 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:05 | | 03:01:05 | size_t {aka long unsigned int} 03:01:05 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 03:01:05 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:05 | ~^ 03:01:05 | | 03:01:05 | unsigned int 03:01:05 | %lu 03:01:05 /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:01:05 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:05 | | 03:01:05 | size_t {aka long unsigned int} 03:01:05 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 03:01:05 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:05 | ~^ 03:01:05 | | 03:01:05 | unsigned int 03:01:05 | %lu 03:01:06 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 03:01:06 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:06 from /device-coap/src/c/device-coap.h:17, 03:01:06 from /device-coap/src/c/device-coap.c:10: 03:01:06 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 03:01:06 /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:01:06 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:01:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:06 131 | requests[i].resource->type); 03:01:06 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:06 | | 03:01:06 | iot_typecode_t 03:01:06 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 03:01:06 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:01:06 | ~^ 03:01:06 | | 03:01:06 | int 03:01:07 [100%] Linking C executable device-coap 03:01: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:01:07 [100%] Built target device-coap 03:01:08 Removing intermediate container 1d46d0e99b87 03:01:08 ---> 8e0788d7e555 03:01:08 Successfully built 8e0788d7e555 03:01:08 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:01:09 + docker inspect -f . ci-base-image-arm64 03:01:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:10 prd-ubuntu20.04-docker-arm64-4c-16g-772853 does not seem to be running inside a container 03:01:10 $ 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:01:11 $ docker top ba9f03810a0e3401f6433f2c48dad0ec4f13d014d4bb634b9d91e566f41b5530 -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:12 + make test 03:01:12 build/release/device-coap [Pipeline] } 03:01:12 $ docker stop --time=1 ba9f03810a0e3401f6433f2c48dad0ec4f13d014d4bb634b9d91e566f41b5530 03:01:14 $ docker rm -f --volumes ba9f03810a0e3401f6433f2c48dad0ec4f13d014d4bb634b9d91e566f41b5530 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:01:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:01:15 + ls -al . 03:01:15 total 92 03:01:15 drwxrwxr-x 7 jenkins jenkins 4096 Nov 10 02:57 . 03:01:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:57 .. 03:01:15 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:57 .git 03:01:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:57 .github 03:01:15 -rw-rw-r-- 1 jenkins jenkins 14 Nov 10 02:57 .gitignore 03:01:15 -rw-rw-r-- 1 jenkins jenkins 2037 Nov 10 02:57 Attribution.txt 03:01:15 -rw-rw-r-- 1 jenkins jenkins 3893 Nov 10 02:57 CHANGELOG.md 03:01:15 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:57 GOVERNANCE.md 03:01:15 -rw-rw-r-- 1 jenkins jenkins 798 Nov 10 02:57 Jenkinsfile 03:01:15 -rw-rw-r-- 1 jenkins jenkins 10173 Nov 10 02:57 LICENSE 03:01:15 -rw-rw-r-- 1 jenkins jenkins 938 Nov 10 02:57 Makefile 03:01:15 -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 02:57 OWNERS.md 03:01:15 -rw-rw-r-- 1 jenkins jenkins 12454 Nov 10 02:57 README.md 03:01:15 -rw-rw-r-- 1 jenkins jenkins 506 Nov 10 02:57 ROADMAP.md 03:01:15 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 02:54 VERSION 03:01:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:57 res 03:01:15 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:57 scripts 03:01:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:15 + 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=c525e427ea752742b54d22c6461dec1292f4fddb --label arch=arm64 --label version=0.0.0 . 03:01:15 Sending build context to Docker daemon 371.2kB 03:01:15 Step 1/33 : ARG BASE=alpine:3.20 03:01:15 Step 2/33 : FROM ${BASE} as builder 03:01:15 ---> 8e0788d7e555 03:01:15 Step 3/33 : LABEL maintainer="Ken Bannister " 03:01:16 ---> Running in 388f1501bf9b 03:01:16 Removing intermediate container 388f1501bf9b 03:01:16 ---> fcfaccbbbed4 03:01:16 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:01:16 ---> Running in 19f9672acaad 03:01:17 Connecting to iotech.jfrog.io (34.246.139.145:443) 03:01:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:01:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:01:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:01:19 Removing intermediate container 19f9672acaad 03:01:19 ---> ac65220d07be 03:01:19 Step 5/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 03:01:19 ---> Running in b35471eeca9d 03:01:20 Removing intermediate container b35471eeca9d 03:01:20 ---> 3eb5b6eedf0b 03:01:20 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:01:20 ---> Running in 3b9d655533e4 03:01:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:01:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:01:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:01:24 OK: 334 MiB in 103 packages 03:01:26 Removing intermediate container 3b9d655533e4 03:01:26 ---> 64b6e607775e 03:01:26 Step 7/33 : COPY scripts /device-coap/scripts 03:01:26 ---> 94b761cc01d2 03:01:26 Step 8/33 : COPY src /device-coap/src/ 03:01:27 ---> ef9af4171a30 03:01:27 Step 9/33 : COPY VERSION /device-coap 03:01:27 ---> 506052b1c056 03:01:27 Step 10/33 : RUN mkdir -p /device-coap/build 03:01:27 ---> Running in 96116f3186f4 03:01:29 Removing intermediate container 96116f3186f4 03:01:29 ---> ed14b8486b06 03:01:29 Step 11/33 : WORKDIR /device-coap 03:01:29 ---> Running in 7b08731afdad 03:01:30 Removing intermediate container 7b08731afdad 03:01:30 ---> a39931a0c22d 03:01:30 Step 12/33 : RUN /device-coap/scripts/build_deps.sh 1 03:01:30 ---> Running in 02bc1f209404 03:01:31 + BUILD_CSDK=1 03:01:31 + TINYDTLS_VERSION=b0e230d 03:01:31 + LIBCOAP_VERSION=1739507 03:01:31 + CSDK_VERSION=4.0.0 03:01:31 + '[' -d deps ] 03:01:31 + mkdir deps 03:01:31 + cd /device-coap/deps 03:01:31 + git clone https://github.com/eclipse/tinydtls.git 03:01:31 Cloning into 'tinydtls'... 03:01:33 + cd tinydtls 03:01:33 + git checkout develop 03:01:33 branch 'develop' set up to track 'origin/develop'. 03:01:33 Switched to a new branch 'develop' 03:01:33 + git reset --hard b0e230d 03:01:33 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 03:01:33 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 03:01:33 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 03:01:33 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 03:01:33 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 03:01:33 + mkdir -p build 03:01:33 + cd build 03:01:33 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 03:01:33 -- The C compiler identification is GNU 12.2.1 03:01:33 -- Detecting C compiler ABI info 03:01:33 -- Detecting C compiler ABI info - done 03:01:34 -- Check for working C compiler: /usr/bin/cc - skipped 03:01:34 -- Detecting C compile features 03:01:34 -- Detecting C compile features - done 03:01:34 -- Looking for assert.h 03:01:34 -- Looking for assert.h - found 03:01:34 -- Looking for arpa/inet.h 03:01:35 -- Looking for arpa/inet.h - found 03:01:35 -- Looking for fcntl.h 03:01:35 -- Looking for fcntl.h - found 03:01:35 -- Looking for inttypes.h 03:01:35 -- Looking for inttypes.h - found 03:01:35 -- Looking for memory.h 03:01:36 -- Looking for memory.h - found 03:01:36 -- Looking for netdb.h 03:01:36 -- Looking for netdb.h - found 03:01:36 -- Looking for netinet/in.h 03:01:37 -- Looking for netinet/in.h - found 03:01:37 -- Looking for stddef.h 03:01:37 -- Looking for stddef.h - found 03:01:37 -- Looking for stdint.h 03:01:37 -- Looking for stdint.h - found 03:01:37 -- Looking for stdlib.h 03:01:38 -- Looking for stdlib.h - found 03:01:38 -- Looking for string.h 03:01:38 -- Looking for string.h - found 03:01:38 -- Looking for strings.h 03:01:39 -- Looking for strings.h - found 03:01:39 -- Looking for time.h 03:01:39 -- Looking for time.h - found 03:01:39 -- Looking for sys/param.h 03:01:39 -- Looking for sys/param.h - found 03:01:39 -- Looking for sys/socket.h 03:01:40 -- Looking for sys/socket.h - found 03:01:40 -- Looking for sys/stat.h 03:01:40 -- Looking for sys/stat.h - found 03:01:40 -- Looking for sys/types.h 03:01:41 -- Looking for sys/types.h - found 03:01:41 -- Looking for sys/time.h 03:01:41 -- Looking for sys/time.h - found 03:01:41 -- Looking for unistd.h 03:01:42 -- Looking for unistd.h - found 03:01:42 -- Looking for float.h 03:01:42 -- Looking for float.h - found 03:01:42 -- Looking for dlfcn.h 03:01:43 -- Looking for dlfcn.h - found 03:01:43 -- Looking for memset 03:01:43 -- Looking for memset - found 03:01:43 -- Looking for select 03:01:43 -- Looking for select - found 03:01:43 -- Looking for socket 03:01:44 -- Looking for socket - found 03:01:44 -- Looking for strdup 03:01:44 -- Looking for strdup - found 03:01:44 -- Looking for strerror 03:01:45 -- Looking for strerror - found 03:01:45 -- Looking for strnlen 03:01:45 -- Looking for strnlen - found 03:01:45 -- Looking for fls 03:01:45 -- Looking for fls - not found 03:01:45 -- Looking for vprintf 03:01:46 -- Looking for vprintf - found 03:01:46 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 03:01:46 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 03:01:46 -- Configuring done (13.0s) 03:01:46 -- Generating done (0.0s) 03:01:46 -- Build files have been written to: /device-coap/deps/tinydtls/build 03:01:46 + make 03:01:46 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 03:01:48 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 03:01:48 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 03:01:50 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 03:01:51 In file included from /device-coap/deps/tinydtls/crypto.c:34: 03:01:51 In function 'ecc_ecdh', 03:01:51 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 03:01:51 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 03:01:51 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 03:01:51 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:51 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 03:01:51 /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:51 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:51 | ^~~~~~~~~~~ 03:01:51 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 03:01:51 431 | uint32_t pub_x[8]; 03:01:51 | ^~~~~ 03:01:51 In function 'ecc_ecdh', 03:01:51 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 03:01:51 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 03:01:51 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 03:01:51 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:51 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 03:01:51 /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:51 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:51 | ^~~~~~~~~~~ 03:01:51 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 03:01:51 432 | uint32_t pub_y[8]; 03:01:51 | ^~~~~ 03:01:51 In function 'ecc_ecdh', 03:01:51 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 03:01:51 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 03:01:51 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 03:01:51 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:51 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 03:01:51 /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:51 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:51 | ^~~~~~~~~~~ 03:01:51 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 03:01:51 430 | uint32_t priv[8]; 03:01:51 | ^~~~ 03:01:52 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 03:02:00 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 03:02:00 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 03:02:00 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 03:02:00 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 03:02:00 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 03:02:00 /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:02:00 316 | for (idx = 0; idx < count; idx++) { 03:02:00 | ^ 03:02:00 /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:02:00 319 | return result == count; 03:02:00 | ^~ 03:02:05 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 03:02:05 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 03:02:05 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 03:02:05 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 03:02:06 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 03:02:06 /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:02:06 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 03:02:06 | ~~~~~~~~~~^~~~~~~~ 03:02:06 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 03:02:06 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 03:02:06 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 03:02:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:02:06 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 03:02:06 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 03:02:06 | ~~~~~^~~~~~~~ 03:02:06 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 03:02:06 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 03:02:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:02:06 [100%] Linking C shared library libtinydtls.so 03:02:06 [100%] Built target tinydtls 03:02:07 + make install 03:02:07 [100%] Built target tinydtls 03:02:07 Install the project... 03:02:07 -- Install configuration: "Release" 03:02:07 -- Installing: /usr/local/lib/libtinydtls.so 03:02:07 -- Up-to-date: /usr/local/include/tinydtls 03:02:07 -- Installing: /usr/local/include/tinydtls/dtls.h 03:02:07 -- Installing: /usr/local/include/tinydtls/tinydtls.h 03:02:07 -- Installing: /usr/local/include/tinydtls/dtls_time.h 03:02:07 -- Installing: /usr/local/include/tinydtls/utlist.h 03:02:07 -- Installing: /usr/local/include/tinydtls/ccm.h 03:02:07 -- Installing: /usr/local/include/tinydtls/hmac.h 03:02:07 -- Installing: /usr/local/include/tinydtls/uthash.h 03:02:07 -- Installing: /usr/local/include/tinydtls/numeric.h 03:02:07 -- Installing: /usr/local/include/tinydtls/netq.h 03:02:07 -- Up-to-date: /usr/local/include/tinydtls/sha2 03:02:07 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 03:02:07 -- Installing: /usr/local/include/tinydtls/crypto.h 03:02:07 -- Installing: /usr/local/include/tinydtls/alert.h 03:02:07 -- Installing: /usr/local/include/tinydtls/session.h 03:02:07 -- Installing: /usr/local/include/tinydtls/global.h 03:02:07 -- Up-to-date: /usr/local/include/tinydtls/ecc 03:02:07 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 03:02:07 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 03:02:07 -- Installing: /usr/local/include/tinydtls/state.h 03:02:07 -- Up-to-date: /usr/local/include/tinydtls/aes 03:02:07 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 03:02:07 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 03:02:07 -- Installing: /usr/local/include/tinydtls/peer.h 03:02:07 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 03:02:07 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 03:02:07 -- Up-to-date: /usr/local/include/tinydtls 03:02:07 -- Installing: /usr/local/include/tinydtls/dtls_config.h 03:02:07 + cd /device-coap/deps 03:02:07 + git clone https://github.com/obgm/libcoap.git 03:02:07 Cloning into 'libcoap'... 03:02:14 + cd libcoap 03:02:14 + git reset --hard 1739507 03:02:14 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 03:02:14 + patch -p1 03:02:14 patching file cmake/FindTinyDTLS.cmake 03:02:14 + patch -p1 03:02:14 patching file include/coap2/coap_config.h.in 03:02:14 + mkdir -p build 03:02:14 + cd build 03:02:14 + 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:02:14 -- The CXX compiler identification is GNU 12.2.1 03:02:14 -- The C compiler identification is GNU 12.2.1 03:02:14 -- Detecting CXX compiler ABI info 03:02:14 -- Detecting CXX compiler ABI info - done 03:02:14 -- Check for working CXX compiler: /usr/bin/c++ - skipped 03:02:14 -- Detecting CXX compile features 03:02:14 -- Detecting CXX compile features - done 03:02:14 -- Detecting C compiler ABI info 03:02:14 -- Detecting C compiler ABI info - done 03:02:15 -- Check for working C compiler: /usr/bin/cc - skipped 03:02:15 -- Detecting C compile features 03:02:15 -- Detecting C compile features - done 03:02:15 -- Looking for byteswap.h 03:02:15 -- Looking for byteswap.h - found 03:02:15 -- Looking for inttypes.h 03:02:16 -- Looking for inttypes.h - found 03:02:16 -- Looking for limits.h 03:02:16 -- Looking for limits.h - found 03:02:16 -- Looking for memory.h 03:02:16 -- Looking for memory.h - found 03:02:16 -- Looking for strings.h 03:02:16 -- Looking for strings.h - found 03:02:16 -- Looking for string.h 03:02:17 -- Looking for string.h - found 03:02:17 -- Looking for sys/sysctl.h 03:02:17 -- Looking for sys/sysctl.h - not found 03:02:17 -- Looking for netinet/in.h 03:02:17 -- Looking for netinet/in.h - found 03:02:17 -- Looking for sys/epoll.h 03:02:18 -- Looking for sys/epoll.h - found 03:02:18 -- Looking for sys/timerfd.h 03:02:18 -- Looking for sys/timerfd.h - found 03:02:18 -- Looking for arpa/inet.h 03:02:18 -- Looking for arpa/inet.h - found 03:02:18 -- Looking for stdbool.h 03:02:19 -- Looking for stdbool.h - found 03:02:19 -- Looking for netdb.h 03:02:19 -- Looking for netdb.h - found 03:02:19 -- Looking for pthread.h 03:02:19 -- Looking for pthread.h - found 03:02:19 -- Looking for stdlib.h 03:02:20 -- Looking for stdlib.h - found 03:02:20 -- Looking for stdint.h 03:02:20 -- Looking for stdint.h - found 03:02:20 -- Looking for syslog.h 03:02:21 -- Looking for syslog.h - found 03:02:21 -- Looking for sys/ioctl.h 03:02:21 -- Looking for sys/ioctl.h - found 03:02:21 -- Looking for sys/socket.h 03:02:21 -- Looking for sys/socket.h - found 03:02:21 -- Looking for sys/stat.h 03:02:21 -- Looking for sys/stat.h - found 03:02:21 -- Looking for sys/time.h 03:02:22 -- Looking for sys/time.h - found 03:02:22 -- Looking for sys/types.h 03:02:22 -- Looking for sys/types.h - found 03:02:22 -- Looking for sys/unistd.h 03:02:22 -- Looking for sys/unistd.h - not found 03:02:22 -- Looking for time.h 03:02:22 -- Looking for time.h - found 03:02:22 -- Looking for unistd.h 03:02:23 -- Looking for unistd.h - found 03:02:23 -- Looking for float.h 03:02:23 -- Looking for float.h - found 03:02:23 -- Looking for stddef.h 03:02:24 -- Looking for stddef.h - found 03:02:24 -- Looking for winsock2.h 03:02:24 -- Looking for winsock2.h - not found 03:02:24 -- Looking for ws2tcpip.h 03:02:24 -- Looking for ws2tcpip.h - not found 03:02:24 -- Looking for malloc 03:02:24 -- Looking for malloc - found 03:02:24 -- Looking for memset 03:02:25 -- Looking for memset - found 03:02:25 -- Looking for select 03:02:25 -- Looking for select - found 03:02:25 -- Looking for socket 03:02:25 -- Looking for socket - found 03:02:25 -- Looking for strcasecmp 03:02:25 -- Looking for strcasecmp - found 03:02:25 -- Looking for pthread_mutex_lock 03:02:26 -- Looking for pthread_mutex_lock - found 03:02:26 -- Looking for getaddrinfo 03:02:26 -- Looking for getaddrinfo - found 03:02:26 -- Looking for strnlen 03:02:27 -- Looking for strnlen - found 03:02:27 -- Looking for strrchr 03:02:27 -- Looking for strrchr - found 03:02:27 -- Looking for getrandom 03:02:27 -- Looking for getrandom - found 03:02:27 -- Looking for cmsghdr 03:02:27 -- Looking for cmsghdr - not found 03:02:27 -- compiling without epoll support 03:02:27 -- compiling with DTLS support 03:02:27 -- DTLS_BACKEND: tinydtls 03:02:27 -- Found TinyDTLS: /usr/local/include 03:02:27 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 03:02:27 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 03:02:27 -- TINYDTLS_ROOT_DIR: 03:02:27 -- compiling with tinydtls support 03:02:27 -- ENABLE_DTLS:.....................ON 03:02:27 -- ENABLE_TCP:......................ON 03:02:27 -- ENABLE_DOCS:.....................OFF 03:02:27 -- ENABLE_EXAMPLES:.................OFF 03:02:27 -- DTLS_BACKEND:....................tinydtls 03:02:27 -- WITH_GNUTLS:.....................OFF 03:02:27 -- WITH_TINYDTLS:...................ON 03:02:27 -- WITH_OPENSSL:....................OFF 03:02:27 -- WITH_MBEDTLS:....................OFF 03:02:27 -- HAVE_LIBTINYDTLS:................1 03:02:27 -- HAVE_LIBGNUTLS:.................. 03:02:27 -- HAVE_OPENSSL:.................... 03:02:27 -- HAVE_MBEDTLS:.................... 03:02:27 -- COAP_EPOLL_SUPPORT:.............. 03:02:27 -- CMAKE_C_COMPILER:................/usr/bin/cc 03:02:27 -- BUILD_SHARED_LIBS:...............ON 03:02:27 -- CMAKE_BUILD_TYPE:................Release 03:02:27 -- CMAKE_SYSTEM_PROCESSOR:..........aarch64 03:02:28 -- Configuring done (14.7s) 03:02:28 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 03:02:28 Policy CMP0115 is not set: Source file extensions must be explicit. Run 03:02:28 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 03:02:28 command to set the policy and suppress this warning. 03:02:28 03:02:28 File: 03:02:28 03:02:28 /device-coap/deps/libcoap/include/coap2/coap.h.in 03:02:28 This warning is for project developers. Use -Wno-dev to suppress it. 03:02:28 03:02:28 -- Generating done (0.0s) 03:02:28 -- Build files have been written to: /device-coap/deps/libcoap/build 03:02:28 + make 03:02:28 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 03:02:28 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 03:02:29 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 03:02:30 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 03:02:31 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 03:02:32 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 03:02:32 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 03:02:34 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 03:02:34 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 03:02:34 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 03:02:39 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 03:02:39 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 03:02:40 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 03:02:40 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 03:02:40 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 03:02:45 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 03:02:46 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 03:02:47 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 03:02:51 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 03:02:51 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 03:02:51 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 03:02:52 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 03:02:54 [100%] Linking C shared library libcoap-2.so 03:02:54 [100%] Built target coap-2 03:02:54 + make install 03:02:54 [100%] Built target coap-2 03:02:54 Install the project... 03:02:54 -- Install configuration: "Release" 03:02:54 -- Installing: /usr/local/lib/libcoap-2.so 03:02:55 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 03:02:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 03:02:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 03:02:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 03:02:55 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 03:02:55 -- Up-to-date: /usr/local/include 03:02:55 -- Up-to-date: /usr/local/include/coap2 03:02:55 -- Installing: /usr/local/include/coap2/coap_dtls.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_mutex.h 03:02:55 -- Installing: /usr/local/include/coap2/option.h 03:02:55 -- Installing: /usr/local/include/coap2/uri.h 03:02:55 -- Installing: /usr/local/include/coap2/net.h 03:02:55 -- Installing: /usr/local/include/coap2/bits.h 03:02:55 -- Installing: /usr/local/include/coap2/utlist.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_event.h 03:02:55 -- Installing: /usr/local/include/coap2/block.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_session.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_prng.h 03:02:55 -- Installing: /usr/local/include/coap2/uthash.h 03:02:55 -- Installing: /usr/local/include/coap2/async.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_hashkey.h 03:02:55 -- Installing: /usr/local/include/coap2/libcoap.h 03:02:55 -- Installing: /usr/local/include/coap2/mem.h 03:02:55 -- Installing: /usr/local/include/coap2/subscribe.h 03:02:55 -- Installing: /usr/local/include/coap2/resource.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_riot.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_time.h 03:02:55 -- Installing: /usr/local/include/coap2/pdu.h 03:02:55 -- Installing: /usr/local/include/coap2/address.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_io.h 03:02:55 -- Installing: /usr/local/include/coap2/lwippools.h 03:02:55 -- Installing: /usr/local/include/coap2/str.h 03:02:55 -- Installing: /usr/local/include/coap2/coap_debug.h 03:02:55 -- Installing: /usr/local/include/coap2/encode.h 03:02:55 -- Up-to-date: /usr/local/include 03:02:55 -- Up-to-date: /usr/local/include/coap2 03:02:55 -- Installing: /usr/local/include/coap2/coap.h 03:02:55 + '[' 1 '=' 1 ] 03:02:55 + cd /device-coap/deps 03:02:55 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 03:02:55 Connecting to github.com (140.82.113.3:443) 03:02:55 Connecting to codeload.github.com (140.82.113.9:443) 03:02:55 saving to 'v4.0.0.zip' 03:02:55 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 03:02:55 'v4.0.0.zip' saved 03:02:55 + unzip v4.0.0.zip 03:02:55 Archive: v4.0.0.zip 03:02:55 creating: device-sdk-c-4.0.0/ 03:02:55 creating: device-sdk-c-4.0.0/.github/ 03:02:55 inflating: device-sdk-c-4.0.0/.github/Contributing.md 03:02:55 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 03:02:55 inflating: device-sdk-c-4.0.0/.github/semantic.yml 03:02:55 creating: device-sdk-c-4.0.0/.github/workflows/ 03:02:55 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 03:02:55 inflating: device-sdk-c-4.0.0/.gitignore 03:02:55 inflating: device-sdk-c-4.0.0/Attribution.txt 03:02:55 inflating: device-sdk-c-4.0.0/CHANGELOG.md 03:02:55 inflating: device-sdk-c-4.0.0/Doxyfile 03:02:55 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 03:02:55 inflating: device-sdk-c-4.0.0/Jenkinsfile 03:02:55 inflating: device-sdk-c-4.0.0/LICENSE 03:02:55 inflating: device-sdk-c-4.0.0/Makefile 03:02:55 inflating: device-sdk-c-4.0.0/OWNERS.md 03:02:55 inflating: device-sdk-c-4.0.0/README.IOT.md 03:02:55 inflating: device-sdk-c-4.0.0/README.md 03:02:55 inflating: device-sdk-c-4.0.0/README.v3.md 03:02:55 creating: device-sdk-c-4.0.0/docs/ 03:02:55 inflating: device-sdk-c-4.0.0/docs/configuration.md 03:02:55 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 03:02:55 inflating: device-sdk-c-4.0.0/docs/metrics.md 03:02:55 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 03:02:55 inflating: device-sdk-c-4.0.0/docs/startup.md 03:02:55 creating: device-sdk-c-4.0.0/include/ 03:02:55 creating: device-sdk-c-4.0.0/include/devsdk/ 03:02:55 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 03:02:55 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 03:02:55 creating: device-sdk-c-4.0.0/include/edgex/ 03:02:55 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 03:02:55 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 03:02:55 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 03:02:55 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 03:02:55 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 03:02:55 creating: device-sdk-c-4.0.0/scripts/ 03:02:55 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 03:02:55 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 03:02:55 inflating: device-sdk-c-4.0.0/scripts/build.sh 03:02:55 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 03:02:55 creating: device-sdk-c-4.0.0/src/ 03:02:55 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 03:02:55 creating: device-sdk-c-4.0.0/src/c/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/api.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/bus.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/bus.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/callback3.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/callback3.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/config.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/config.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/correlation.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/correlation.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/data.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/data.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 03:02:55 inflating: device-sdk-c-4.0.0/src/c/device.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/device.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/devman.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/devmap.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/devmap.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/devutil.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/discovery.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/discovery.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/file/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/random/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 03:02:55 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 03:02:55 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 03:02:55 inflating: device-sdk-c-4.0.0/src/c/filesys.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/filesys.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/keeper.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/keeper.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/map.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/map.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/metadata.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/metadata.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/metrics.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/opstate.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/opstate.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/parson.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/parson.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/profiles.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/profiles.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/registry.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/registry.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/rest.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/rest.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/secrets.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/secrets.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/service.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/service.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/transform.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/transform.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/validate.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/validate.h 03:02:55 inflating: device-sdk-c-4.0.0/src/c/watchers.c 03:02:55 inflating: device-sdk-c-4.0.0/src/c/watchers.h 03:02:55 creating: device-sdk-c-4.0.0/src/cmake/ 03:02:55 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 03:02:55 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 03:02:55 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 03:02:55 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 03:02:55 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 03:02:55 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 03:02:55 + cd device-sdk-c-4.0.0 03:02:55 + ./scripts/build.sh 03:02:55 + CPPCHECK=false 03:02:55 + DOCGEN=false 03:02:55 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 03:02:55 + '[' 0 -gt 0 ] 03:02:55 + readlink -f ./scripts/build.sh 03:02:55 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 03:02:55 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 03:02:55 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 03:02:55 + cd /device-coap/deps/device-sdk-c-4.0.0 03:02:55 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 03:02:55 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 03:02:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 03:02:56 -- The C compiler identification is GNU 12.2.1 03:02:56 -- Detecting C compiler ABI info 03:02:56 -- Detecting C compiler ABI info - done 03:02:56 -- Check for working C compiler: /usr/bin/cc - skipped 03:02:56 -- Detecting C compile features 03:02:56 -- Detecting C compile features - done 03:02:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:02:56 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 03:02:56 -- Found LIBYAML: /usr/lib/libyaml.so 03:02:56 -- Found LIBUUID: /usr/lib/libuuid.so 03:02:56 -- Found LIBCBOR: /usr/lib/libcbor.so 03:02:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:02:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:02:56 -- /opt/iotech/iot/1.5/include 03:02:56 -- C SDK 0.0.0 for Linux 03:02:57 -- Performing Test CSDK_HAVE_ATOMIC 03:02:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:02:57 -- Found Curses: /usr/lib/libcurses.so 03:02:57 -- Configuring done (2.1s) 03:02:58 -- Generating done (0.3s) 03:02:58 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 03:02:58 + make all package 03:02:58 + tee release.log 03:02:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:02:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:03:00 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:03:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:03:02 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:03:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:03:05 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:03:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:03:08 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:03:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:03:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:03:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:03:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:03:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:03:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:03:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:03:16 [ 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:18 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:03:20 [ 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:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:03:28 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:03:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:03:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:03:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:03:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:03:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:03:34 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:03:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:03:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:03:38 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 03:03: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] 03:03:38 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 03:03:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:03:38 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 03:03:38 875 | const iot_data_t *deviceservices_config; 03:03:38 | ^~~~~~~~~~~~~~~~~~~~~ 03:03:39 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:03:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:03:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:03:41 [ 68%] Linking C shared library libcsdk.so 03:03:41 [ 68%] Built target csdk 03:03:41 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:03:42 [ 72%] Linking C executable template 03:03:42 /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:42 [ 72%] Built target template 03:03:42 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:03:43 [ 76%] Linking C executable device-counter 03:03:43 /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:43 [ 76%] Built target device-counter 03:03:43 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:03:44 [ 80%] Linking C executable device-random 03:03:44 /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:44 [ 80%] Built target device-random 03:03:44 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:03:45 [ 84%] Linking C executable device-gyro 03:03:45 /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:45 [ 84%] Built target device-gyro 03:03:45 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:03:46 [ 88%] Linking C executable device-bitfields 03:03: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) 03:03:46 [ 88%] Built target device-bitfields 03:03:46 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:03:47 [ 92%] Linking C executable template-discovery 03:03: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) 03:03:47 [ 92%] Built target template-discovery 03:03:47 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:03:48 [ 96%] Linking C executable device-file 03:03: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) 03:03:48 [ 96%] Built target device-file 03:03:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:03:49 [100%] Linking C executable device-terminal 03:03: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) 03:03:50 [100%] Built target device-terminal 03:03:50 Run CPack packaging tool... 03:03:50 CPack: Create package using TGZ 03:03:50 CPack: Install projects 03:03:50 CPack: - Run preinstall target for: Csdk 03:03:50 CPack: - Install project: Csdk [] 03:03:51 CPack: Create package 03:03:51 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 03:03:51 + '[' false '=' true ] 03:03:51 + '[' false '=' true ] 03:03:51 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:03:51 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:03:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 03:03:51 -- The C compiler identification is GNU 12.2.1 03:03:51 -- Detecting C compiler ABI info 03:03:51 -- Detecting C compiler ABI info - done 03:03:51 -- Check for working C compiler: /usr/bin/cc - skipped 03:03:51 -- Detecting C compile features 03:03:51 -- Detecting C compile features - done 03:03:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:03:52 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 03:03:52 -- Found LIBYAML: /usr/lib/libyaml.so 03:03:52 -- Found LIBUUID: /usr/lib/libuuid.so 03:03:52 -- Found LIBCBOR: /usr/lib/libcbor.so 03:03:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:03:52 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:03:52 -- /opt/iotech/iot/1.5/include 03:03:52 -- C SDK 0.0.0 for Linux 03:03:52 -- Performing Test CSDK_HAVE_ATOMIC 03:03:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:03:52 -- Found Curses: /usr/lib/libcurses.so 03:03:53 -- Configuring done (1.8s) 03:03:53 -- Generating done (0.2s) 03:03:53 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:03:53 + + maketee 03:03:53 debug.log 03:03:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:03:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:03:54 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:03:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:03:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:03:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:03:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:03:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:03:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:03:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:03:57 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:03:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:03:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:03:58 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:03:59 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:04:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:04:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 03:04:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:04:01 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:04:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:04:02 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:04:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:04:03 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:04:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:04:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:04:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:04:05 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:04:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:04:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:04:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:04:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:04:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:04:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:04:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:04:09 [ 68%] Linking C shared library libcsdk.so 03:04:09 [ 68%] Built target csdk 03:04:10 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:04:10 [ 72%] Linking C executable template 03:04:10 /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:04:10 [ 72%] Built target template 03:04:10 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:04:11 [ 76%] Linking C executable device-counter 03:04:11 /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:04:11 [ 76%] Built target device-counter 03:04:11 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:04:12 [ 80%] Linking C executable device-random 03:04:12 /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:04:12 [ 80%] Built target device-random 03:04:12 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:04:12 [ 84%] Linking C executable device-gyro 03:04:12 /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:04:12 [ 84%] Built target device-gyro 03:04:12 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:04:13 [ 88%] Linking C executable device-bitfields 03:04:13 /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:04:13 [ 88%] Built target device-bitfields 03:04:13 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:04:13 [ 92%] Linking C executable template-discovery 03:04:14 /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:04:14 [ 92%] Built target template-discovery 03:04:14 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:04:14 [ 96%] Linking C executable device-file 03:04:15 /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:04:15 [ 96%] Built target device-file 03:04:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:04:15 [100%] Linking C executable device-terminal 03:04:15 /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:04:16 [100%] Built target device-terminal 03:04:16 + cp -rf include/devsdk include/edgex /usr/include/ 03:04:16 + cp build/release/c/libcsdk.so /usr/lib/ 03:04:16 + rm -rf /device-coap/deps 03:04:17 Removing intermediate container 02bc1f209404 03:04:17 ---> 67927e049f15 03:04:17 Step 13/33 : RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 03:04:17 ---> Running in 6014d103ce2d 03:04:18 + readlink -f /device-coap/scripts/build.sh 03:04:18 + dirname /device-coap/scripts/build.sh 03:04:18 + dirname /device-coap/scripts 03:04:18 /device-coap 03:04:18 + ROOT=/device-coap 03:04:18 + echo /device-coap 03:04:18 + cd /device-coap 03:04:18 + mkdir -p /device-coap/build/release 03:04:18 + cd /device-coap/build/release 03:04:18 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 03:04:18 -- Configuring done (0.0s) 03:04:18 -- Generating done (0.0s) 03:04:18 -- Build files have been written to: /device-coap/build/release 03:04:18 + make 03:04:18 + tee release.log 03:04:18 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 03:04:18 In file included from /usr/include/devsdk/devsdk.h:18, 03:04:18 from /device-coap/src/c/device-coap.h:17, 03:04:18 from /device-coap/src/c/coap-client.h:21, 03:04:18 from /device-coap/src/c/coap-client.c:9: 03:04:18 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 03:04:18 /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:04:18 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~ 03:04:18 90 | strlen(end_dev_params_ptr->psk_key)); 03:04:18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 03:04:18 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:04:18 | ~^ 03:04:18 | | 03:04:18 | unsigned int 03:04:18 | %lu 03:04:18 /device-coap/src/c/coap-client.c: In function 'message_handler': 03:04:18 /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:04:18 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 03:04:18 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:04:18 | ~^ 03:04:18 | | 03:04:18 | unsigned int 03:04:18 | %lu 03:04:18 /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:04:18 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 130 | resource->properties->type); 03:04:18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 | | 03:04:18 | iot_typecode_t 03:04:18 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 03:04:18 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 /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:04:18 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 140 | len); 03:04:18 | ~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 03:04:18 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 | %ld 03:04:18 /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:04:18 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 145 | len); 03:04:18 | ~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 03:04:18 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 | %ld 03:04:18 /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:04:18 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 152 | len); 03:04:18 | ~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 03:04:18 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 | %ld 03:04:18 /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:04:18 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 157 | resource->properties->type); 03:04:18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 | | 03:04:18 | iot_typecode_t 03:04:18 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 03:04:18 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 03:04:18 /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:04:18 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 03:04:18 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 | %ld 03:04:18 /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:04:18 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 253 | (uint8_t *)end_dev_params_ptr->psk_key, 03:04:18 254 | strlen(end_dev_params_ptr->psk_key)); 03:04:18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 03:04:18 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 | %ld 03:04:18 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 03:04:18 /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:04:18 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:04:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 352 | (uint8_t *)end_dev_params_ptr->psk_key, 03:04:18 353 | strlen(end_dev_params_ptr->psk_key)); 03:04:18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:18 | | 03:04:18 | size_t {aka long unsigned int} 03:04:18 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 03:04:18 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:04:18 | ~^ 03:04:18 | | 03:04:18 | int 03:04:18 | %ld 03:04:19 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 03:04:19 In file included from /usr/include/devsdk/devsdk.h:18, 03:04:19 from /usr/include/edgex/devices.h:17, 03:04:19 from /device-coap/src/c/coap-server.c:22: 03:04:19 /device-coap/src/c/coap-server.c: In function 'data_handler': 03:04:19 /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:04:19 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:04:19 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:04:19 | | 03:04:19 | size_t {aka long unsigned int} 03:04:19 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 03:04:19 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:04:19 | ~^ 03:04:19 | | 03:04:19 | unsigned int 03:04:19 | %lu 03:04:19 /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:04:19 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:04:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:19 | | 03:04:19 | iot_typecode_t 03:04:19 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 03:04:19 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:04:19 | ~^ 03:04:19 | | 03:04:19 | int 03:04:20 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 03:04:20 In file included from /usr/include/devsdk/devsdk.h:18, 03:04:20 from /device-coap/src/c/coap-util.h:18, 03:04:20 from /device-coap/src/c/coap-util.c:9: 03:04:20 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 03:04:20 /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:04:20 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:04:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:04:20 | | 03:04:20 | size_t {aka long unsigned int} 03:04:20 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 03:04:20 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:04:20 | ~^ 03:04:20 | | 03:04:20 | unsigned int 03:04:20 | %lu 03:04:20 /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:04:20 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:04:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:04:20 | | 03:04:20 | size_t {aka long unsigned int} 03:04:20 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 03:04:20 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:04:20 | ~^ 03:04:20 | | 03:04:20 | unsigned int 03:04:20 | %lu 03:04:20 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 03:04:20 /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:04:20 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:04:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:04:20 | | 03:04:20 | size_t {aka long unsigned int} 03:04:20 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 03:04:20 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:04:20 | ~^ 03:04:20 | | 03:04:20 | unsigned int 03:04:20 | %lu 03:04:20 /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:04:20 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:04:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:04:20 | | 03:04:20 | size_t {aka long unsigned int} 03:04:20 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 03:04:20 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:04:20 | ~^ 03:04:20 | | 03:04:20 | unsigned int 03:04:20 | %lu 03:04:21 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 03:04:21 In file included from /usr/include/devsdk/devsdk.h:18, 03:04:21 from /device-coap/src/c/device-coap.h:17, 03:04:21 from /device-coap/src/c/device-coap.c:10: 03:04:21 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 03:04:21 /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:04:21 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:04:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:21 131 | requests[i].resource->type); 03:04:21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:21 | | 03:04:21 | iot_typecode_t 03:04:21 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 03:04:21 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:04:21 | ~^ 03:04:21 | | 03:04:21 | int 03:04:22 [100%] Linking C executable device-coap 03:04:22 /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:04:22 [100%] Built target device-coap 03:04:25 Removing intermediate container 6014d103ce2d 03:04:25 ---> 613f1393a58f 03:04:25 Step 14/33 : FROM ${BASE} 03:04:25 ---> 8e0788d7e555 03:04:25 Step 15/33 : RUN apk add --update --no-cache dumb-init 03:04:25 ---> Running in 0615b0f3623a 03:04:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:04:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:04:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:04:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:28 OK: 334 MiB in 103 packages 03:04:29 Removing intermediate container 0615b0f3623a 03:04:29 ---> 5be33a9549bf 03:04:29 Step 16/33 : RUN apk --no-cache upgrade 03:04:29 ---> Running in 05b30db1eece 03:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:04:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:04:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:32 OK: 334 MiB in 103 packages 03:04:33 Removing intermediate container 05b30db1eece 03:04:33 ---> 603729e98cff 03:04:33 Step 17/33 : WORKDIR / 03:04:33 ---> Running in de3ee1b4957e 03:04:33 Removing intermediate container de3ee1b4957e 03:04:33 ---> 0d5fd499aee0 03:04:33 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:04:33 ---> Running in cb974502a1aa 03:04:34 Connecting to iotech.jfrog.io (34.246.139.145:443) 03:04:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:04:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:04:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:04:35 Removing intermediate container cb974502a1aa 03:04:35 ---> 0d4bcbb324cf 03:04:35 Step 19/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 03:04:35 ---> Running in a928ad932de4 03:04:37 Removing intermediate container a928ad932de4 03:04:37 ---> b729f0791456 03:04:37 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:04:37 ---> Running in d04536365c68 03:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:04:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 03:04:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:40 (1/1) Installing curl (8.12.1-r0) 03:04:40 Executing busybox-1.36.1-r7.trigger 03:04:40 OK: 334 MiB in 104 packages 03:04:41 Removing intermediate container d04536365c68 03:04:41 ---> a0c9e3df7f9b 03:04:41 Step 21/33 : COPY --from=builder /device-coap/build/release/device-coap / 03:04:41 ---> 15176c5fb6ae 03:04:41 Step 22/33 : COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 03:04:42 ---> c13e71e44b68 03:04:42 Step 23/33 : COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 03:04:42 ---> edb45112f429 03:04:42 Step 24/33 : COPY --from=builder /usr/local/lib/libtinydtls.so /usr/local/lib/ 03:04:43 ---> 3c002355c980 03:04:43 Step 25/33 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 03:04:43 ---> 8f51e56c66ea 03:04:43 Step 26/33 : COPY LICENSE / 03:04:45 ---> 4dd92dec64b3 03:04:45 Step 27/33 : COPY Attribution.txt / 03:04:45 ---> 66bee78d3302 03:04:45 Step 28/33 : COPY res /res 03:04:45 ---> 00d61c7cdabf 03:04:45 Step 29/33 : ENTRYPOINT ["/device-coap"] 03:04:45 ---> Running in 116fa46e665f 03:04:50 Removing intermediate container 116fa46e665f 03:04:50 ---> aa4dadec596d 03:04:50 Step 30/33 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:04:50 ---> Running in 981f0d983ba7 03:04:50 Removing intermediate container 981f0d983ba7 03:04:50 ---> 30921c8417c5 03:04:50 Step 31/33 : LABEL arch=arm64 03:04:50 ---> Running in 352fbaef9f81 03:04:50 Removing intermediate container 352fbaef9f81 03:04:50 ---> f64b00dbce44 03:04:50 Step 32/33 : LABEL git_sha=c525e427ea752742b54d22c6461dec1292f4fddb 03:04:50 ---> Running in 08ee3bfee2eb 03:04:50 Removing intermediate container 08ee3bfee2eb 03:04:50 ---> 0f7a29f86f0c 03:04:50 Step 33/33 : LABEL version=0.0.0 03:04:50 ---> Running in 6874c4d98783 03:04:50 Removing intermediate container 6874c4d98783 03:04:50 ---> 3ad5034f5db5 03:04:50 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:04:50 Successfully built 3ad5034f5db5 03:04:50 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:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:56 03:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:56 arm64: Pulling from edgex-lftools-log-publisher 03:04:56 8998bd30e6a1: Pulling fs layer 03:04:56 04944245beec: Pulling fs layer 03:04:56 699f458cf7ca: Pulling fs layer 03:04:56 765212b225bb: Pulling fs layer 03:04:56 f23df028b6ca: Pulling fs layer 03:04:56 d65c8cfc05b1: Pulling fs layer 03:04:56 2437ff75d9bd: Pulling fs layer 03:04:56 f23df028b6ca: Waiting 03:04:56 d65c8cfc05b1: Waiting 03:04:56 2437ff75d9bd: Waiting 03:04:56 765212b225bb: Waiting 03:04:56 04944245beec: Verifying Checksum 03:04:56 04944245beec: Download complete 03:04:56 765212b225bb: Download complete 03:04:56 f23df028b6ca: Verifying Checksum 03:04:56 f23df028b6ca: Download complete 03:04:56 d65c8cfc05b1: Verifying Checksum 03:04:56 d65c8cfc05b1: Download complete 03:04:56 699f458cf7ca: Verifying Checksum 03:04:56 699f458cf7ca: Download complete 03:04:57 8998bd30e6a1: Download complete 03:05:00 2437ff75d9bd: Verifying Checksum 03:05:00 2437ff75d9bd: Download complete 03:05:02 8998bd30e6a1: Pull complete 03:05:02 04944245beec: Pull complete 03:05:03 699f458cf7ca: Pull complete 03:05:04 765212b225bb: Pull complete 03:05:04 f23df028b6ca: Pull complete 03:05:04 d65c8cfc05b1: Pull complete 03:05:19 2437ff75d9bd: Pull complete 03:05:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:20 prd-ubuntu20.04-docker-arm64-4c-16g-772853 does not seem to be running inside a container 03:05:20 $ 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:05:22 $ docker top 9c392252853ca958509cb8c1c3bb940184ba3881cbe8e66d3f539798d55c6e51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:05:23 ---> job-cost.sh 03:05:23 lf-activate-venv: SKIPPING 03:05:23 INFO: No Stack... 03:05:23 INFO: Retrieving Pricing Info for: v3-standard-4 03:05:24 INFO: Archiving Costs [Pipeline] sh 03:05:24 + cat /w/workspace/device-coap-c/1/archives/cost.csv 03:05:24 + cut -d, -f6 [Pipeline] lock 03:05:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] 03:05:25 Resource [jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] did not exist. Created. 03:05:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:05:25 /w/workspace/device-coap-c/1@tmp/durable-4f067f1d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:05:26 + echo total: 0.10999999940395355 [Pipeline] stash 03:05:26 Warning: overwriting stash ‘stack-cost’ 03:05:26 Stashed 1 file(s) [Pipeline] } 03:05:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:05:27 $ docker stop --time=1 9c392252853ca958509cb8c1c3bb940184ba3881cbe8e66d3f539798d55c6e51 03:05:28 $ docker rm -f --volumes 9c392252853ca958509cb8c1c3bb940184ba3881cbe8e66d3f539798d55c6e51 [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:05:30 + [ -d /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/archives ] 03:05:30 + ls -al /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/archives 03:05:30 total 16 03:05:30 drwxr-xr-x 3 root root 4096 Nov 10 02:55 . 03:05:30 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:55 .. 03:05:30 drwxr-xr-x 2 root root 4096 Nov 10 02:55 cost 03:05:30 -rw-r--r-- 1 root root 120 Nov 10 02:55 cost.csv 03:05:30 + sudo chown -R jenkins:jenkins /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/archives 03:05:30 + ls -al /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/archives 03:05:30 total 16 03:05:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:55 . 03:05:30 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:55 .. 03:05:30 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 02:55 cost 03:05:30 -rw-r--r-- 1 jenkins jenkins 120 Nov 10 02:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:05:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:05:31 ---> package-listing.sh 03:05:31 ++ tr '[:upper:]' '[:lower:]' 03:05:31 ++ facter osfamily 03:05:32 + OS_FAMILY=debian 03:05:32 + workspace=/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 03:05:32 + START_PACKAGES=/tmp/packages_start.txt 03:05:32 + END_PACKAGES=/tmp/packages_end.txt 03:05:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:05:32 + PACKAGES=/tmp/packages_start.txt 03:05:32 + '[' /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 ']' 03:05:32 + PACKAGES=/tmp/packages_end.txt 03:05:32 + case "${OS_FAMILY}" in 03:05:32 + dpkg -l 03:05:32 + grep '^ii' 03:05:32 + '[' -f /tmp/packages_start.txt ']' 03:05:32 + '[' -f /tmp/packages_end.txt ']' 03:05:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:05:32 + '[' /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 ']' 03:05:32 + mkdir -p /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/archives/ 03:05:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208/archives/ [Pipeline] echo 03:05:32 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/db1e6a6ac0c93ad5dbb7dfc499206208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:05:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:05:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:33 prd-ubuntu20.04-docker-8c-8g-772848 does not seem to be running inside a container 03:05:33 $ 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/db1e6a6ac0c93ad5dbb7dfc499206208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208 -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208:rw,z -v /w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@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 03:05:33 $ docker top 9a4211e9642689311fc28fd4fa872fbfa6ac9c19136bf29eb9020a38783fe0ed -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:33 + touch /tmp/pre-build-complete [Pipeline] sh 03:05:34 + mkdir -p /var/log/sysstat [Pipeline] sh 03:05:34 + ls /var/log/sa-host 03:05:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:05:34 provisioning config files... 03:05:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/db1e6a6ac0c93ad5dbb7dfc499206208@tmp/config4495207728075525706tmp [Pipeline] { [Pipeline] echo 03:05:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:05:35 ---> create-netrc.sh [Pipeline] } 03:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:05:35 ---> python-tools-install.sh [Pipeline] echo 03:05:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:05:35 ---> sudo-logs.sh 03:05:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:05:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:05:36 ---> job-cost.sh 03:05:36 lf-activate-venv: SKIPPING 03:05:36 DEBUG: total: 0.2199999988079071 03:05:36 INFO: Retrieving Stack Cost... 03:05:36 INFO: Retrieving Pricing Info for: v3-standard-8 03:05:36 INFO: Archiving Costs [Pipeline] echo 03:05:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:05:37 ---> logs-deploy.sh 03:05:37 lf-activate-venv: SKIPPING 03:05:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/snyk-fix-db1e6a6ac0c93ad5dbb7dfc499206208/1 03:05:37 INFO: archiving workspace using pattern(s): 03:05:38 Archives upload complete. 03:05:38 INFO: archiving logs to Nexus 03:05:38 ---> uname -a: 03:05:38 Linux prd-ubuntu20-04-docker-8c-8g-772848 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 GNU/Linux 03:05:38 03:05:38 03:05:38 ---> lscpu: 03:05:38 Architecture: x86_64 03:05:38 CPU op-mode(s): 32-bit, 64-bit 03:05:38 Byte Order: Little Endian 03:05:38 Address sizes: 40 bits physical, 48 bits virtual 03:05:38 CPU(s): 8 03:05:38 On-line CPU(s) list: 0-7 03:05:38 Thread(s) per core: 1 03:05:38 Core(s) per socket: 1 03:05:38 Socket(s): 8 03:05:38 NUMA node(s): 1 03:05:38 Vendor ID: AuthenticAMD 03:05:38 CPU family: 23 03:05:38 Model: 49 03:05:38 Model name: AMD EPYC-Rome Processor 03:05:38 Stepping: 0 03:05:38 CPU MHz: 2799.998 03:05:38 BogoMIPS: 5599.99 03:05:38 Virtualization: AMD-V 03:05:38 Hypervisor vendor: KVM 03:05:38 Virtualization type: full 03:05:38 L1d cache: 256 KiB 03:05:38 L1i cache: 256 KiB 03:05:38 L2 cache: 4 MiB 03:05:38 L3 cache: 128 MiB 03:05:38 NUMA node0 CPU(s): 0-7 03:05:38 Vulnerability Gather data sampling: Not affected 03:05:38 Vulnerability Itlb multihit: Not affected 03:05:38 Vulnerability L1tf: Not affected 03:05:38 Vulnerability Mds: Not affected 03:05:38 Vulnerability Meltdown: Not affected 03:05:38 Vulnerability Mmio stale data: Not affected 03:05:38 Vulnerability Retbleed: Vulnerable 03:05:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:05:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:05:38 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 03:05:38 Vulnerability Srbds: Not affected 03:05:38 Vulnerability Tsx async abort: Not affected 03:05:38 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:05:38 03:05:38 03:05:38 ---> nproc: 03:05:38 8 03:05:38 03:05:38 03:05:38 ---> df -h: 03:05:38 Filesystem Size Used Avail Use% Mounted on 03:05:38 overlay 155G 11G 144G 8% / 03:05:38 tmpfs 64M 0 64M 0% /dev 03:05:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:05:38 shm 64M 0 64M 0% /dev/shm 03:05:38 /dev/vda1 155G 11G 144G 8% /facter-os 03:05:38 03:05:38