Started by upstream project "edgexfoundry/cd-management/release-lts" build number 117 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8a36c516d93552d46d8ba2391c3f855da456abe2 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-ssh9698390000587260393.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3544347608603497179.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-coap-c/branches/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh17348314015928980974.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8142716075188849487.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-coap-c/branches/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh8374494802714629586.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-coap-c, dockerImageName:device-coap, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-coap-c-settings PROJECT: device-coap-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-coap DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-773900 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 8a36c516d93552d46d8ba2391c3f855da456abe2 (odessa) Commit message: "ci(lts-release): LTS release v4.0.1 @47967fd" > git config core.sparsecheckout # timeout=10 > git checkout -f 8a36c516d93552d46d8ba2391c3f855da456abe2 # timeout=10 > git rev-list --no-walk 8a36c516d93552d46d8ba2391c3f855da456abe2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:30:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:30:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:30:20 ========================================================= 05:30:20 EdgeX Global Pipelines Version Info 05:30:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:30:21 ------------------- 05:30:21 stable info: 05:30:21 ------------------- 05:30:21 Commited By: Cherry Wang cherry@iotechsys.com 05:30:21 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 05:30:21 Message: update stable to v1.0.278 05:30:22 ------------------- 05:30:22 experimental info: 05:30:22 ------------------- 05:30:22 Commited By: **** collab-it+edgex@linuxfoundation.org 05:30:22 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 05:30:22 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a36c51 [Pipeline] echo 05:30:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:22 provisioning config files... 05:30:22 copy managed file [device-coap-c-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config8777401689942059424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:23 ---> ****-login.sh 05:30:23 nexus3.edgexfoundry.org:10001 05:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:23 05:30:23 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:30:23 Configure a credential helper to remove this warning. See 05:30:23 https://docs.****.com/go/credential-store/ 05:30:23 05:30:23 Login Succeeded 05:30:23 nexus3.edgexfoundry.org:10002 05:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:23 05:30:23 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:30:23 Configure a credential helper to remove this warning. See 05:30:23 https://docs.****.com/go/credential-store/ 05:30:23 05:30:23 Login Succeeded 05:30:23 nexus3.edgexfoundry.org:10003 05:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:23 05:30:23 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:30:23 Configure a credential helper to remove this warning. See 05:30:23 https://docs.****.com/go/credential-store/ 05:30:23 05:30:23 Login Succeeded 05:30:23 nexus3.edgexfoundry.org:10004 05:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:23 05:30:23 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:30:23 Configure a credential helper to remove this warning. See 05:30:23 https://docs.****.com/go/credential-store/ 05:30:23 05:30:23 Login Succeeded 05:30:23 ****.io 05:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:24 05:30:24 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:30:24 Configure a credential helper to remove this warning. See 05:30:24 https://docs.****.com/go/credential-store/ 05:30:24 05:30:24 Login Succeeded 05:30:24 ---> ****-login.sh ends [Pipeline] } 05:30:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:30:24 + git rev-list -1 --merges 8a36c516d93552d46d8ba2391c3f855da456abe2~1..8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] echo 05:30:24 -----------> git rev-list -1 --merges 8a36c516d93552d46d8ba2391c3f855da456abe2~1..8a36c516d93552d46d8ba2391c3f855da456abe2 8a36c516d93552d46d8ba2391c3f855da456abe2 [false] [Pipeline] sh 05:30:24 + git log --format=format:%s -1 8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] echo 05:30:24 ========================================================= 05:30:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 05:30:24 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:30:25 + git rev-list -1 --merges 8a36c516d93552d46d8ba2391c3f855da456abe2~1..8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] echo 05:30:25 -----------> git rev-list -1 --merges 8a36c516d93552d46d8ba2391c3f855da456abe2~1..8a36c516d93552d46d8ba2391c3f855da456abe2 8a36c516d93552d46d8ba2391c3f855da456abe2 [false] [Pipeline] sh 05:30:25 + git log --format=format:%s -1 8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] echo 05:30:25 ========================================================= 05:30:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 05:30:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:30:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:30:26 + grep -v github /etc/ssh/ssh_known_hosts 05:30:26 + [ -e /tmp/ssh_known_hosts ] 05:30:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:30:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:30:26 + sudo tee -a /etc/ssh/ssh_known_hosts 05:30:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:30:26 05:30:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:30:26 0.1.4: Pulling from edgex-devops/py-git-semver 05:30:26 3dae71ba6b94: Pulling fs layer 05:30:26 6bf1a483ea7c: Pulling fs layer 05:30:26 f5dfc541a4d3: Pulling fs layer 05:30:26 461d9e800cba: Pulling fs layer 05:30:26 80192f66455f: Pulling fs layer 05:30:26 2e8e34ca0e6c: Pulling fs layer 05:30:26 a29436f7fd5d: Pulling fs layer 05:30:26 923cac83aea3: Pulling fs layer 05:30:26 25ad8b0a4227: Pulling fs layer 05:30:26 db01528c6b51: Pulling fs layer 05:30:26 28988de357af: Pulling fs layer 05:30:26 923cac83aea3: Waiting 05:30:26 25ad8b0a4227: Waiting 05:30:26 a29436f7fd5d: Waiting 05:30:26 db01528c6b51: Waiting 05:30:26 28988de357af: Waiting 05:30:26 461d9e800cba: Waiting 05:30:26 80192f66455f: Waiting 05:30:26 2e8e34ca0e6c: Waiting 05:30:26 6bf1a483ea7c: Verifying Checksum 05:30:26 6bf1a483ea7c: Download complete 05:30:26 461d9e800cba: Verifying Checksum 05:30:26 461d9e800cba: Download complete 05:30:26 80192f66455f: Download complete 05:30:27 f5dfc541a4d3: Verifying Checksum 05:30:27 f5dfc541a4d3: Download complete 05:30:27 3dae71ba6b94: Verifying Checksum 05:30:27 3dae71ba6b94: Download complete 05:30:27 923cac83aea3: Verifying Checksum 05:30:27 923cac83aea3: Download complete 05:30:27 25ad8b0a4227: Verifying Checksum 05:30:27 25ad8b0a4227: Download complete 05:30:27 db01528c6b51: Verifying Checksum 05:30:27 db01528c6b51: Download complete 05:30:27 28988de357af: Verifying Checksum 05:30:27 28988de357af: Download complete 05:30:27 a29436f7fd5d: Verifying Checksum 05:30:27 a29436f7fd5d: Download complete 05:30:27 2e8e34ca0e6c: Verifying Checksum 05:30:27 2e8e34ca0e6c: Download complete 05:30:28 3dae71ba6b94: Pull complete 05:30:28 6bf1a483ea7c: Pull complete 05:30:29 f5dfc541a4d3: Pull complete 05:30:29 461d9e800cba: Pull complete 05:30:29 80192f66455f: Pull complete 05:30:33 2e8e34ca0e6c: Pull complete 05:30:33 a29436f7fd5d: Pull complete 05:30:33 923cac83aea3: Pull complete 05:30:33 25ad8b0a4227: Pull complete 05:30:33 db01528c6b51: Pull complete 05:30:33 28988de357af: Pull complete 05:30:33 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:30:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:30:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:34 prd-ubuntu20.04-docker-8c-8g-773900 does not seem to be running inside a container 05:30:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:30:37 $ docker top 3d05d34eec183e6698a9d2ce9d03bd798f7572652e589a1ca5f934c5f02d2e13 -eo pid,comm 05:30:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:30:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:30:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:30:37 [ssh-agent] Looking for ssh-agent implementation... 05:30:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:30:37 $ docker exec 3d05d34eec183e6698a9d2ce9d03bd798f7572652e589a1ca5f934c5f02d2e13 ssh-agent 05:30:37 SSH_AUTH_SOCK=/tmp/ssh-MKif2qQjNkVd/agent.32 05:30:37 SSH_AGENT_PID=37 05:30:37 Running ssh-add (command line suppressed) 05:30:37 Identity added: /w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_14995877066252019160.key (/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_14995877066252019160.key) 05:30:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:30:38 + git config --global --add safe.directory /w/workspace/dgexfoundry_device-coap-c_odessa [Pipeline] sh 05:30:38 + git tag --points-at 8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] } 05:30:38 $ docker exec --env ******** --env ******** 3d05d34eec183e6698a9d2ce9d03bd798f7572652e589a1ca5f934c5f02d2e13 ssh-agent -k 05:30:38 unset SSH_AUTH_SOCK; 05:30:38 unset SSH_AGENT_PID; 05:30:38 echo Agent pid 37 killed; 05:30:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:30:38 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.1' [Pipeline] sshagent 05:30:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:30:38 [ssh-agent] Looking for ssh-agent implementation... 05:30:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:30:38 $ docker exec 3d05d34eec183e6698a9d2ce9d03bd798f7572652e589a1ca5f934c5f02d2e13 ssh-agent 05:30:38 SSH_AUTH_SOCK=/tmp/ssh-jAtnd9W2swpA/agent.84 05:30:38 SSH_AGENT_PID=90 05:30:38 Running ssh-add (command line suppressed) 05:30:39 Identity added: /w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_12985202178358516464.key (/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_12985202178358516464.key) 05:30:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:30:39 + git semver init 05:30:39 2025-11-27 05:30:39,560 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:30:39 2025-11-27 05:30:39,564 [run_init] DEBUG init version:0.0.0 force:False 05:30:39 2025-11-27 05:30:39,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-coap-c_odessa/.semver 05:30:39 2025-11-27 05:30:39,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-coap-c.git /w/workspace/dgexfoundry_device-coap-c_odessa/.semver 05:30:39 2025-11-27 05:30:39,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-coap-c.git', '/w/workspace/dgexfoundry_device-coap-c_odessa/.semver'], cwd=/w/workspace/dgexfoundry_device-coap-c_odessa, stdin=None, shell=False, universal_newlines=False) 05:30:40 2025-11-27 05:30:40,236 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-coap-c_odessa/.git/info/exclude 05:30:40 2025-11-27 05:30:40,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-coap-c_odessa/.semver/odessa with force:False 05:30:40 2025-11-27 05:30:40,236 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-coap-c_odessa/.semver/odessa 05:30:40 2025-11-27 05:30:40,236 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-coap-c_odessa/.semver/odessa 05:30:40 4.0.1 [Pipeline] } 05:30:40 $ docker exec --env ******** --env ******** 3d05d34eec183e6698a9d2ce9d03bd798f7572652e589a1ca5f934c5f02d2e13 ssh-agent -k 05:30:40 unset SSH_AUTH_SOCK; 05:30:40 unset SSH_AGENT_PID; 05:30:40 echo Agent pid 90 killed; 05:30:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:30:41 + git semver [Pipeline] } 05:30:41 $ docker stop --time=1 3d05d34eec183e6698a9d2ce9d03bd798f7572652e589a1ca5f934c5f02d2e13 05:30:42 $ docker rm -f --volumes 3d05d34eec183e6698a9d2ce9d03bd798f7572652e589a1ca5f934c5f02d2e13 [Pipeline] // withDockerContainer [Pipeline] sh 05:30:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:30:43 Stashed 1 file(s) [Pipeline] echo 05:30:43 [edgeXSemver]: initialized semver on version 4.0.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:30:43 + git checkout 8a36c516d93552d46d8ba2391c3f855da456abe2 05:30:43 HEAD is now at 8a36c51 ci(lts-release): LTS release v4.0.1 @47967fd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:43 provisioning config files... 05:30:43 copy managed file [device-coap-c-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config5190067333062015689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:43 ---> ****-login.sh 05:30:43 nexus3.edgexfoundry.org:10001 05:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:43 Login Succeeded 05:30:43 nexus3.edgexfoundry.org:10002 05:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:43 Login Succeeded 05:30:43 nexus3.edgexfoundry.org:10003 05:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:43 Login Succeeded 05:30:43 nexus3.edgexfoundry.org:10004 05:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:44 Login Succeeded 05:30:44 ****.io 05:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:44 Login Succeeded 05:30:44 ---> ****-login.sh ends [Pipeline] } 05:30:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:30:44 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 05:30:44 + git log --pretty=%H %s 05:30:44 + grep ci(lts-release) 05:30:44 + head -n 1 05:30:44 + awk {print $1} [Pipeline] echo 05:30:44 [prepBaseBuildImage] Re-Tagging exiting image: nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] sh 05:30:45 + docker pull nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:8a36c516d93552d46d8ba2391c3f855da456abe2 05:30:45 8a36c516d93552d46d8ba2391c3f855da456abe2: Pulling from device-coap-c-builder-x86_64 05:30:45 96526aa774ef: Pulling fs layer 05:30:45 4f9bc52d1dc7: Pulling fs layer 05:30:45 585e8d389ef7: Pulling fs layer 05:30:45 c65095cbc7de: Pulling fs layer 05:30:45 22d4784fc39e: Pulling fs layer 05:30:45 7c26255c9030: Pulling fs layer 05:30:45 e4b3b37266e1: Pulling fs layer 05:30:45 0df37c506aa4: Pulling fs layer 05:30:45 0240a85bc17e: Pulling fs layer 05:30:45 7c26255c9030: Waiting 05:30:45 c65095cbc7de: Waiting 05:30:45 22d4784fc39e: Waiting 05:30:45 e4b3b37266e1: Waiting 05:30:45 0df37c506aa4: Waiting 05:30:45 8b094c0b5a46: Pulling fs layer 05:30:45 04fd917cd7f6: Pulling fs layer 05:30:45 4f4fb700ef54: Pulling fs layer 05:30:45 e4011f0bbbb6: Pulling fs layer 05:30:45 0240a85bc17e: Waiting 05:30:45 04fd917cd7f6: Waiting 05:30:45 8b094c0b5a46: Waiting 05:30:45 4f4fb700ef54: Waiting 05:30:45 df3d8efaa922: Pulling fs layer 05:30:45 df3d8efaa922: Waiting 05:30:45 e4011f0bbbb6: Waiting 05:30:45 4f9bc52d1dc7: Verifying Checksum 05:30:45 4f9bc52d1dc7: Download complete 05:30:45 c65095cbc7de: Verifying Checksum 05:30:45 c65095cbc7de: Download complete 05:30:45 22d4784fc39e: Verifying Checksum 05:30:45 22d4784fc39e: Download complete 05:30:45 96526aa774ef: Verifying Checksum 05:30:45 96526aa774ef: Download complete 05:30:45 7c26255c9030: Verifying Checksum 05:30:45 7c26255c9030: Download complete 05:30:45 0df37c506aa4: Download complete 05:30:45 0240a85bc17e: Verifying Checksum 05:30:45 0240a85bc17e: Download complete 05:30:45 8b094c0b5a46: Verifying Checksum 05:30:45 8b094c0b5a46: Download complete 05:30:45 04fd917cd7f6: Download complete 05:30:45 4f4fb700ef54: Download complete 05:30:45 e4011f0bbbb6: Verifying Checksum 05:30:45 e4011f0bbbb6: Download complete 05:30:45 df3d8efaa922: Download complete 05:30:45 96526aa774ef: Pull complete 05:30:45 e4b3b37266e1: Verifying Checksum 05:30:45 e4b3b37266e1: Download complete 05:30:45 4f9bc52d1dc7: Pull complete 05:30:46 585e8d389ef7: Verifying Checksum 05:30:46 585e8d389ef7: Download complete 05:30:51 585e8d389ef7: Pull complete 05:30:51 c65095cbc7de: Pull complete 05:30:51 22d4784fc39e: Pull complete 05:30:51 7c26255c9030: Pull complete 05:30:51 e4b3b37266e1: Pull complete 05:30:51 0df37c506aa4: Pull complete 05:30:51 0240a85bc17e: Pull complete 05:30:51 8b094c0b5a46: Pull complete 05:30:51 04fd917cd7f6: Pull complete 05:30:51 4f4fb700ef54: Pull complete 05:30:51 e4011f0bbbb6: Pull complete 05:30:51 df3d8efaa922: Pull complete 05:30:51 Digest: sha256:37680613122c0c469b44a45fbd94f9d188c6b0d0212ded66470d287972298fcc 05:30:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:8a36c516d93552d46d8ba2391c3f855da456abe2 05:30:51 nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] sh 05:30:51 + docker tag nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:8a36c516d93552d46d8ba2391c3f855da456abe2 ci-base-image-x86_64 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:51 + docker inspect -f . ci-base-image-x86_64 05:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:52 prd-ubuntu20.04-docker-8c-8g-773900 does not seem to be running inside a container 05:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:30:53 $ docker top 263252df73816382cb71c0b7cc696687b7f263f5c8beb67a3a702a3cd240aae6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:54 + make test 05:30:54 build/release/device-coap [Pipeline] } 05:30:54 $ docker stop --time=1 263252df73816382cb71c0b7cc696687b7f263f5c8beb67a3a702a3cd240aae6 05:30:55 $ docker rm -f --volumes 263252df73816382cb71c0b7cc696687b7f263f5c8beb67a3a702a3cd240aae6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:30:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:30:56 + ls -al . 05:30:56 total 96 05:30:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 27 05:30 . 05:30:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 05:30 .. 05:30:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 27 05:30 .git 05:30:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 05:30 .github 05:30:56 -rw-rw-r-- 1 jenkins jenkins 14 Nov 27 05:30 .gitignore 05:30:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 27 05:30 .semver 05:30:56 -rw-rw-r-- 1 jenkins jenkins 2037 Nov 27 05:30 Attribution.txt 05:30:56 -rw-rw-r-- 1 jenkins jenkins 3893 Nov 27 05:30 CHANGELOG.md 05:30:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 27 05:30 GOVERNANCE.md 05:30:56 -rw-rw-r-- 1 jenkins jenkins 798 Nov 27 05:30 Jenkinsfile 05:30:56 -rw-rw-r-- 1 jenkins jenkins 10173 Nov 27 05:30 LICENSE 05:30:56 -rw-rw-r-- 1 jenkins jenkins 938 Nov 27 05:30 Makefile 05:30:56 -rw-rw-r-- 1 jenkins jenkins 619 Nov 27 05:30 OWNERS.md 05:30:56 -rw-rw-r-- 1 jenkins jenkins 12454 Nov 27 05:30 README.md 05:30:56 -rw-rw-r-- 1 jenkins jenkins 506 Nov 27 05:30 ROADMAP.md 05:30:56 -rw-rw-r-- 1 jenkins jenkins 5 Nov 27 05:30 VERSION 05:30:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 05:30 res 05:30:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 05:30 scripts 05:30:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 05:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:56 + docker build -t device-coap -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8a36c516d93552d46d8ba2391c3f855da456abe2 --label arch=amd64 --label version=4.0.1 . 05:30:57 #0 building with "default" instance using docker driver 05:30:57 05:30:57 #1 [internal] load build definition from Dockerfile.alpine 05:30:57 #1 transferring dockerfile: 2.13kB done 05:30:57 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10) 05:30:57 #1 DONE 0.0s 05:30:57 05:30:57 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 05:30:57 #2 DONE 0.0s 05:30:57 05:30:57 #3 [internal] load .dockerignore 05:30:57 #3 transferring context: 2B done 05:30:57 #3 DONE 0.0s 05:30:57 05:30:57 #4 [internal] load build context 05:30:57 #4 transferring context: 83.74kB done 05:30:57 #4 DONE 0.1s 05:30:57 05:30:57 #5 [builder 1/11] FROM docker.io/library/ci-base-image-x86_64:latest 05:30:57 #5 DONE 0.2s 05:30:57 05:30:57 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 05:30:57 #6 0.237 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:30:58 #6 0.534 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:30:58 Still waiting to schedule task 05:30:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:30:58 #6 ... 05:30:58 05:30:58 #7 [builder 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:30:58 #7 0.299 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:30:58 #7 0.711 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:30:58 #7 0.711 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:30:58 #7 0.711 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:30:58 #7 DONE 0.8s 05:30:58 05:30:58 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 05:30:58 #6 0.787 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:30:58 #6 ... 05:30:58 05:30:58 #8 [builder 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 05:30:58 #8 DONE 0.3s 05:30:58 05:30:58 #9 [builder 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev 05:30:58 #9 0.215 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:30:59 #9 ... 05:30:59 05:30:59 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 05:30:59 #6 1.356 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:30:59 #6 1.364 OK: 337 MiB in 103 packages 05:30:59 #6 DONE 1.5s 05:30:59 05:30:59 #9 [builder 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev 05:30:59 #9 0.404 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:30:59 #9 0.659 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:30:59 #9 1.222 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:30:59 #9 1.231 OK: 337 MiB in 103 packages 05:30:59 #9 DONE 1.3s 05:30:59 05:30:59 #10 [builder 5/11] COPY scripts /device-coap/scripts 05:30:59 #10 DONE 0.0s 05:30:59 05:30:59 #11 [stage-1 3/15] RUN apk --no-cache upgrade 05:30:59 #11 0.237 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:30:59 #11 0.418 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:30:59 #11 0.669 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:31:00 #11 ... 05:31:00 05:31:00 #12 [builder 6/11] COPY src /device-coap/src/ 05:31:00 #12 DONE 0.0s 05:31:00 05:31:00 #13 [builder 7/11] COPY VERSION /device-coap 05:31:00 #13 DONE 0.0s 05:31:00 05:31:00 #11 [stage-1 3/15] RUN apk --no-cache upgrade 05:31:00 #11 1.228 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:31:00 #11 1.237 OK: 337 MiB in 103 packages 05:31:00 #11 DONE 1.3s 05:31:00 05:31:00 #14 [builder 8/11] RUN mkdir -p /device-coap/build 05:31:00 #14 DONE 0.3s 05:31:00 05:31:00 #15 [builder 9/11] WORKDIR /device-coap 05:31:00 #15 DONE 0.0s 05:31:00 05:31:00 #16 [stage-1 4/15] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:31:00 #16 0.439 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:31:01 #16 0.861 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:31:01 #16 0.861 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:31:01 #16 0.861 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:31:01 #16 DONE 0.9s 05:31:01 05:31:01 #17 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 05:31:01 #17 0.340 + BUILD_CSDK=1 05:31:01 #17 0.340 + TINYDTLS_VERSION=b0e230d 05:31:01 #17 0.340 + LIBCOAP_VERSION=1739507 05:31:01 #17 0.340 + CSDK_VERSION=4.0.0 05:31:01 #17 0.340 + '[' -d deps ] 05:31:01 #17 0.340 + mkdir deps 05:31:01 #17 0.341 + cd /device-coap/deps 05:31:01 #17 0.341 + git clone https://github.com/eclipse/tinydtls.git 05:31:01 #17 0.342 Cloning into 'tinydtls'... 05:31:01 #17 0.835 + cd tinydtls 05:31:01 #17 0.835 + git checkout develop 05:31:01 #17 0.851 branch 'develop' set up to track 'origin/develop'. 05:31:01 #17 0.851 Switched to a new branch 'develop' 05:31:01 #17 0.851 + git reset --hard b0e230d 05:31:01 #17 0.866 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 05:31:01 #17 0.867 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 05:31:01 #17 0.868 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 05:31:01 #17 0.868 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 05:31:01 #17 0.869 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 05:31:01 #17 0.870 + mkdir -p build 05:31:01 #17 0.871 + cd build 05:31:01 #17 0.871 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 05:31:01 #17 0.936 -- The C compiler identification is GNU 12.2.1 05:31:01 #17 0.956 -- Detecting C compiler ABI info 05:31:01 #17 1.054 -- Detecting C compiler ABI info - done 05:31:01 #17 1.071 -- Check for working C compiler: /usr/bin/cc - skipped 05:31:01 #17 1.071 -- Detecting C compile features 05:31:01 #17 1.072 -- Detecting C compile features - done 05:31:01 #17 1.075 -- Looking for assert.h 05:31:01 #17 1.153 -- Looking for assert.h - found 05:31:01 #17 1.153 -- Looking for arpa/inet.h 05:31:01 #17 1.232 -- Looking for arpa/inet.h - found 05:31:01 #17 ... 05:31:01 05:31:01 #18 [stage-1 5/15] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 05:31:01 #18 DONE 0.3s 05:31:01 05:31:01 #17 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 05:31:01 #17 1.233 -- Looking for fcntl.h 05:31:01 #17 1.323 -- Looking for fcntl.h - found 05:31:01 #17 1.324 -- Looking for inttypes.h 05:31:01 #17 1.398 -- Looking for inttypes.h - found 05:31:01 #17 1.399 -- Looking for memory.h 05:31:01 #17 1.491 -- Looking for memory.h - found 05:31:01 #17 1.491 -- Looking for netdb.h 05:31:01 #17 1.577 -- Looking for netdb.h - found 05:31:02 #17 1.577 -- Looking for netinet/in.h 05:31:02 #17 1.665 -- Looking for netinet/in.h - found 05:31:02 #17 1.665 -- Looking for stddef.h 05:31:02 #17 1.744 -- Looking for stddef.h - found 05:31:02 #17 1.744 -- Looking for stdint.h 05:31:02 #17 1.836 -- Looking for stdint.h - found 05:31:02 #17 1.836 -- Looking for stdlib.h 05:31:02 #17 1.925 -- Looking for stdlib.h - found 05:31:02 #17 1.925 -- Looking for string.h 05:31:02 #17 2.006 -- Looking for string.h - found 05:31:02 #17 2.007 -- Looking for strings.h 05:31:02 #17 2.088 -- Looking for strings.h - found 05:31:02 #17 2.088 -- Looking for time.h 05:31:02 #17 2.181 -- Looking for time.h - found 05:31:02 #17 2.181 -- Looking for sys/param.h 05:31:02 #17 2.264 -- Looking for sys/param.h - found 05:31:02 #17 2.265 -- Looking for sys/socket.h 05:31:02 #17 2.350 -- Looking for sys/socket.h - found 05:31:02 #17 2.351 -- Looking for sys/stat.h 05:31:02 #17 2.431 -- Looking for sys/stat.h - found 05:31:02 #17 2.431 -- Looking for sys/types.h 05:31:02 #17 2.520 -- Looking for sys/types.h - found 05:31:02 #17 2.520 -- Looking for sys/time.h 05:31:02 #17 2.613 -- Looking for sys/time.h - found 05:31:02 #17 ... 05:31:02 05:31:02 #19 [stage-1 6/15] RUN apk add --update --no-cache linux-headers yaml libmicrohttpd curl libuuid iotech-paho-mqtt-c-dev-1.3 hiredis libcbor iotech-iot-1.5 05:31:02 #19 0.199 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:31:02 #19 0.380 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:31:02 #19 0.627 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:31:02 #19 1.195 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:31:02 #19 1.201 (1/1) Installing curl (8.12.1-r0) 05:31:02 #19 1.356 Executing busybox-1.36.1-r7.trigger 05:31:02 #19 1.365 OK: 337 MiB in 104 packages 05:31:02 #19 DONE 1.5s 05:31:02 05:31:02 #17 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 05:31:02 #17 2.613 -- Looking for unistd.h 05:31:02 #17 2.699 -- Looking for unistd.h - found 05:31:02 #17 2.699 -- Looking for float.h 05:31:03 #17 2.789 -- Looking for float.h - found 05:31:03 #17 2.789 -- Looking for dlfcn.h 05:31:03 #17 2.868 -- Looking for dlfcn.h - found 05:31:03 #17 2.869 -- Looking for memset 05:31:03 #17 2.944 -- Looking for memset - found 05:31:03 #17 2.945 -- Looking for select 05:31:03 #17 3.025 -- Looking for select - found 05:31:03 #17 3.025 -- Looking for socket 05:31:03 #17 3.099 -- Looking for socket - found 05:31:03 #17 3.100 -- Looking for strdup 05:31:03 #17 3.183 -- Looking for strdup - found 05:31:03 #17 3.183 -- Looking for strerror 05:31:03 #17 3.267 -- Looking for strerror - found 05:31:03 #17 3.267 -- Looking for strnlen 05:31:03 #17 3.346 -- Looking for strnlen - found 05:31:03 #17 3.346 -- Looking for fls 05:31:03 #17 3.429 -- Looking for fls - not found 05:31:03 #17 3.429 -- Looking for vprintf 05:31:03 #17 3.510 -- Looking for vprintf - found 05:31:03 #17 3.511 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 05:31:03 #17 3.550 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 05:31:03 #17 3.554 -- Configuring done (2.7s) 05:31:03 #17 3.559 -- Generating done (0.0s) 05:31:03 #17 3.559 -- Build files have been written to: /device-coap/deps/tinydtls/build 05:31:03 #17 3.562 + make 05:31:03 #17 3.597 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 05:31:03 #17 3.754 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 05:31:04 #17 3.788 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 05:31:04 #17 4.049 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 05:31:04 #17 4.160 In file included from /device-coap/deps/tinydtls/crypto.c:34: 05:31:04 #17 4.160 In function 'ecc_ecdh', 05:31:04 #17 4.160 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 05:31:04 #17 4.160 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 05:31:04 #17 4.160 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 05:31:04 #17 4.160 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:04 #17 4.160 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 05:31:04 #17 4.160 /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 05:31:04 #17 4.160 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 05:31:04 #17 4.160 | ^~~~~~~~~~~ 05:31:04 #17 4.160 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 05:31:04 #17 4.160 431 | uint32_t pub_x[8]; 05:31:04 #17 4.160 | ^~~~~ 05:31:04 #17 4.160 In function 'ecc_ecdh', 05:31:04 #17 4.160 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 05:31:04 #17 4.160 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 05:31:04 #17 4.160 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 05:31:04 #17 4.160 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:04 #17 4.160 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 05:31:04 #17 4.160 /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 05:31:04 #17 4.160 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 05:31:04 #17 4.160 | ^~~~~~~~~~~ 05:31:04 #17 4.160 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 05:31:04 #17 4.160 432 | uint32_t pub_y[8]; 05:31:04 #17 4.160 | ^~~~~ 05:31:04 #17 4.160 In function 'ecc_ecdh', 05:31:04 #17 4.160 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 05:31:04 #17 4.160 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 05:31:04 #17 4.160 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 05:31:04 #17 4.160 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:04 #17 4.160 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 05:31:04 #17 4.160 /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 05:31:04 #17 4.160 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 05:31:04 #17 4.160 | ^~~~~~~~~~~ 05:31:04 #17 4.160 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 05:31:04 #17 4.160 430 | uint32_t priv[8]; 05:31:04 #17 4.160 | ^~~~ 05:31:04 #17 4.242 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 05:31:05 #17 5.217 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 05:31:05 #17 5.269 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 05:31:05 #17 5.315 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 05:31:05 #17 5.352 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 05:31:05 #17 5.368 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 05:31:05 #17 5.368 /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] 05:31:05 #17 5.368 316 | for (idx = 0; idx < count; idx++) { 05:31:05 #17 5.368 | ^ 05:31:05 #17 5.368 /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] 05:31:05 #17 5.368 319 | return result == count; 05:31:05 #17 5.368 | ^~ 05:31:06 #17 6.022 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 05:31:06 #17 6.083 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 05:31:06 #17 6.157 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 05:31:06 #17 6.204 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 05:31:06 #17 6.260 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 05:31:06 #17 6.278 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 05:31:06 #17 6.278 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 05:31:06 #17 6.278 | ~~~~~~~~~~^~~~~~~~ 05:31:06 #17 6.278 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 05:31:06 #17 6.278 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 05:31:06 #17 6.278 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 05:31:06 #17 6.278 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:06 #17 6.279 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 05:31:06 #17 6.279 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 05:31:06 #17 6.279 | ~~~~~^~~~~~~~ 05:31:06 #17 6.279 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 05:31:06 #17 6.279 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 05:31:06 #17 6.279 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:06 #17 6.430 [100%] Linking C shared library libtinydtls.so 05:31:06 #17 6.464 [100%] Built target tinydtls 05:31:06 #17 6.473 + make install 05:31:06 #17 6.519 [100%] Built target tinydtls 05:31:06 #17 6.533 Install the project... 05:31:06 #17 6.539 -- Install configuration: "Release" 05:31:06 #17 6.539 -- Installing: /usr/local/lib/libtinydtls.so 05:31:06 #17 6.540 -- Up-to-date: /usr/local/include/tinydtls 05:31:06 #17 6.541 -- Installing: /usr/local/include/tinydtls/uthash.h 05:31:06 #17 6.541 -- Up-to-date: /usr/local/include/tinydtls/sha2 05:31:06 #17 6.541 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 05:31:06 #17 6.542 -- Up-to-date: /usr/local/include/tinydtls/ecc 05:31:06 #17 6.542 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 05:31:06 #17 6.542 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 05:31:06 #17 6.542 -- Installing: /usr/local/include/tinydtls/tinydtls.h 05:31:06 #17 6.543 -- Installing: /usr/local/include/tinydtls/alert.h 05:31:06 #17 6.543 -- Up-to-date: /usr/local/include/tinydtls/aes 05:31:06 #17 6.543 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 05:31:06 #17 6.543 -- Installing: /usr/local/include/tinydtls/crypto.h 05:31:06 #17 6.544 -- Installing: /usr/local/include/tinydtls/numeric.h 05:31:06 #17 6.544 -- Installing: /usr/local/include/tinydtls/peer.h 05:31:06 #17 6.544 -- Installing: /usr/local/include/tinydtls/utlist.h 05:31:06 #17 6.545 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 05:31:06 #17 6.545 -- Installing: /usr/local/include/tinydtls/dtls_time.h 05:31:06 #17 6.545 -- Installing: /usr/local/include/tinydtls/netq.h 05:31:06 #17 6.546 -- Installing: /usr/local/include/tinydtls/dtls.h 05:31:06 #17 6.546 -- Installing: /usr/local/include/tinydtls/global.h 05:31:06 #17 6.546 -- Installing: /usr/local/include/tinydtls/state.h 05:31:06 #17 6.547 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 05:31:06 #17 6.547 -- Installing: /usr/local/include/tinydtls/session.h 05:31:06 #17 6.547 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 05:31:06 #17 6.548 -- Installing: /usr/local/include/tinydtls/hmac.h 05:31:06 #17 6.548 -- Installing: /usr/local/include/tinydtls/ccm.h 05:31:06 #17 6.549 -- Up-to-date: /usr/local/include/tinydtls 05:31:06 #17 6.549 -- Installing: /usr/local/include/tinydtls/dtls_config.h 05:31:06 #17 6.550 + cd /device-coap/deps 05:31:06 #17 6.550 + git clone https://github.com/obgm/libcoap.git 05:31:06 #17 6.551 Cloning into 'libcoap'... 05:31:08 #17 8.287 + cd libcoap 05:31:08 #17 8.287 + git reset --hard 1739507 05:31:08 #17 8.323 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 05:31:08 #17 8.324 + patch -p1 05:31:08 #17 8.324 patching file cmake/FindTinyDTLS.cmake 05:31:08 #17 8.324 + patch -p1 05:31:08 #17 8.325 patching file include/coap2/coap_config.h.in 05:31:08 #17 8.326 + mkdir -p build 05:31:08 #17 8.327 + cd build 05:31:08 #17 8.327 + 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' .. 05:31:08 #17 8.399 -- The CXX compiler identification is GNU 12.2.1 05:31:08 #17 8.457 -- The C compiler identification is GNU 12.2.1 05:31:08 #17 8.470 -- Detecting CXX compiler ABI info 05:31:08 #17 8.566 -- Detecting CXX compiler ABI info - done 05:31:08 #17 8.585 -- Check for working CXX compiler: /usr/bin/c++ - skipped 05:31:08 #17 8.586 -- Detecting CXX compile features 05:31:08 #17 8.587 -- Detecting CXX compile features - done 05:31:08 #17 8.592 -- Detecting C compiler ABI info 05:31:08 #17 8.672 -- Detecting C compiler ABI info - done 05:31:09 #17 8.691 -- Check for working C compiler: /usr/bin/cc - skipped 05:31:09 #17 8.692 -- Detecting C compile features 05:31:09 #17 8.692 -- Detecting C compile features - done 05:31:09 #17 8.696 -- Looking for byteswap.h 05:31:09 #17 8.772 -- Looking for byteswap.h - found 05:31:09 #17 8.772 -- Looking for inttypes.h 05:31:09 #17 8.859 -- Looking for inttypes.h - found 05:31:09 #17 8.860 -- Looking for limits.h 05:31:09 #17 8.944 -- Looking for limits.h - found 05:31:09 #17 8.945 -- Looking for memory.h 05:31:09 #17 9.027 -- Looking for memory.h - found 05:31:09 #17 9.028 -- Looking for strings.h 05:31:09 #17 9.112 -- Looking for strings.h - found 05:31:09 #17 9.113 -- Looking for string.h 05:31:09 #17 9.201 -- Looking for string.h - found 05:31:09 #17 9.201 -- Looking for sys/sysctl.h 05:31:09 #17 9.243 -- Looking for sys/sysctl.h - not found 05:31:09 #17 9.243 -- Looking for netinet/in.h 05:31:09 #17 9.325 -- Looking for netinet/in.h - found 05:31:09 #17 9.325 -- Looking for sys/epoll.h 05:31:09 #17 9.411 -- Looking for sys/epoll.h - found 05:31:09 #17 9.411 -- Looking for sys/timerfd.h 05:31:09 #17 9.492 -- Looking for sys/timerfd.h - found 05:31:09 #17 9.493 -- Looking for arpa/inet.h 05:31:09 #17 9.581 -- Looking for arpa/inet.h - found 05:31:09 #17 9.581 -- Looking for stdbool.h 05:31:09 #17 9.666 -- Looking for stdbool.h - found 05:31:09 #17 9.666 -- Looking for netdb.h 05:31:09 #17 9.749 -- Looking for netdb.h - found 05:31:10 #17 9.749 -- Looking for pthread.h 05:31:10 #17 9.836 -- Looking for pthread.h - found 05:31:10 #17 9.837 -- Looking for stdlib.h 05:31:10 #17 9.920 -- Looking for stdlib.h - found 05:31:10 #17 9.921 -- Looking for stdint.h 05:31:10 #17 10.00 -- Looking for stdint.h - found 05:31:10 #17 10.00 -- Looking for syslog.h 05:31:10 #17 10.08 -- Looking for syslog.h - found 05:31:10 #17 10.08 -- Looking for sys/ioctl.h 05:31:10 #17 10.16 -- Looking for sys/ioctl.h - found 05:31:10 #17 10.16 -- Looking for sys/socket.h 05:31:10 #17 10.25 -- Looking for sys/socket.h - found 05:31:10 #17 10.25 -- Looking for sys/stat.h 05:31:10 #17 10.33 -- Looking for sys/stat.h - found 05:31:10 #17 10.33 -- Looking for sys/time.h 05:31:10 #17 10.41 -- Looking for sys/time.h - found 05:31:10 #17 10.41 -- Looking for sys/types.h 05:31:10 #17 10.50 -- Looking for sys/types.h - found 05:31:10 #17 10.50 -- Looking for sys/unistd.h 05:31:10 #17 10.55 -- Looking for sys/unistd.h - not found 05:31:10 #17 10.55 -- Looking for time.h 05:31:10 #17 10.64 -- Looking for time.h - found 05:31:10 #17 10.64 -- Looking for unistd.h 05:31:10 #17 10.72 -- Looking for unistd.h - found 05:31:11 #17 10.72 -- Looking for float.h 05:31:11 #17 10.80 -- Looking for float.h - found 05:31:11 #17 10.81 -- Looking for stddef.h 05:31:11 #17 10.89 -- Looking for stddef.h - found 05:31:11 #17 10.89 -- Looking for winsock2.h 05:31:11 #17 10.94 -- Looking for winsock2.h - not found 05:31:11 #17 10.94 -- Looking for ws2tcpip.h 05:31:11 #17 10.99 -- Looking for ws2tcpip.h - not found 05:31:11 #17 10.99 -- Looking for malloc 05:31:11 #17 11.08 -- Looking for malloc - found 05:31:11 #17 11.08 -- Looking for memset 05:31:11 #17 11.17 -- Looking for memset - found 05:31:11 #17 11.17 -- Looking for select 05:31:11 #17 11.25 -- Looking for select - found 05:31:11 #17 11.25 -- Looking for socket 05:31:11 #17 11.33 -- Looking for socket - found 05:31:11 #17 11.33 -- Looking for strcasecmp 05:31:11 #17 11.41 -- Looking for strcasecmp - found 05:31:11 #17 11.41 -- Looking for pthread_mutex_lock 05:31:11 #17 11.50 -- Looking for pthread_mutex_lock - found 05:31:11 #17 11.50 -- Looking for getaddrinfo 05:31:11 #17 11.58 -- Looking for getaddrinfo - found 05:31:11 #17 11.58 -- Looking for strnlen 05:31:11 #17 11.66 -- Looking for strnlen - found 05:31:11 #17 11.66 -- Looking for strrchr 05:31:11 #17 11.75 -- Looking for strrchr - found 05:31:12 #17 11.75 -- Looking for getrandom 05:31:12 #17 11.83 -- Looking for getrandom - found 05:31:12 #17 11.83 -- Looking for cmsghdr 05:31:12 #17 11.87 -- Looking for cmsghdr - not found 05:31:12 #17 11.87 -- compiling without epoll support 05:31:12 #17 11.87 -- compiling with DTLS support 05:31:12 #17 11.87 -- DTLS_BACKEND: tinydtls 05:31:12 #17 11.88 -- Found TinyDTLS: /usr/local/include 05:31:12 #17 11.88 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 05:31:12 #17 11.88 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 05:31:12 #17 11.88 -- TINYDTLS_ROOT_DIR: 05:31:12 #17 11.88 -- compiling with tinydtls support 05:31:12 #17 11.88 -- ENABLE_DTLS:.....................ON 05:31:12 #17 11.88 -- ENABLE_TCP:......................ON 05:31:12 #17 11.88 -- ENABLE_DOCS:.....................OFF 05:31:12 #17 11.88 -- ENABLE_EXAMPLES:.................OFF 05:31:12 #17 11.88 -- DTLS_BACKEND:....................tinydtls 05:31:12 #17 11.88 -- WITH_GNUTLS:.....................OFF 05:31:12 #17 11.88 -- WITH_TINYDTLS:...................ON 05:31:12 #17 11.88 -- WITH_OPENSSL:....................OFF 05:31:12 #17 11.88 -- WITH_MBEDTLS:....................OFF 05:31:12 #17 11.88 -- HAVE_LIBTINYDTLS:................1 05:31:12 #17 11.88 -- HAVE_LIBGNUTLS:.................. 05:31:12 #17 11.88 -- HAVE_OPENSSL:.................... 05:31:12 #17 11.88 -- HAVE_MBEDTLS:.................... 05:31:12 #17 11.88 -- COAP_EPOLL_SUPPORT:.............. 05:31:12 #17 11.88 -- CMAKE_C_COMPILER:................/usr/bin/cc 05:31:12 #17 11.88 -- BUILD_SHARED_LIBS:...............ON 05:31:12 #17 11.88 -- CMAKE_BUILD_TYPE:................Release 05:31:12 #17 11.88 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 05:31:12 #17 11.89 -- Configuring done (3.6s) 05:31:12 #17 11.89 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 05:31:12 #17 11.89 Policy CMP0115 is not set: Source file extensions must be explicit. Run 05:31:12 #17 11.89 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 05:31:12 #17 11.89 command to set the policy and suppress this warning. 05:31:12 #17 11.89 05:31:12 #17 11.89 File: 05:31:12 #17 11.89 05:31:12 #17 11.89 /device-coap/deps/libcoap/include/coap2/coap.h.in 05:31:12 #17 11.89 This warning is for project developers. Use -Wno-dev to suppress it. 05:31:12 #17 11.89 05:31:12 #17 11.90 -- Generating done (0.0s) 05:31:12 #17 11.90 -- Build files have been written to: /device-coap/deps/libcoap/build 05:31:12 #17 11.91 + make 05:31:12 #17 11.95 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 05:31:12 #17 12.01 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 05:31:12 #17 12.09 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 05:31:12 #17 12.19 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 05:31:12 #17 12.45 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 05:31:12 #17 12.50 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 05:31:12 #17 12.56 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 05:31:12 #17 12.81 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 05:31:13 #17 12.84 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 05:31:13 #17 12.90 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 05:31:13 #17 13.41 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 05:31:13 #17 13.53 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 05:31:13 #17 13.59 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 05:31:13 #17 13.66 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 05:31:14 #17 13.71 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 05:31:14 #17 14.33 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 05:31:14 #17 14.52 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 05:31:14 #17 14.70 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 05:31:15 #17 15.09 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 05:31:15 #17 15.17 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 05:31:15 #17 15.21 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 05:31:15 #17 15.40 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 05:31:15 #17 15.58 [100%] Linking C shared library libcoap-2.so 05:31:15 #17 15.61 [100%] Built target coap-2 05:31:15 #17 15.62 + make install 05:31:15 #17 15.69 [100%] Built target coap-2 05:31:16 #17 15.70 Install the project... 05:31:16 #17 15.71 -- Install configuration: "Release" 05:31:16 #17 15.71 -- Installing: /usr/local/lib/libcoap-2.so 05:31:16 #17 15.71 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 05:31:16 #17 15.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 05:31:16 #17 15.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 05:31:16 #17 15.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 05:31:16 #17 15.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 05:31:16 #17 15.71 -- Up-to-date: /usr/local/include 05:31:16 #17 15.71 -- Up-to-date: /usr/local/include/coap2 05:31:16 #17 15.71 -- Installing: /usr/local/include/coap2/uthash.h 05:31:16 #17 15.71 -- Installing: /usr/local/include/coap2/subscribe.h 05:31:16 #17 15.71 -- Installing: /usr/local/include/coap2/option.h 05:31:16 #17 15.71 -- Installing: /usr/local/include/coap2/resource.h 05:31:16 #17 15.71 -- Installing: /usr/local/include/coap2/bits.h 05:31:16 #17 15.71 -- Installing: /usr/local/include/coap2/coap_hashkey.h 05:31:16 #17 15.71 -- Installing: /usr/local/include/coap2/block.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_io.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/pdu.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/str.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/async.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/net.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/address.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/uri.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_event.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_riot.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_dtls.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_mutex.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_prng.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/lwippools.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_debug.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/utlist.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_time.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/encode.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/libcoap.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/mem.h 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap_session.h 05:31:16 #17 15.72 -- Up-to-date: /usr/local/include 05:31:16 #17 15.72 -- Up-to-date: /usr/local/include/coap2 05:31:16 #17 15.72 -- Installing: /usr/local/include/coap2/coap.h 05:31:16 #17 15.72 + '[' 1 '=' 1 ] 05:31:16 #17 15.72 + cd /device-coap/deps 05:31:16 #17 15.72 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 05:31:16 #17 15.73 Connecting to github.com (140.82.114.4:443) 05:31:16 #17 15.96 Connecting to codeload.github.com (140.82.112.10:443) 05:31:16 #17 16.11 saving to 'v4.0.0.zip' 05:31:16 #17 16.17 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 05:31:16 #17 16.17 'v4.0.0.zip' saved 05:31:16 #17 16.17 + unzip v4.0.0.zip 05:31:16 #17 16.17 Archive: v4.0.0.zip 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/ 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/.github/ 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/.github/Contributing.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/.github/semantic.yml 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/.github/workflows/ 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/.gitignore 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/Attribution.txt 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/CHANGELOG.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/Doxyfile 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/Jenkinsfile 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/LICENSE 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/Makefile 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/OWNERS.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/README.IOT.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/README.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/README.v3.md 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/docs/ 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/docs/configuration.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/docs/metrics.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/docs/startup.md 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/include/ 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/include/devsdk/ 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/include/edgex/ 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/scripts/ 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/scripts/build.sh 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 05:31:16 #17 16.18 creating: device-sdk-c-4.0.0/src/ 05:31:16 #17 16.18 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/api.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/bus.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/bus.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/callback3.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/callback3.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/config.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/config.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/correlation.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/correlation.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/data.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/data.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/device.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/device.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/devman.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/devmap.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/devmap.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/devutil.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/discovery.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/discovery.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/file/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/random/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 05:31:16 #17 16.19 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 05:31:16 #17 16.19 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/filesys.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/filesys.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/keeper.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/keeper.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/map.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/map.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/metadata.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/metadata.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/metrics.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/opstate.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/opstate.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/parson.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/parson.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/profiles.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/profiles.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/registry.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/registry.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/rest.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/rest.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/secrets.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/secrets.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/service.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/service.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/transform.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/transform.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/validate.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/validate.h 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/watchers.c 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/c/watchers.h 05:31:16 #17 16.20 creating: device-sdk-c-4.0.0/src/cmake/ 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 05:31:16 #17 16.20 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 05:31:16 #17 16.20 + cd device-sdk-c-4.0.0 05:31:16 #17 16.20 + ./scripts/build.sh 05:31:16 #17 16.20 + CPPCHECK=false 05:31:16 #17 16.20 + DOCGEN=false 05:31:16 #17 16.20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:31:16 #17 16.20 + '[' 0 -gt 0 ] 05:31:16 #17 16.20 + readlink -f ./scripts/build.sh 05:31:16 #17 16.20 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 05:31:16 #17 16.20 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 05:31:16 #17 16.20 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 05:31:16 #17 16.20 + cd /device-coap/deps/device-sdk-c-4.0.0 05:31:16 #17 16.20 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 05:31:16 #17 16.20 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 05:31:16 #17 16.20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 05:31:16 #17 16.29 -- The C compiler identification is GNU 12.2.1 05:31:16 #17 16.30 -- Detecting C compiler ABI info 05:31:16 #17 16.40 -- Detecting C compiler ABI info - done 05:31:16 #17 16.42 -- Check for working C compiler: /usr/bin/cc - skipped 05:31:16 #17 16.42 -- Detecting C compile features 05:31:16 #17 16.42 -- Detecting C compile features - done 05:31:16 #17 16.43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:31:16 #17 16.50 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:31:16 #17 16.51 -- Found LIBYAML: /usr/lib/libyaml.so 05:31:16 #17 16.51 -- Found LIBUUID: /usr/lib/libuuid.so 05:31:16 #17 16.51 -- Found LIBCBOR: /usr/lib/libcbor.so 05:31:16 #17 16.52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:31:16 #17 16.52 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:31:16 #17 16.52 -- /opt/iotech/iot/1.5/include 05:31:16 #17 16.52 -- C SDK 0.0.0 for Linux 05:31:16 #17 16.52 -- Performing Test CSDK_HAVE_ATOMIC 05:31:16 #17 16.60 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:31:16 #17 16.65 -- Found Curses: /usr/lib/libcurses.so 05:31:16 #17 16.67 -- Configuring done (0.5s) 05:31:16 #17 16.70 -- Generating done (0.0s) 05:31:16 #17 16.70 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 05:31:16 #17 16.71 + make all package 05:31:16 #17 16.71 + tee release.log 05:31:16 #17 16.76 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:31:16 #17 16.86 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:31:17 #17 17.01 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:31:17 #17 17.14 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:31:17 #17 17.23 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:31:17 #17 17.54 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:31:18 #17 17.58 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:31:18 #17 17.71 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:31:18 #17 17.99 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:31:18 #17 18.08 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:31:18 #17 18.21 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:31:18 #17 18.33 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:31:18 #17 18.42 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:31:18 #17 18.57 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:31:19 #17 18.62 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:31:19 #17 18.93 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:31:19 #17 19.00 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:31:19 #17 19.23 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:31:19 #17 19.34 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:31:19 #17 19.54 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:31:19 #17 19.61 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:31:20 #17 20.60 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:31:20 #17 20.71 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:31:21 #17 20.78 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:31:21 #17 20.87 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:31:21 #17 20.92 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:31:21 #17 21.14 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:31:21 #17 21.45 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:31:21 #17 21.52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:31:21 #17 21.65 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:31:22 #17 21.74 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:31:22 #17 21.99 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 05:31:22 #17 21.99 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:31:22 #17 21.99 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:31:22 #17 21.99 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:22 #17 22.00 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 05:31:22 #17 22.00 875 | const iot_data_t *deviceservices_config; 05:31:22 #17 22.00 | ^~~~~~~~~~~~~~~~~~~~~ 05:31:22 #17 22.13 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:31:22 #17 22.24 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:31:22 #17 22.29 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:31:22 #17 22.38 [ 68%] Linking C shared library libcsdk.so 05:31:22 #17 22.42 [ 68%] Built target csdk 05:31:22 #17 22.45 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:31:22 #17 22.58 [ 72%] Linking C executable template 05:31:22 #17 22.61 /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) 05:31:22 #17 22.64 [ 72%] Built target template 05:31:22 #17 22.67 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:31:22 #17 22.75 [ 76%] Linking C executable device-counter 05:31:23 #17 22.78 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:23 #17 22.82 [ 76%] Built target device-counter 05:31:23 #17 22.84 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:31:23 #17 22.93 [ 80%] Linking C executable device-random 05:31:23 #17 22.95 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:23 #17 22.99 [ 80%] Built target device-random 05:31:23 #17 23.01 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:31:23 #17 23.09 [ 84%] Linking C executable device-gyro 05:31:23 #17 23.12 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:23 #17 23.16 [ 84%] Built target device-gyro 05:31:23 #17 23.18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:31:23 #17 23.26 [ 88%] Linking C executable device-bitfields 05:31:23 #17 23.29 /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) 05:31:23 #17 23.33 [ 88%] Built target device-bitfields 05:31:23 #17 23.34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:31:23 #17 23.49 [ 92%] Linking C executable template-discovery 05:31:23 #17 23.52 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:23 #17 23.56 [ 92%] Built target template-discovery 05:31:23 #17 23.58 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:31:23 #17 23.69 [ 96%] Linking C executable device-file 05:31:24 #17 23.71 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:24 #17 23.75 [ 96%] Built target device-file 05:31:24 #17 23.77 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:31:24 #17 23.87 [100%] Linking C executable device-terminal 05:31:24 #17 23.90 /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) 05:31:24 #17 23.94 [100%] Built target device-terminal 05:31:24 #17 23.96 Run CPack packaging tool... 05:31:24 #17 23.97 CPack: Create package using TGZ 05:31:24 #17 23.97 CPack: Install projects 05:31:24 #17 23.97 CPack: - Run preinstall target for: Csdk 05:31:24 #17 24.23 CPack: - Install project: Csdk [] 05:31:24 #17 24.24 CPack: Create package 05:31:24 #17 24.26 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 05:31:24 #17 24.26 + '[' false '=' true ] 05:31:24 #17 24.26 + '[' false '=' true ] 05:31:24 #17 24.26 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 05:31:24 #17 24.27 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 05:31:24 #17 24.27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 05:31:24 #17 24.34 -- The C compiler identification is GNU 12.2.1 05:31:24 #17 24.36 -- Detecting C compiler ABI info 05:31:24 #17 24.45 -- Detecting C compiler ABI info - done 05:31:24 #17 24.47 -- Check for working C compiler: /usr/bin/cc - skipped 05:31:24 #17 24.47 -- Detecting C compile features 05:31:24 #17 24.47 -- Detecting C compile features - done 05:31:24 #17 24.48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:31:24 #17 24.55 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:31:24 #17 24.56 -- Found LIBYAML: /usr/lib/libyaml.so 05:31:24 #17 24.56 -- Found LIBUUID: /usr/lib/libuuid.so 05:31:24 #17 24.56 -- Found LIBCBOR: /usr/lib/libcbor.so 05:31:24 #17 24.57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:31:24 #17 24.57 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:31:24 #17 24.57 -- /opt/iotech/iot/1.5/include 05:31:24 #17 24.57 -- C SDK 0.0.0 for Linux 05:31:24 #17 24.57 -- Performing Test CSDK_HAVE_ATOMIC 05:31:24 #17 24.67 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:31:24 #17 24.71 -- Found Curses: /usr/lib/libcurses.so 05:31:24 #17 24.73 -- Configuring done (0.5s) 05:31:24 #17 24.76 -- Generating done (0.0s) 05:31:24 #17 24.77 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 05:31:24 #17 24.77 + make 05:31:24 #17 24.77 + tee debug.log 05:31:24 #17 24.82 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:31:24 #17 24.89 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:31:25 #17 24.97 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:31:25 #17 25.04 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:31:25 #17 25.11 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:31:25 #17 25.23 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:31:25 #17 25.27 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:31:25 #17 25.34 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:31:25 #17 25.45 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:31:25 #17 25.52 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:31:25 #17 25.60 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:31:25 #17 25.68 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:31:25 #17 25.74 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:31:25 #17 25.82 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:31:25 #17 25.87 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:31:26 #17 26.00 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:31:26 #17 26.05 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:31:26 #17 26.16 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:31:26 #17 26.21 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:31:26 #17 26.32 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:31:26 #17 26.39 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:31:26 #17 26.59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:31:26 #17 26.67 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:31:26 #17 26.72 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:31:27 #17 26.78 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:31:27 #17 26.83 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:31:27 #17 26.93 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:31:27 #17 27.14 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:31:27 #17 27.19 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:31:27 #17 27.26 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:31:27 #17 27.33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:31:27 #17 27.47 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:31:27 #17 27.56 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:31:27 #17 27.62 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:31:27 #17 27.67 [ 68%] Linking C shared library libcsdk.so 05:31:27 #17 27.73 [ 68%] Built target csdk 05:31:28 #17 27.76 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:31:28 #17 27.83 [ 72%] Linking C executable template 05:31:28 #17 27.85 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:28 #17 27.89 [ 72%] Built target template 05:31:28 #17 27.91 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:31:28 #17 27.98 [ 76%] Linking C executable device-counter 05:31:28 #17 28.00 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:28 #17 28.04 [ 76%] Built target device-counter 05:31:28 #17 28.06 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:31:28 #17 28.12 [ 80%] Linking C executable device-random 05:31:28 #17 28.15 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:28 #17 28.19 [ 80%] Built target device-random 05:31:28 #17 28.21 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:31:28 #17 28.26 [ 84%] Linking C executable device-gyro 05:31:28 #17 28.29 /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) 05:31:28 #17 28.33 [ 84%] Built target device-gyro 05:31:28 #17 28.35 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:31:28 #17 28.42 [ 88%] Linking C executable device-bitfields 05:31:28 #17 28.44 /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) 05:31:28 #17 28.48 [ 88%] Built target device-bitfields 05:31:28 #17 28.50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:31:28 #17 28.57 [ 92%] Linking C executable template-discovery 05:31:28 #17 28.60 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:28 #17 28.64 [ 92%] Built target template-discovery 05:31:28 #17 28.66 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:31:28 #17 28.72 [ 96%] Linking C executable device-file 05:31:29 #17 28.74 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:31:29 #17 28.78 [ 96%] Built target device-file 05:31:29 #17 28.80 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:31:29 #17 28.86 [100%] Linking C executable device-terminal 05:31:29 #17 28.89 /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) 05:31:29 #17 28.93 [100%] Built target device-terminal 05:31:29 #17 28.94 + cp -rf include/devsdk include/edgex /usr/include/ 05:31:29 #17 28.94 + cp build/release/c/libcsdk.so /usr/lib/ 05:31:29 #17 28.95 + rm -rf /device-coap/deps 05:31:29 #17 DONE 29.0s 05:31:29 05:31:29 #20 [builder 11/11] RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 05:31:29 #20 0.217 + readlink -f /device-coap/scripts/build.sh 05:31:29 #20 0.218 + dirname /device-coap/scripts/build.sh 05:31:29 #20 0.218 + dirname /device-coap/scripts 05:31:29 #20 0.219 + ROOT=/device-coap 05:31:29 #20 0.219 + echo /device-coap 05:31:29 #20 0.219 + cd /device-coap 05:31:29 #20 0.219 /device-coap 05:31:29 #20 0.219 + mkdir -p /device-coap/build/release 05:31:29 #20 0.220 + cd /device-coap/build/release 05:31:29 #20 0.220 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 05:31:29 #20 0.239 -- Configuring done (0.0s) 05:31:29 #20 0.243 -- Generating done (0.0s) 05:31:29 #20 0.244 -- Build files have been written to: /device-coap/build/release 05:31:29 #20 0.245 + make 05:31:29 #20 0.246 + tee release.log 05:31:29 #20 0.284 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 05:31:29 #20 0.323 In file included from /usr/include/devsdk/devsdk.h:18, 05:31:29 #20 0.323 from /device-coap/src/c/device-coap.h:17, 05:31:29 #20 0.323 from /device-coap/src/c/coap-client.h:21, 05:31:29 #20 0.323 from /device-coap/src/c/coap-client.c:9: 05:31:29 #20 0.323 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 05:31:29 #20 0.323 /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=] 05:31:29 #20 0.323 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 05:31:29 #20 0.323 | ^~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.323 90 | strlen(end_dev_params_ptr->psk_key)); 05:31:29 #20 0.323 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.323 | | 05:31:29 #20 0.323 | size_t {aka long unsigned int} 05:31:29 #20 0.323 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 05:31:29 #20 0.323 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 05:31:29 #20 0.323 | ~^ 05:31:29 #20 0.323 | | 05:31:29 #20 0.323 | unsigned int 05:31:29 #20 0.323 | %lu 05:31:29 #20 0.323 /device-coap/src/c/coap-client.c: In function 'message_handler': 05:31:29 #20 0.323 /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=] 05:31:29 #20 0.323 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 05:31:29 #20 0.323 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:31:29 #20 0.323 | | 05:31:29 #20 0.323 | size_t {aka long unsigned int} 05:31:29 #20 0.323 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 05:31:29 #20 0.323 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 05:31:29 #20 0.323 | ~^ 05:31:29 #20 0.323 | | 05:31:29 #20 0.323 | unsigned int 05:31:29 #20 0.323 | %lu 05:31:29 #20 0.323 /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=] 05:31:29 #20 0.323 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 05:31:29 #20 0.323 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.323 130 | resource->properties->type); 05:31:29 #20 0.323 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.323 | | 05:31:29 #20 0.323 | iot_typecode_t 05:31:29 #20 0.323 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 05:31:29 #20 0.323 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 05:31:29 #20 0.323 | ~^ 05:31:29 #20 0.323 | | 05:31:29 #20 0.323 | int 05:31:29 #20 0.323 /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=] 05:31:29 #20 0.323 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 05:31:29 #20 0.323 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.323 140 | len); 05:31:29 #20 0.323 | ~~~ 05:31:29 #20 0.323 | | 05:31:29 #20 0.323 | size_t {aka long unsigned int} 05:31:29 #20 0.324 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 05:31:29 #20 0.324 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 05:31:29 #20 0.324 | ~^ 05:31:29 #20 0.324 | | 05:31:29 #20 0.324 | int 05:31:29 #20 0.324 | %ld 05:31:29 #20 0.324 /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=] 05:31:29 #20 0.324 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 05:31:29 #20 0.324 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.324 145 | len); 05:31:29 #20 0.324 | ~~~ 05:31:29 #20 0.324 | | 05:31:29 #20 0.324 | size_t {aka long unsigned int} 05:31:29 #20 0.324 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 05:31:29 #20 0.324 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 05:31:29 #20 0.324 | ~^ 05:31:29 #20 0.324 | | 05:31:29 #20 0.324 | int 05:31:29 #20 0.324 | %ld 05:31:29 #20 0.324 /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=] 05:31:29 #20 0.324 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 05:31:29 #20 0.324 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.324 152 | len); 05:31:29 #20 0.324 | ~~~ 05:31:29 #20 0.324 | | 05:31:29 #20 0.324 | size_t {aka long unsigned int} 05:31:29 #20 0.324 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 05:31:29 #20 0.324 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 05:31:29 #20 0.324 | ~^ 05:31:29 #20 0.324 | | 05:31:29 #20 0.324 | int 05:31:29 #20 0.324 | %ld 05:31:29 #20 0.324 /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=] 05:31:29 #20 0.324 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 05:31:29 #20 0.324 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.324 157 | resource->properties->type); 05:31:29 #20 0.324 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.324 | | 05:31:29 #20 0.324 | iot_typecode_t 05:31:29 #20 0.324 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 05:31:29 #20 0.324 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 05:31:29 #20 0.324 | ~^ 05:31:29 #20 0.324 | | 05:31:29 #20 0.324 | int 05:31:29 #20 0.325 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 05:31:29 #20 0.325 /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=] 05:31:29 #20 0.325 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 05:31:29 #20 0.325 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:31:29 #20 0.325 | | 05:31:29 #20 0.325 | size_t {aka long unsigned int} 05:31:29 #20 0.325 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 05:31:29 #20 0.325 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 05:31:29 #20 0.325 | ~^ 05:31:29 #20 0.325 | | 05:31:29 #20 0.325 | int 05:31:29 #20 0.325 | %ld 05:31:29 #20 0.325 /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=] 05:31:29 #20 0.325 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:31:29 #20 0.325 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.325 253 | (uint8_t *)end_dev_params_ptr->psk_key, 05:31:29 #20 0.325 254 | strlen(end_dev_params_ptr->psk_key)); 05:31:29 #20 0.325 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.325 | | 05:31:29 #20 0.325 | size_t {aka long unsigned int} 05:31:29 #20 0.325 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 05:31:29 #20 0.325 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:31:29 #20 0.325 | ~^ 05:31:29 #20 0.325 | | 05:31:29 #20 0.325 | int 05:31:29 #20 0.325 | %ld 05:31:29 #20 0.326 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 05:31:29 #20 0.326 /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=] 05:31:29 #20 0.326 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:31:29 #20 0.326 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.326 352 | (uint8_t *)end_dev_params_ptr->psk_key, 05:31:29 #20 0.326 353 | strlen(end_dev_params_ptr->psk_key)); 05:31:29 #20 0.326 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.326 | | 05:31:29 #20 0.326 | size_t {aka long unsigned int} 05:31:29 #20 0.326 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 05:31:29 #20 0.326 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:31:29 #20 0.326 | ~^ 05:31:29 #20 0.326 | | 05:31:29 #20 0.326 | int 05:31:29 #20 0.326 | %ld 05:31:29 #20 0.438 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 05:31:29 #20 0.473 In file included from /usr/include/devsdk/devsdk.h:18, 05:31:29 #20 0.473 from /usr/include/edgex/devices.h:17, 05:31:29 #20 0.473 from /device-coap/src/c/coap-server.c:22: 05:31:29 #20 0.473 /device-coap/src/c/coap-server.c: In function 'data_handler': 05:31:29 #20 0.473 /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=] 05:31:29 #20 0.473 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 05:31:29 #20 0.473 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:31:29 #20 0.473 | | 05:31:29 #20 0.473 | size_t {aka long unsigned int} 05:31:29 #20 0.473 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 05:31:29 #20 0.473 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 05:31:29 #20 0.473 | ~^ 05:31:29 #20 0.473 | | 05:31:29 #20 0.473 | unsigned int 05:31:29 #20 0.473 | %lu 05:31:29 #20 0.473 /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=] 05:31:29 #20 0.473 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 05:31:29 #20 0.473 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.473 | | 05:31:29 #20 0.473 | iot_typecode_t 05:31:29 #20 0.473 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 05:31:29 #20 0.473 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 05:31:29 #20 0.473 | ~^ 05:31:29 #20 0.473 | | 05:31:29 #20 0.473 | int 05:31:29 #20 0.532 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 05:31:29 #20 0.572 In file included from /usr/include/devsdk/devsdk.h:18, 05:31:29 #20 0.572 from /device-coap/src/c/coap-util.h:18, 05:31:29 #20 0.572 from /device-coap/src/c/coap-util.c:9: 05:31:29 #20 0.572 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 05:31:29 #20 0.572 /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=] 05:31:29 #20 0.572 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:31:29 #20 0.572 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | size_t {aka long unsigned int} 05:31:29 #20 0.572 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 05:31:29 #20 0.572 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:31:29 #20 0.572 | ~^ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | unsigned int 05:31:29 #20 0.572 | %lu 05:31:29 #20 0.572 /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=] 05:31:29 #20 0.572 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:31:29 #20 0.572 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | size_t {aka long unsigned int} 05:31:29 #20 0.572 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 05:31:29 #20 0.572 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:31:29 #20 0.572 | ~^ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | unsigned int 05:31:29 #20 0.572 | %lu 05:31:29 #20 0.572 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 05:31:29 #20 0.572 /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=] 05:31:29 #20 0.572 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:31:29 #20 0.572 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | size_t {aka long unsigned int} 05:31:29 #20 0.572 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 05:31:29 #20 0.572 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:31:29 #20 0.572 | ~^ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | unsigned int 05:31:29 #20 0.572 | %lu 05:31:29 #20 0.572 /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=] 05:31:29 #20 0.572 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:31:29 #20 0.572 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | size_t {aka long unsigned int} 05:31:29 #20 0.572 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 05:31:29 #20 0.572 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:31:29 #20 0.572 | ~^ 05:31:29 #20 0.572 | | 05:31:29 #20 0.572 | unsigned int 05:31:29 #20 0.572 | %lu 05:31:29 #20 0.671 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 05:31:29 #20 0.703 In file included from /usr/include/devsdk/devsdk.h:18, 05:31:29 #20 0.703 from /device-coap/src/c/device-coap.h:17, 05:31:29 #20 0.703 from /device-coap/src/c/device-coap.c:10: 05:31:29 #20 0.703 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 05:31:29 #20 0.703 /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=] 05:31:29 #20 0.703 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 05:31:29 #20 0.703 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.703 131 | requests[i].resource->type); 05:31:29 #20 0.703 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:31:29 #20 0.703 | | 05:31:29 #20 0.703 | iot_typecode_t 05:31:30 #20 0.703 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 05:31:30 #20 0.703 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 05:31:30 #20 0.703 | ~^ 05:31:30 #20 0.703 | | 05:31:30 #20 0.703 | int 05:31:30 #20 0.812 [100%] Linking C executable device-coap 05:31:30 #20 0.837 /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) 05:31:30 #20 0.876 [100%] Built target device-coap 05:31:30 #20 DONE 0.9s 05:31:30 05:31:30 #21 [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap / 05:31:30 #21 ERROR: cannot replace to directory /var/lib/docker/overlay2/s916gksws3kw37gg830m8w2ou/merged/device-coap with file 05:31:30 ------ 05:31:30 > [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap /: 05:31:30 ------ 05:31:30 05:31:30 1 warning found (use docker --debug to expand): 05:31:30  - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10) 05:31:30 Dockerfile.alpine:41 05:31:30 -------------------- 05:31:30 39 | RUN apk add --update --no-cache linux-headers yaml libmicrohttpd curl libuuid iotech-paho-mqtt-c-dev-1.3 hiredis libcbor iotech-iot-1.5 05:31:30 40 | 05:31:30 41 | >>> COPY --from=builder /device-coap/build/release/device-coap / 05:31:30 42 | COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 05:31:30 43 | COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 05:31:30 -------------------- 05:31:30 ERROR: failed to solve: cannot replace to directory /var/lib/docker/overlay2/s916gksws3kw37gg830m8w2ou/merged/device-coap with file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:30 05:31:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:31 latest: Pulling from edgex-lftools-log-publisher 05:31:31 5eb5b503b376: Pulling fs layer 05:31:31 5c69ac0246d0: Pulling fs layer 05:31:31 ec43610c2a17: Pulling fs layer 05:31:31 3a2ae6a8a46f: Pulling fs layer 05:31:31 33b1e0a273af: Pulling fs layer 05:31:31 5d3b04190fa2: Pulling fs layer 05:31:31 2f39f015ded8: Pulling fs layer 05:31:31 3a2ae6a8a46f: Waiting 05:31:31 33b1e0a273af: Waiting 05:31:31 5d3b04190fa2: Waiting 05:31:31 2f39f015ded8: Waiting 05:31:31 5c69ac0246d0: Verifying Checksum 05:31:31 5c69ac0246d0: Download complete 05:31:31 3a2ae6a8a46f: Verifying Checksum 05:31:31 3a2ae6a8a46f: Download complete 05:31:31 33b1e0a273af: Verifying Checksum 05:31:31 33b1e0a273af: Download complete 05:31:31 5d3b04190fa2: Download complete 05:31:31 ec43610c2a17: Verifying Checksum 05:31:31 ec43610c2a17: Download complete 05:31:31 5eb5b503b376: Verifying Checksum 05:31:31 5eb5b503b376: Download complete 05:31:32 2f39f015ded8: Verifying Checksum 05:31:32 2f39f015ded8: Download complete 05:31:32 5eb5b503b376: Pull complete 05:31:32 5c69ac0246d0: Pull complete 05:31:33 ec43610c2a17: Pull complete 05:31:33 3a2ae6a8a46f: Pull complete 05:31:33 33b1e0a273af: Pull complete 05:31:33 5d3b04190fa2: Pull complete 05:31:39 2f39f015ded8: Pull complete 05:31:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:31:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:39 prd-ubuntu20.04-docker-8c-8g-773900 does not seem to be running inside a container 05:31:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:31:40 $ docker top b79499f3b3cdd231f86947383459b36442323a883839be9596f53a25acdb0059 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:41 ---> job-cost.sh 05:31:41 lf-activate-venv: SKIPPING 05:31:41 INFO: No Stack... 05:31:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:31:42 INFO: Archiving Costs [Pipeline] sh 05:31:42 + cat /w/workspace/dgexfoundry_device-coap-c_odessa/archives/cost.csv 05:31:42 + cut -d, -f6 [Pipeline] lock 05:31:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] 05:31:42 Resource [jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] did not exist. Created. 05:31:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:31:42 + echo total: 0.2199999988079071 [Pipeline] stash 05:31:42 Stashed 1 file(s) [Pipeline] } 05:31:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:31:42 $ docker stop --time=1 b79499f3b3cdd231f86947383459b36442323a883839be9596f53a25acdb0059 05:31:43 $ docker rm -f --volumes b79499f3b3cdd231f86947383459b36442323a883839be9596f53a25acdb0059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:31:44 Failed in branch amd64 05:32:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-773901 in /w/workspace/dgexfoundry_device-coap-c_odessa [Pipeline] { [Pipeline] ws 05:32:44 Running in /w/workspace/device-coap-c/4 [Pipeline] { [Pipeline] checkout 05:32:44 Selected Git installation does not exist. Using Default 05:32:44 The recommended git tool is: NONE 05:32:49 using credential edgex-jenkins-ssh 05:32:49 Cloning the remote Git repository 05:32:49 Cloning repository git@github.com:edgexfoundry/device-coap-c.git 05:32:49 > git init /w/workspace/device-coap-c/4 # timeout=10 05:32:49 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-c.git 05:32:49 > git --version # timeout=10 05:32:49 > git --version # 'git version 2.25.1' 05:32:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:32:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-coap-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:32:50 > git config remote.origin.url git@github.com:edgexfoundry/device-coap-c.git # timeout=10 05:32:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:32:50 Avoid second fetch 05:32:50 Checking out Revision 8a36c516d93552d46d8ba2391c3f855da456abe2 (odessa) 05:32:51 Commit message: "ci(lts-release): LTS release v4.0.1 @47967fd" 05:32:50 > git config core.sparsecheckout # timeout=10 05:32:50 > git checkout -f 8a36c516d93552d46d8ba2391c3f855da456abe2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:32:56 + git checkout 8a36c516d93552d46d8ba2391c3f855da456abe2 05:32:56 HEAD is now at 8a36c51 ci(lts-release): LTS release v4.0.1 @47967fd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:56 provisioning config files... 05:32:56 copy managed file [device-coap-c-settings] to file:/w/workspace/device-coap-c/4@tmp/config9991468498310665818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:56 ---> ****-login.sh 05:32:56 nexus3.edgexfoundry.org:10001 05:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:57 Configure a credential helper to remove this warning. See 05:32:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:57 05:32:57 Login Succeeded 05:32:57 nexus3.edgexfoundry.org:10002 05:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:57 Configure a credential helper to remove this warning. See 05:32:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:57 05:32:57 Login Succeeded 05:32:57 nexus3.edgexfoundry.org:10003 05:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:58 Configure a credential helper to remove this warning. See 05:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:58 05:32:58 Login Succeeded 05:32:58 nexus3.edgexfoundry.org:10004 05:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:58 Configure a credential helper to remove this warning. See 05:32:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:58 05:32:58 Login Succeeded 05:32:58 ****.io 05:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:59 Configure a credential helper to remove this warning. See 05:32:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:59 05:32:59 Login Succeeded 05:32:59 ---> ****-login.sh ends [Pipeline] } 05:32:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:32:59 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 05:32:59 + head -n 1 05:32:59 + grep ci(lts-release) 05:32:59 + git log --pretty=%H %s 05:32:59 + awk {print $1} [Pipeline] echo 05:32:59 [prepBaseBuildImage] Re-Tagging exiting image: nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] sh 05:33:00 + docker pull nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 05:33:00 8a36c516d93552d46d8ba2391c3f855da456abe2: Pulling from device-coap-c-builder-arm64 05:33:00 579b34f0a95b: Pulling fs layer 05:33:00 b046b3a35be6: Pulling fs layer 05:33:00 2014ba793e07: Pulling fs layer 05:33:00 d9e79cf495b2: Pulling fs layer 05:33:00 a866f532b424: Pulling fs layer 05:33:00 2ad20583d093: Pulling fs layer 05:33:00 acd64577f334: Pulling fs layer 05:33:00 dbcfc0aa53e2: Pulling fs layer 05:33:00 9fe40c817ac1: Pulling fs layer 05:33:00 7309d2942f6b: Pulling fs layer 05:33:00 799e644aae6c: Pulling fs layer 05:33:00 a5d0eaae4930: Pulling fs layer 05:33:00 b4fd0cec4fd5: Pulling fs layer 05:33:00 d9e79cf495b2: Waiting 05:33:00 a866f532b424: Waiting 05:33:00 2ad20583d093: Waiting 05:33:00 acd64577f334: Waiting 05:33:00 dbcfc0aa53e2: Waiting 05:33:00 9fe40c817ac1: Waiting 05:33:00 7309d2942f6b: Waiting 05:33:00 799e644aae6c: Waiting 05:33:00 a5d0eaae4930: Waiting 05:33:00 b4fd0cec4fd5: Waiting 05:33:00 b046b3a35be6: Verifying Checksum 05:33:00 b046b3a35be6: Download complete 05:33:00 d9e79cf495b2: Verifying Checksum 05:33:00 d9e79cf495b2: Download complete 05:33:00 a866f532b424: Verifying Checksum 05:33:00 a866f532b424: Download complete 05:33:00 579b34f0a95b: Verifying Checksum 05:33:00 579b34f0a95b: Download complete 05:33:00 2ad20583d093: Verifying Checksum 05:33:00 2ad20583d093: Download complete 05:33:00 dbcfc0aa53e2: Verifying Checksum 05:33:00 dbcfc0aa53e2: Download complete 05:33:00 9fe40c817ac1: Verifying Checksum 05:33:00 9fe40c817ac1: Download complete 05:33:00 7309d2942f6b: Verifying Checksum 05:33:00 7309d2942f6b: Download complete 05:33:00 799e644aae6c: Verifying Checksum 05:33:00 799e644aae6c: Download complete 05:33:00 a5d0eaae4930: Verifying Checksum 05:33:00 a5d0eaae4930: Download complete 05:33:00 b4fd0cec4fd5: Verifying Checksum 05:33:00 b4fd0cec4fd5: Download complete 05:33:00 acd64577f334: Verifying Checksum 05:33:00 acd64577f334: Download complete 05:33:01 579b34f0a95b: Pull complete 05:33:01 b046b3a35be6: Pull complete 05:33:02 2014ba793e07: Download complete 05:33:15 2014ba793e07: Pull complete 05:33:15 d9e79cf495b2: Pull complete 05:33:15 a866f532b424: Pull complete 05:33:15 2ad20583d093: Pull complete 05:33:16 acd64577f334: Pull complete 05:33:16 dbcfc0aa53e2: Pull complete 05:33:16 9fe40c817ac1: Pull complete 05:33:17 7309d2942f6b: Pull complete 05:33:17 799e644aae6c: Pull complete 05:33:17 a5d0eaae4930: Pull complete 05:33:18 b4fd0cec4fd5: Pull complete 05:33:18 Digest: sha256:58eea07658b5a86b138e17da052b89edea35eb07aa79321d056aa7321503b724 05:33:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 05:33:18 nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] sh 05:33:18 + docker tag nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 ci-base-image-arm64 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:19 + docker inspect -f . ci-base-image-arm64 05:33:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:19 prd-ubuntu20.04-docker-arm64-4c-16g-773901 does not seem to be running inside a container 05:33:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-coap-c/4 -v /w/workspace/device-coap-c/4:/w/workspace/device-coap-c/4:rw,z -v /w/workspace/device-coap-c/4@tmp:/w/workspace/device-coap-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:33:21 $ docker top e99f8570fe8a8b01c40e3ff9763db9ee77b337e1cf51679d4d0ad253ff00406e -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:22 + make test 05:33:22 build/release/device-coap [Pipeline] } 05:33:22 $ docker stop --time=1 e99f8570fe8a8b01c40e3ff9763db9ee77b337e1cf51679d4d0ad253ff00406e 05:33:24 $ docker rm -f --volumes e99f8570fe8a8b01c40e3ff9763db9ee77b337e1cf51679d4d0ad253ff00406e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:33:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:24 + ls -al . 05:33:24 total 92 05:33:24 drwxrwxr-x 7 jenkins jenkins 4096 Nov 27 05:32 . 05:33:24 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 05:32 .. 05:33:24 drwxrwxr-x 8 jenkins jenkins 4096 Nov 27 05:32 .git 05:33:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 05:32 .github 05:33:24 -rw-rw-r-- 1 jenkins jenkins 14 Nov 27 05:32 .gitignore 05:33:24 -rw-rw-r-- 1 jenkins jenkins 2037 Nov 27 05:32 Attribution.txt 05:33:24 -rw-rw-r-- 1 jenkins jenkins 3893 Nov 27 05:32 CHANGELOG.md 05:33:24 -rw-rw-r-- 1 jenkins jenkins 677 Nov 27 05:32 GOVERNANCE.md 05:33:24 -rw-rw-r-- 1 jenkins jenkins 798 Nov 27 05:32 Jenkinsfile 05:33:24 -rw-rw-r-- 1 jenkins jenkins 10173 Nov 27 05:32 LICENSE 05:33:24 -rw-rw-r-- 1 jenkins jenkins 938 Nov 27 05:32 Makefile 05:33:24 -rw-rw-r-- 1 jenkins jenkins 619 Nov 27 05:32 OWNERS.md 05:33:24 -rw-rw-r-- 1 jenkins jenkins 12454 Nov 27 05:32 README.md 05:33:24 -rw-rw-r-- 1 jenkins jenkins 506 Nov 27 05:32 ROADMAP.md 05:33:24 -rw-rw-r-- 1 jenkins jenkins 5 Nov 27 05:30 VERSION 05:33:24 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 05:32 res 05:33:24 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 05:32 scripts 05:33:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 27 05:32 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:25 + docker build -t device-coap-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8a36c516d93552d46d8ba2391c3f855da456abe2 --label arch=arm64 --label version=4.0.1 . 05:33:25 Sending build context to Docker daemon 373.2kB 05:33:25 Step 1/33 : ARG BASE=alpine:3.20 05:33:25 Step 2/33 : FROM ${BASE} as builder 05:33:25 ---> 682a7c921219 05:33:25 Step 3/33 : LABEL maintainer="Ken Bannister " 05:33:25 ---> Running in 786a19b6c034 05:33:25 Removing intermediate container 786a19b6c034 05:33:25 ---> 0a283f814516 05:33:25 Step 4/33 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:33:26 ---> Running in 9319e871d165 05:33:27 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:33:27 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:33:27 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:33:27 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:33:28 Removing intermediate container 9319e871d165 05:33:28 ---> c07984d38d36 05:33:28 Step 5/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 05:33:28 ---> Running in f7a7bbc625ff 05:33:29 Removing intermediate container f7a7bbc625ff 05:33:29 ---> 26fa1e2410b1 05:33:29 Step 6/33 : RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev 05:33:30 ---> Running in 9d864888dd75 05:33:30 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:33:31 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:33:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 05:33:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:33:33 OK: 334 MiB in 103 packages 05:33:34 Removing intermediate container 9d864888dd75 05:33:34 ---> e2ce38a349a8 05:33:34 Step 7/33 : COPY scripts /device-coap/scripts 05:33:34 ---> 1176ab9f078d 05:33:34 Step 8/33 : COPY src /device-coap/src/ 05:33:34 ---> bcc26b329786 05:33:34 Step 9/33 : COPY VERSION /device-coap 05:33:35 ---> b492e8362d82 05:33:35 Step 10/33 : RUN mkdir -p /device-coap/build 05:33:35 ---> Running in cd7127dd9b03 05:33:37 Removing intermediate container cd7127dd9b03 05:33:37 ---> 47435c06d92a 05:33:37 Step 11/33 : WORKDIR /device-coap 05:33:37 ---> Running in 48adfe8c137a 05:33:37 Removing intermediate container 48adfe8c137a 05:33:37 ---> 75dda18591cd 05:33:37 Step 12/33 : RUN /device-coap/scripts/build_deps.sh 1 05:33:37 ---> Running in a7f2407b52f1 05:33:38 + BUILD_CSDK=1 05:33:38 + TINYDTLS_VERSION=b0e230d 05:33:38 + LIBCOAP_VERSION=1739507 05:33:38 + CSDK_VERSION=4.0.0 05:33:38 + '[' -d deps ] 05:33:38 + mkdir deps 05:33:38 + cd /device-coap/deps 05:33:38 + git clone https://github.com/eclipse/tinydtls.git 05:33:38 Cloning into 'tinydtls'... 05:33:39 + cd tinydtls 05:33:39 + git checkout develop 05:33:39 branch 'develop' set up to track 'origin/develop'. 05:33:39 Switched to a new branch 'develop' 05:33:39 + git reset --hard b0e230d 05:33:40 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 05:33:40 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 05:33:40 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 05:33:40 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 05:33:40 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 05:33:40 + mkdir -p build 05:33:40 + cd build 05:33:40 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 05:33:40 -- The C compiler identification is GNU 12.2.1 05:33:40 -- Detecting C compiler ABI info 05:33:40 -- Detecting C compiler ABI info - done 05:33:40 -- Check for working C compiler: /usr/bin/cc - skipped 05:33:40 -- Detecting C compile features 05:33:40 -- Detecting C compile features - done 05:33:40 -- Looking for assert.h 05:33:41 -- Looking for assert.h - found 05:33:41 -- Looking for arpa/inet.h 05:33:41 -- Looking for arpa/inet.h - found 05:33:41 -- Looking for fcntl.h 05:33:41 -- Looking for fcntl.h - found 05:33:41 -- Looking for inttypes.h 05:33:42 -- Looking for inttypes.h - found 05:33:42 -- Looking for memory.h 05:33:42 -- Looking for memory.h - found 05:33:42 -- Looking for netdb.h 05:33:42 -- Looking for netdb.h - found 05:33:42 -- Looking for netinet/in.h 05:33:42 -- Looking for netinet/in.h - found 05:33:42 -- Looking for stddef.h 05:33:43 -- Looking for stddef.h - found 05:33:43 -- Looking for stdint.h 05:33:43 -- Looking for stdint.h - found 05:33:43 -- Looking for stdlib.h 05:33:43 -- Looking for stdlib.h - found 05:33:43 -- Looking for string.h 05:33:44 -- Looking for string.h - found 05:33:44 -- Looking for strings.h 05:33:44 -- Looking for strings.h - found 05:33:44 -- Looking for time.h 05:33:44 -- Looking for time.h - found 05:33:44 -- Looking for sys/param.h 05:33:45 -- Looking for sys/param.h - found 05:33:45 -- Looking for sys/socket.h 05:33:45 -- Looking for sys/socket.h - found 05:33:45 -- Looking for sys/stat.h 05:33:45 -- Looking for sys/stat.h - found 05:33:45 -- Looking for sys/types.h 05:33:46 -- Looking for sys/types.h - found 05:33:46 -- Looking for sys/time.h 05:33:46 -- Looking for sys/time.h - found 05:33:46 -- Looking for unistd.h 05:33:46 -- Looking for unistd.h - found 05:33:46 -- Looking for float.h 05:33:47 -- Looking for float.h - found 05:33:47 -- Looking for dlfcn.h 05:33:47 -- Looking for dlfcn.h - found 05:33:47 -- Looking for memset 05:33:47 -- Looking for memset - found 05:33:47 -- Looking for select 05:33:48 -- Looking for select - found 05:33:48 -- Looking for socket 05:33:48 -- Looking for socket - found 05:33:48 -- Looking for strdup 05:33:48 -- Looking for strdup - found 05:33:48 -- Looking for strerror 05:33:48 -- Looking for strerror - found 05:33:48 -- Looking for strnlen 05:33:49 -- Looking for strnlen - found 05:33:49 -- Looking for fls 05:33:49 -- Looking for fls - not found 05:33:49 -- Looking for vprintf 05:33:49 -- Looking for vprintf - found 05:33:49 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 05:33:50 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 05:33:50 -- Configuring done (10.1s) 05:33:50 -- Generating done (0.0s) 05:33:50 -- Build files have been written to: /device-coap/deps/tinydtls/build 05:33:50 + make 05:33:50 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 05:33:51 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 05:33:51 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 05:33:53 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 05:33:53 In file included from /device-coap/deps/tinydtls/crypto.c:34: 05:33:53 In function 'ecc_ecdh', 05:33:53 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 05:33:53 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 05:33:53 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 05:33:53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:33:53 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 05:33:53 /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 05:33:53 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 05:33:53 | ^~~~~~~~~~~ 05:33:53 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 05:33:53 431 | uint32_t pub_x[8]; 05:33:53 | ^~~~~ 05:33:53 In function 'ecc_ecdh', 05:33:53 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 05:33:53 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 05:33:53 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 05:33:53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:33:53 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 05:33:53 /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 05:33:53 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 05:33:53 | ^~~~~~~~~~~ 05:33:53 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 05:33:53 432 | uint32_t pub_y[8]; 05:33:53 | ^~~~~ 05:33:53 In function 'ecc_ecdh', 05:33:53 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 05:33:53 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 05:33:53 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 05:33:53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:33:53 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 05:33:53 /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 05:33:53 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 05:33:53 | ^~~~~~~~~~~ 05:33:53 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 05:33:53 430 | uint32_t priv[8]; 05:33:53 | ^~~~ 05:33:54 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 05:34:01 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 05:34:01 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 05:34:01 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 05:34:01 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 05:34:01 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 05:34:01 /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] 05:34:01 316 | for (idx = 0; idx < count; idx++) { 05:34:01 | ^ 05:34:01 /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] 05:34:01 319 | return result == count; 05:34:01 | ^~ 05:34:05 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 05:34:05 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 05:34:05 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 05:34:05 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 05:34:06 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 05:34:06 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 05:34:06 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 05:34:06 | ~~~~~~~~~~^~~~~~~~ 05:34:06 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 05:34:06 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 05:34:06 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 05:34:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:34:06 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 05:34:06 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 05:34:06 | ~~~~~^~~~~~~~ 05:34:06 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 05:34:06 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 05:34:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:34:06 [100%] Linking C shared library libtinydtls.so 05:34:06 [100%] Built target tinydtls 05:34:06 + make install 05:34:06 [100%] Built target tinydtls 05:34:06 Install the project... 05:34:06 -- Install configuration: "Release" 05:34:06 -- Installing: /usr/local/lib/libtinydtls.so 05:34:06 -- Up-to-date: /usr/local/include/tinydtls 05:34:06 -- Installing: /usr/local/include/tinydtls/dtls.h 05:34:06 -- Installing: /usr/local/include/tinydtls/tinydtls.h 05:34:06 -- Installing: /usr/local/include/tinydtls/dtls_time.h 05:34:06 -- Installing: /usr/local/include/tinydtls/utlist.h 05:34:06 -- Installing: /usr/local/include/tinydtls/ccm.h 05:34:06 -- Installing: /usr/local/include/tinydtls/hmac.h 05:34:06 -- Installing: /usr/local/include/tinydtls/uthash.h 05:34:06 -- Installing: /usr/local/include/tinydtls/numeric.h 05:34:06 -- Installing: /usr/local/include/tinydtls/netq.h 05:34:06 -- Up-to-date: /usr/local/include/tinydtls/sha2 05:34:06 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 05:34:07 -- Installing: /usr/local/include/tinydtls/crypto.h 05:34:07 -- Installing: /usr/local/include/tinydtls/alert.h 05:34:07 -- Installing: /usr/local/include/tinydtls/session.h 05:34:07 -- Installing: /usr/local/include/tinydtls/global.h 05:34:07 -- Up-to-date: /usr/local/include/tinydtls/ecc 05:34:07 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 05:34:07 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 05:34:07 -- Installing: /usr/local/include/tinydtls/state.h 05:34:07 -- Up-to-date: /usr/local/include/tinydtls/aes 05:34:07 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 05:34:07 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 05:34:07 -- Installing: /usr/local/include/tinydtls/peer.h 05:34:07 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 05:34:07 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 05:34:07 -- Up-to-date: /usr/local/include/tinydtls 05:34:07 -- Installing: /usr/local/include/tinydtls/dtls_config.h 05:34:07 + cd /device-coap/deps 05:34:07 + git clone https://github.com/obgm/libcoap.git 05:34:07 Cloning into 'libcoap'... 05:34:13 + cd libcoap 05:34:13 + git reset --hard 1739507 05:34:13 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 05:34:13 + patch -p1 05:34:13 patching file cmake/FindTinyDTLS.cmake 05:34:13 + patch -p1 05:34:13 patching file include/coap2/coap_config.h.in 05:34:13 + mkdir -p build 05:34:13 + cd build 05:34:13 + 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' .. 05:34:13 -- The CXX compiler identification is GNU 12.2.1 05:34:14 -- The C compiler identification is GNU 12.2.1 05:34:14 -- Detecting CXX compiler ABI info 05:34:14 -- Detecting CXX compiler ABI info - done 05:34:14 -- Check for working CXX compiler: /usr/bin/c++ - skipped 05:34:14 -- Detecting CXX compile features 05:34:14 -- Detecting CXX compile features - done 05:34:14 -- Detecting C compiler ABI info 05:34:14 -- Detecting C compiler ABI info - done 05:34:15 -- Check for working C compiler: /usr/bin/cc - skipped 05:34:15 -- Detecting C compile features 05:34:15 -- Detecting C compile features - done 05:34:15 -- Looking for byteswap.h 05:34:15 -- Looking for byteswap.h - found 05:34:15 -- Looking for inttypes.h 05:34:15 -- Looking for inttypes.h - found 05:34:15 -- Looking for limits.h 05:34:16 -- Looking for limits.h - found 05:34:16 -- Looking for memory.h 05:34:16 -- Looking for memory.h - found 05:34:16 -- Looking for strings.h 05:34:16 -- Looking for strings.h - found 05:34:16 -- Looking for string.h 05:34:16 -- Looking for string.h - found 05:34:16 -- Looking for sys/sysctl.h 05:34:17 -- Looking for sys/sysctl.h - not found 05:34:17 -- Looking for netinet/in.h 05:34:17 -- Looking for netinet/in.h - found 05:34:17 -- Looking for sys/epoll.h 05:34:17 -- Looking for sys/epoll.h - found 05:34:17 -- Looking for sys/timerfd.h 05:34:18 -- Looking for sys/timerfd.h - found 05:34:18 -- Looking for arpa/inet.h 05:34:18 -- Looking for arpa/inet.h - found 05:34:18 -- Looking for stdbool.h 05:34:18 -- Looking for stdbool.h - found 05:34:18 -- Looking for netdb.h 05:34:19 -- Looking for netdb.h - found 05:34:19 -- Looking for pthread.h 05:34:19 -- Looking for pthread.h - found 05:34:19 -- Looking for stdlib.h 05:34:19 -- Looking for stdlib.h - found 05:34:19 -- Looking for stdint.h 05:34:20 -- Looking for stdint.h - found 05:34:20 -- Looking for syslog.h 05:34:20 -- Looking for syslog.h - found 05:34:20 -- Looking for sys/ioctl.h 05:34:20 -- Looking for sys/ioctl.h - found 05:34:20 -- Looking for sys/socket.h 05:34:21 -- Looking for sys/socket.h - found 05:34:21 -- Looking for sys/stat.h 05:34:21 -- Looking for sys/stat.h - found 05:34:21 -- Looking for sys/time.h 05:34:21 -- Looking for sys/time.h - found 05:34:21 -- Looking for sys/types.h 05:34:21 -- Looking for sys/types.h - found 05:34:21 -- Looking for sys/unistd.h 05:34:22 -- Looking for sys/unistd.h - not found 05:34:22 -- Looking for time.h 05:34:22 -- Looking for time.h - found 05:34:22 -- Looking for unistd.h 05:34:22 -- Looking for unistd.h - found 05:34:22 -- Looking for float.h 05:34:22 -- Looking for float.h - found 05:34:22 -- Looking for stddef.h 05:34:23 -- Looking for stddef.h - found 05:34:23 -- Looking for winsock2.h 05:34:23 -- Looking for winsock2.h - not found 05:34:23 -- Looking for ws2tcpip.h 05:34:23 -- Looking for ws2tcpip.h - not found 05:34:23 -- Looking for malloc 05:34:24 -- Looking for malloc - found 05:34:24 -- Looking for memset 05:34:24 -- Looking for memset - found 05:34:24 -- Looking for select 05:34:24 -- Looking for select - found 05:34:24 -- Looking for socket 05:34:24 -- Looking for socket - found 05:34:24 -- Looking for strcasecmp 05:34:25 -- Looking for strcasecmp - found 05:34:25 -- Looking for pthread_mutex_lock 05:34:25 -- Looking for pthread_mutex_lock - found 05:34:25 -- Looking for getaddrinfo 05:34:26 -- Looking for getaddrinfo - found 05:34:26 -- Looking for strnlen 05:34:26 -- Looking for strnlen - found 05:34:26 -- Looking for strrchr 05:34:26 -- Looking for strrchr - found 05:34:26 -- Looking for getrandom 05:34:26 -- Looking for getrandom - found 05:34:26 -- Looking for cmsghdr 05:34:26 -- Looking for cmsghdr - not found 05:34:26 -- compiling without epoll support 05:34:26 -- compiling with DTLS support 05:34:26 -- DTLS_BACKEND: tinydtls 05:34:26 -- Found TinyDTLS: /usr/local/include 05:34:26 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 05:34:26 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 05:34:26 -- TINYDTLS_ROOT_DIR: 05:34:26 -- compiling with tinydtls support 05:34:26 -- ENABLE_DTLS:.....................ON 05:34:26 -- ENABLE_TCP:......................ON 05:34:26 -- ENABLE_DOCS:.....................OFF 05:34:26 -- ENABLE_EXAMPLES:.................OFF 05:34:26 -- DTLS_BACKEND:....................tinydtls 05:34:26 -- WITH_GNUTLS:.....................OFF 05:34:26 -- WITH_TINYDTLS:...................ON 05:34:26 -- WITH_OPENSSL:....................OFF 05:34:26 -- WITH_MBEDTLS:....................OFF 05:34:26 -- HAVE_LIBTINYDTLS:................1 05:34:26 -- HAVE_LIBGNUTLS:.................. 05:34:26 -- HAVE_OPENSSL:.................... 05:34:26 -- HAVE_MBEDTLS:.................... 05:34:26 -- COAP_EPOLL_SUPPORT:.............. 05:34:26 -- CMAKE_C_COMPILER:................/usr/bin/cc 05:34:26 -- BUILD_SHARED_LIBS:...............ON 05:34:26 -- CMAKE_BUILD_TYPE:................Release 05:34:26 -- CMAKE_SYSTEM_PROCESSOR:..........aarch64 05:34:27 -- Configuring done (13.4s) 05:34:27 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 05:34:27 Policy CMP0115 is not set: Source file extensions must be explicit. Run 05:34:27 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 05:34:27 command to set the policy and suppress this warning. 05:34:27 05:34:27 File: 05:34:27 05:34:27 /device-coap/deps/libcoap/include/coap2/coap.h.in 05:34:27 This warning is for project developers. Use -Wno-dev to suppress it. 05:34:27 05:34:27 -- Generating done (0.0s) 05:34:27 -- Build files have been written to: /device-coap/deps/libcoap/build 05:34:27 + make 05:34:27 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 05:34:27 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 05:34:28 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 05:34:29 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 05:34:30 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 05:34:30 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 05:34:30 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 05:34:32 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 05:34:32 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 05:34:33 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 05:34:36 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 05:34:36 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 05:34:37 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 05:34:37 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 05:34:37 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 05:34:42 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 05:34:42 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 05:34:43 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 05:34:46 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 05:34:46 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 05:34:46 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 05:34:47 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 05:34:48 [100%] Linking C shared library libcoap-2.so 05:34:48 [100%] Built target coap-2 05:34:48 + make install 05:34:48 [100%] Built target coap-2 05:34:49 Install the project... 05:34:49 -- Install configuration: "Release" 05:34:49 -- Installing: /usr/local/lib/libcoap-2.so 05:34:49 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 05:34:49 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 05:34:49 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 05:34:49 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 05:34:49 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 05:34:49 -- Up-to-date: /usr/local/include 05:34:49 -- Up-to-date: /usr/local/include/coap2 05:34:49 -- Installing: /usr/local/include/coap2/coap_dtls.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_mutex.h 05:34:49 -- Installing: /usr/local/include/coap2/option.h 05:34:49 -- Installing: /usr/local/include/coap2/uri.h 05:34:49 -- Installing: /usr/local/include/coap2/net.h 05:34:49 -- Installing: /usr/local/include/coap2/bits.h 05:34:49 -- Installing: /usr/local/include/coap2/utlist.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_event.h 05:34:49 -- Installing: /usr/local/include/coap2/block.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_session.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_prng.h 05:34:49 -- Installing: /usr/local/include/coap2/uthash.h 05:34:49 -- Installing: /usr/local/include/coap2/async.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_hashkey.h 05:34:49 -- Installing: /usr/local/include/coap2/libcoap.h 05:34:49 -- Installing: /usr/local/include/coap2/mem.h 05:34:49 -- Installing: /usr/local/include/coap2/subscribe.h 05:34:49 -- Installing: /usr/local/include/coap2/resource.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_riot.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_time.h 05:34:49 -- Installing: /usr/local/include/coap2/pdu.h 05:34:49 -- Installing: /usr/local/include/coap2/address.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_io.h 05:34:49 -- Installing: /usr/local/include/coap2/lwippools.h 05:34:49 -- Installing: /usr/local/include/coap2/str.h 05:34:49 -- Installing: /usr/local/include/coap2/coap_debug.h 05:34:49 -- Installing: /usr/local/include/coap2/encode.h 05:34:49 -- Up-to-date: /usr/local/include 05:34:49 -- Up-to-date: /usr/local/include/coap2 05:34:49 -- Installing: /usr/local/include/coap2/coap.h 05:34:49 + '[' 1 '=' 1 ] 05:34:49 + cd /device-coap/deps 05:34:49 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 05:34:49 Connecting to github.com (140.82.113.3:443) 05:34:49 Connecting to codeload.github.com (140.82.112.9:443) 05:34:49 saving to 'v4.0.0.zip' 05:34:49 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 05:34:49 'v4.0.0.zip' saved 05:34:49 + unzip v4.0.0.zip 05:34:49 Archive: v4.0.0.zip 05:34:49 creating: device-sdk-c-4.0.0/ 05:34:49 creating: device-sdk-c-4.0.0/.github/ 05:34:49 inflating: device-sdk-c-4.0.0/.github/Contributing.md 05:34:49 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 05:34:49 inflating: device-sdk-c-4.0.0/.github/semantic.yml 05:34:49 creating: device-sdk-c-4.0.0/.github/workflows/ 05:34:49 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 05:34:49 inflating: device-sdk-c-4.0.0/.gitignore 05:34:49 inflating: device-sdk-c-4.0.0/Attribution.txt 05:34:49 inflating: device-sdk-c-4.0.0/CHANGELOG.md 05:34:49 inflating: device-sdk-c-4.0.0/Doxyfile 05:34:49 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 05:34:49 inflating: device-sdk-c-4.0.0/Jenkinsfile 05:34:49 inflating: device-sdk-c-4.0.0/LICENSE 05:34:49 inflating: device-sdk-c-4.0.0/Makefile 05:34:49 inflating: device-sdk-c-4.0.0/OWNERS.md 05:34:49 inflating: device-sdk-c-4.0.0/README.IOT.md 05:34:49 inflating: device-sdk-c-4.0.0/README.md 05:34:49 inflating: device-sdk-c-4.0.0/README.v3.md 05:34:49 creating: device-sdk-c-4.0.0/docs/ 05:34:49 inflating: device-sdk-c-4.0.0/docs/configuration.md 05:34:49 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 05:34:49 inflating: device-sdk-c-4.0.0/docs/metrics.md 05:34:49 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 05:34:49 inflating: device-sdk-c-4.0.0/docs/startup.md 05:34:49 creating: device-sdk-c-4.0.0/include/ 05:34:49 creating: device-sdk-c-4.0.0/include/devsdk/ 05:34:49 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 05:34:49 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 05:34:49 creating: device-sdk-c-4.0.0/include/edgex/ 05:34:49 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 05:34:49 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 05:34:49 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 05:34:49 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 05:34:49 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 05:34:49 creating: device-sdk-c-4.0.0/scripts/ 05:34:49 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 05:34:49 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 05:34:49 inflating: device-sdk-c-4.0.0/scripts/build.sh 05:34:49 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 05:34:49 creating: device-sdk-c-4.0.0/src/ 05:34:49 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 05:34:49 creating: device-sdk-c-4.0.0/src/c/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/api.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/bus.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/bus.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/callback3.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/callback3.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/config.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/config.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/correlation.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/correlation.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/data.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/data.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 05:34:49 inflating: device-sdk-c-4.0.0/src/c/device.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/device.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/devman.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/devmap.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/devmap.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/devutil.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/discovery.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/discovery.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/file/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/random/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 05:34:49 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 05:34:49 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 05:34:49 inflating: device-sdk-c-4.0.0/src/c/filesys.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/filesys.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/keeper.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/keeper.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/map.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/map.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/metadata.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/metadata.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/metrics.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/opstate.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/opstate.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/parson.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/parson.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/profiles.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/profiles.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/registry.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/registry.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/rest.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/rest.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/secrets.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/secrets.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/service.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/service.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/transform.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/transform.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/validate.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/validate.h 05:34:49 inflating: device-sdk-c-4.0.0/src/c/watchers.c 05:34:49 inflating: device-sdk-c-4.0.0/src/c/watchers.h 05:34:49 creating: device-sdk-c-4.0.0/src/cmake/ 05:34:49 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 05:34:49 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 05:34:49 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 05:34:49 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 05:34:49 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 05:34:49 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 05:34:49 + cd device-sdk-c-4.0.0 05:34:49 + ./scripts/build.sh 05:34:49 + CPPCHECK=false 05:34:49 + DOCGEN=false 05:34:49 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:34:49 + '[' 0 -gt 0 ] 05:34:49 + readlink -f ./scripts/build.sh 05:34:49 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 05:34:49 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 05:34:49 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 05:34:49 + cd /device-coap/deps/device-sdk-c-4.0.0 05:34:49 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 05:34:49 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 05:34:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 05:34:50 -- The C compiler identification is GNU 12.2.1 05:34:50 -- Detecting C compiler ABI info 05:34:50 -- Detecting C compiler ABI info - done 05:34:50 -- Check for working C compiler: /usr/bin/cc - skipped 05:34:50 -- Detecting C compile features 05:34:50 -- Detecting C compile features - done 05:34:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:34:51 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:34:51 -- Found LIBYAML: /usr/lib/libyaml.so 05:34:51 -- Found LIBUUID: /usr/lib/libuuid.so 05:34:51 -- Found LIBCBOR: /usr/lib/libcbor.so 05:34:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:34:51 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:34:51 -- /opt/iotech/iot/1.5/include 05:34:51 -- C SDK 0.0.0 for Linux 05:34:51 -- Performing Test CSDK_HAVE_ATOMIC 05:34:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:34:51 -- Found Curses: /usr/lib/libcurses.so 05:34:51 -- Configuring done (1.6s) 05:34:53 -- Generating done (0.2s) 05:34:53 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 05:34:53 + + maketee release.log all 05:34:53 package 05:34:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:34:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:34:53 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:34:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:34:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:34:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:34:57 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:34:57 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:34:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:35:00 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:35:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:35:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:35:02 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:35:03 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:35:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:35:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:35:05 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:35:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:35:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:35:09 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:35:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:35:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:35:16 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:35:16 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:35:17 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:35:17 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:35:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:35:20 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:35:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:35:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:35:22 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:35:24 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 05:35:24 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:35:24 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:35:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:35:24 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 05:35:24 875 | const iot_data_t *deviceservices_config; 05:35:24 | ^~~~~~~~~~~~~~~~~~~~~ 05:35:25 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:35:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:35:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:35:26 [ 68%] Linking C shared library libcsdk.so 05:35:27 [ 68%] Built target csdk 05:35:27 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:35:28 [ 72%] Linking C executable template 05:35:28 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:28 [ 72%] Built target template 05:35:28 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:35:28 [ 76%] Linking C executable device-counter 05:35:28 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:28 [ 76%] Built target device-counter 05:35:29 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:35:29 [ 80%] Linking C executable device-random 05:35:29 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:30 [ 80%] Built target device-random 05:35:30 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:35:30 [ 84%] Linking C executable device-gyro 05:35:30 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:30 [ 84%] Built target device-gyro 05:35:30 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:35:31 [ 88%] Linking C executable device-bitfields 05:35:31 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:31 [ 88%] Built target device-bitfields 05:35:31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:35:32 [ 92%] Linking C executable template-discovery 05:35:32 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:32 [ 92%] Built target template-discovery 05:35:32 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:35:33 [ 96%] Linking C executable device-file 05:35:33 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:33 [ 96%] Built target device-file 05:35:33 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:35:34 [100%] Linking C executable device-terminal 05:35:34 /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) 05:35:34 [100%] Built target device-terminal 05:35:34 Run CPack packaging tool... 05:35:34 CPack: Create package using TGZ 05:35:34 CPack: Install projects 05:35:34 CPack: - Run preinstall target for: Csdk 05:35:35 CPack: - Install project: Csdk [] 05:35:35 CPack: Create package 05:35:35 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 05:35:35 + '[' false '=' true ] 05:35:35 + '[' false '=' true ] 05:35:35 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 05:35:35 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 05:35:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 05:35:36 -- The C compiler identification is GNU 12.2.1 05:35:36 -- Detecting C compiler ABI info 05:35:36 -- Detecting C compiler ABI info - done 05:35:36 -- Check for working C compiler: /usr/bin/cc - skipped 05:35:36 -- Detecting C compile features 05:35:36 -- Detecting C compile features - done 05:35:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:35:36 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:35:36 -- Found LIBYAML: /usr/lib/libyaml.so 05:35:36 -- Found LIBUUID: /usr/lib/libuuid.so 05:35:36 -- Found LIBCBOR: /usr/lib/libcbor.so 05:35:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:35:36 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:35:36 -- /opt/iotech/iot/1.5/include 05:35:36 -- C SDK 0.0.0 for Linux 05:35:36 -- Performing Test CSDK_HAVE_ATOMIC 05:35:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:35:37 -- Found Curses: /usr/lib/libcurses.so 05:35:37 -- Configuring done (1.6s) 05:35:37 -- Generating done (0.2s) 05:35:37 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 05:35:37 + make+ tee debug.log 05:35:37 05:35:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:35:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:35:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:35:39 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:35:39 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:35:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:35:40 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:35:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:35:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:35:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:35:41 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:35:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:35:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:35:43 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:35:43 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:35:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:35:44 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:35:44 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:35:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:35:45 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:35:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:35:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:35:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:35:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:35:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:35:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:35:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:35:49 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:35:50 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:35:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:35:50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:35:51 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:35:51 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:35:52 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:35:52 [ 68%] Linking C shared library libcsdk.so 05:35:52 [ 68%] Built target csdk 05:35:52 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:35:53 [ 72%] Linking C executable template 05:35:53 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:53 [ 72%] Built target template 05:35:53 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:35:53 [ 76%] Linking C executable device-counter 05:35:53 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:53 [ 76%] Built target device-counter 05:35:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:35:54 [ 80%] Linking C executable device-random 05:35:54 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:54 [ 80%] Built target device-random 05:35:54 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:35:55 [ 84%] Linking C executable device-gyro 05:35:55 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:55 [ 84%] Built target device-gyro 05:35:55 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:35:55 [ 88%] Linking C executable device-bitfields 05:35:55 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:55 [ 88%] Built target device-bitfields 05:35:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:35:56 [ 92%] Linking C executable template-discovery 05:35:56 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:56 [ 92%] Built target template-discovery 05:35:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:35:56 [ 96%] Linking C executable device-file 05:35:57 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:57 [ 96%] Built target device-file 05:35:57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:35:57 [100%] Linking C executable device-terminal 05:35:57 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:35:57 [100%] Built target device-terminal 05:35:58 + cp -rf include/devsdk include/edgex /usr/include/ 05:35:58 + cp build/release/c/libcsdk.so /usr/lib/ 05:35:58 + rm -rf /device-coap/deps 05:35:59 Removing intermediate container a7f2407b52f1 05:35:59 ---> 497f2bc6d62b 05:35:59 Step 13/33 : RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 05:35:59 ---> Running in 4723ac85d39a 05:36:00 + readlink -f /device-coap/scripts/build.sh 05:36:00 + dirname /device-coap/scripts/build.sh 05:36:00 + dirname /device-coap/scripts 05:36:00 + ROOT=/device-coap 05:36:00 + echo /device-coap 05:36:00 + cd /device-coap 05:36:00 + mkdir -p /device-coap/build/release 05:36:00 /device-coap 05:36:00 + cd /device-coap/build/release 05:36:00 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 05:36:00 -- Configuring done (0.0s) 05:36:00 -- Generating done (0.0s) 05:36:00 -- Build files have been written to: /device-coap/build/release 05:36:00 + make 05:36:00 + tee release.log 05:36:00 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 05:36:00 In file included from /usr/include/devsdk/devsdk.h:18, 05:36:00 from /device-coap/src/c/device-coap.h:17, 05:36:00 from /device-coap/src/c/coap-client.h:21, 05:36:00 from /device-coap/src/c/coap-client.c:9: 05:36:00 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 05:36:00 /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=] 05:36:00 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~ 05:36:00 90 | strlen(end_dev_params_ptr->psk_key)); 05:36:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 05:36:00 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 05:36:00 | ~^ 05:36:00 | | 05:36:00 | unsigned int 05:36:00 | %lu 05:36:00 /device-coap/src/c/coap-client.c: In function 'message_handler': 05:36:00 /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=] 05:36:00 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 05:36:00 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 05:36:00 | ~^ 05:36:00 | | 05:36:00 | unsigned int 05:36:00 | %lu 05:36:00 /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=] 05:36:00 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 130 | resource->properties->type); 05:36:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 | | 05:36:00 | iot_typecode_t 05:36:00 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 05:36:00 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 /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=] 05:36:00 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 140 | len); 05:36:00 | ~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 05:36:00 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 | %ld 05:36:00 /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=] 05:36:00 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 145 | len); 05:36:00 | ~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 05:36:00 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 | %ld 05:36:00 /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=] 05:36:00 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 152 | len); 05:36:00 | ~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 05:36:00 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 | %ld 05:36:00 /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=] 05:36:00 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 157 | resource->properties->type); 05:36:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 | | 05:36:00 | iot_typecode_t 05:36:00 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 05:36:00 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 05:36:00 /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=] 05:36:00 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 05:36:00 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 | %ld 05:36:00 /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=] 05:36:00 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 253 | (uint8_t *)end_dev_params_ptr->psk_key, 05:36:00 254 | strlen(end_dev_params_ptr->psk_key)); 05:36:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 05:36:00 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 | %ld 05:36:00 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 05:36:00 /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=] 05:36:00 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:36:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 352 | (uint8_t *)end_dev_params_ptr->psk_key, 05:36:00 353 | strlen(end_dev_params_ptr->psk_key)); 05:36:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:00 | | 05:36:00 | size_t {aka long unsigned int} 05:36:00 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 05:36:00 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 05:36:00 | ~^ 05:36:00 | | 05:36:00 | int 05:36:00 | %ld 05:36:01 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 05:36:01 In file included from /usr/include/devsdk/devsdk.h:18, 05:36:01 from /usr/include/edgex/devices.h:17, 05:36:01 from /device-coap/src/c/coap-server.c:22: 05:36:01 /device-coap/src/c/coap-server.c: In function 'data_handler': 05:36:01 /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=] 05:36:01 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 05:36:01 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:36:01 | | 05:36:01 | size_t {aka long unsigned int} 05:36:01 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 05:36:01 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 05:36:01 | ~^ 05:36:01 | | 05:36:01 | unsigned int 05:36:01 | %lu 05:36:01 /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=] 05:36:01 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 05:36:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:01 | | 05:36:01 | iot_typecode_t 05:36:01 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 05:36:01 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 05:36:01 | ~^ 05:36:01 | | 05:36:01 | int 05:36:02 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 05:36:02 In file included from /usr/include/devsdk/devsdk.h:18, 05:36:02 from /device-coap/src/c/coap-util.h:18, 05:36:02 from /device-coap/src/c/coap-util.c:9: 05:36:02 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 05:36:02 /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=] 05:36:02 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:36:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:36:02 | | 05:36:02 | size_t {aka long unsigned int} 05:36:02 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 05:36:02 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:36:02 | ~^ 05:36:02 | | 05:36:02 | unsigned int 05:36:02 | %lu 05:36:02 /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=] 05:36:02 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:36:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:36:02 | | 05:36:02 | size_t {aka long unsigned int} 05:36:02 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 05:36:02 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 05:36:02 | ~^ 05:36:02 | | 05:36:02 | unsigned int 05:36:02 | %lu 05:36:02 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 05:36:02 /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=] 05:36:02 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:36:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:36:02 | | 05:36:02 | size_t {aka long unsigned int} 05:36:02 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 05:36:02 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:36:02 | ~^ 05:36:02 | | 05:36:02 | unsigned int 05:36:02 | %lu 05:36:02 /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=] 05:36:02 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:36:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 05:36:02 | | 05:36:02 | size_t {aka long unsigned int} 05:36:02 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 05:36:02 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 05:36:02 | ~^ 05:36:02 | | 05:36:02 | unsigned int 05:36:02 | %lu 05:36:02 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 05:36:03 In file included from /usr/include/devsdk/devsdk.h:18, 05:36:03 from /device-coap/src/c/device-coap.h:17, 05:36:03 from /device-coap/src/c/device-coap.c:10: 05:36:03 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 05:36:03 /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=] 05:36:03 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 05:36:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:03 131 | requests[i].resource->type); 05:36:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:36:03 | | 05:36:03 | iot_typecode_t 05:36:03 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 05:36:03 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 05:36:03 | ~^ 05:36:03 | | 05:36:03 | int 05:36:03 [100%] Linking C executable device-coap 05:36:03 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:36:04 [100%] Built target device-coap 05:36:05 Removing intermediate container 4723ac85d39a 05:36:05 ---> 173f110ce27a 05:36:05 Step 14/33 : FROM ${BASE} 05:36:05 ---> 682a7c921219 05:36:05 Step 15/33 : RUN apk add --update --no-cache dumb-init 05:36:05 ---> Running in e8cd951cc512 05:36:05 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:36:06 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:36:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 05:36:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:36:08 OK: 334 MiB in 103 packages 05:36:09 Removing intermediate container e8cd951cc512 05:36:09 ---> a25ceb74ed5c 05:36:09 Step 16/33 : RUN apk --no-cache upgrade 05:36:09 ---> Running in 697fdbf7eefe 05:36:10 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:36:10 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:36:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 05:36:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:36:12 OK: 334 MiB in 103 packages 05:36:13 Removing intermediate container 697fdbf7eefe 05:36:13 ---> 097f40118c56 05:36:13 Step 17/33 : WORKDIR / 05:36:13 ---> Running in 7c4d16d43973 05:36:13 Removing intermediate container 7c4d16d43973 05:36:13 ---> e1d213edc6e6 05:36:13 Step 18/33 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:36:13 ---> Running in 731aa7af9cfe 05:36:14 Connecting to iotech.jfrog.io (54.73.4.50:443) 05:36:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:36:14 alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA 05:36:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:36:15 Removing intermediate container 731aa7af9cfe 05:36:15 ---> f874fb9fb386 05:36:15 Step 19/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 05:36:15 ---> Running in a90f8430e813 05:36:18 Removing intermediate container a90f8430e813 05:36:18 ---> cbd311d8aaf7 05:36:18 Step 20/33 : RUN apk add --update --no-cache linux-headers yaml libmicrohttpd curl libuuid iotech-paho-mqtt-c-dev-1.3 hiredis libcbor iotech-iot-1.5 05:36:18 ---> Running in 432f15089f62 05:36:19 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:36:20 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:36:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 05:36:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:36:21 (1/1) Installing curl (8.12.1-r0) 05:36:22 Executing busybox-1.36.1-r7.trigger 05:36:22 OK: 334 MiB in 104 packages 05:36:23 Removing intermediate container 432f15089f62 05:36:23 ---> f14e826e45c6 05:36:23 Step 21/33 : COPY --from=builder /device-coap/build/release/device-coap / 05:36:23 ---> 61367c197a6b 05:36:23 Step 22/33 : COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 05:36:23 ---> 5d685818261c 05:36:23 Step 23/33 : COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 05:36:24 ---> 51dc5ff6f76e 05:36:24 Step 24/33 : COPY --from=builder /usr/local/lib/libtinydtls.so /usr/local/lib/ 05:36:25 ---> 735ff5d6b895 05:36:25 Step 25/33 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 05:36:25 ---> 7004442acab7 05:36:25 Step 26/33 : COPY LICENSE / 05:36:26 ---> 3e8097d84b59 05:36:26 Step 27/33 : COPY Attribution.txt / 05:36:26 ---> 201051b3d468 05:36:26 Step 28/33 : COPY res /res 05:36:26 ---> 5b34be1e904e 05:36:26 Step 29/33 : ENTRYPOINT ["/device-coap"] 05:36:27 ---> Running in ff273765fccc 05:36:27 Removing intermediate container ff273765fccc 05:36:27 ---> 0ea9e5314945 05:36:27 Step 30/33 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:36:27 ---> Running in 5413da9034f0 05:36:27 Removing intermediate container 5413da9034f0 05:36:27 ---> 63767ec6faf7 05:36:27 Step 31/33 : LABEL arch=arm64 05:36:27 ---> Running in 58b2bb9b2537 05:36:27 Removing intermediate container 58b2bb9b2537 05:36:27 ---> 23c77e6dd944 05:36:27 Step 32/33 : LABEL git_sha=8a36c516d93552d46d8ba2391c3f855da456abe2 05:36:28 ---> Running in 2057a5c878b4 05:36:28 Removing intermediate container 2057a5c878b4 05:36:28 ---> e27fe5786da6 05:36:28 Step 33/33 : LABEL version=4.0.1 05:36:28 ---> Running in fbd216dcb21e 05:36:28 Removing intermediate container fbd216dcb21e 05:36:28 ---> ac7af6842e18 05:36:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:36:28 Successfully built ac7af6842e18 05:36:28 Successfully tagged device-coap-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:36:28 provisioning config files... 05:36:28 copy managed file [device-coap-c-settings] to file:/w/workspace/device-coap-c/4@tmp/config16841511262646717650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:29 ---> ****-login.sh 05:36:29 nexus3.edgexfoundry.org:10001 05:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:29 Configure a credential helper to remove this warning. See 05:36:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:29 05:36:29 Login Succeeded 05:36:29 nexus3.edgexfoundry.org:10002 05:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:30 Configure a credential helper to remove this warning. See 05:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:30 05:36:30 Login Succeeded 05:36:30 nexus3.edgexfoundry.org:10003 05:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:30 Configure a credential helper to remove this warning. See 05:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:30 05:36:30 Login Succeeded 05:36:30 nexus3.edgexfoundry.org:10004 05:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:30 Configure a credential helper to remove this warning. See 05:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:30 05:36:30 Login Succeeded 05:36:30 ****.io 05:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:31 Configure a credential helper to remove this warning. See 05:36:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:31 05:36:31 Login Succeeded 05:36:31 ---> ****-login.sh ends [Pipeline] } 05:36:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:31 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:36:31 [edgeXDocker.push] Tagging docker image device-coap-arm64 with the following tags: 05:36:31 8a36c516d93552d46d8ba2391c3f855da456abe2 05:36:31 4.0.1 05:36:31 8a36c516d93552d46d8ba2391c3f855da456abe2-4.0.1 05:36:31 odessa 05:36:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:31 + docker tag device-coap-arm64 nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:32 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 05:36:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 05:36:32 344a34171caf: Preparing 05:36:32 67b098dcb869: Preparing 05:36:32 a73a9059985c: Preparing 05:36:32 33f823009d83: Preparing 05:36:32 05f34d45e02c: Preparing 05:36:32 a5172daa6110: Preparing 05:36:32 e6deba82ccc3: Preparing 05:36:32 88a480305bbc: Preparing 05:36:32 48bd4050628f: Preparing 05:36:32 fbf5ce92cf04: Preparing 05:36:32 4bacd6d37c59: Preparing 05:36:32 88c5a35ef1fa: Preparing 05:36:32 04da97331743: Preparing 05:36:32 f5631740653c: Preparing 05:36:32 a5172daa6110: Waiting 05:36:32 e6deba82ccc3: Waiting 05:36:32 056743814280: Preparing 05:36:32 6039e87cd62f: Preparing 05:36:32 88a480305bbc: Waiting 05:36:32 d7122710f6e8: Preparing 05:36:32 3b747e71cc0c: Preparing 05:36:32 48bd4050628f: Waiting 05:36:32 a214f478d1de: Preparing 05:36:32 e163fd7f3d9b: Preparing 05:36:32 b778e880c96d: Preparing 05:36:32 fbf5ce92cf04: Waiting 05:36:32 132c43aae933: Preparing 05:36:32 98edc1ea0e5e: Preparing 05:36:32 4bacd6d37c59: Waiting 05:36:32 7516a9d68dc0: Preparing 05:36:32 fbbef3d89ef9: Preparing 05:36:32 88c5a35ef1fa: Waiting 05:36:32 5f4d9fc4d98d: Preparing 05:36:32 04da97331743: Waiting 05:36:32 b778e880c96d: Waiting 05:36:32 f5631740653c: Waiting 05:36:32 132c43aae933: Waiting 05:36:32 98edc1ea0e5e: Waiting 05:36:32 056743814280: Waiting 05:36:32 7516a9d68dc0: Waiting 05:36:32 6039e87cd62f: Waiting 05:36:32 fbbef3d89ef9: Waiting 05:36:32 5f4d9fc4d98d: Waiting 05:36:32 d7122710f6e8: Waiting 05:36:32 e163fd7f3d9b: Waiting 05:36:32 a214f478d1de: Waiting 05:36:32 3b747e71cc0c: Waiting 05:36:32 67b098dcb869: Pushed 05:36:32 a73a9059985c: Pushed 05:36:32 344a34171caf: Pushed 05:36:32 05f34d45e02c: Pushed 05:36:32 33f823009d83: Pushed 05:36:32 88a480305bbc: Pushed 05:36:32 e6deba82ccc3: Pushed 05:36:32 a5172daa6110: Pushed 05:36:32 fbf5ce92cf04: Pushed 05:36:32 4bacd6d37c59: Pushed 05:36:32 48bd4050628f: Pushed 05:36:33 88c5a35ef1fa: Pushed 05:36:33 04da97331743: Pushed 05:36:33 f5631740653c: Pushed 05:36:33 6039e87cd62f: Pushed 05:36:33 d7122710f6e8: Pushed 05:36:33 a214f478d1de: Pushed 05:36:33 3b747e71cc0c: Pushed 05:36:33 132c43aae933: Pushed 05:36:33 056743814280: Pushed 05:36:33 98edc1ea0e5e: Pushed 05:36:33 7516a9d68dc0: Layer already exists 05:36:33 fbbef3d89ef9: Layer already exists 05:36:33 5f4d9fc4d98d: Layer already exists 05:36:35 b778e880c96d: Pushed 05:36:44 e163fd7f3d9b: Pushed 05:36:44 8a36c516d93552d46d8ba2391c3f855da456abe2: digest: sha256:3408c40f44f7b4cdfbb014ea4cb6af603fabc9e44d950b46c33f73292fc9b459 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:44 + docker tag device-coap-arm64 nexus3.edgexfoundry.org:10004/device-coap-arm64:4.0.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:44 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:4.0.1 05:36:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 05:36:44 344a34171caf: Preparing 05:36:44 67b098dcb869: Preparing 05:36:44 a73a9059985c: Preparing 05:36:44 33f823009d83: Preparing 05:36:44 05f34d45e02c: Preparing 05:36:44 a5172daa6110: Preparing 05:36:44 e6deba82ccc3: Preparing 05:36:44 a5172daa6110: Waiting 05:36:44 88a480305bbc: Preparing 05:36:44 48bd4050628f: Preparing 05:36:44 e6deba82ccc3: Waiting 05:36:44 88a480305bbc: Waiting 05:36:44 fbf5ce92cf04: Preparing 05:36:44 4bacd6d37c59: Preparing 05:36:44 48bd4050628f: Waiting 05:36:44 88c5a35ef1fa: Preparing 05:36:44 04da97331743: Preparing 05:36:44 fbf5ce92cf04: Waiting 05:36:44 f5631740653c: Preparing 05:36:44 056743814280: Preparing 05:36:44 4bacd6d37c59: Waiting 05:36:44 6039e87cd62f: Preparing 05:36:44 d7122710f6e8: Preparing 05:36:44 3b747e71cc0c: Preparing 05:36:44 a214f478d1de: Preparing 05:36:44 e163fd7f3d9b: Preparing 05:36:44 b778e880c96d: Preparing 05:36:44 132c43aae933: Preparing 05:36:44 98edc1ea0e5e: Preparing 05:36:44 7516a9d68dc0: Preparing 05:36:44 fbbef3d89ef9: Preparing 05:36:44 5f4d9fc4d98d: Preparing 05:36:44 f5631740653c: Waiting 05:36:44 056743814280: Waiting 05:36:44 6039e87cd62f: Waiting 05:36:44 d7122710f6e8: Waiting 05:36:44 04da97331743: Waiting 05:36:44 3b747e71cc0c: Waiting 05:36:44 7516a9d68dc0: Waiting 05:36:44 fbbef3d89ef9: Waiting 05:36:44 a214f478d1de: Waiting 05:36:44 5f4d9fc4d98d: Waiting 05:36:44 e163fd7f3d9b: Waiting 05:36:44 132c43aae933: Waiting 05:36:44 b778e880c96d: Waiting 05:36:44 98edc1ea0e5e: Waiting 05:36:44 88c5a35ef1fa: Waiting 05:36:44 a73a9059985c: Layer already exists 05:36:44 67b098dcb869: Layer already exists 05:36:44 05f34d45e02c: Layer already exists 05:36:44 33f823009d83: Layer already exists 05:36:44 344a34171caf: Layer already exists 05:36:44 48bd4050628f: Layer already exists 05:36:44 88a480305bbc: Layer already exists 05:36:44 a5172daa6110: Layer already exists 05:36:44 e6deba82ccc3: Layer already exists 05:36:44 fbf5ce92cf04: Layer already exists 05:36:44 f5631740653c: Layer already exists 05:36:44 4bacd6d37c59: Layer already exists 05:36:44 88c5a35ef1fa: Layer already exists 05:36:44 056743814280: Layer already exists 05:36:44 04da97331743: Layer already exists 05:36:44 3b747e71cc0c: Layer already exists 05:36:44 6039e87cd62f: Layer already exists 05:36:44 a214f478d1de: Layer already exists 05:36:44 d7122710f6e8: Layer already exists 05:36:44 e163fd7f3d9b: Layer already exists 05:36:44 b778e880c96d: Layer already exists 05:36:45 7516a9d68dc0: Layer already exists 05:36:45 98edc1ea0e5e: Layer already exists 05:36:45 132c43aae933: Layer already exists 05:36:45 fbbef3d89ef9: Layer already exists 05:36:45 5f4d9fc4d98d: Layer already exists 05:36:45 4.0.1: digest: sha256:3408c40f44f7b4cdfbb014ea4cb6af603fabc9e44d950b46c33f73292fc9b459 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:45 + docker tag device-coap-arm64 nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2-4.0.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:45 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2-4.0.1 05:36:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 05:36:45 344a34171caf: Preparing 05:36:45 67b098dcb869: Preparing 05:36:45 a73a9059985c: Preparing 05:36:45 33f823009d83: Preparing 05:36:45 05f34d45e02c: Preparing 05:36:45 a5172daa6110: Preparing 05:36:45 e6deba82ccc3: Preparing 05:36:45 88a480305bbc: Preparing 05:36:45 48bd4050628f: Preparing 05:36:45 fbf5ce92cf04: Preparing 05:36:45 4bacd6d37c59: Preparing 05:36:45 88c5a35ef1fa: Preparing 05:36:45 04da97331743: Preparing 05:36:45 f5631740653c: Preparing 05:36:45 056743814280: Preparing 05:36:45 6039e87cd62f: Preparing 05:36:45 d7122710f6e8: Preparing 05:36:45 3b747e71cc0c: Preparing 05:36:45 a214f478d1de: Preparing 05:36:45 e163fd7f3d9b: Preparing 05:36:45 b778e880c96d: Preparing 05:36:45 132c43aae933: Preparing 05:36:45 98edc1ea0e5e: Preparing 05:36:45 7516a9d68dc0: Preparing 05:36:45 fbbef3d89ef9: Preparing 05:36:45 5f4d9fc4d98d: Preparing 05:36:45 056743814280: Waiting 05:36:45 6039e87cd62f: Waiting 05:36:45 d7122710f6e8: Waiting 05:36:45 3b747e71cc0c: Waiting 05:36:45 a214f478d1de: Waiting 05:36:45 e163fd7f3d9b: Waiting 05:36:45 b778e880c96d: Waiting 05:36:45 a5172daa6110: Waiting 05:36:45 132c43aae933: Waiting 05:36:45 98edc1ea0e5e: Waiting 05:36:45 7516a9d68dc0: Waiting 05:36:45 fbbef3d89ef9: Waiting 05:36:45 5f4d9fc4d98d: Waiting 05:36:45 48bd4050628f: Waiting 05:36:45 e6deba82ccc3: Waiting 05:36:45 fbf5ce92cf04: Waiting 05:36:45 88a480305bbc: Waiting 05:36:45 4bacd6d37c59: Waiting 05:36:45 04da97331743: Waiting 05:36:45 88c5a35ef1fa: Waiting 05:36:45 f5631740653c: Waiting 05:36:45 344a34171caf: Layer already exists 05:36:45 05f34d45e02c: Layer already exists 05:36:45 33f823009d83: Layer already exists 05:36:45 a73a9059985c: Layer already exists 05:36:45 67b098dcb869: Layer already exists 05:36:45 88a480305bbc: Layer already exists 05:36:45 48bd4050628f: Layer already exists 05:36:45 a5172daa6110: Layer already exists 05:36:45 fbf5ce92cf04: Layer already exists 05:36:45 e6deba82ccc3: Layer already exists 05:36:45 4bacd6d37c59: Layer already exists 05:36:45 04da97331743: Layer already exists 05:36:45 88c5a35ef1fa: Layer already exists 05:36:45 056743814280: Layer already exists 05:36:45 f5631740653c: Layer already exists 05:36:45 6039e87cd62f: Layer already exists 05:36:45 d7122710f6e8: Layer already exists 05:36:45 3b747e71cc0c: Layer already exists 05:36:45 e163fd7f3d9b: Layer already exists 05:36:45 a214f478d1de: Layer already exists 05:36:45 132c43aae933: Layer already exists 05:36:45 98edc1ea0e5e: Layer already exists 05:36:45 fbbef3d89ef9: Layer already exists 05:36:45 b778e880c96d: Layer already exists 05:36:45 7516a9d68dc0: Layer already exists 05:36:45 5f4d9fc4d98d: Layer already exists 05:36:51 8a36c516d93552d46d8ba2391c3f855da456abe2-4.0.1: digest: sha256:3408c40f44f7b4cdfbb014ea4cb6af603fabc9e44d950b46c33f73292fc9b459 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:51 + docker tag device-coap-arm64 nexus3.edgexfoundry.org:10004/device-coap-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:51 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:odessa 05:36:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 05:36:51 344a34171caf: Preparing 05:36:51 67b098dcb869: Preparing 05:36:51 a73a9059985c: Preparing 05:36:51 33f823009d83: Preparing 05:36:51 05f34d45e02c: Preparing 05:36:51 a5172daa6110: Preparing 05:36:51 e6deba82ccc3: Preparing 05:36:51 88a480305bbc: Preparing 05:36:51 48bd4050628f: Preparing 05:36:51 fbf5ce92cf04: Preparing 05:36:51 4bacd6d37c59: Preparing 05:36:51 88c5a35ef1fa: Preparing 05:36:51 04da97331743: Preparing 05:36:51 f5631740653c: Preparing 05:36:51 056743814280: Preparing 05:36:51 6039e87cd62f: Preparing 05:36:51 d7122710f6e8: Preparing 05:36:51 3b747e71cc0c: Preparing 05:36:51 a214f478d1de: Preparing 05:36:51 e163fd7f3d9b: Preparing 05:36:51 b778e880c96d: Preparing 05:36:51 132c43aae933: Preparing 05:36:51 98edc1ea0e5e: Preparing 05:36:51 7516a9d68dc0: Preparing 05:36:51 fbbef3d89ef9: Preparing 05:36:51 5f4d9fc4d98d: Preparing 05:36:51 a5172daa6110: Waiting 05:36:51 e6deba82ccc3: Waiting 05:36:51 88a480305bbc: Waiting 05:36:51 3b747e71cc0c: Waiting 05:36:51 48bd4050628f: Waiting 05:36:51 a214f478d1de: Waiting 05:36:51 fbf5ce92cf04: Waiting 05:36:51 e163fd7f3d9b: Waiting 05:36:51 4bacd6d37c59: Waiting 05:36:51 b778e880c96d: Waiting 05:36:51 88c5a35ef1fa: Waiting 05:36:51 132c43aae933: Waiting 05:36:51 04da97331743: Waiting 05:36:51 98edc1ea0e5e: Waiting 05:36:51 f5631740653c: Waiting 05:36:51 7516a9d68dc0: Waiting 05:36:51 056743814280: Waiting 05:36:51 fbbef3d89ef9: Waiting 05:36:51 6039e87cd62f: Waiting 05:36:51 5f4d9fc4d98d: Waiting 05:36:51 d7122710f6e8: Waiting 05:36:51 a73a9059985c: Layer already exists 05:36:51 05f34d45e02c: Layer already exists 05:36:51 33f823009d83: Layer already exists 05:36:51 67b098dcb869: Layer already exists 05:36:51 344a34171caf: Layer already exists 05:36:51 e6deba82ccc3: Layer already exists 05:36:51 88a480305bbc: Layer already exists 05:36:51 a5172daa6110: Layer already exists 05:36:51 48bd4050628f: Layer already exists 05:36:51 fbf5ce92cf04: Layer already exists 05:36:51 88c5a35ef1fa: Layer already exists 05:36:51 04da97331743: Layer already exists 05:36:51 4bacd6d37c59: Layer already exists 05:36:51 f5631740653c: Layer already exists 05:36:51 056743814280: Layer already exists 05:36:51 d7122710f6e8: Layer already exists 05:36:51 e163fd7f3d9b: Layer already exists 05:36:51 3b747e71cc0c: Layer already exists 05:36:51 a214f478d1de: Layer already exists 05:36:51 6039e87cd62f: Layer already exists 05:36:52 132c43aae933: Layer already exists 05:36:52 b778e880c96d: Layer already exists 05:36:52 98edc1ea0e5e: Layer already exists 05:36:52 7516a9d68dc0: Layer already exists 05:36:52 fbbef3d89ef9: Layer already exists 05:36:52 5f4d9fc4d98d: Layer already exists 05:36:52 odessa: digest: sha256:3408c40f44f7b4cdfbb014ea4cb6af603fabc9e44d950b46c33f73292fc9b459 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:36:52 ===================================================== [Pipeline] echo 05:36:52 taggedImages: 05:36:52 - nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 05:36:52 - nexus3.edgexfoundry.org:10004/device-coap-arm64:4.0.1 05:36:52 - nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2-4.0.1 05:36:52 - nexus3.edgexfoundry.org:10004/device-coap-arm64:odessa [Pipeline] echo 05:36:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2 [Pipeline] echo 05:36:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-coap-arm64:4.0.1 [Pipeline] echo 05:36:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-coap-arm64:8a36c516d93552d46d8ba2391c3f855da456abe2-4.0.1 [Pipeline] echo 05:36:52 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-coap-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:52 05:36:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:52 arm64: Pulling from edgex-lftools-log-publisher 05:36:52 8998bd30e6a1: Pulling fs layer 05:36:52 04944245beec: Pulling fs layer 05:36:52 699f458cf7ca: Pulling fs layer 05:36:52 765212b225bb: Pulling fs layer 05:36:52 f23df028b6ca: Pulling fs layer 05:36:52 d65c8cfc05b1: Pulling fs layer 05:36:52 2437ff75d9bd: Pulling fs layer 05:36:52 f23df028b6ca: Waiting 05:36:52 d65c8cfc05b1: Waiting 05:36:52 2437ff75d9bd: Waiting 05:36:52 765212b225bb: Waiting 05:36:53 04944245beec: Verifying Checksum 05:36:53 04944245beec: Download complete 05:36:53 765212b225bb: Verifying Checksum 05:36:53 765212b225bb: Download complete 05:36:53 f23df028b6ca: Verifying Checksum 05:36:53 f23df028b6ca: Download complete 05:36:53 d65c8cfc05b1: Verifying Checksum 05:36:53 d65c8cfc05b1: Download complete 05:36:53 699f458cf7ca: Verifying Checksum 05:36:53 699f458cf7ca: Download complete 05:36:53 8998bd30e6a1: Download complete 05:36:56 2437ff75d9bd: Verifying Checksum 05:36:56 2437ff75d9bd: Download complete 05:36:58 8998bd30e6a1: Pull complete 05:36:58 04944245beec: Pull complete 05:37:00 699f458cf7ca: Pull complete 05:37:00 765212b225bb: Pull complete 05:37:01 f23df028b6ca: Pull complete 05:37:01 d65c8cfc05b1: Pull complete 05:37:19 2437ff75d9bd: Pull complete 05:37:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:37:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:19 prd-ubuntu20.04-docker-arm64-4c-16g-773901 does not seem to be running inside a container 05:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-coap-c/4 -v /w/workspace/device-coap-c/4:/w/workspace/device-coap-c/4:rw,z -v /w/workspace/device-coap-c/4@tmp:/w/workspace/device-coap-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:37:21 $ docker top 6b71005e04b6758de2b690333f8c0b801d4cf76da9466c4db712c9fa5d5cfe1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:37:22 ---> job-cost.sh 05:37:22 lf-activate-venv: SKIPPING 05:37:22 INFO: No Stack... 05:37:23 INFO: Retrieving Pricing Info for: v3-standard-4 05:37:23 INFO: Archiving Costs [Pipeline] sh 05:37:24 + cut -d, -f6 05:37:24 + cat /w/workspace/device-coap-c/4/archives/cost.csv [Pipeline] lock 05:37:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] 05:37:24 Resource [jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] did not exist. Created. 05:37:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:37:25 /w/workspace/device-coap-c/4@tmp/durable-632ce11c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:37:25 + echo total: 0.10999999940395355 [Pipeline] stash 05:37:25 Warning: overwriting stash ‘stack-cost’ 05:37:26 Stashed 1 file(s) [Pipeline] } 05:37:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:37:26 $ docker stop --time=1 6b71005e04b6758de2b690333f8c0b801d4cf76da9466c4db712c9fa5d5cfe1b 05:37:27 $ docker rm -f --volumes 6b71005e04b6758de2b690333f8c0b801d4cf76da9466c4db712c9fa5d5cfe1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:37:28 + [ -d /w/workspace/dgexfoundry_device-coap-c_odessa/archives ] 05:37:28 + ls -al /w/workspace/dgexfoundry_device-coap-c_odessa/archives 05:37:28 total 16 05:37:28 drwxr-xr-x 3 root root 4096 Nov 27 05:31 . 05:37:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 27 05:31 .. 05:37:28 drwxr-xr-x 2 root root 4096 Nov 27 05:31 cost 05:37:28 -rw-r--r-- 1 root root 85 Nov 27 05:31 cost.csv 05:37:28 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-coap-c_odessa/archives 05:37:28 + ls -al /w/workspace/dgexfoundry_device-coap-c_odessa/archives 05:37:28 total 16 05:37:28 drwxr-xr-x 3 jenkins jenkins 4096 Nov 27 05:31 . 05:37:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 27 05:31 .. 05:37:28 drwxr-xr-x 2 jenkins jenkins 4096 Nov 27 05:31 cost 05:37:28 -rw-r--r-- 1 jenkins jenkins 85 Nov 27 05:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:37:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:37:29 ---> package-listing.sh 05:37:29 ++ facter osfamily 05:37:29 ++ tr '[:upper:]' '[:lower:]' 05:37:30 + OS_FAMILY=debian 05:37:30 + workspace=/w/workspace/dgexfoundry_device-coap-c_odessa 05:37:30 + START_PACKAGES=/tmp/packages_start.txt 05:37:30 + END_PACKAGES=/tmp/packages_end.txt 05:37:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:37:30 + PACKAGES=/tmp/packages_start.txt 05:37:30 + '[' /w/workspace/dgexfoundry_device-coap-c_odessa ']' 05:37:30 + PACKAGES=/tmp/packages_end.txt 05:37:30 + case "${OS_FAMILY}" in 05:37:30 + dpkg -l 05:37:30 + grep '^ii' 05:37:30 + '[' -f /tmp/packages_start.txt ']' 05:37:30 + '[' -f /tmp/packages_end.txt ']' 05:37:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:37:30 + '[' /w/workspace/dgexfoundry_device-coap-c_odessa ']' 05:37:30 + mkdir -p /w/workspace/dgexfoundry_device-coap-c_odessa/archives/ 05:37:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-coap-c_odessa/archives/ [Pipeline] echo 05:37:30 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 05:37:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:37:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:31 prd-ubuntu20.04-docker-8c-8g-773900 does not seem to be running inside a container 05:37:31 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:37:31 $ docker top 87793a2b09264a0b9bc6057b4e6d6a744f6d430240bcc86966cef33624f8ae70 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:31 + touch /tmp/pre-build-complete [Pipeline] sh 05:37:31 + mkdir -p /var/log/sysstat [Pipeline] sh 05:37:32 + ls /var/log/sa-host 05:37:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:37:32 provisioning config files... 05:37:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config700040577676279432tmp [Pipeline] { [Pipeline] echo 05:37:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:37:32 ---> create-netrc.sh [Pipeline] } 05:37:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:37:33 ---> python-tools-install.sh [Pipeline] echo 05:37:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:37:33 ---> sudo-logs.sh 05:37:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:37:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:37:33 ---> job-cost.sh 05:37:33 lf-activate-venv: SKIPPING 05:37:33 DEBUG: total: 0.2199999988079071 05:37:33 INFO: Retrieving Stack Cost... 05:37:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:37:34 INFO: Archiving Costs [Pipeline] echo 05:37:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:37:34 ---> logs-deploy.sh 05:37:34 lf-activate-venv: SKIPPING 05:37:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/odessa/4 05:37:34 INFO: archiving workspace using pattern(s): 05:37:35 Archives upload complete. 05:37:35 INFO: archiving logs to Nexus