Push event to branch odessa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47967fd6311d44cba5f1849fba3e2293691669b2 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-ssh7401643497744516738.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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-ssh15039997345617676479.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 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3109917058290008769.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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15341456487343975055.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f16b0674693bda8419e7356c8caa12f8ebbbe1e # timeout=10 Commit message: "Merge pull request #468 from cherrycl/issue-467" > 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-ssh17173951581771079902.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4864721109372187514.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 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-41719 in /w/workspace/dgexfoundry_device-coap-c_odessa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-coap-c.git > git init /w/workspace/dgexfoundry_device-coap-c_odessa # 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 > 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 Avoid second fetch Checking out Revision 47967fd6311d44cba5f1849fba3e2293691669b2 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @578a9a0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 5f16b0674693bda8419e7356c8caa12f8ebbbe1e > git config core.sparsecheckout # timeout=10 > git checkout -f 47967fd6311d44cba5f1849fba3e2293691669b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:55:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:55:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:55:31 ========================================================= 02:55:31 EdgeX Global Pipelines Version Info 02:55:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:55:32 ------------------- 02:55:32 stable info: 02:55:32 ------------------- 02:55:32 Commited By: Cherry Wang cherry@iotechsys.com 02:55:32 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 02:55:32 Message: update stable to v1.0.272 02:55:32 ------------------- 02:55:32 experimental info: 02:55:32 ------------------- 02:55:32 Commited By: Ginny Guan ginny@iotechsys.com 02:55:32 Commit SHA: ff7854e6e880f4986d85db2a71289ab620bef55d 02:55:32 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:55:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo 02:55:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo 02:55:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 02:55:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 02:55:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] echo 02:55:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47967fd [Pipeline] echo 02:55:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:55:34 provisioning config files... 02:55:34 copy managed file [device-coap-c-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config15053711416485960221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:34 ---> ****-login.sh 02:55:34 nexus3.edgexfoundry.org:10001 02:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:55:34 Configure a credential helper to remove this warning. See 02:55:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:55:34 02:55:34 Login Succeeded 02:55:34 nexus3.edgexfoundry.org:10002 02:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:55:34 Configure a credential helper to remove this warning. See 02:55:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:55:34 02:55:34 Login Succeeded 02:55:34 nexus3.edgexfoundry.org:10003 02:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:55:35 Configure a credential helper to remove this warning. See 02:55:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:55:35 02:55:35 Login Succeeded 02:55:35 nexus3.edgexfoundry.org:10004 02:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:55:35 Configure a credential helper to remove this warning. See 02:55:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:55:35 02:55:35 Login Succeeded 02:55:35 ****.io 02:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:55:35 Configure a credential helper to remove this warning. See 02:55:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:55:35 02:55:35 Login Succeeded 02:55:35 ---> ****-login.sh ends [Pipeline] } 02:55:35 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:55:36 + git rev-list -1 --merges 47967fd6311d44cba5f1849fba3e2293691669b2~1..47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] echo 02:55:36 -----------> git rev-list -1 --merges 47967fd6311d44cba5f1849fba3e2293691669b2~1..47967fd6311d44cba5f1849fba3e2293691669b2 47967fd6311d44cba5f1849fba3e2293691669b2 [false] [Pipeline] sh 02:55:36 + git log --format=format:%s -1 47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] echo 02:55:36 ========================================================= 02:55:36 [isLTSReleaseBuild] No build required. isLTSRelease: [true] 02:55:36 ========================================================= [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] echo 02:55:36 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 02:55:37 + echo 0.0.0 [Pipeline] echo 02:55:37 [prepBaseBuildImage] Generating new image with name: device-coap-c-builder-x86_64 [Pipeline] echo 02:55:37 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:55:37 ========================================================= 02:55:37 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts] 02:55:37 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:37 + docker build -t device-coap-c-builder-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts . 02:55:37 Sending build context to Docker daemon 371.7kB 02:55:37 Step 1/14 : ARG BASE=alpine:3.20 02:55:37 Step 2/14 : FROM ${BASE} 02:55:37 gcc-lts: Pulling from edgex-devops/edgex-gcc-base 02:55:37 96526aa774ef: Pulling fs layer 02:55:37 4f9bc52d1dc7: Pulling fs layer 02:55:37 585e8d389ef7: Pulling fs layer 02:55:37 4f9bc52d1dc7: Verifying Checksum 02:55:37 4f9bc52d1dc7: Download complete 02:55:38 96526aa774ef: Download complete 02:55:38 96526aa774ef: Pull complete 02:55:38 4f9bc52d1dc7: Pull complete 02:55:39 585e8d389ef7: Download complete 02:55:41 585e8d389ef7: Pull complete 02:55:41 Digest: sha256:b18ea3d6655bca8321bc47a2d462380979833a9574db8212b385fd511e1c6302 02:55:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts 02:55:41 ---> 45f96820a350 02:55:41 Step 3/14 : LABEL maintainer="Ken Bannister " 02:55:42 ---> Running in e7ece2143fbe 02:55:42 Removing intermediate container e7ece2143fbe 02:55:42 ---> ab839d3f6048 02:55:42 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:55:42 ---> Running in 8248d1dda8cf 02:55:43 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:55:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:55:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:55:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:55:43 Removing intermediate container 8248d1dda8cf 02:55:43 ---> 17b433242dd2 02:55:43 Step 5/14 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:55:43 ---> Running in c0b00e41b840 02:55:44 Removing intermediate container c0b00e41b840 02:55:44 ---> 134a7b981f58 02:55:44 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:55:44 ---> Running in 2e61f56d6677 02:55:44 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:45 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:55:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:55:46 (1/18) Installing dumb-init (1.2.5-r2) 02:55:46 (2/18) Installing hiredis (1.1.0-r2) 02:55:47 (3/18) Installing hiredis-dev (1.1.0-r2) 02:55:47 (4/18) Installing libcbor (0.10.2-r1) 02:55:47 (5/18) Installing iotech-iot-1.5 (1.5.5-r2) 02:55:48 (6/18) Installing iotech-iot-1.5-dev (1.5.5-r2) 02:55:48 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:55:48 (8/18) Installing libcbor-dev (0.10.2-r1) 02:55:48 (9/18) Installing libmenuw (6.4_p20230506-r0) 02:55:49 (10/18) Installing libpanelw (6.4_p20230506-r0) 02:55:49 (11/18) Installing libncurses++ (6.4_p20230506-r0) 02:55:49 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 02:55:50 (13/18) Installing libblkid (2.38.1-r8) 02:55:50 (14/18) Installing libuuid (2.38.1-r8) 02:55:50 (15/18) Installing libfdisk (2.38.1-r8) 02:55:51 (16/18) Installing libmount (2.38.1-r8) 02:55:51 (17/18) Installing libsmartcols (2.38.1-r8) 02:55:51 Still waiting to schedule task 02:55:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:55:51 (18/18) Installing util-linux-dev (2.38.1-r8) 02:55:52 Executing busybox-1.36.1-r2.trigger 02:55:52 OK: 336 MiB in 100 packages 02:55:53 Removing intermediate container 2e61f56d6677 02:55:53 ---> 7236341e73df 02:55:53 Step 7/14 : RUN apk --no-cache upgrade 02:55:53 ---> Running in ad9dcbd4d4e2 02:55:53 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:53 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:55:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:55:54 Upgrading critical system libraries and apk-tools: 02:55:54 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:55:55 Executing busybox-1.36.1-r2.trigger 02:55:55 Continuing the upgrade transaction with new apk-tools: 02:55:55 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:55:55 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:55:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 02:55:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:55:56 (1/26) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 02:55:57 (2/26) Upgrading busybox (1.36.1-r2 -> 1.36.1-r7) 02:55:57 Executing busybox-1.36.1-r7.post-upgrade 02:55:57 (3/26) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r7) 02:55:57 (4/26) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 02:55:58 (5/26) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 02:55:58 (6/26) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 02:55:59 (7/26) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r7) 02:55:59 (8/26) Upgrading binutils (2.40-r7 -> 2.40-r8) 02:55:59 (9/26) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 02:56:00 (10/26) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 02:56:01 (11/26) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 02:56:01 (12/26) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 02:56:01 (13/26) Installing libpsl (0.21.5-r0) 02:56:02 (14/26) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 02:56:02 (15/26) Installing libpsl-utils (0.21.5-r0) 02:56:03 (16/26) Installing libpsl-dev (0.21.5-r0) 02:56:03 (17/26) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 02:56:03 (18/26) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 02:56:04 (19/26) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 02:56:04 (20/26) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r3) 02:56:04 (21/26) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 02:56:05 (22/26) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:56:05 (23/26) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:56:06 (24/26) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 02:56:06 (25/26) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 02:56:06 (26/26) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:56:07 Executing busybox-1.36.1-r7.trigger 02:56:07 Executing ca-certificates-20241121-r1.trigger 02:56:07 OK: 337 MiB in 103 packages 02:56:08 Removing intermediate container ad9dcbd4d4e2 02:56:08 ---> 1c166fea8504 02:56:08 Step 8/14 : COPY scripts /device-coap/scripts 02:56:08 ---> 145f77175581 02:56:08 Step 9/14 : COPY src /device-coap/src/ 02:56:08 ---> d6b3215ae89a 02:56:08 Step 10/14 : COPY VERSION /device-coap 02:56:08 ---> adb143518148 02:56:08 Step 11/14 : RUN mkdir -p /device-coap/build 02:56:08 ---> Running in 58ed6a437e5d 02:56:08 Removing intermediate container 58ed6a437e5d 02:56:08 ---> 9f2c9677cdf9 02:56:08 Step 12/14 : WORKDIR /device-coap 02:56:08 ---> Running in 397f6d9e7bcf 02:56:08 Removing intermediate container 397f6d9e7bcf 02:56:08 ---> 8eda44518a35 02:56:08 Step 13/14 : RUN /device-coap/scripts/build_deps.sh 1 02:56:08 ---> Running in d45789d3d321 02:56:09 + BUILD_CSDK=1 02:56:09 + TINYDTLS_VERSION=b0e230d 02:56:09 + LIBCOAP_VERSION=1739507 02:56:09 + CSDK_VERSION=4.0.0 02:56:09 + '[' -d deps ] 02:56:09 + mkdir deps 02:56:09 + cd /device-coap/deps 02:56:09 + git clone https://github.com/eclipse/tinydtls.git 02:56:09 Cloning into 'tinydtls'... 02:56:09 + cd tinydtls 02:56:09 + git checkout develop 02:56:09 branch 'develop' set up to track 'origin/develop'. 02:56:09 Switched to a new branch 'develop' 02:56:09 + git reset --hard b0e230d 02:56:09 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:56:09 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:56:09 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:56:09 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:56:09 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:56:09 + mkdir -p build 02:56:09 + cd build 02:56:09 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:56:09 -- The C compiler identification is GNU 12.2.1 02:56:09 -- Detecting C compiler ABI info 02:56:09 -- Detecting C compiler ABI info - done 02:56:09 -- Check for working C compiler: /usr/bin/cc - skipped 02:56:09 -- Detecting C compile features 02:56:09 -- Detecting C compile features - done 02:56:09 -- Looking for assert.h 02:56:10 -- Looking for assert.h - found 02:56:10 -- Looking for arpa/inet.h 02:56:10 -- Looking for arpa/inet.h - found 02:56:10 -- Looking for fcntl.h 02:56:10 -- Looking for fcntl.h - found 02:56:10 -- Looking for inttypes.h 02:56:10 -- Looking for inttypes.h - found 02:56:10 -- Looking for memory.h 02:56:10 -- Looking for memory.h - found 02:56:10 -- Looking for netdb.h 02:56:10 -- Looking for netdb.h - found 02:56:10 -- Looking for netinet/in.h 02:56:10 -- Looking for netinet/in.h - found 02:56:10 -- Looking for stddef.h 02:56:10 -- Looking for stddef.h - found 02:56:10 -- Looking for stdint.h 02:56:10 -- Looking for stdint.h - found 02:56:10 -- Looking for stdlib.h 02:56:11 -- Looking for stdlib.h - found 02:56:11 -- Looking for string.h 02:56:11 -- Looking for string.h - found 02:56:11 -- Looking for strings.h 02:56:11 -- Looking for strings.h - found 02:56:11 -- Looking for time.h 02:56:11 -- Looking for time.h - found 02:56:11 -- Looking for sys/param.h 02:56:11 -- Looking for sys/param.h - found 02:56:11 -- Looking for sys/socket.h 02:56:11 -- Looking for sys/socket.h - found 02:56:11 -- Looking for sys/stat.h 02:56:11 -- Looking for sys/stat.h - found 02:56:11 -- Looking for sys/types.h 02:56:11 -- Looking for sys/types.h - found 02:56:11 -- Looking for sys/time.h 02:56:11 -- Looking for sys/time.h - found 02:56:11 -- Looking for unistd.h 02:56:11 -- Looking for unistd.h - found 02:56:11 -- Looking for float.h 02:56:11 -- Looking for float.h - found 02:56:11 -- Looking for dlfcn.h 02:56:11 -- Looking for dlfcn.h - found 02:56:11 -- Looking for memset 02:56:12 -- Looking for memset - found 02:56:12 -- Looking for select 02:56:12 -- Looking for select - found 02:56:12 -- Looking for socket 02:56:12 -- Looking for socket - found 02:56:12 -- Looking for strdup 02:56:12 -- Looking for strdup - found 02:56:12 -- Looking for strerror 02:56:12 -- Looking for strerror - found 02:56:12 -- Looking for strnlen 02:56:12 -- Looking for strnlen - found 02:56:12 -- Looking for fls 02:56:12 -- Looking for fls - not found 02:56:12 -- Looking for vprintf 02:56:12 -- Looking for vprintf - found 02:56:12 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:56:12 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:56:12 -- Configuring done (2.7s) 02:56:12 -- Generating done (0.0s) 02:56:12 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:56:12 + make 02:56:12 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:56:12 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:56:12 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:56:13 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:56:13 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:56:13 In function 'ecc_ecdh', 02:56:13 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:56:13 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:56:13 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:56:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:13 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:56:13 /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:56:13 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:56:13 | ^~~~~~~~~~~ 02:56:13 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:56:13 431 | uint32_t pub_x[8]; 02:56:13 | ^~~~~ 02:56:13 In function 'ecc_ecdh', 02:56:13 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:56:13 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:56:13 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:56:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:13 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:56:13 /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:56:13 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:56:13 | ^~~~~~~~~~~ 02:56:13 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:56:13 432 | uint32_t pub_y[8]; 02:56:13 | ^~~~~ 02:56:13 In function 'ecc_ecdh', 02:56:13 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:56:13 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:56:13 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:56:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:13 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:56:13 /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:56:13 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:56:13 | ^~~~~~~~~~~ 02:56:13 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:56:13 430 | uint32_t priv[8]; 02:56:13 | ^~~~ 02:56:13 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:56:14 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:56:14 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:56:14 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:56:14 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:56:14 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:56:14 /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:56:14 316 | for (idx = 0; idx < count; idx++) { 02:56:14 | ^ 02:56:14 /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:56:14 319 | return result == count; 02:56:14 | ^~ 02:56:15 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:56:15 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:56:15 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:56:15 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:56:15 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:56:15 /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:56:15 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:56:15 | ~~~~~~~~~~^~~~~~~~ 02:56:15 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:56:15 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:56:15 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:56:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:15 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:56:15 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:56:15 | ~~~~~^~~~~~~~ 02:56:15 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:56:15 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:56:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:15 [100%] Linking C shared library libtinydtls.so 02:56:15 [100%] Built target tinydtls 02:56:15 + make install 02:56:15 [100%] Built target tinydtls 02:56:15 Install the project... 02:56:15 -- Install configuration: "Release" 02:56:15 -- Installing: /usr/local/lib/libtinydtls.so 02:56:15 -- Installing: /usr/local/include/tinydtls 02:56:15 -- Installing: /usr/local/include/tinydtls/uthash.h 02:56:15 -- Installing: /usr/local/include/tinydtls/sha2 02:56:15 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:56:15 -- Installing: /usr/local/include/tinydtls/ecc 02:56:15 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:56:15 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:56:15 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:56:15 -- Installing: /usr/local/include/tinydtls/alert.h 02:56:15 -- Installing: /usr/local/include/tinydtls/aes 02:56:15 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:56:15 -- Installing: /usr/local/include/tinydtls/crypto.h 02:56:15 -- Installing: /usr/local/include/tinydtls/numeric.h 02:56:15 -- Installing: /usr/local/include/tinydtls/peer.h 02:56:15 -- Installing: /usr/local/include/tinydtls/utlist.h 02:56:15 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:56:15 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:56:15 -- Installing: /usr/local/include/tinydtls/netq.h 02:56:15 -- Installing: /usr/local/include/tinydtls/dtls.h 02:56:15 -- Installing: /usr/local/include/tinydtls/global.h 02:56:15 -- Installing: /usr/local/include/tinydtls/state.h 02:56:15 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:56:15 -- Installing: /usr/local/include/tinydtls/session.h 02:56:15 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:56:15 -- Installing: /usr/local/include/tinydtls/hmac.h 02:56:15 -- Installing: /usr/local/include/tinydtls/ccm.h 02:56:15 -- Up-to-date: /usr/local/include/tinydtls 02:56:15 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:56:15 + cd /device-coap/deps 02:56:15 + git clone https://github.com/obgm/libcoap.git 02:56:15 Cloning into 'libcoap'... 02:56:17 + cd libcoap 02:56:17 + git reset --hard 1739507 02:56:17 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:56:17 + patch -p1 02:56:17 patching file cmake/FindTinyDTLS.cmake 02:56:17 + patch -p1 02:56:17 patching file include/coap2/coap_config.h.in 02:56:17 + mkdir -p build 02:56:17 + cd build 02:56:17 + 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:56:17 -- The CXX compiler identification is GNU 12.2.1 02:56:17 -- The C compiler identification is GNU 12.2.1 02:56:17 -- Detecting CXX compiler ABI info 02:56:17 -- Detecting CXX compiler ABI info - done 02:56:17 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:56:17 -- Detecting CXX compile features 02:56:17 -- Detecting CXX compile features - done 02:56:17 -- Detecting C compiler ABI info 02:56:17 -- Detecting C compiler ABI info - done 02:56:17 -- Check for working C compiler: /usr/bin/cc - skipped 02:56:17 -- Detecting C compile features 02:56:17 -- Detecting C compile features - done 02:56:17 -- Looking for byteswap.h 02:56:17 -- Looking for byteswap.h - found 02:56:17 -- Looking for inttypes.h 02:56:17 -- Looking for inttypes.h - found 02:56:17 -- Looking for limits.h 02:56:17 -- Looking for limits.h - found 02:56:17 -- Looking for memory.h 02:56:17 -- Looking for memory.h - found 02:56:17 -- Looking for strings.h 02:56:17 -- Looking for strings.h - found 02:56:17 -- Looking for string.h 02:56:17 -- Looking for string.h - found 02:56:17 -- Looking for sys/sysctl.h 02:56:17 -- Looking for sys/sysctl.h - not found 02:56:17 -- Looking for netinet/in.h 02:56:17 -- Looking for netinet/in.h - found 02:56:17 -- Looking for sys/epoll.h 02:56:18 -- Looking for sys/epoll.h - found 02:56:18 -- Looking for sys/timerfd.h 02:56:18 -- Looking for sys/timerfd.h - found 02:56:18 -- Looking for arpa/inet.h 02:56:18 -- Looking for arpa/inet.h - found 02:56:18 -- Looking for stdbool.h 02:56:18 -- Looking for stdbool.h - found 02:56:18 -- Looking for netdb.h 02:56:18 -- Looking for netdb.h - found 02:56:18 -- Looking for pthread.h 02:56:18 -- Looking for pthread.h - found 02:56:18 -- Looking for stdlib.h 02:56:18 -- Looking for stdlib.h - found 02:56:18 -- Looking for stdint.h 02:56:18 -- Looking for stdint.h - found 02:56:18 -- Looking for syslog.h 02:56:18 -- Looking for syslog.h - found 02:56:18 -- Looking for sys/ioctl.h 02:56:18 -- Looking for sys/ioctl.h - found 02:56:18 -- Looking for sys/socket.h 02:56:18 -- Looking for sys/socket.h - found 02:56:18 -- Looking for sys/stat.h 02:56:18 -- Looking for sys/stat.h - found 02:56:18 -- Looking for sys/time.h 02:56:19 -- Looking for sys/time.h - found 02:56:19 -- Looking for sys/types.h 02:56:19 -- Looking for sys/types.h - found 02:56:19 -- Looking for sys/unistd.h 02:56:19 -- Looking for sys/unistd.h - not found 02:56:19 -- Looking for time.h 02:56:19 -- Looking for time.h - found 02:56:19 -- Looking for unistd.h 02:56:19 -- Looking for unistd.h - found 02:56:19 -- Looking for float.h 02:56:19 -- Looking for float.h - found 02:56:19 -- Looking for stddef.h 02:56:19 -- Looking for stddef.h - found 02:56:19 -- Looking for winsock2.h 02:56:19 -- Looking for winsock2.h - not found 02:56:19 -- Looking for ws2tcpip.h 02:56:19 -- Looking for ws2tcpip.h - not found 02:56:19 -- Looking for malloc 02:56:19 -- Looking for malloc - found 02:56:19 -- Looking for memset 02:56:19 -- Looking for memset - found 02:56:19 -- Looking for select 02:56:19 -- Looking for select - found 02:56:19 -- Looking for socket 02:56:19 -- Looking for socket - found 02:56:19 -- Looking for strcasecmp 02:56:19 -- Looking for strcasecmp - found 02:56:19 -- Looking for pthread_mutex_lock 02:56:20 -- Looking for pthread_mutex_lock - found 02:56:20 -- Looking for getaddrinfo 02:56:20 -- Looking for getaddrinfo - found 02:56:20 -- Looking for strnlen 02:56:20 -- Looking for strnlen - found 02:56:20 -- Looking for strrchr 02:56:20 -- Looking for strrchr - found 02:56:20 -- Looking for getrandom 02:56:20 -- Looking for getrandom - found 02:56:20 -- Looking for cmsghdr 02:56:20 -- Looking for cmsghdr - not found 02:56:20 -- compiling without epoll support 02:56:20 -- compiling with DTLS support 02:56:20 -- DTLS_BACKEND: tinydtls 02:56:20 -- Found TinyDTLS: /usr/local/include 02:56:20 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 02:56:20 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 02:56:20 -- TINYDTLS_ROOT_DIR: 02:56:20 -- compiling with tinydtls support 02:56:20 -- ENABLE_DTLS:.....................ON 02:56:20 -- ENABLE_TCP:......................ON 02:56:20 -- ENABLE_DOCS:.....................OFF 02:56:20 -- ENABLE_EXAMPLES:.................OFF 02:56:20 -- DTLS_BACKEND:....................tinydtls 02:56:20 -- WITH_GNUTLS:.....................OFF 02:56:20 -- WITH_TINYDTLS:...................ON 02:56:20 -- WITH_OPENSSL:....................OFF 02:56:20 -- WITH_MBEDTLS:....................OFF 02:56:20 -- HAVE_LIBTINYDTLS:................1 02:56:20 -- HAVE_LIBGNUTLS:.................. 02:56:20 -- HAVE_OPENSSL:.................... 02:56:20 -- HAVE_MBEDTLS:.................... 02:56:20 -- COAP_EPOLL_SUPPORT:.............. 02:56:20 -- CMAKE_C_COMPILER:................/usr/bin/cc 02:56:20 -- BUILD_SHARED_LIBS:...............ON 02:56:20 -- CMAKE_BUILD_TYPE:................Release 02:56:20 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 02:56:20 -- Configuring done (3.5s) 02:56:20 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 02:56:20 Policy CMP0115 is not set: Source file extensions must be explicit. Run 02:56:20 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 02:56:20 command to set the policy and suppress this warning. 02:56:20 02:56:20 File: 02:56:20 02:56:20 /device-coap/deps/libcoap/include/coap2/coap.h.in 02:56:20 This warning is for project developers. Use -Wno-dev to suppress it. 02:56:20 02:56:20 -- Generating done (0.0s) 02:56:20 -- Build files have been written to: /device-coap/deps/libcoap/build 02:56:20 + make 02:56:20 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 02:56:20 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 02:56:20 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 02:56:20 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 02:56:20 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 02:56:20 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 02:56:21 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 02:56:21 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 02:56:21 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 02:56:21 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 02:56:21 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 02:56:21 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 02:56:22 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 02:56:22 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 02:56:22 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 02:56:22 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 02:56:23 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 02:56:23 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 02:56:23 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 02:56:23 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 02:56:23 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 02:56:23 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 02:56:24 [100%] Linking C shared library libcoap-2.so 02:56:24 [100%] Built target coap-2 02:56:24 + make install 02:56:24 [100%] Built target coap-2 02:56:24 Install the project... 02:56:24 -- Install configuration: "Release" 02:56:24 -- Installing: /usr/local/lib/libcoap-2.so 02:56:24 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 02:56:24 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 02:56:24 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 02:56:24 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 02:56:24 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 02:56:24 -- Up-to-date: /usr/local/include 02:56:24 -- Installing: /usr/local/include/coap2 02:56:24 -- Installing: /usr/local/include/coap2/uthash.h 02:56:24 -- Installing: /usr/local/include/coap2/subscribe.h 02:56:24 -- Installing: /usr/local/include/coap2/option.h 02:56:24 -- Installing: /usr/local/include/coap2/resource.h 02:56:24 -- Installing: /usr/local/include/coap2/bits.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_hashkey.h 02:56:24 -- Installing: /usr/local/include/coap2/block.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_io.h 02:56:24 -- Installing: /usr/local/include/coap2/pdu.h 02:56:24 -- Installing: /usr/local/include/coap2/str.h 02:56:24 -- Installing: /usr/local/include/coap2/async.h 02:56:24 -- Installing: /usr/local/include/coap2/net.h 02:56:24 -- Installing: /usr/local/include/coap2/address.h 02:56:24 -- Installing: /usr/local/include/coap2/uri.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_event.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_riot.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_dtls.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_mutex.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_prng.h 02:56:24 -- Installing: /usr/local/include/coap2/lwippools.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_debug.h 02:56:24 -- Installing: /usr/local/include/coap2/utlist.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_time.h 02:56:24 -- Installing: /usr/local/include/coap2/encode.h 02:56:24 -- Installing: /usr/local/include/coap2/libcoap.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 02:56:24 -- Installing: /usr/local/include/coap2/mem.h 02:56:24 -- Installing: /usr/local/include/coap2/coap_session.h 02:56:24 -- Up-to-date: /usr/local/include 02:56:24 -- Up-to-date: /usr/local/include/coap2 02:56:24 -- Installing: /usr/local/include/coap2/coap.h 02:56:24 + '[' 1 '=' 1 ] 02:56:24 + cd /device-coap/deps 02:56:24 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 02:56:24 Connecting to github.com (140.82.112.4:443) 02:56:24 Connecting to codeload.github.com (140.82.112.9:443) 02:56:24 saving to 'v4.0.0.zip' 02:56:24 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 02:56:24 'v4.0.0.zip' saved 02:56:24 + unzip v4.0.0.zip 02:56:24 Archive: v4.0.0.zip 02:56:24 creating: device-sdk-c-4.0.0/ 02:56:24 creating: device-sdk-c-4.0.0/.github/ 02:56:24 inflating: device-sdk-c-4.0.0/.github/Contributing.md 02:56:24 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 02:56:24 inflating: device-sdk-c-4.0.0/.github/semantic.yml 02:56:24 creating: device-sdk-c-4.0.0/.github/workflows/ 02:56:24 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 02:56:24 inflating: device-sdk-c-4.0.0/.gitignore 02:56:24 inflating: device-sdk-c-4.0.0/Attribution.txt 02:56:24 inflating: device-sdk-c-4.0.0/CHANGELOG.md 02:56:24 inflating: device-sdk-c-4.0.0/Doxyfile 02:56:24 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 02:56:24 inflating: device-sdk-c-4.0.0/Jenkinsfile 02:56:24 inflating: device-sdk-c-4.0.0/LICENSE 02:56:24 inflating: device-sdk-c-4.0.0/Makefile 02:56:24 inflating: device-sdk-c-4.0.0/OWNERS.md 02:56:24 inflating: device-sdk-c-4.0.0/README.IOT.md 02:56:24 inflating: device-sdk-c-4.0.0/README.md 02:56:24 inflating: device-sdk-c-4.0.0/README.v3.md 02:56:24 creating: device-sdk-c-4.0.0/docs/ 02:56:24 inflating: device-sdk-c-4.0.0/docs/configuration.md 02:56:24 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 02:56:24 inflating: device-sdk-c-4.0.0/docs/metrics.md 02:56:24 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 02:56:24 inflating: device-sdk-c-4.0.0/docs/startup.md 02:56:24 creating: device-sdk-c-4.0.0/include/ 02:56:24 creating: device-sdk-c-4.0.0/include/devsdk/ 02:56:24 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 02:56:24 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 02:56:24 creating: device-sdk-c-4.0.0/include/edgex/ 02:56:24 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 02:56:24 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 02:56:24 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 02:56:24 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 02:56:24 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 02:56:24 creating: device-sdk-c-4.0.0/scripts/ 02:56:24 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 02:56:24 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 02:56:24 inflating: device-sdk-c-4.0.0/scripts/build.sh 02:56:24 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 02:56:24 creating: device-sdk-c-4.0.0/src/ 02:56:24 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 02:56:24 creating: device-sdk-c-4.0.0/src/c/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/api.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/bus.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/bus.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/callback3.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/callback3.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/config.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/config.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/correlation.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/correlation.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/data.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/data.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 02:56:24 inflating: device-sdk-c-4.0.0/src/c/device.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/device.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/devman.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/devmap.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/devmap.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/devutil.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/discovery.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/discovery.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/file/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/random/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 02:56:24 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 02:56:24 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 02:56:24 inflating: device-sdk-c-4.0.0/src/c/filesys.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/filesys.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/keeper.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/keeper.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/map.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/map.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/metadata.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/metadata.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/metrics.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/opstate.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/opstate.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/parson.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/parson.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/profiles.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/profiles.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/registry.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/registry.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/rest.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/rest.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/secrets.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/secrets.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/service.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/service.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/transform.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/transform.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/validate.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/validate.h 02:56:24 inflating: device-sdk-c-4.0.0/src/c/watchers.c 02:56:24 inflating: device-sdk-c-4.0.0/src/c/watchers.h 02:56:24 creating: device-sdk-c-4.0.0/src/cmake/ 02:56:24 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 02:56:24 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 02:56:24 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 02:56:24 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 02:56:24 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 02:56:24 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 02:56:24 + cd device-sdk-c-4.0.0 02:56:24 + ./scripts/build.sh 02:56:24 + CPPCHECK=false 02:56:24 + DOCGEN=false 02:56:24 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:56:24 + '[' 0 -gt 0 ] 02:56:24 + readlink -f ./scripts/build.sh 02:56:24 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 02:56:24 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 02:56:24 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 02:56:24 + cd /device-coap/deps/device-sdk-c-4.0.0 02:56:24 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 02:56:24 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 02:56:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 02:56:24 -- The C compiler identification is GNU 12.2.1 02:56:24 -- Detecting C compiler ABI info 02:56:24 -- Detecting C compiler ABI info - done 02:56:24 -- Check for working C compiler: /usr/bin/cc - skipped 02:56:24 -- Detecting C compile features 02:56:24 -- Detecting C compile features - done 02:56:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:56:24 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:56:24 -- Found LIBYAML: /usr/lib/libyaml.so 02:56:24 -- Found LIBUUID: /usr/lib/libuuid.so 02:56:24 -- Found LIBCBOR: /usr/lib/libcbor.so 02:56:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:56:24 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:56:24 -- /opt/iotech/iot/1.5/include 02:56:24 -- C SDK 0.0.0 for Linux 02:56:24 -- Performing Test CSDK_HAVE_ATOMIC 02:56:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:56:25 -- Found Curses: /usr/lib/libcurses.so 02:56:25 -- Configuring done (0.5s) 02:56:25 -- Generating done (0.0s) 02:56:25 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 02:56:25 + make all package 02:56:25 + tee release.log 02:56:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:56:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:56:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:56:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:56:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:56:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:56:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:56:26 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:56:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:56:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:56:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:56:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:56:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:56:26 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:56:26 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:56:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:56:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:56:27 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:56:27 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:56:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:56:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:56:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:56:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:56:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:56:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:56:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:56:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:56:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:56:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:56:30 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:56:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:56:30 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 02:56:30 /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:56:30 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:56:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:30 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 02:56:30 875 | const iot_data_t *deviceservices_config; 02:56:30 | ^~~~~~~~~~~~~~~~~~~~~ 02:56:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:56:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:56:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:56:30 [ 68%] Linking C shared library libcsdk.so 02:56:30 [ 68%] Built target csdk 02:56:30 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:56:31 [ 72%] Linking C executable template 02:56:31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:31 [ 72%] Built target template 02:56:31 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:56:31 [ 76%] Linking C executable device-counter 02:56:31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:31 [ 76%] Built target device-counter 02:56:31 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:56:31 [ 80%] Linking C executable device-random 02:56:31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:31 [ 80%] Built target device-random 02:56:31 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:56:31 [ 84%] Linking C executable device-gyro 02:56:31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:31 [ 84%] Built target device-gyro 02:56:31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:56:31 [ 88%] Linking C executable device-bitfields 02:56:31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:31 [ 88%] Built target device-bitfields 02:56:31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:56:31 [ 92%] Linking C executable template-discovery 02:56:31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:31 [ 92%] Built target template-discovery 02:56:31 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:56:32 [ 96%] Linking C executable device-file 02:56:32 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:32 [ 96%] Built target device-file 02:56:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:56:32 [100%] Linking C executable device-terminal 02:56:32 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:32 [100%] Built target device-terminal 02:56:32 Run CPack packaging tool... 02:56:32 CPack: Create package using TGZ 02:56:32 CPack: Install projects 02:56:32 CPack: - Run preinstall target for: Csdk 02:56:32 CPack: - Install project: Csdk [] 02:56:32 CPack: Create package 02:56:32 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 02:56:32 + '[' false '=' true ] 02:56:32 + '[' false '=' true ] 02:56:32 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:56:32 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:56:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 02:56:32 -- The C compiler identification is GNU 12.2.1 02:56:32 -- Detecting C compiler ABI info 02:56:33 -- Detecting C compiler ABI info - done 02:56:33 -- Check for working C compiler: /usr/bin/cc - skipped 02:56:33 -- Detecting C compile features 02:56:33 -- Detecting C compile features - done 02:56:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:56:33 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 02:56:33 -- Found LIBYAML: /usr/lib/libyaml.so 02:56:33 -- Found LIBUUID: /usr/lib/libuuid.so 02:56:33 -- Found LIBCBOR: /usr/lib/libcbor.so 02:56:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:56:33 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:56:33 -- /opt/iotech/iot/1.5/include 02:56:33 -- C SDK 0.0.0 for Linux 02:56:33 -- Performing Test CSDK_HAVE_ATOMIC 02:56:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:56:33 -- Found Curses: /usr/lib/libcurses.so 02:56:33 -- Configuring done (0.4s) 02:56:33 -- Generating done (0.0s) 02:56:33 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 02:56:33 + + make 02:56:33 tee debug.log 02:56:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:56:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:56:33 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:56:33 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:56:33 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:56:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:56:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:56:33 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:56:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:56:34 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:56:34 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:56:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:56:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:56:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:56:34 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:56:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:56:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 02:56:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:56:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:56:34 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 02:56:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:56:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:56:35 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:56:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:56:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:56:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:56:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:56:35 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:56:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:56:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:56:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:56:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:56:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:56:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:56:36 [ 68%] Linking C shared library libcsdk.so 02:56:36 [ 68%] Built target csdk 02:56:36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:56:36 [ 72%] Linking C executable template 02:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:36 [ 72%] Built target template 02:56:36 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:56:36 [ 76%] Linking C executable device-counter 02:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:36 [ 76%] Built target device-counter 02:56:36 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:56:36 [ 80%] Linking C executable device-random 02:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:36 [ 80%] Built target device-random 02:56:36 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:56:36 [ 84%] Linking C executable device-gyro 02:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:36 [ 84%] Built target device-gyro 02:56:36 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:56:36 [ 88%] Linking C executable device-bitfields 02:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:36 [ 88%] Built target device-bitfields 02:56:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:56:36 [ 92%] Linking C executable template-discovery 02:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:37 [ 92%] Built target template-discovery 02:56:37 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:56:37 [ 96%] Linking C executable device-file 02:56:37 /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:56:37 [ 96%] Built target device-file 02:56:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:56:37 [100%] Linking C executable device-terminal 02:56:37 /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:56:37 [100%] Built target device-terminal 02:56:37 + cp -rf include/devsdk include/edgex /usr/include/ 02:56:37 + cp build/release/c/libcsdk.so /usr/lib/ 02:56:37 + rm -rf /device-coap/deps 02:56:37 Removing intermediate container d45789d3d321 02:56:37 ---> 96d5cc49bf20 02:56:37 Step 14/14 : RUN /device-coap/scripts/build.sh 02:56:37 ---> Running in 1596ba93ecf4 02:56:37 + readlink -f /device-coap/scripts/build.sh 02:56:37 + dirname /device-coap/scripts/build.sh 02:56:37 + dirname /device-coap/scripts 02:56:37 + ROOT=/device-coap 02:56:37 + echo /device-coap 02:56:37 /device-coap 02:56:37 + cd /device-coap 02:56:37 + mkdir -p /device-coap/build/release 02:56:37 + cd /device-coap/build/release 02:56:37 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 02:56:38 -- The C compiler identification is GNU 12.2.1 02:56:38 -- Detecting C compiler ABI info 02:56:38 -- Detecting C compiler ABI info - done 02:56:38 -- Check for working C compiler: /usr/bin/cc - skipped 02:56:38 -- Detecting C compile features 02:56:38 -- Detecting C compile features - done 02:56:38 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 02:56:38 -- Configuring done (0.2s) 02:56:38 -- Generating done (0.0s) 02:56:38 -- Build files have been written to: /device-coap/build/release 02:56:38 + make 02:56:38 + tee release.log 02:56:38 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 02:56:38 In file included from /usr/include/devsdk/devsdk.h:18, 02:56:38 from /device-coap/src/c/device-coap.h:17, 02:56:38 from /device-coap/src/c/coap-client.h:21, 02:56:38 from /device-coap/src/c/coap-client.c:9: 02:56:38 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 02:56:38 /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:56:38 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~ 02:56:38 90 | strlen(end_dev_params_ptr->psk_key)); 02:56:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 02:56:38 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 02:56:38 | ~^ 02:56:38 | | 02:56:38 | unsigned int 02:56:38 | %lu 02:56:38 /device-coap/src/c/coap-client.c: In function 'message_handler': 02:56:38 /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:56:38 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 02:56:38 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | unsigned int 02:56:38 | %lu 02:56:38 /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:56:38 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 130 | resource->properties->type); 02:56:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 | | 02:56:38 | iot_typecode_t 02:56:38 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 02:56:38 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 /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:56:38 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 140 | len); 02:56:38 | ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 02:56:38 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 | %ld 02:56:38 /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:56:38 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 145 | len); 02:56:38 | ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 02:56:38 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 | %ld 02:56:38 /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:56:38 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 152 | len); 02:56:38 | ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 02:56:38 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 | %ld 02:56:38 /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:56:38 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 157 | resource->properties->type); 02:56:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 | | 02:56:38 | iot_typecode_t 02:56:38 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 02:56:38 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 02:56:38 /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:56:38 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 02:56:38 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 | %ld 02:56:38 /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:56:38 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 253 | (uint8_t *)end_dev_params_ptr->psk_key, 02:56:38 254 | strlen(end_dev_params_ptr->psk_key)); 02:56:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 02:56:38 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 | %ld 02:56:38 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 02:56:38 /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:56:38 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 352 | (uint8_t *)end_dev_params_ptr->psk_key, 02:56:38 353 | strlen(end_dev_params_ptr->psk_key)); 02:56:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 02:56:38 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 | %ld 02:56:38 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 02:56:38 In file included from /usr/include/devsdk/devsdk.h:18, 02:56:38 from /usr/include/edgex/devices.h:17, 02:56:38 from /device-coap/src/c/coap-server.c:22: 02:56:38 /device-coap/src/c/coap-server.c: In function 'data_handler': 02:56:38 /device-coap/src/c/coap-server.c:82:32: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 02:56:38 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 02:56:38 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | unsigned int 02:56:38 | %lu 02:56:38 /device-coap/src/c/coap-server.c:128:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] 02:56:38 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 | | 02:56:38 | iot_typecode_t 02:56:38 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 02:56:38 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 02:56:38 In file included from /usr/include/devsdk/devsdk.h:18, 02:56:38 from /device-coap/src/c/coap-util.h:18, 02:56:38 from /device-coap/src/c/coap-util.c:9: 02:56:38 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 02:56:38 /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:56:38 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 02:56:38 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | unsigned int 02:56:38 | %lu 02:56:38 /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:56:38 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 02:56:38 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | unsigned int 02:56:38 | %lu 02:56:38 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 02:56:38 /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:56:38 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 02:56:38 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | unsigned int 02:56:38 | %lu 02:56:38 /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:56:38 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 02:56:38 | | 02:56:38 | size_t {aka long unsigned int} 02:56:38 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 02:56:38 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 02:56:38 | ~^ 02:56:38 | | 02:56:38 | unsigned int 02:56:38 | %lu 02:56:38 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 02:56:38 In file included from /usr/include/devsdk/devsdk.h:18, 02:56:38 from /device-coap/src/c/device-coap.h:17, 02:56:38 from /device-coap/src/c/device-coap.c:10: 02:56:38 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 02:56:38 /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:56:38 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:56:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 131 | requests[i].resource->type); 02:56:38 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:56:38 | | 02:56:38 | iot_typecode_t 02:56:38 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 02:56:38 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 02:56:38 | ~^ 02:56:38 | | 02:56:38 | int 02:56:38 [100%] Linking C executable device-coap 02:56:38 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 02:56:38 [100%] Built target device-coap 02:56:39 Removing intermediate container 1596ba93ecf4 02:56:39 ---> b785431c2563 02:56:39 Successfully built b785431c2563 02:56:39 Successfully tagged device-coap-c-builder-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:56:39 + git log --pretty=%H %s 02:56:39 + grep ci(lts-release) 02:56:39 + + awk {print $1} 02:56:39 head -n 1 [Pipeline] echo 02:56:40 [edgeXDocker.push] Tagging docker image device-coap-c-builder-x86_64 with the following tags: 02:56:40 47967fd6311d44cba5f1849fba3e2293691669b2 02:56:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:40 + docker tag device-coap-c-builder-x86_64 nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:41 + docker push nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:47967fd6311d44cba5f1849fba3e2293691669b2 02:56:41 The push refers to repository [nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64] 02:56:41 804dc0a1684d: Preparing 02:56:41 ee505edf4a0b: Preparing 02:56:41 0376886006af: Preparing 02:56:41 e5f0ef29d412: Preparing 02:56:41 fee0102759ef: Preparing 02:56:41 e1f0f0d4d031: Preparing 02:56:41 2cb01fde8b00: Preparing 02:56:41 e7c36e58e343: Preparing 02:56:41 260ebd876c7e: Preparing 02:56:41 d3085113ef64: Preparing 02:56:41 9d94fa7f7201: Preparing 02:56:41 1a98914da975: Preparing 02:56:41 cc2447e1835a: Preparing 02:56:41 2cb01fde8b00: Waiting 02:56:41 e7c36e58e343: Waiting 02:56:41 1a98914da975: Waiting 02:56:41 cc2447e1835a: Waiting 02:56:41 260ebd876c7e: Waiting 02:56:41 d3085113ef64: Waiting 02:56:41 9d94fa7f7201: Waiting 02:56:41 fee0102759ef: Pushed 02:56:41 0376886006af: Pushed 02:56:41 e5f0ef29d412: Pushed 02:56:41 804dc0a1684d: Pushed 02:56:41 e1f0f0d4d031: Pushed 02:56:41 260ebd876c7e: Pushed 02:56:41 ee505edf4a0b: Pushed 02:56:41 9d94fa7f7201: Layer already exists 02:56:41 1a98914da975: Layer already exists 02:56:41 cc2447e1835a: Layer already exists 02:56:41 d3085113ef64: Pushed 02:56:42 e7c36e58e343: Pushed 02:56:45 2cb01fde8b00: Pushed 02:56:45 47967fd6311d44cba5f1849fba3e2293691669b2: digest: sha256:de2a0362a683207d840aa603a14a167bd1350b07b48ee49c3a4cc2586a6e746b size: 3035 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:56:45 ===================================================== [Pipeline] echo 02:56:45 taggedImages: 02:56:45 - nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:57:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41722 in /w/workspace/dgexfoundry_device-coap-c_odessa [Pipeline] { [Pipeline] checkout 02:57:28 Selected Git installation does not exist. Using Default 02:57:28 The recommended git tool is: NONE 02:57:32 using credential edgex-jenkins-ssh 02:57:32 Cloning the remote Git repository 02:57:32 Cloning repository git@github.com:edgexfoundry/device-coap-c.git 02:57:32 > git init /w/workspace/dgexfoundry_device-coap-c_odessa # timeout=10 02:57:32 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-c.git 02:57:32 > git --version # timeout=10 02:57:32 > git --version # 'git version 2.25.1' 02:57:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-coap-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:33 > git config remote.origin.url git@github.com:edgexfoundry/device-coap-c.git # timeout=10 02:57:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:34 Avoid second fetch 02:57:34 Checking out Revision 47967fd6311d44cba5f1849fba3e2293691669b2 (odessa) 02:57:35 Commit message: "ci(lts-release): LTS release v4.0.0 @578a9a0" 02:57:35 > git --version # timeout=10 02:57:35 > git --version # 'git version 2.25.1' 02:57:35 fatal: bad object 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 02:57:34 > git config core.sparsecheckout # timeout=10 02:57:34 > git checkout -f 47967fd6311d44cba5f1849fba3e2293691669b2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh 02:57:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:57:40 % Total % Received % Xferd Average Speed Time Time Time Current 02:57:40 Dload Upload Total Spent Left Speed 02:57:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 94323 [Pipeline] sh 02:57:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:57:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:57:40 + sudo tee /etc/docker/daemon.new 02:57:40 { 02:57:40 "registry-mirrors": [ 02:57:40 "https://nexus3.edgexfoundry.org:10001" 02:57:40 ], 02:57:40 "bip": "10.250.0.254/24", 02:57:40 "hosts": [ 02:57:40 "tcp://0.0.0.0:5555", 02:57:40 "unix:///var/run/docker.sock" 02:57:40 ], 02:57:40 "mtu": 1458, 02:57:40 "selinux-enabled": true, 02:57:40 "seccomp-profile": "/etc/docker/seccomp.json" 02:57:40 } [Pipeline] sh 02:57:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:57:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:59 provisioning config files... 02:57:59 copy managed file [device-coap-c-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config15747273536352352458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:00 ---> ****-login.sh 02:58:00 nexus3.edgexfoundry.org:10001 02:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:01 Configure a credential helper to remove this warning. See 02:58:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:01 02:58:01 Login Succeeded 02:58:01 nexus3.edgexfoundry.org:10002 02:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:01 Configure a credential helper to remove this warning. See 02:58:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:01 02:58:01 Login Succeeded 02:58:01 nexus3.edgexfoundry.org:10003 02:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:01 Configure a credential helper to remove this warning. See 02:58:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:01 02:58:01 Login Succeeded 02:58:01 nexus3.edgexfoundry.org:10004 02:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:02 Configure a credential helper to remove this warning. See 02:58:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:02 02:58:02 Login Succeeded 02:58:02 ****.io 02:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:58:02 Configure a credential helper to remove this warning. See 02:58:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:58:02 02:58:02 Login Succeeded 02:58:02 ---> ****-login.sh ends [Pipeline] } 02:58:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 02:58:03 + echo 0.0.0 [Pipeline] echo 02:58:03 [prepBaseBuildImage] Generating new image with name: device-coap-c-builder-arm64 [Pipeline] echo 02:58:03 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:58:03 ========================================================= 02:58:03 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts] 02:58:03 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:04 + docker build -t device-coap-c-builder-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts . 02:58:04 Sending build context to Docker daemon 371.7kB 02:58:04 Step 1/14 : ARG BASE=alpine:3.20 02:58:04 Step 2/14 : FROM ${BASE} 02:58:04 gcc-lts: Pulling from edgex-devops/edgex-gcc-base-arm64 02:58:04 579b34f0a95b: Pulling fs layer 02:58:04 b046b3a35be6: Pulling fs layer 02:58:04 2014ba793e07: Pulling fs layer 02:58:04 b046b3a35be6: Verifying Checksum 02:58:04 b046b3a35be6: Download complete 02:58:04 579b34f0a95b: Download complete 02:58:05 579b34f0a95b: Pull complete 02:58:05 b046b3a35be6: Pull complete 02:58:07 2014ba793e07: Download complete 02:58:20 2014ba793e07: Pull complete 02:58:20 Digest: sha256:b5906dbdf2aa12511e9e52d54665ccd7a12a762119da8971e0963525c2f84566 02:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts 02:58:20 ---> 4f4201145ecf 02:58:20 Step 3/14 : LABEL maintainer="Ken Bannister " 02:58:20 ---> Running in 6c6afc300784 02:58:20 Removing intermediate container 6c6afc300784 02:58:20 ---> 138123f86d61 02:58:20 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:58:20 ---> Running in c03dabc4d292 02:58:21 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:58:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:58:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:58:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:58:22 Removing intermediate container c03dabc4d292 02:58:22 ---> 421321af52ea 02:58:22 Step 5/14 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 02:58:22 ---> Running in 83a53f69d0e9 02:58:24 Removing intermediate container 83a53f69d0e9 02:58:24 ---> 378775eb0cf6 02:58:24 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:58:24 ---> Running in 0b9486b757b2 02:58:25 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:26 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:58:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:58:28 (1/18) Installing dumb-init (1.2.5-r2) 02:58:28 (2/18) Installing hiredis (1.1.0-r2) 02:58:29 (3/18) Installing hiredis-dev (1.1.0-r2) 02:58:29 (4/18) Installing libcbor (0.10.2-r1) 02:58:30 (5/18) Installing iotech-iot-1.5 (1.5.5-r2) 02:58:30 (6/18) Installing iotech-iot-1.5-dev (1.5.5-r2) 02:58:30 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:58:31 (8/18) Installing libcbor-dev (0.10.2-r1) 02:58:31 (9/18) Installing libmenuw (6.4_p20230506-r0) 02:58:32 (10/18) Installing libpanelw (6.4_p20230506-r0) 02:58:32 (11/18) Installing libncurses++ (6.4_p20230506-r0) 02:58:32 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 02:58:33 (13/18) Installing libblkid (2.38.1-r8) 02:58:33 (14/18) Installing libuuid (2.38.1-r8) 02:58:34 (15/18) Installing libfdisk (2.38.1-r8) 02:58:34 (16/18) Installing libmount (2.38.1-r8) 02:58:35 (17/18) Installing libsmartcols (2.38.1-r8) 02:58:35 (18/18) Installing util-linux-dev (2.38.1-r8) 02:58:36 Executing busybox-1.36.1-r2.trigger 02:58:36 OK: 333 MiB in 100 packages 02:58:37 Removing intermediate container 0b9486b757b2 02:58:37 ---> 8db63c7815f0 02:58:37 Step 7/14 : RUN apk --no-cache upgrade 02:58:37 ---> Running in 28f00e3a8b52 02:58:38 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:39 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:58:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:58:41 Upgrading critical system libraries and apk-tools: 02:58:41 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:58:42 Executing busybox-1.36.1-r2.trigger 02:58:42 Continuing the upgrade transaction with new apk-tools: 02:58:42 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:43 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 02:58:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:58:44 (1/26) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 02:58:45 (2/26) Upgrading busybox (1.36.1-r2 -> 1.36.1-r7) 02:58:45 Executing busybox-1.36.1-r7.post-upgrade 02:58:46 (3/26) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r7) 02:58:46 (4/26) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 02:58:46 (5/26) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 02:58:47 (6/26) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 02:58:48 (7/26) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r7) 02:58:48 (8/26) Upgrading binutils (2.40-r7 -> 2.40-r8) 02:58:49 (9/26) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 02:58:50 (10/26) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 02:58:50 (11/26) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 02:58:51 (12/26) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 02:58:51 (13/26) Installing libpsl (0.21.5-r0) 02:58:52 (14/26) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 02:58:52 (15/26) Installing libpsl-utils (0.21.5-r0) 02:58:52 (16/26) Installing libpsl-dev (0.21.5-r0) 02:58:53 (17/26) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 02:58:54 (18/26) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 02:58:54 (19/26) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 02:58:55 (20/26) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r3) 02:58:55 (21/26) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 02:58:56 (22/26) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 02:58:56 (23/26) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 02:58:56 (24/26) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 02:58:57 (25/26) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 02:58:57 (26/26) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 02:58:58 Executing busybox-1.36.1-r7.trigger 02:58:58 Executing ca-certificates-20241121-r1.trigger 02:58:58 OK: 334 MiB in 103 packages 02:59:01 Removing intermediate container 28f00e3a8b52 02:59:01 ---> a39177058b2f 02:59:01 Step 8/14 : COPY scripts /device-coap/scripts 02:59:02 ---> f51c2ebdbf3f 02:59:02 Step 9/14 : COPY src /device-coap/src/ 02:59:02 ---> 781f060a3758 02:59:02 Step 10/14 : COPY VERSION /device-coap 02:59:03 ---> acab9cca58de 02:59:03 Step 11/14 : RUN mkdir -p /device-coap/build 02:59:03 ---> Running in f510480f4239 02:59:05 Removing intermediate container f510480f4239 02:59:05 ---> 7120ae158541 02:59:05 Step 12/14 : WORKDIR /device-coap 02:59:05 ---> Running in 3a1226885f71 02:59:05 Removing intermediate container 3a1226885f71 02:59:05 ---> 2020c515ec2f 02:59:05 Step 13/14 : RUN /device-coap/scripts/build_deps.sh 1 02:59:05 ---> Running in 52d0a6956f49 02:59:06 + BUILD_CSDK=1 02:59:06 + TINYDTLS_VERSION=b0e230d 02:59:06 + LIBCOAP_VERSION=1739507 02:59:06 + CSDK_VERSION=4.0.0 02:59:06 + '[' -d deps ] 02:59:06 + mkdir deps 02:59:06 + cd /device-coap/deps 02:59:06 + git clone https://github.com/eclipse/tinydtls.git 02:59:06 Cloning into 'tinydtls'... 02:59:08 + cd tinydtls 02:59:08 + git checkout develop 02:59:08 branch 'develop' set up to track 'origin/develop'. 02:59:08 Switched to a new branch 'develop' 02:59:08 + git reset --hard b0e230d 02:59:08 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 02:59:08 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 02:59:08 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 02:59:08 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 02:59:08 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 02:59:08 + mkdir -p build 02:59:08 + cd build 02:59:08 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 02:59:08 -- The C compiler identification is GNU 12.2.1 02:59:08 -- Detecting C compiler ABI info 02:59:09 -- Detecting C compiler ABI info - done 02:59:09 -- Check for working C compiler: /usr/bin/cc - skipped 02:59:09 -- Detecting C compile features 02:59:09 -- Detecting C compile features - done 02:59:09 -- Looking for assert.h 02:59:09 -- Looking for assert.h - found 02:59:09 -- Looking for arpa/inet.h 02:59:10 -- Looking for arpa/inet.h - found 02:59:10 -- Looking for fcntl.h 02:59:10 -- Looking for fcntl.h - found 02:59:10 -- Looking for inttypes.h 02:59:10 -- Looking for inttypes.h - found 02:59:10 -- Looking for memory.h 02:59:11 -- Looking for memory.h - found 02:59:11 -- Looking for netdb.h 02:59:11 -- Looking for netdb.h - found 02:59:11 -- Looking for netinet/in.h 02:59:11 -- Looking for netinet/in.h - found 02:59:11 -- Looking for stddef.h 02:59:12 -- Looking for stddef.h - found 02:59:12 -- Looking for stdint.h 02:59:12 -- Looking for stdint.h - found 02:59:12 -- Looking for stdlib.h 02:59:13 -- Looking for stdlib.h - found 02:59:13 -- Looking for string.h 02:59:13 -- Looking for string.h - found 02:59:13 -- Looking for strings.h 02:59:13 -- Looking for strings.h - found 02:59:13 -- Looking for time.h 02:59:13 -- Looking for time.h - found 02:59:13 -- Looking for sys/param.h 02:59:14 -- Looking for sys/param.h - found 02:59:14 -- Looking for sys/socket.h 02:59:14 -- Looking for sys/socket.h - found 02:59:14 -- Looking for sys/stat.h 02:59:14 -- Looking for sys/stat.h - found 02:59:14 -- Looking for sys/types.h 02:59:15 -- Looking for sys/types.h - found 02:59:15 -- Looking for sys/time.h 02:59:15 -- Looking for sys/time.h - found 02:59:15 -- Looking for unistd.h 02:59:16 -- Looking for unistd.h - found 02:59:16 -- Looking for float.h 02:59:16 -- Looking for float.h - found 02:59:16 -- Looking for dlfcn.h 02:59:16 -- Looking for dlfcn.h - found 02:59:16 -- Looking for memset 02:59:16 -- Looking for memset - found 02:59:16 -- Looking for select 02:59:17 -- Looking for select - found 02:59:17 -- Looking for socket 02:59:17 -- Looking for socket - found 02:59:17 -- Looking for strdup 02:59:18 -- Looking for strdup - found 02:59:18 -- Looking for strerror 02:59:18 -- Looking for strerror - found 02:59:18 -- Looking for strnlen 02:59:18 -- Looking for strnlen - found 02:59:18 -- Looking for fls 02:59:19 -- Looking for fls - not found 02:59:19 -- Looking for vprintf 02:59:19 -- Looking for vprintf - found 02:59:19 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 02:59:19 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 02:59:19 -- Configuring done (11.2s) 02:59:19 -- Generating done (0.0s) 02:59:19 -- Build files have been written to: /device-coap/deps/tinydtls/build 02:59:19 + make 02:59:19 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 02:59:21 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 02:59:21 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 02:59:23 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 02:59:24 In file included from /device-coap/deps/tinydtls/crypto.c:34: 02:59:24 In function 'ecc_ecdh', 02:59:24 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:59:24 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 02:59:24 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:59:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:59:24 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:59:24 /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:59:24 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:59:24 | ^~~~~~~~~~~ 02:59:24 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 02:59:24 431 | uint32_t pub_x[8]; 02:59:24 | ^~~~~ 02:59:24 In function 'ecc_ecdh', 02:59:24 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:59:24 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 02:59:24 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:59:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:59:24 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:59:24 /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:59:24 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:59:24 | ^~~~~~~~~~~ 02:59:24 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 02:59:24 432 | uint32_t pub_y[8]; 02:59:24 | ^~~~~ 02:59:24 In function 'ecc_ecdh', 02:59:24 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 02:59:24 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 02:59:24 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 02:59:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:59:24 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 02:59:24 /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:59:24 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 02:59:24 | ^~~~~~~~~~~ 02:59:24 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 02:59:24 430 | uint32_t priv[8]; 02:59:24 | ^~~~ 02:59:25 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 02:59:31 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 02:59:32 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 02:59:32 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 02:59:32 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 02:59:32 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 02:59:32 /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:59:32 316 | for (idx = 0; idx < count; idx++) { 02:59:32 | ^ 02:59:32 /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:59:32 319 | return result == count; 02:59:32 | ^~ 02:59:36 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 02:59:36 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 02:59:37 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 02:59:37 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 02:59:38 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 02:59:38 /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:59:38 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 02:59:38 | ~~~~~~~~~~^~~~~~~~ 02:59:38 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 02:59:38 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 02:59:38 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 02:59:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:59:38 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 02:59:38 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 02:59:38 | ~~~~~^~~~~~~~ 02:59:38 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 02:59:38 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 02:59:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:59:38 [100%] Linking C shared library libtinydtls.so 02:59:39 [100%] Built target tinydtls 02:59:39 + make install 02:59:39 [100%] Built target tinydtls 02:59:39 Install the project... 02:59:39 -- Install configuration: "Release" 02:59:39 -- Installing: /usr/local/lib/libtinydtls.so 02:59:39 -- Installing: /usr/local/include/tinydtls 02:59:39 -- Installing: /usr/local/include/tinydtls/dtls.h 02:59:39 -- Installing: /usr/local/include/tinydtls/tinydtls.h 02:59:39 -- Installing: /usr/local/include/tinydtls/dtls_time.h 02:59:39 -- Installing: /usr/local/include/tinydtls/utlist.h 02:59:39 -- Installing: /usr/local/include/tinydtls/ccm.h 02:59:39 -- Installing: /usr/local/include/tinydtls/hmac.h 02:59:39 -- Installing: /usr/local/include/tinydtls/uthash.h 02:59:39 -- Installing: /usr/local/include/tinydtls/numeric.h 02:59:39 -- Installing: /usr/local/include/tinydtls/netq.h 02:59:39 -- Installing: /usr/local/include/tinydtls/sha2 02:59:39 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 02:59:39 -- Installing: /usr/local/include/tinydtls/crypto.h 02:59:39 -- Installing: /usr/local/include/tinydtls/alert.h 02:59:39 -- Installing: /usr/local/include/tinydtls/session.h 02:59:39 -- Installing: /usr/local/include/tinydtls/global.h 02:59:39 -- Installing: /usr/local/include/tinydtls/ecc 02:59:39 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 02:59:39 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 02:59:39 -- Installing: /usr/local/include/tinydtls/state.h 02:59:39 -- Installing: /usr/local/include/tinydtls/aes 02:59:39 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 02:59:39 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 02:59:39 -- Installing: /usr/local/include/tinydtls/peer.h 02:59:39 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 02:59:39 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 02:59:39 -- Up-to-date: /usr/local/include/tinydtls 02:59:39 -- Installing: /usr/local/include/tinydtls/dtls_config.h 02:59:39 + cd /device-coap/deps 02:59:39 + git clone https://github.com/obgm/libcoap.git 02:59:39 Cloning into 'libcoap'... 02:59:44 + cd libcoap 02:59:44 + git reset --hard 1739507 02:59:44 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 02:59:44 + patch -p1 02:59:44 patching file cmake/FindTinyDTLS.cmake 02:59:44 + patch -p1 02:59:44 patching file include/coap2/coap_config.h.in 02:59:44 + mkdir -p build 02:59:44 + cd build 02:59:44 + 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:59:45 -- The CXX compiler identification is GNU 12.2.1 02:59:45 -- The C compiler identification is GNU 12.2.1 02:59:45 -- Detecting CXX compiler ABI info 02:59:45 -- Detecting CXX compiler ABI info - done 02:59:45 -- Check for working CXX compiler: /usr/bin/c++ - skipped 02:59:45 -- Detecting CXX compile features 02:59:45 -- Detecting CXX compile features - done 02:59:45 -- Detecting C compiler ABI info 02:59:46 -- Detecting C compiler ABI info - done 02:59:46 -- Check for working C compiler: /usr/bin/cc - skipped 02:59:46 -- Detecting C compile features 02:59:46 -- Detecting C compile features - done 02:59:46 -- Looking for byteswap.h 02:59:46 -- Looking for byteswap.h - found 02:59:46 -- Looking for inttypes.h 02:59:47 -- Looking for inttypes.h - found 02:59:47 -- Looking for limits.h 02:59:47 -- Looking for limits.h - found 02:59:47 -- Looking for memory.h 02:59:47 -- Looking for memory.h - found 02:59:47 -- Looking for strings.h 02:59:48 -- Looking for strings.h - found 02:59:48 -- Looking for string.h 02:59:48 -- Looking for string.h - found 02:59:48 -- Looking for sys/sysctl.h 02:59:48 -- Looking for sys/sysctl.h - not found 02:59:48 -- Looking for netinet/in.h 02:59:49 -- Looking for netinet/in.h - found 02:59:49 -- Looking for sys/epoll.h 02:59:49 -- Looking for sys/epoll.h - found 02:59:49 -- Looking for sys/timerfd.h 02:59:49 -- Looking for sys/timerfd.h - found 02:59:49 -- Looking for arpa/inet.h 02:59:50 -- Looking for arpa/inet.h - found 02:59:50 -- Looking for stdbool.h 02:59:50 -- Looking for stdbool.h - found 02:59:50 -- Looking for netdb.h 02:59:50 -- Looking for netdb.h - found 02:59:50 -- Looking for pthread.h 02:59:51 -- Looking for pthread.h - found 02:59:51 -- Looking for stdlib.h 02:59:51 -- Looking for stdlib.h - found 02:59:51 -- Looking for stdint.h 02:59:52 -- Looking for stdint.h - found 02:59:52 -- Looking for syslog.h 02:59:52 -- Looking for syslog.h - found 02:59:52 -- Looking for sys/ioctl.h 02:59:52 -- Looking for sys/ioctl.h - found 02:59:52 -- Looking for sys/socket.h 02:59:53 -- Looking for sys/socket.h - found 02:59:53 -- Looking for sys/stat.h 02:59:53 -- Looking for sys/stat.h - found 02:59:53 -- Looking for sys/time.h 02:59:53 -- Looking for sys/time.h - found 02:59:53 -- Looking for sys/types.h 02:59:53 -- Looking for sys/types.h - found 02:59:53 -- Looking for sys/unistd.h 02:59:54 -- Looking for sys/unistd.h - not found 02:59:54 -- Looking for time.h 02:59:54 -- Looking for time.h - found 02:59:54 -- Looking for unistd.h 02:59:55 -- Looking for unistd.h - found 02:59:55 -- Looking for float.h 02:59:55 -- Looking for float.h - found 02:59:55 -- Looking for stddef.h 02:59:55 -- Looking for stddef.h - found 02:59:55 -- Looking for winsock2.h 02:59:55 -- Looking for winsock2.h - not found 02:59:55 -- Looking for ws2tcpip.h 02:59:56 -- Looking for ws2tcpip.h - not found 02:59:56 -- Looking for malloc 02:59:56 -- Looking for malloc - found 02:59:56 -- Looking for memset 02:59:56 -- Looking for memset - found 02:59:56 -- Looking for select 02:59:57 -- Looking for select - found 02:59:57 -- Looking for socket 02:59:57 -- Looking for socket - found 02:59:57 -- Looking for strcasecmp 02:59:57 -- Looking for strcasecmp - found 02:59:57 -- Looking for pthread_mutex_lock 02:59:58 -- Looking for pthread_mutex_lock - found 02:59:58 -- Looking for getaddrinfo 02:59:58 -- Looking for getaddrinfo - found 02:59:58 -- Looking for strnlen 02:59:58 -- Looking for strnlen - found 02:59:58 -- Looking for strrchr 02:59:59 -- Looking for strrchr - found 02:59:59 -- Looking for getrandom 02:59:59 -- Looking for getrandom - found 02:59:59 -- Looking for cmsghdr 03:00:00 -- Looking for cmsghdr - not found 03:00:00 -- compiling without epoll support 03:00:00 -- compiling with DTLS support 03:00:00 -- DTLS_BACKEND: tinydtls 03:00:00 -- Found TinyDTLS: /usr/local/include 03:00:00 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 03:00:00 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 03:00:00 -- TINYDTLS_ROOT_DIR: 03:00:00 -- compiling with tinydtls support 03:00:00 -- ENABLE_DTLS:.....................ON 03:00:00 -- ENABLE_TCP:......................ON 03:00:00 -- ENABLE_DOCS:.....................OFF 03:00:00 -- ENABLE_EXAMPLES:.................OFF 03:00:00 -- DTLS_BACKEND:....................tinydtls 03:00:00 -- WITH_GNUTLS:.....................OFF 03:00:00 -- WITH_TINYDTLS:...................ON 03:00:00 -- WITH_OPENSSL:....................OFF 03:00:00 -- WITH_MBEDTLS:....................OFF 03:00:00 -- HAVE_LIBTINYDTLS:................1 03:00:00 -- HAVE_LIBGNUTLS:.................. 03:00:00 -- HAVE_OPENSSL:.................... 03:00:00 -- HAVE_MBEDTLS:.................... 03:00:00 -- COAP_EPOLL_SUPPORT:.............. 03:00:00 -- CMAKE_C_COMPILER:................/usr/bin/cc 03:00:00 -- BUILD_SHARED_LIBS:...............ON 03:00:00 -- CMAKE_BUILD_TYPE:................Release 03:00:00 -- CMAKE_SYSTEM_PROCESSOR:..........aarch64 03:00:00 -- Configuring done (15.2s) 03:00:00 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 03:00:00 Policy CMP0115 is not set: Source file extensions must be explicit. Run 03:00:00 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 03:00:00 command to set the policy and suppress this warning. 03:00:00 03:00:00 File: 03:00:00 03:00:00 /device-coap/deps/libcoap/include/coap2/coap.h.in 03:00:00 This warning is for project developers. Use -Wno-dev to suppress it. 03:00:00 03:00:00 -- Generating done (0.0s) 03:00:00 -- Build files have been written to: /device-coap/deps/libcoap/build 03:00:00 + make 03:00:00 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 03:00:00 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 03:00:01 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 03:00:02 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 03:00:04 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 03:00:04 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 03:00:04 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 03:00:06 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 03:00:07 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 03:00:07 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 03:00:11 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 03:00:12 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 03:00:12 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 03:00:13 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 03:00:13 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 03:00:17 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 03:00:18 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 03:00:19 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 03:00:22 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 03:00:22 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 03:00:22 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 03:00:24 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 03:00:25 [100%] Linking C shared library libcoap-2.so 03:00:25 [100%] Built target coap-2 03:00:25 + make install 03:00:26 [100%] Built target coap-2 03:00:26 Install the project... 03:00:26 -- Install configuration: "Release" 03:00:26 -- Installing: /usr/local/lib/libcoap-2.so 03:00:26 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 03:00:26 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 03:00:26 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 03:00:26 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 03:00:26 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 03:00:26 -- Up-to-date: /usr/local/include 03:00:26 -- Installing: /usr/local/include/coap2 03:00:26 -- Installing: /usr/local/include/coap2/coap_dtls.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_mutex.h 03:00:26 -- Installing: /usr/local/include/coap2/option.h 03:00:26 -- Installing: /usr/local/include/coap2/uri.h 03:00:26 -- Installing: /usr/local/include/coap2/net.h 03:00:26 -- Installing: /usr/local/include/coap2/bits.h 03:00:26 -- Installing: /usr/local/include/coap2/utlist.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_event.h 03:00:26 -- Installing: /usr/local/include/coap2/block.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_session.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_prng.h 03:00:26 -- Installing: /usr/local/include/coap2/uthash.h 03:00:26 -- Installing: /usr/local/include/coap2/async.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_hashkey.h 03:00:26 -- Installing: /usr/local/include/coap2/libcoap.h 03:00:26 -- Installing: /usr/local/include/coap2/mem.h 03:00:26 -- Installing: /usr/local/include/coap2/subscribe.h 03:00:26 -- Installing: /usr/local/include/coap2/resource.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_riot.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_time.h 03:00:26 -- Installing: /usr/local/include/coap2/pdu.h 03:00:26 -- Installing: /usr/local/include/coap2/address.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_io.h 03:00:26 -- Installing: /usr/local/include/coap2/lwippools.h 03:00:26 -- Installing: /usr/local/include/coap2/str.h 03:00:26 -- Installing: /usr/local/include/coap2/coap_debug.h 03:00:26 -- Installing: /usr/local/include/coap2/encode.h 03:00:26 -- Up-to-date: /usr/local/include 03:00:26 -- Up-to-date: /usr/local/include/coap2 03:00:26 -- Installing: /usr/local/include/coap2/coap.h 03:00:26 + '[' 1 '=' 1 ] 03:00:26 + cd /device-coap/deps 03:00:26 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 03:00:26 Connecting to github.com (140.82.113.4:443) 03:00:26 Connecting to codeload.github.com (140.82.114.9:443) 03:00:26 saving to 'v4.0.0.zip' 03:00:26 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 03:00:26 'v4.0.0.zip' saved 03:00:26 + unzip v4.0.0.zip 03:00:26 Archive: v4.0.0.zip 03:00:26 creating: device-sdk-c-4.0.0/ 03:00:26 creating: device-sdk-c-4.0.0/.github/ 03:00:26 inflating: device-sdk-c-4.0.0/.github/Contributing.md 03:00:26 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 03:00:26 inflating: device-sdk-c-4.0.0/.github/semantic.yml 03:00:26 creating: device-sdk-c-4.0.0/.github/workflows/ 03:00:26 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 03:00:26 inflating: device-sdk-c-4.0.0/.gitignore 03:00:26 inflating: device-sdk-c-4.0.0/Attribution.txt 03:00:26 inflating: device-sdk-c-4.0.0/CHANGELOG.md 03:00:26 inflating: device-sdk-c-4.0.0/Doxyfile 03:00:26 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 03:00:26 inflating: device-sdk-c-4.0.0/Jenkinsfile 03:00:26 inflating: device-sdk-c-4.0.0/LICENSE 03:00:26 inflating: device-sdk-c-4.0.0/Makefile 03:00:26 inflating: device-sdk-c-4.0.0/OWNERS.md 03:00:26 inflating: device-sdk-c-4.0.0/README.IOT.md 03:00:26 inflating: device-sdk-c-4.0.0/README.md 03:00:26 inflating: device-sdk-c-4.0.0/README.v3.md 03:00:26 creating: device-sdk-c-4.0.0/docs/ 03:00:26 inflating: device-sdk-c-4.0.0/docs/configuration.md 03:00:26 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 03:00:26 inflating: device-sdk-c-4.0.0/docs/metrics.md 03:00:26 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 03:00:26 inflating: device-sdk-c-4.0.0/docs/startup.md 03:00:26 creating: device-sdk-c-4.0.0/include/ 03:00:26 creating: device-sdk-c-4.0.0/include/devsdk/ 03:00:26 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 03:00:26 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 03:00:26 creating: device-sdk-c-4.0.0/include/edgex/ 03:00:26 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 03:00:26 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 03:00:26 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 03:00:26 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 03:00:26 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 03:00:26 creating: device-sdk-c-4.0.0/scripts/ 03:00:26 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 03:00:26 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 03:00:26 inflating: device-sdk-c-4.0.0/scripts/build.sh 03:00:26 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 03:00:26 creating: device-sdk-c-4.0.0/src/ 03:00:26 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 03:00:26 creating: device-sdk-c-4.0.0/src/c/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/api.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/bus.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/bus.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/callback3.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/callback3.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/config.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/config.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/correlation.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/correlation.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/data.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/data.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 03:00:26 inflating: device-sdk-c-4.0.0/src/c/device.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/device.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/devman.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/devmap.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/devmap.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/devutil.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/discovery.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/discovery.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/file/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/random/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 03:00:26 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 03:00:26 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 03:00:26 inflating: device-sdk-c-4.0.0/src/c/filesys.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/filesys.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/keeper.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/keeper.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/map.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/map.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/metadata.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/metadata.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/metrics.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/opstate.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/opstate.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/parson.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/parson.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/profiles.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/profiles.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/registry.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/registry.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/rest.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/rest.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/secrets.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/secrets.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/service.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/service.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/transform.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/transform.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/validate.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/validate.h 03:00:26 inflating: device-sdk-c-4.0.0/src/c/watchers.c 03:00:26 inflating: device-sdk-c-4.0.0/src/c/watchers.h 03:00:26 creating: device-sdk-c-4.0.0/src/cmake/ 03:00:26 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 03:00:26 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 03:00:26 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 03:00:26 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 03:00:26 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 03:00:26 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 03:00:26 + cd device-sdk-c-4.0.0 03:00:26 + ./scripts/build.sh 03:00:26 + CPPCHECK=false 03:00:26 + DOCGEN=false 03:00:26 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 03:00:26 + '[' 0 -gt 0 ] 03:00:26 + readlink -f ./scripts/build.sh 03:00:26 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 03:00:26 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 03:00:26 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 03:00:26 + cd /device-coap/deps/device-sdk-c-4.0.0 03:00:26 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 03:00:26 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 03:00:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 03:00:27 -- The C compiler identification is GNU 12.2.1 03:00:27 -- Detecting C compiler ABI info 03:00:27 -- Detecting C compiler ABI info - done 03:00:27 -- Check for working C compiler: /usr/bin/cc - skipped 03:00:27 -- Detecting C compile features 03:00:27 -- Detecting C compile features - done 03:00:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:00:27 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 03:00:27 -- Found LIBYAML: /usr/lib/libyaml.so 03:00:27 -- Found LIBUUID: /usr/lib/libuuid.so 03:00:27 -- Found LIBCBOR: /usr/lib/libcbor.so 03:00:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:00:27 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:00:27 -- /opt/iotech/iot/1.5/include 03:00:27 -- C SDK 0.0.0 for Linux 03:00:27 -- Performing Test CSDK_HAVE_ATOMIC 03:00:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:00:28 -- Found Curses: /usr/lib/libcurses.so 03:00:28 -- Configuring done (1.7s) 03:00:29 -- Generating done (0.2s) 03:00:29 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 03:00:29 + make all package 03:00:29 + tee release.log 03:00:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:00:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:00:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:00:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:00:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:00:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:00:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:00:35 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:00:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:00:37 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:00:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:00:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:00:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:00:40 [ 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:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:00:43 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 03:00:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:00:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:00:47 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:00:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:00:56 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:00:56 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:00:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:00:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:00:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:00:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:01:01 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:01:01 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:01:02 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:01:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:01:05 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 03:01:05 /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:01:05 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 03:01:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:05 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 03:01:05 875 | const iot_data_t *deviceservices_config; 03:01:05 | ^~~~~~~~~~~~~~~~~~~~~ 03:01:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:01:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:01:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:01:08 [ 68%] Linking C shared library libcsdk.so 03:01:08 [ 68%] Built target csdk 03:01:08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:01:09 [ 72%] Linking C executable template 03:01:09 /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:09 [ 72%] Built target template 03:01:09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:01:10 [ 76%] Linking C executable device-counter 03:01: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:01:10 [ 76%] Built target device-counter 03:01:10 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:01:11 [ 80%] Linking C executable device-random 03:01: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:01:11 [ 80%] Built target device-random 03:01:11 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:01:12 [ 84%] Linking C executable device-gyro 03:01: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:01:12 [ 84%] Built target device-gyro 03:01:12 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:01:13 [ 88%] Linking C executable device-bitfields 03:01: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:01:13 [ 88%] Built target device-bitfields 03:01:13 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:01:14 [ 92%] Linking C executable template-discovery 03:01: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:01:14 [ 92%] Built target template-discovery 03:01:14 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:01:15 [ 96%] Linking C executable device-file 03:01: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:01:15 [ 96%] Built target device-file 03:01:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:01:16 [100%] Linking C executable device-terminal 03:01:16 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 03:01:16 [100%] Built target device-terminal 03:01:16 Run CPack packaging tool... 03:01:16 CPack: Create package using TGZ 03:01:16 CPack: Install projects 03:01:16 CPack: - Run preinstall target for: Csdk 03:01:17 CPack: - Install project: Csdk [] 03:01:17 CPack: Create package 03:01:17 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 03:01:17 + '[' false '=' true ] 03:01:17 + '[' false '=' true ] 03:01:17 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:01:17 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:01:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 03:01:18 -- The C compiler identification is GNU 12.2.1 03:01:18 -- Detecting C compiler ABI info 03:01:18 -- Detecting C compiler ABI info - done 03:01:18 -- Check for working C compiler: /usr/bin/cc - skipped 03:01:18 -- Detecting C compile features 03:01:18 -- Detecting C compile features - done 03:01:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:01:19 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 03:01:19 -- Found LIBYAML: /usr/lib/libyaml.so 03:01:19 -- Found LIBUUID: /usr/lib/libuuid.so 03:01:19 -- Found LIBCBOR: /usr/lib/libcbor.so 03:01:19 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:01:19 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:01:19 -- /opt/iotech/iot/1.5/include 03:01:19 -- C SDK 0.0.0 for Linux 03:01:19 -- Performing Test CSDK_HAVE_ATOMIC 03:01:19 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:01:19 -- Found Curses: /usr/lib/libcurses.so 03:01:19 -- Configuring done (1.9s) 03:01:20 -- Generating done (0.3s) 03:01:20 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 03:01:20 + make 03:01:20 + tee debug.log 03:01:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:01:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:01:21 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:01:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:01:22 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:01:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:01:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:01:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:01:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:01:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:01:25 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:01:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:01:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:01:26 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:01:26 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:01:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:01:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 03:01:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:01:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:01:29 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 03:01:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:01:31 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:01:31 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:01:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:01:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:01:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:01:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:01:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:01:34 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:01:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:01:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:01:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:01:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:01:37 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:01:37 [ 68%] Linking C shared library libcsdk.so 03:01:37 [ 68%] Built target csdk 03:01:37 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:01:38 [ 72%] Linking C executable template 03:01:38 /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:38 [ 72%] Built target template 03:01:38 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:01:38 [ 76%] Linking C executable device-counter 03:01:38 /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:39 [ 76%] Built target device-counter 03:01:39 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:01:39 [ 80%] Linking C executable device-random 03:01:39 /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:39 [ 80%] Built target device-random 03:01:39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:01:40 [ 84%] Linking C executable device-gyro 03:01:40 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 03:01:40 [ 84%] Built target device-gyro 03:01:40 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:01:40 [ 88%] Linking C executable device-bitfields 03:01:40 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 03:01:41 [ 88%] Built target device-bitfields 03:01:41 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:01:41 [ 92%] Linking C executable template-discovery 03:01:41 /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:41 [ 92%] Built target template-discovery 03:01:41 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:01:42 [ 96%] Linking C executable device-file 03:01: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:01:42 [ 96%] Built target device-file 03:01:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:01:43 [100%] Linking C executable device-terminal 03:01: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:01:43 [100%] Built target device-terminal 03:01:43 + cp -rf include/devsdk include/edgex /usr/include/ 03:01:43 + cp build/release/c/libcsdk.so /usr/lib/ 03:01:43 + rm -rf /device-coap/deps 03:01:44 Removing intermediate container 52d0a6956f49 03:01:44 ---> 9e0f169f01d1 03:01:44 Step 14/14 : RUN /device-coap/scripts/build.sh 03:01:44 ---> Running in 1d6092da28ea 03:01:45 + readlink -f /device-coap/scripts/build.sh 03:01:45 /device-coap 03:01:45 + dirname /device-coap/scripts/build.sh 03:01:45 + dirname /device-coap/scripts 03:01:45 + ROOT=/device-coap 03:01:45 + echo /device-coap 03:01:45 + cd /device-coap 03:01:45 + mkdir -p /device-coap/build/release 03:01:45 + cd /device-coap/build/release 03:01:45 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 03:01:46 -- The C compiler identification is GNU 12.2.1 03:01:46 -- Detecting C compiler ABI info 03:01:46 -- Detecting C compiler ABI info - done 03:01:46 -- Check for working C compiler: /usr/bin/cc - skipped 03:01:46 -- Detecting C compile features 03:01:46 -- Detecting C compile features - done 03:01:46 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 03:01:46 -- Configuring done (1.0s) 03:01:46 -- Generating done (0.0s) 03:01:46 -- Build files have been written to: /device-coap/build/release 03:01:46 + make 03:01:46 + tee release.log 03:01:46 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 03:01:47 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:47 from /device-coap/src/c/device-coap.h:17, 03:01:47 from /device-coap/src/c/coap-client.h:21, 03:01:47 from /device-coap/src/c/coap-client.c:9: 03:01:47 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 03:01:47 /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:47 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~ 03:01:47 90 | strlen(end_dev_params_ptr->psk_key)); 03:01:47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 03:01:47 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 03:01:47 | ~^ 03:01:47 | | 03:01:47 | unsigned int 03:01:47 | %lu 03:01:47 /device-coap/src/c/coap-client.c: In function 'message_handler': 03:01:47 /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:47 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 03:01:47 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 03:01:47 | ~^ 03:01:47 | | 03:01:47 | unsigned int 03:01:47 | %lu 03:01:47 /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:47 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 130 | resource->properties->type); 03:01:47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 | | 03:01:47 | iot_typecode_t 03:01:47 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 03:01:47 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 /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:47 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 140 | len); 03:01:47 | ~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 03:01:47 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 | %ld 03:01:47 /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:47 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 145 | len); 03:01:47 | ~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 03:01:47 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 | %ld 03:01:47 /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:47 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 152 | len); 03:01:47 | ~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 03:01:47 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 | %ld 03:01:47 /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:47 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 157 | resource->properties->type); 03:01:47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 | | 03:01:47 | iot_typecode_t 03:01:47 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 03:01:47 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 03:01:47 /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:47 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 03:01:47 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 | %ld 03:01:47 /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:47 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 253 | (uint8_t *)end_dev_params_ptr->psk_key, 03:01:47 254 | strlen(end_dev_params_ptr->psk_key)); 03:01:47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 03:01:47 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 | %ld 03:01:47 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 03:01:47 /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:47 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 352 | (uint8_t *)end_dev_params_ptr->psk_key, 03:01:47 353 | strlen(end_dev_params_ptr->psk_key)); 03:01:47 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:47 | | 03:01:47 | size_t {aka long unsigned int} 03:01:47 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 03:01:47 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 03:01:47 | ~^ 03:01:47 | | 03:01:47 | int 03:01:47 | %ld 03:01:47 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 03:01:48 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:48 from /usr/include/edgex/devices.h:17, 03:01:48 from /device-coap/src/c/coap-server.c:22: 03:01:48 /device-coap/src/c/coap-server.c: In function 'data_handler': 03:01:48 /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:48 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:01:48 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:48 | | 03:01:48 | size_t {aka long unsigned int} 03:01:48 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 03:01:48 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 03:01:48 | ~^ 03:01:48 | | 03:01:48 | unsigned int 03:01:48 | %lu 03:01:48 /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:48 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:01:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:48 | | 03:01:48 | iot_typecode_t 03:01:48 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 03:01:48 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 03:01:48 | ~^ 03:01:48 | | 03:01:48 | int 03:01:48 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 03:01:48 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:48 from /device-coap/src/c/coap-util.h:18, 03:01:48 from /device-coap/src/c/coap-util.c:9: 03:01:48 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 03:01:48 /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:48 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:48 | | 03:01:48 | size_t {aka long unsigned int} 03:01:48 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 03:01:48 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:48 | ~^ 03:01:48 | | 03:01:48 | unsigned int 03:01:48 | %lu 03:01:48 /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:48 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:48 | | 03:01:48 | size_t {aka long unsigned int} 03:01:48 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 03:01:48 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 03:01:48 | ~^ 03:01:48 | | 03:01:48 | unsigned int 03:01:48 | %lu 03:01:48 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 03:01:48 /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:48 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:48 | | 03:01:48 | size_t {aka long unsigned int} 03:01:48 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 03:01:48 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:48 | ~^ 03:01:48 | | 03:01:48 | unsigned int 03:01:48 | %lu 03:01:48 /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:48 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 03:01:48 | | 03:01:48 | size_t {aka long unsigned int} 03:01:48 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 03:01:48 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 03:01:48 | ~^ 03:01:48 | | 03:01:48 | unsigned int 03:01:48 | %lu 03:01:49 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 03:01:49 In file included from /usr/include/devsdk/devsdk.h:18, 03:01:49 from /device-coap/src/c/device-coap.h:17, 03:01:49 from /device-coap/src/c/device-coap.c:10: 03:01:49 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 03:01:49 /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:49 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:01:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:49 131 | requests[i].resource->type); 03:01:49 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:01:49 | | 03:01:49 | iot_typecode_t 03:01:49 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 03:01:49 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 03:01:49 | ~^ 03:01:49 | | 03:01:49 | int 03:01:50 [100%] Linking C executable device-coap 03:01: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:01:50 [100%] Built target device-coap 03:01:51 Removing intermediate container 1d6092da28ea 03:01:51 ---> 95e6488873af 03:01:51 Successfully built 95e6488873af 03:01:51 Successfully tagged device-coap-c-builder-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:01:52 + awk {print $1} 03:01:52 + head -n 1 03:01:52 + grep ci(lts-release) 03:01:52 + git log --pretty=%H %s [Pipeline] echo 03:01:52 [edgeXDocker.push] Tagging docker image device-coap-c-builder-arm64 with the following tags: 03:01:52 47967fd6311d44cba5f1849fba3e2293691669b2 03:01:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:52 + docker tag device-coap-c-builder-arm64 nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:53 + docker push nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:47967fd6311d44cba5f1849fba3e2293691669b2 03:01:53 The push refers to repository [nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64] 03:01:53 e5441041cf7a: Preparing 03:01:53 de93ebbbbe66: Preparing 03:01:53 17802c7cad79: Preparing 03:01:53 2c2b7f157f28: Preparing 03:01:53 e3d2098d946b: Preparing 03:01:53 fe72c3d420f1: Preparing 03:01:53 fdc5d5927246: Preparing 03:01:53 fe72c3d420f1: Waiting 03:01:53 6dd98a1ea466: Preparing 03:01:53 fdc5d5927246: Waiting 03:01:53 08c62310fac4: Preparing 03:01:53 6dd98a1ea466: Waiting 03:01:53 c92b22b6b84e: Preparing 03:01:53 08c62310fac4: Waiting 03:01:53 7516a9d68dc0: Preparing 03:01:53 c92b22b6b84e: Waiting 03:01:53 fbbef3d89ef9: Preparing 03:01:53 7516a9d68dc0: Waiting 03:01:53 fbbef3d89ef9: Waiting 03:01:53 5f4d9fc4d98d: Preparing 03:01:53 5f4d9fc4d98d: Waiting 03:01:53 2c2b7f157f28: Pushed 03:01:53 e3d2098d946b: Pushed 03:01:53 17802c7cad79: Pushed 03:01:53 e5441041cf7a: Pushed 03:01:53 fe72c3d420f1: Pushed 03:01:54 08c62310fac4: Pushed 03:01:54 de93ebbbbe66: Pushed 03:01:54 c92b22b6b84e: Pushed 03:01:54 7516a9d68dc0: Layer already exists 03:01:54 fbbef3d89ef9: Layer already exists 03:01:54 5f4d9fc4d98d: Layer already exists 03:01:56 6dd98a1ea466: Pushed 03:02:04 fdc5d5927246: Pushed 03:02:04 47967fd6311d44cba5f1849fba3e2293691669b2: digest: sha256:d7d8462975da4b15b27cb7872b793641247a538a4abfea9cd78dd62caec78128 size: 3035 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:02:04 ===================================================== [Pipeline] echo 03:02:04 taggedImages: 03:02:04 - nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:02:05 + git rev-list -1 --merges 47967fd6311d44cba5f1849fba3e2293691669b2~1..47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] echo 03:02:05 -----------> git rev-list -1 --merges 47967fd6311d44cba5f1849fba3e2293691669b2~1..47967fd6311d44cba5f1849fba3e2293691669b2 47967fd6311d44cba5f1849fba3e2293691669b2 [false] [Pipeline] sh 03:02:05 + git log --format=format:%s -1 47967fd6311d44cba5f1849fba3e2293691669b2 [Pipeline] echo 03:02:05 ========================================================= 03:02:05 [isLTSReleaseBuild] No build required. isLTSRelease: [true] 03:02:05 ========================================================= Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build Check" 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 Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) 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] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) 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] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) 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] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) 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] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:02:09 + [ -d /w/workspace/dgexfoundry_device-coap-c_odessa/archives ] [Pipeline] libraryResource [Pipeline] sh 03:02:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:02:10 ---> package-listing.sh 03:02:10 ++ facter osfamily 03:02:10 ++ tr '[:upper:]' '[:lower:]' 03:02:10 + OS_FAMILY=debian 03:02:10 + workspace=/w/workspace/dgexfoundry_device-coap-c_odessa 03:02:10 + START_PACKAGES=/tmp/packages_start.txt 03:02:10 + END_PACKAGES=/tmp/packages_end.txt 03:02:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:02:10 + PACKAGES=/tmp/packages_start.txt 03:02:10 + '[' /w/workspace/dgexfoundry_device-coap-c_odessa ']' 03:02:10 + PACKAGES=/tmp/packages_end.txt 03:02:10 + case "${OS_FAMILY}" in 03:02:10 + dpkg -l 03:02:10 + grep '^ii' 03:02:10 + '[' -f /tmp/packages_start.txt ']' 03:02:10 + '[' -f /tmp/packages_end.txt ']' 03:02:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:02:10 + '[' /w/workspace/dgexfoundry_device-coap-c_odessa ']' 03:02:10 + mkdir -p /w/workspace/dgexfoundry_device-coap-c_odessa/archives/ 03:02:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-coap-c_odessa/archives/ [Pipeline] echo 03:02:10 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/dgexfoundry_device-coap-c_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:02:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:11 03:02:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:11 latest: Pulling from edgex-lftools-log-publisher 03:02:11 5eb5b503b376: Pulling fs layer 03:02:11 5c69ac0246d0: Pulling fs layer 03:02:11 ec43610c2a17: Pulling fs layer 03:02:11 3a2ae6a8a46f: Pulling fs layer 03:02:11 33b1e0a273af: Pulling fs layer 03:02:11 5d3b04190fa2: Pulling fs layer 03:02:11 2f39f015ded8: Pulling fs layer 03:02:11 3a2ae6a8a46f: Waiting 03:02:11 33b1e0a273af: Waiting 03:02:11 5d3b04190fa2: Waiting 03:02:11 5c69ac0246d0: Download complete 03:02:11 3a2ae6a8a46f: Verifying Checksum 03:02:11 3a2ae6a8a46f: Download complete 03:02:11 33b1e0a273af: Verifying Checksum 03:02:11 33b1e0a273af: Download complete 03:02:11 5d3b04190fa2: Verifying Checksum 03:02:11 5d3b04190fa2: Download complete 03:02:11 ec43610c2a17: Verifying Checksum 03:02:11 ec43610c2a17: Download complete 03:02:12 5eb5b503b376: Verifying Checksum 03:02:12 5eb5b503b376: Download complete 03:02:12 2f39f015ded8: Download complete 03:02:13 5eb5b503b376: Pull complete 03:02:13 5c69ac0246d0: Pull complete 03:02:13 ec43610c2a17: Pull complete 03:02:13 3a2ae6a8a46f: Pull complete 03:02:13 33b1e0a273af: Pull complete 03:02:14 5d3b04190fa2: Pull complete 03:02:18 2f39f015ded8: Pull complete 03:02:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:02:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:18 prd-ubuntu20.04-docker-8c-8g-41719 does not seem to be running inside a container 03:02:18 $ 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/dgexfoundry_device-coap-c_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-coap-c_odessa -v /w/workspace/dgexfoundry_device-coap-c_odessa:/w/workspace/dgexfoundry_device-coap-c_odessa:rw,z -v /w/workspace/dgexfoundry_device-coap-c_odessa@tmp:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:02:19 $ docker top e541b713f4b3f390d613f8392c489bbff48accb71dc25073ba5875077fa21e8d -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:20 + touch /tmp/pre-build-complete [Pipeline] sh 03:02:20 + mkdir -p /var/log/sysstat [Pipeline] sh 03:02:20 + ls /var/log/sa-host 03:02:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:02:21 provisioning config files... 03:02:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config15246315368497168376tmp [Pipeline] { [Pipeline] echo 03:02:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:02:21 ---> create-netrc.sh [Pipeline] } 03:02:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:02:22 ---> python-tools-install.sh [Pipeline] echo 03:02:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:02:22 ---> sudo-logs.sh 03:02:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:02:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:02:22 ---> job-cost.sh 03:02:22 lf-activate-venv: SKIPPING 03:02:22 INFO: No Stack... 03:02:23 INFO: Retrieving Pricing Info for: v3-standard-8 03:02:23 INFO: Archiving Costs [Pipeline] echo 03:02:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:02:24 ---> logs-deploy.sh 03:02:24 lf-activate-venv: SKIPPING 03:02:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/odessa/1 03:02:24 INFO: archiving workspace using pattern(s): 03:02:24 Archives upload complete. 03:02:24 INFO: archiving logs to Nexus