Started by upstream project "edgexfoundry/cd-management/release-lts" build number 125 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 96492ab27443f1c63cb239c17d4c910313ac6133 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-ssh15879119007064161164.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-ssh13671079911303406592.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-ssh9770101150660714378.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-ssh15886002893395606125.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-ssh9595905685615483336.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 ‘prd-ubuntu20.04-docker-8c-8g-774258’ is offline Running on prd-ubuntu20.04-docker-8c-8g-774261 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 Avoid second fetch Checking out Revision 96492ab27443f1c63cb239c17d4c910313ac6133 (odessa) Commit message: "ci(lts-release): LTS release v4.0.1 @47967fd" > git config remote.origin.url git@github.com:edgexfoundry/device-coap-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96492ab27443f1c63cb239c17d4c910313ac6133 # timeout=10 > git rev-list --no-walk 96492ab27443f1c63cb239c17d4c910313ac6133 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:51:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:51:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:51:48 ========================================================= 06:51:48 EdgeX Global Pipelines Version Info 06:51:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:51:49 ------------------- 06:51:49 stable info: 06:51:49 ------------------- 06:51:49 Commited By: Cherry Wang cherry@iotechsys.com 06:51:49 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 06:51:49 Message: update stable to v1.0.278 06:51:50 ------------------- 06:51:50 experimental info: 06:51:50 ------------------- 06:51:50 Commited By: **** collab-it+edgex@linuxfoundation.org 06:51:50 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 06:51:50 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:51:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:51:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 06:51:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 06:51:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 06:51:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] echo 06:51:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96492ab [Pipeline] echo 06:51:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:51:51 provisioning config files... 06:51:51 copy managed file [device-coap-c-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config11521293135014173110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:51 ---> ****-login.sh 06:51:51 nexus3.edgexfoundry.org:10001 06:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:51 06:51:51 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:51:51 Configure a credential helper to remove this warning. See 06:51:51 https://docs.****.com/go/credential-store/ 06:51:51 06:51:51 Login Succeeded 06:51:51 nexus3.edgexfoundry.org:10002 06:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:52 06:51:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:51:52 Configure a credential helper to remove this warning. See 06:51:52 https://docs.****.com/go/credential-store/ 06:51:52 06:51:52 Login Succeeded 06:51:52 nexus3.edgexfoundry.org:10003 06:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:52 06:51:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:51:52 Configure a credential helper to remove this warning. See 06:51:52 https://docs.****.com/go/credential-store/ 06:51:52 06:51:52 Login Succeeded 06:51:52 nexus3.edgexfoundry.org:10004 06:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:52 06:51:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:51:52 Configure a credential helper to remove this warning. See 06:51:52 https://docs.****.com/go/credential-store/ 06:51:52 06:51:52 Login Succeeded 06:51:52 ****.io 06:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:52 06:51:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:51:52 Configure a credential helper to remove this warning. See 06:51:52 https://docs.****.com/go/credential-store/ 06:51:52 06:51:52 Login Succeeded 06:51:52 ---> ****-login.sh ends [Pipeline] } 06:51:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 06:51:52 + git rev-list -1 --merges 96492ab27443f1c63cb239c17d4c910313ac6133~1..96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] echo 06:51:52 -----------> git rev-list -1 --merges 96492ab27443f1c63cb239c17d4c910313ac6133~1..96492ab27443f1c63cb239c17d4c910313ac6133 96492ab27443f1c63cb239c17d4c910313ac6133 [false] [Pipeline] sh 06:51:53 + git log --format=format:%s -1 96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] echo 06:51:53 ========================================================= 06:51:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 06:51:53 ========================================================= 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 06:51:53 + git rev-list -1 --merges 96492ab27443f1c63cb239c17d4c910313ac6133~1..96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] echo 06:51:53 -----------> git rev-list -1 --merges 96492ab27443f1c63cb239c17d4c910313ac6133~1..96492ab27443f1c63cb239c17d4c910313ac6133 96492ab27443f1c63cb239c17d4c910313ac6133 [false] [Pipeline] sh 06:51:53 + git log --format=format:%s -1 96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] echo 06:51:53 ========================================================= 06:51:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 06:51:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 06:51:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:51:54 + grep -v github /etc/ssh/ssh_known_hosts 06:51:54 + [ -e /tmp/ssh_known_hosts ] 06:51:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:51:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:51:54 + sudo tee -a /etc/ssh/ssh_known_hosts 06:51:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:51:54 06:51:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:51:54 0.1.4: Pulling from edgex-devops/py-git-semver 06:51:54 3dae71ba6b94: Pulling fs layer 06:51:54 6bf1a483ea7c: Pulling fs layer 06:51:54 f5dfc541a4d3: Pulling fs layer 06:51:54 461d9e800cba: Pulling fs layer 06:51:54 80192f66455f: Pulling fs layer 06:51:54 2e8e34ca0e6c: Pulling fs layer 06:51:54 a29436f7fd5d: Pulling fs layer 06:51:54 923cac83aea3: Pulling fs layer 06:51:54 25ad8b0a4227: Pulling fs layer 06:51:54 db01528c6b51: Pulling fs layer 06:51:54 28988de357af: Pulling fs layer 06:51:54 db01528c6b51: Waiting 06:51:54 28988de357af: Waiting 06:51:54 a29436f7fd5d: Waiting 06:51:54 923cac83aea3: Waiting 06:51:54 25ad8b0a4227: Waiting 06:51:54 461d9e800cba: Waiting 06:51:54 80192f66455f: Waiting 06:51:54 2e8e34ca0e6c: Waiting 06:51:54 6bf1a483ea7c: Verifying Checksum 06:51:54 6bf1a483ea7c: Download complete 06:51:54 461d9e800cba: Download complete 06:51:54 80192f66455f: Verifying Checksum 06:51:54 80192f66455f: Download complete 06:51:55 f5dfc541a4d3: Verifying Checksum 06:51:55 f5dfc541a4d3: Download complete 06:51:55 3dae71ba6b94: Verifying Checksum 06:51:55 3dae71ba6b94: Download complete 06:51:55 923cac83aea3: Download complete 06:51:55 25ad8b0a4227: Verifying Checksum 06:51:55 25ad8b0a4227: Download complete 06:51:55 db01528c6b51: Verifying Checksum 06:51:55 db01528c6b51: Download complete 06:51:55 28988de357af: Verifying Checksum 06:51:55 28988de357af: Download complete 06:51:55 a29436f7fd5d: Verifying Checksum 06:51:55 a29436f7fd5d: Download complete 06:51:56 2e8e34ca0e6c: Verifying Checksum 06:51:56 2e8e34ca0e6c: Download complete 06:51:56 3dae71ba6b94: Pull complete 06:51:56 6bf1a483ea7c: Pull complete 06:51:57 f5dfc541a4d3: Pull complete 06:51:57 461d9e800cba: Pull complete 06:51:57 80192f66455f: Pull complete 06:52:02 2e8e34ca0e6c: Pull complete 06:52:02 a29436f7fd5d: Pull complete 06:52:02 923cac83aea3: Pull complete 06:52:02 25ad8b0a4227: Pull complete 06:52:02 db01528c6b51: Pull complete 06:52:02 28988de357af: Pull complete 06:52:03 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 06:52:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:52:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:03 prd-ubuntu20.04-docker-8c-8g-774261 does not seem to be running inside a container 06:52:03 $ 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 06:52:07 $ docker top 6b4eafcce5f061de18091540bced5f57c973c601bcd7014345718b3013a107ea -eo pid,comm 06:52:07 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). 06:52:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:52:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:07 [ssh-agent] Looking for ssh-agent implementation... 06:52:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:07 $ docker exec 6b4eafcce5f061de18091540bced5f57c973c601bcd7014345718b3013a107ea ssh-agent 06:52:07 SSH_AUTH_SOCK=/tmp/ssh-TMqQHKA2N8wy/agent.32 06:52:07 SSH_AGENT_PID=38 06:52:07 Running ssh-add (command line suppressed) 06:52:07 Identity added: /w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_3371570879584347405.key (/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_3371570879584347405.key) 06:52:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:07 + git config --global --add safe.directory /w/workspace/dgexfoundry_device-coap-c_odessa [Pipeline] sh 06:52:08 + git tag --points-at 96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] } 06:52:08 $ docker exec --env ******** --env ******** 6b4eafcce5f061de18091540bced5f57c973c601bcd7014345718b3013a107ea ssh-agent -k 06:52:08 unset SSH_AUTH_SOCK; 06:52:08 unset SSH_AGENT_PID; 06:52:08 echo Agent pid 38 killed; 06:52:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:52:08 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.1' [Pipeline] sshagent 06:52:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:08 [ssh-agent] Looking for ssh-agent implementation... 06:52:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:08 $ docker exec 6b4eafcce5f061de18091540bced5f57c973c601bcd7014345718b3013a107ea ssh-agent 06:52:08 SSH_AUTH_SOCK=/tmp/ssh-DkCFEMrK5nsS/agent.85 06:52:08 SSH_AGENT_PID=91 06:52:08 Running ssh-add (command line suppressed) 06:52:08 Identity added: /w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_4977884207658844321.key (/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/private_key_4977884207658844321.key) 06:52:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:08 + git semver init 06:52:09 2025-12-01 06:52:09,134 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 06:52:09 2025-12-01 06:52:09,138 [run_init] DEBUG init version:0.0.0 force:False 06:52:09 2025-12-01 06:52:09,139 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-coap-c_odessa/.semver 06:52:09 2025-12-01 06:52:09,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-coap-c.git /w/workspace/dgexfoundry_device-coap-c_odessa/.semver 06:52:09 2025-12-01 06:52:09,140 [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) 06:52:10 2025-12-01 06:52:09,831 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-coap-c_odessa/.git/info/exclude 06:52:10 2025-12-01 06:52:09,831 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-coap-c_odessa/.semver/odessa with force:False 06:52:10 2025-12-01 06:52:09,832 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-coap-c_odessa/.semver/odessa 06:52:10 2025-12-01 06:52:09,832 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-coap-c_odessa/.semver/odessa 06:52:10 4.0.1 [Pipeline] } 06:52:10 $ docker exec --env ******** --env ******** 6b4eafcce5f061de18091540bced5f57c973c601bcd7014345718b3013a107ea ssh-agent -k 06:52:10 unset SSH_AUTH_SOCK; 06:52:10 unset SSH_AGENT_PID; 06:52:10 echo Agent pid 91 killed; 06:52:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:10 + git semver [Pipeline] } 06:52:11 $ docker stop --time=1 6b4eafcce5f061de18091540bced5f57c973c601bcd7014345718b3013a107ea 06:52:12 $ docker rm -f --volumes 6b4eafcce5f061de18091540bced5f57c973c601bcd7014345718b3013a107ea [Pipeline] // withDockerContainer [Pipeline] sh 06:52:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:52:13 Stashed 1 file(s) [Pipeline] echo 06:52:13 [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 06:52:13 + git checkout 96492ab27443f1c63cb239c17d4c910313ac6133 06:52:13 HEAD is now at 96492ab ci(lts-release): LTS release v4.0.1 @47967fd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:52:13 provisioning config files... 06:52:13 copy managed file [device-coap-c-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config14351350161957365252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:13 ---> ****-login.sh 06:52:13 nexus3.edgexfoundry.org:10001 06:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:13 Login Succeeded 06:52:13 nexus3.edgexfoundry.org:10002 06:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:13 Login Succeeded 06:52:13 nexus3.edgexfoundry.org:10003 06:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:14 Login Succeeded 06:52:14 nexus3.edgexfoundry.org:10004 06:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:14 Login Succeeded 06:52:14 ****.io 06:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:14 Login Succeeded 06:52:14 ---> ****-login.sh ends [Pipeline] } 06:52:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:52:14 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 06:52:14 + git log --pretty=%H %s 06:52:14 + grep ci(lts-release) 06:52:14 + head -n 1 06:52:14 + awk {print $1} [Pipeline] echo 06:52:14 [prepBaseBuildImage] Re-Tagging exiting image: nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] sh 06:52:15 + docker pull nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:96492ab27443f1c63cb239c17d4c910313ac6133 06:52:15 96492ab27443f1c63cb239c17d4c910313ac6133: Pulling from device-coap-c-builder-x86_64 06:52:15 96526aa774ef: Pulling fs layer 06:52:15 4f9bc52d1dc7: Pulling fs layer 06:52:15 585e8d389ef7: Pulling fs layer 06:52:15 1d1ad5ac0d17: Pulling fs layer 06:52:15 7bacad38d373: Pulling fs layer 06:52:15 b15755614286: Pulling fs layer 06:52:15 00975f75ac68: Pulling fs layer 06:52:15 2c34ffc0e1b1: Pulling fs layer 06:52:15 50b0151e2309: Pulling fs layer 06:52:15 9721ff8d4a2f: Pulling fs layer 06:52:15 53a48e882fec: Pulling fs layer 06:52:15 4f4fb700ef54: Pulling fs layer 06:52:15 1d1ad5ac0d17: Waiting 06:52:15 d0369da31265: Pulling fs layer 06:52:15 ab76e0843521: Pulling fs layer 06:52:15 b15755614286: Waiting 06:52:15 7bacad38d373: Waiting 06:52:15 00975f75ac68: Waiting 06:52:15 2c34ffc0e1b1: Waiting 06:52:15 53a48e882fec: Waiting 06:52:15 50b0151e2309: Waiting 06:52:15 4f4fb700ef54: Waiting 06:52:15 9721ff8d4a2f: Waiting 06:52:15 d0369da31265: Waiting 06:52:15 ab76e0843521: Waiting 06:52:15 4f9bc52d1dc7: Verifying Checksum 06:52:15 4f9bc52d1dc7: Download complete 06:52:15 1d1ad5ac0d17: Verifying Checksum 06:52:15 1d1ad5ac0d17: Download complete 06:52:15 7bacad38d373: Download complete 06:52:15 96526aa774ef: Download complete 06:52:15 b15755614286: Download complete 06:52:15 2c34ffc0e1b1: Download complete 06:52:15 50b0151e2309: Verifying Checksum 06:52:15 50b0151e2309: Download complete 06:52:15 9721ff8d4a2f: Verifying Checksum 06:52:15 9721ff8d4a2f: Download complete 06:52:15 53a48e882fec: Verifying Checksum 06:52:15 53a48e882fec: Download complete 06:52:15 4f4fb700ef54: Verifying Checksum 06:52:15 4f4fb700ef54: Download complete 06:52:15 d0369da31265: Verifying Checksum 06:52:15 d0369da31265: Download complete 06:52:15 ab76e0843521: Verifying Checksum 06:52:15 ab76e0843521: Download complete 06:52:15 96526aa774ef: Pull complete 06:52:15 4f9bc52d1dc7: Pull complete 06:52:15 00975f75ac68: Verifying Checksum 06:52:15 00975f75ac68: Download complete 06:52:16 585e8d389ef7: Verifying Checksum 06:52:16 585e8d389ef7: Download complete 06:52:20 585e8d389ef7: Pull complete 06:52:20 1d1ad5ac0d17: Pull complete 06:52:20 7bacad38d373: Pull complete 06:52:20 b15755614286: Pull complete 06:52:20 00975f75ac68: Pull complete 06:52:20 2c34ffc0e1b1: Pull complete 06:52:20 50b0151e2309: Pull complete 06:52:20 9721ff8d4a2f: Pull complete 06:52:21 53a48e882fec: Pull complete 06:52:21 4f4fb700ef54: Pull complete 06:52:21 d0369da31265: Pull complete 06:52:21 ab76e0843521: Pull complete 06:52:21 Digest: sha256:cf2a551fc607395a6707d3dafc805e68e6b7d7c128016d0aa70e3d1afd5ed573 06:52:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:96492ab27443f1c63cb239c17d4c910313ac6133 06:52:21 nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] sh 06:52:21 + docker tag nexus3.edgexfoundry.org:10002/device-coap-c-builder-x86_64:96492ab27443f1c63cb239c17d4c910313ac6133 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 06:52:21 + docker inspect -f . ci-base-image-x86_64 06:52:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:22 prd-ubuntu20.04-docker-8c-8g-774261 does not seem to be running inside a container 06:52:22 $ 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 06:52:23 $ docker top 88edc49bad4c1774d87d1b2a9e7b1349a4fa6dec9682f36950ced08ea375bbf8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:24 + make test 06:52:24 build/release/device-coap [Pipeline] } 06:52:24 $ docker stop --time=1 88edc49bad4c1774d87d1b2a9e7b1349a4fa6dec9682f36950ced08ea375bbf8 06:52:25 $ docker rm -f --volumes 88edc49bad4c1774d87d1b2a9e7b1349a4fa6dec9682f36950ced08ea375bbf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:52:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:52:26 + ls -al . 06:52:26 total 96 06:52:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 06:52 . 06:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 06:51 .. 06:52:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 06:52 .git 06:52:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 06:51 .github 06:52:26 -rw-rw-r-- 1 jenkins jenkins 14 Dec 1 06:51 .gitignore 06:52:26 drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 06:52 .semver 06:52:26 -rw-rw-r-- 1 jenkins jenkins 2037 Dec 1 06:51 Attribution.txt 06:52:26 -rw-rw-r-- 1 jenkins jenkins 3893 Dec 1 06:51 CHANGELOG.md 06:52:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 06:51 GOVERNANCE.md 06:52:26 -rw-rw-r-- 1 jenkins jenkins 798 Dec 1 06:51 Jenkinsfile 06:52:26 -rw-rw-r-- 1 jenkins jenkins 10173 Dec 1 06:51 LICENSE 06:52:26 -rw-rw-r-- 1 jenkins jenkins 938 Dec 1 06:51 Makefile 06:52:26 -rw-rw-r-- 1 jenkins jenkins 619 Dec 1 06:51 OWNERS.md 06:52:26 -rw-rw-r-- 1 jenkins jenkins 12454 Dec 1 06:51 README.md 06:52:26 -rw-rw-r-- 1 jenkins jenkins 506 Dec 1 06:51 ROADMAP.md 06:52:26 -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 06:52 VERSION 06:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 06:51 res 06:52:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 06:51 scripts 06:52:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 06:51 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:26 + 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=96492ab27443f1c63cb239c17d4c910313ac6133 --label arch=amd64 --label version=4.0.1 . 06:52:27 #0 building with "default" instance using docker driver 06:52:27 06:52:27 #1 [internal] load build definition from Dockerfile.alpine 06:52:27 #1 transferring dockerfile: 2.13kB done 06:52:27 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10) 06:52:27 #1 DONE 0.0s 06:52:27 06:52:27 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 06:52:27 #2 DONE 0.0s 06:52:27 06:52:27 #3 [internal] load .dockerignore 06:52:27 #3 transferring context: 2B done 06:52:27 #3 DONE 0.0s 06:52:27 06:52:27 #4 [internal] load build context 06:52:27 #4 transferring context: 83.74kB 0.0s done 06:52:27 #4 DONE 0.1s 06:52:27 06:52:27 #5 [builder 1/11] FROM docker.io/library/ci-base-image-x86_64:latest 06:52:27 #5 DONE 0.2s 06:52:27 06:52:27 #6 [builder 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 06:52:27 #6 0.290 Connecting to iotech.jfrog.io (34.247.22.236:443) 06:52:28 Still waiting to schedule task 06:52:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:52:28 #6 0.711 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:52:28 #6 0.711 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:52:28 #6 0.711 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:52:28 #6 DONE 0.8s 06:52:28 06:52:28 #7 [builder 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 06:52:28 #7 DONE 0.3s 06:52:28 06:52:28 #8 [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 06:52:28 #8 0.248 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:52:29 #8 0.509 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:52:29 #8 ... 06:52:29 06:52:29 #9 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 06:52:29 #9 0.281 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:52:29 #9 0.701 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:52:29 #9 1.065 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 06:52:29 #9 1.648 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:52:29 #9 1.656 OK: 337 MiB in 103 packages 06:52:29 #9 DONE 1.7s 06:52:29 06:52:29 #10 [stage-1 3/15] RUN apk --no-cache upgrade 06:52:29 #10 0.234 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:52:29 #10 0.515 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:52:30 #10 ... 06:52:30 06:52:30 #8 [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 06:52:30 #8 0.855 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 06:52:30 #8 1.438 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:52:30 #8 1.446 OK: 337 MiB in 103 packages 06:52:30 #8 DONE 1.5s 06:52:30 06:52:30 #11 [builder 5/11] COPY scripts /device-coap/scripts 06:52:30 #11 DONE 0.0s 06:52:30 06:52:30 #10 [stage-1 3/15] RUN apk --no-cache upgrade 06:52:30 #10 0.861 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 06:52:30 #10 ... 06:52:30 06:52:30 #12 [builder 6/11] COPY src /device-coap/src/ 06:52:30 #12 DONE 0.0s 06:52:30 06:52:30 #13 [builder 7/11] COPY VERSION /device-coap 06:52:30 #13 DONE 0.0s 06:52:30 06:52:30 #14 [builder 8/11] RUN mkdir -p /device-coap/build 06:52:30 #14 DONE 0.3s 06:52:30 06:52:30 #10 [stage-1 3/15] RUN apk --no-cache upgrade 06:52:30 #10 ... 06:52:30 06:52:30 #15 [builder 9/11] WORKDIR /device-coap 06:52:30 #15 DONE 0.0s 06:52:30 06:52:30 #10 [stage-1 3/15] RUN apk --no-cache upgrade 06:52:30 #10 1.447 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:52:30 #10 1.460 OK: 337 MiB in 103 packages 06:52:30 #10 DONE 1.6s 06:52:30 06:52:30 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 06:52:30 #16 0.273 + BUILD_CSDK=1 06:52:30 #16 0.273 + TINYDTLS_VERSION=b0e230d 06:52:30 #16 0.273 + LIBCOAP_VERSION=1739507 06:52:30 #16 0.273 + CSDK_VERSION=4.0.0 06:52:30 #16 0.273 + '[' -d deps ] 06:52:30 #16 0.273 + mkdir deps 06:52:30 #16 0.274 + cd /device-coap/deps 06:52:30 #16 0.274 + git clone https://github.com/eclipse/tinydtls.git 06:52:30 #16 0.276 Cloning into 'tinydtls'... 06:52:31 #16 0.835 + cd tinydtls 06:52:31 #16 0.835 + git checkout develop 06:52:31 #16 0.852 branch 'develop' set up to track 'origin/develop'. 06:52:31 #16 0.852 Switched to a new branch 'develop' 06:52:31 #16 0.852 + git reset --hard b0e230d 06:52:31 #16 0.875 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 06:52:31 #16 0.876 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 06:52:31 #16 0.877 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 06:52:31 #16 0.878 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 06:52:31 #16 0.878 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 06:52:31 #16 0.879 + mkdir -p build 06:52:31 #16 0.880 + cd build 06:52:31 #16 0.880 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 06:52:31 #16 0.949 -- The C compiler identification is GNU 12.2.1 06:52:31 #16 ... 06:52:31 06:52:31 #17 [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 06:52:31 #17 0.226 Connecting to iotech.jfrog.io (34.246.139.145:443) 06:52:31 #17 0.661 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:52:31 #17 0.661 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:52:31 #17 0.661 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:52:31 #17 DONE 0.7s 06:52:31 06:52:31 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 06:52:31 #16 0.966 -- Detecting C compiler ABI info 06:52:31 #16 1.065 -- Detecting C compiler ABI info - done 06:52:31 #16 1.092 -- Check for working C compiler: /usr/bin/cc - skipped 06:52:31 #16 1.092 -- Detecting C compile features 06:52:31 #16 1.092 -- Detecting C compile features - done 06:52:31 #16 1.093 -- Looking for assert.h 06:52:31 #16 1.186 -- Looking for assert.h - found 06:52:31 #16 1.186 -- Looking for arpa/inet.h 06:52:31 #16 1.276 -- Looking for arpa/inet.h - found 06:52:31 #16 1.276 -- Looking for fcntl.h 06:52:31 #16 1.364 -- Looking for fcntl.h - found 06:52:31 #16 ... 06:52:31 06:52:31 #18 [stage-1 5/15] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 06:52:31 #18 DONE 0.3s 06:52:31 06:52:31 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 06:52:31 #16 1.364 -- Looking for inttypes.h 06:52:31 #16 1.468 -- Looking for inttypes.h - found 06:52:32 #16 1.469 -- Looking for memory.h 06:52:32 #16 1.554 -- Looking for memory.h - found 06:52:32 #16 1.554 -- Looking for netdb.h 06:52:32 #16 1.646 -- Looking for netdb.h - found 06:52:32 #16 1.646 -- Looking for netinet/in.h 06:52:32 #16 1.741 -- Looking for netinet/in.h - found 06:52:32 #16 1.741 -- Looking for stddef.h 06:52:32 #16 1.830 -- Looking for stddef.h - found 06:52:32 #16 1.830 -- Looking for stdint.h 06:52:32 #16 1.913 -- Looking for stdint.h - found 06:52:32 #16 1.913 -- Looking for stdlib.h 06:52:32 #16 2.001 -- Looking for stdlib.h - found 06:52:32 #16 2.001 -- Looking for string.h 06:52:32 #16 2.083 -- Looking for string.h - found 06:52:32 #16 2.083 -- Looking for strings.h 06:52:32 #16 2.163 -- Looking for strings.h - found 06:52:32 #16 2.163 -- Looking for time.h 06:52:32 #16 2.247 -- Looking for time.h - found 06:52:32 #16 2.248 -- Looking for sys/param.h 06:52:32 #16 2.331 -- Looking for sys/param.h - found 06:52:32 #16 2.331 -- Looking for sys/socket.h 06:52:32 #16 2.408 -- Looking for sys/socket.h - found 06:52:33 #16 2.408 -- Looking for sys/stat.h 06:52:33 #16 2.502 -- Looking for sys/stat.h - found 06:52:33 #16 2.503 -- Looking for sys/types.h 06:52:33 #16 2.596 -- Looking for sys/types.h - found 06:52:33 #16 2.596 -- Looking for sys/time.h 06:52:33 #16 2.684 -- Looking for sys/time.h - found 06:52:33 #16 2.684 -- Looking for unistd.h 06:52:33 #16 2.778 -- Looking for unistd.h - found 06:52:33 #16 2.778 -- Looking for float.h 06:52:33 #16 2.866 -- Looking for float.h - found 06:52:33 #16 2.866 -- Looking for dlfcn.h 06:52:33 #16 2.946 -- Looking for dlfcn.h - found 06:52:33 #16 2.946 -- Looking for memset 06:52:33 #16 3.033 -- Looking for memset - found 06:52:33 #16 3.033 -- Looking for select 06:52:33 #16 3.123 -- Looking for select - found 06:52:33 #16 3.123 -- Looking for socket 06:52:33 #16 ... 06:52:33 06:52:33 #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 06:52:33 #19 0.273 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:52:33 #19 0.553 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:52:33 #19 0.900 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 06:52:33 #19 1.500 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:52:33 #19 1.522 (1/1) Installing curl (8.12.1-r0) 06:52:33 #19 1.764 Executing busybox-1.36.1-r7.trigger 06:52:33 #19 1.776 OK: 337 MiB in 104 packages 06:52:33 #19 DONE 1.9s 06:52:33 06:52:33 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 06:52:33 #16 3.222 -- Looking for socket - found 06:52:33 #16 3.222 -- Looking for strdup 06:52:33 #16 3.318 -- Looking for strdup - found 06:52:33 #16 3.318 -- Looking for strerror 06:52:33 #16 3.403 -- Looking for strerror - found 06:52:33 #16 3.403 -- Looking for strnlen 06:52:33 #16 3.495 -- Looking for strnlen - found 06:52:34 #16 3.495 -- Looking for fls 06:52:34 #16 3.584 -- Looking for fls - not found 06:52:34 #16 3.584 -- Looking for vprintf 06:52:34 #16 3.672 -- Looking for vprintf - found 06:52:34 #16 3.672 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 06:52:34 #16 3.731 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 06:52:34 #16 3.735 -- Configuring done (2.8s) 06:52:34 #16 3.742 -- Generating done (0.0s) 06:52:34 #16 3.743 -- Build files have been written to: /device-coap/deps/tinydtls/build 06:52:34 #16 3.746 + make 06:52:34 #16 3.787 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 06:52:34 #16 3.941 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 06:52:34 #16 3.976 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 06:52:34 #16 4.231 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 06:52:34 #16 4.345 In file included from /device-coap/deps/tinydtls/crypto.c:34: 06:52:34 #16 4.345 In function 'ecc_ecdh', 06:52:34 #16 4.345 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 06:52:34 #16 4.345 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 06:52:34 #16 4.345 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 06:52:34 #16 4.345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:52:34 #16 4.345 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 06:52:34 #16 4.345 /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 06:52:34 #16 4.345 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 06:52:34 #16 4.345 | ^~~~~~~~~~~ 06:52:34 #16 4.345 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 06:52:34 #16 4.345 431 | uint32_t pub_x[8]; 06:52:34 #16 4.345 | ^~~~~ 06:52:34 #16 4.345 In function 'ecc_ecdh', 06:52:34 #16 4.345 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 06:52:34 #16 4.345 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 06:52:34 #16 4.345 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 06:52:34 #16 4.345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:52:34 #16 4.345 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 06:52:34 #16 4.345 /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 06:52:34 #16 4.345 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 06:52:34 #16 4.345 | ^~~~~~~~~~~ 06:52:34 #16 4.345 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 06:52:34 #16 4.345 432 | uint32_t pub_y[8]; 06:52:34 #16 4.345 | ^~~~~ 06:52:34 #16 4.345 In function 'ecc_ecdh', 06:52:34 #16 4.345 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 06:52:34 #16 4.345 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 06:52:34 #16 4.345 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 06:52:34 #16 4.345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:52:34 #16 4.345 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 06:52:34 #16 4.345 /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 06:52:34 #16 4.345 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 06:52:34 #16 4.345 | ^~~~~~~~~~~ 06:52:34 #16 4.345 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 06:52:34 #16 4.345 430 | uint32_t priv[8]; 06:52:34 #16 4.345 | ^~~~ 06:52:34 #16 4.435 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 06:52:35 #16 5.392 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 06:52:35 #16 5.446 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 06:52:35 #16 5.490 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 06:52:35 #16 5.526 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 06:52:36 #16 5.542 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 06:52:36 #16 5.542 /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] 06:52:36 #16 5.542 316 | for (idx = 0; idx < count; idx++) { 06:52:36 #16 5.542 | ^ 06:52:36 #16 5.542 /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] 06:52:36 #16 5.542 319 | return result == count; 06:52:36 #16 5.542 | ^~ 06:52:36 #16 6.187 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 06:52:36 #16 6.246 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 06:52:36 #16 6.315 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 06:52:36 #16 6.366 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 06:52:36 #16 6.422 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 06:52:36 #16 6.438 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 06:52:36 #16 6.438 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 06:52:36 #16 6.438 | ~~~~~~~~~~^~~~~~~~ 06:52:36 #16 6.438 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 06:52:36 #16 6.438 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 06:52:36 #16 6.438 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 06:52:36 #16 6.438 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:52:36 #16 6.439 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 06:52:36 #16 6.439 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 06:52:36 #16 6.439 | ~~~~~^~~~~~~~ 06:52:36 #16 6.439 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 06:52:36 #16 6.439 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 06:52:36 #16 6.439 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:52:36 #16 6.582 [100%] Linking C shared library libtinydtls.so 06:52:36 #16 6.619 [100%] Built target tinydtls 06:52:36 #16 6.626 + make install 06:52:36 #16 6.670 [100%] Built target tinydtls 06:52:36 #16 6.681 Install the project... 06:52:36 #16 6.688 -- Install configuration: "Release" 06:52:37 #16 6.689 -- Installing: /usr/local/lib/libtinydtls.so 06:52:37 #16 6.690 -- Up-to-date: /usr/local/include/tinydtls 06:52:37 #16 6.690 -- Installing: /usr/local/include/tinydtls/uthash.h 06:52:37 #16 6.691 -- Up-to-date: /usr/local/include/tinydtls/sha2 06:52:37 #16 6.692 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 06:52:37 #16 6.692 -- Up-to-date: /usr/local/include/tinydtls/ecc 06:52:37 #16 6.693 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 06:52:37 #16 6.693 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 06:52:37 #16 6.693 -- Installing: /usr/local/include/tinydtls/tinydtls.h 06:52:37 #16 6.694 -- Installing: /usr/local/include/tinydtls/alert.h 06:52:37 #16 6.694 -- Up-to-date: /usr/local/include/tinydtls/aes 06:52:37 #16 6.694 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 06:52:37 #16 6.694 -- Installing: /usr/local/include/tinydtls/crypto.h 06:52:37 #16 6.695 -- Installing: /usr/local/include/tinydtls/numeric.h 06:52:37 #16 6.695 -- Installing: /usr/local/include/tinydtls/peer.h 06:52:37 #16 6.695 -- Installing: /usr/local/include/tinydtls/utlist.h 06:52:37 #16 6.695 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 06:52:37 #16 6.696 -- Installing: /usr/local/include/tinydtls/dtls_time.h 06:52:37 #16 6.696 -- Installing: /usr/local/include/tinydtls/netq.h 06:52:37 #16 6.696 -- Installing: /usr/local/include/tinydtls/dtls.h 06:52:37 #16 6.696 -- Installing: /usr/local/include/tinydtls/global.h 06:52:37 #16 6.697 -- Installing: /usr/local/include/tinydtls/state.h 06:52:37 #16 6.697 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 06:52:37 #16 6.697 -- Installing: /usr/local/include/tinydtls/session.h 06:52:37 #16 6.697 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 06:52:37 #16 6.698 -- Installing: /usr/local/include/tinydtls/hmac.h 06:52:37 #16 6.698 -- Installing: /usr/local/include/tinydtls/ccm.h 06:52:37 #16 6.698 -- Up-to-date: /usr/local/include/tinydtls 06:52:37 #16 6.698 -- Installing: /usr/local/include/tinydtls/dtls_config.h 06:52:37 #16 6.700 + cd /device-coap/deps 06:52:37 #16 6.700 + git clone https://github.com/obgm/libcoap.git 06:52:37 #16 6.702 Cloning into 'libcoap'... 06:52:39 #16 8.376 + cd libcoap 06:52:39 #16 8.376 + git reset --hard 1739507 06:52:39 #16 8.412 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 06:52:39 #16 8.413 + patch -p1 06:52:39 #16 8.414 patching file cmake/FindTinyDTLS.cmake 06:52:39 #16 8.415 + patch -p1 06:52:39 #16 8.416 patching file include/coap2/coap_config.h.in 06:52:39 #16 8.416 + mkdir -p build 06:52:39 #16 8.417 + cd build 06:52:39 #16 8.417 + 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' .. 06:52:39 #16 8.489 -- The CXX compiler identification is GNU 12.2.1 06:52:39 #16 8.545 -- The C compiler identification is GNU 12.2.1 06:52:39 #16 8.557 -- Detecting CXX compiler ABI info 06:52:39 #16 8.650 -- Detecting CXX compiler ABI info - done 06:52:39 #16 8.672 -- Check for working CXX compiler: /usr/bin/c++ - skipped 06:52:39 #16 8.672 -- Detecting CXX compile features 06:52:39 #16 8.673 -- Detecting CXX compile features - done 06:52:39 #16 8.677 -- Detecting C compiler ABI info 06:52:39 #16 8.760 -- Detecting C compiler ABI info - done 06:52:39 #16 8.780 -- Check for working C compiler: /usr/bin/cc - skipped 06:52:39 #16 8.780 -- Detecting C compile features 06:52:39 #16 8.781 -- Detecting C compile features - done 06:52:39 #16 8.785 -- Looking for byteswap.h 06:52:39 #16 8.874 -- Looking for byteswap.h - found 06:52:39 #16 8.874 -- Looking for inttypes.h 06:52:39 #16 8.960 -- Looking for inttypes.h - found 06:52:39 #16 8.961 -- Looking for limits.h 06:52:39 #16 9.054 -- Looking for limits.h - found 06:52:39 #16 9.055 -- Looking for memory.h 06:52:39 #16 9.147 -- Looking for memory.h - found 06:52:39 #16 9.148 -- Looking for strings.h 06:52:39 #16 9.231 -- Looking for strings.h - found 06:52:39 #16 9.231 -- Looking for string.h 06:52:39 #16 9.320 -- Looking for string.h - found 06:52:39 #16 9.320 -- Looking for sys/sysctl.h 06:52:39 #16 9.371 -- Looking for sys/sysctl.h - not found 06:52:39 #16 9.372 -- Looking for netinet/in.h 06:52:39 #16 9.459 -- Looking for netinet/in.h - found 06:52:39 #16 9.459 -- Looking for sys/epoll.h 06:52:39 #16 9.543 -- Looking for sys/epoll.h - found 06:52:40 #16 9.543 -- Looking for sys/timerfd.h 06:52:40 #16 9.633 -- Looking for sys/timerfd.h - found 06:52:40 #16 9.633 -- Looking for arpa/inet.h 06:52:40 #16 9.723 -- Looking for arpa/inet.h - found 06:52:40 #16 9.723 -- Looking for stdbool.h 06:52:40 #16 9.816 -- Looking for stdbool.h - found 06:52:40 #16 9.816 -- Looking for netdb.h 06:52:40 #16 9.908 -- Looking for netdb.h - found 06:52:40 #16 9.908 -- Looking for pthread.h 06:52:40 #16 10.02 -- Looking for pthread.h - found 06:52:40 #16 10.02 -- Looking for stdlib.h 06:52:40 #16 10.11 -- Looking for stdlib.h - found 06:52:40 #16 10.11 -- Looking for stdint.h 06:52:40 #16 10.20 -- Looking for stdint.h - found 06:52:40 #16 10.20 -- Looking for syslog.h 06:52:40 #16 10.28 -- Looking for syslog.h - found 06:52:40 #16 10.28 -- Looking for sys/ioctl.h 06:52:40 #16 10.38 -- Looking for sys/ioctl.h - found 06:52:40 #16 10.38 -- Looking for sys/socket.h 06:52:40 #16 10.47 -- Looking for sys/socket.h - found 06:52:40 #16 10.47 -- Looking for sys/stat.h 06:52:40 #16 10.56 -- Looking for sys/stat.h - found 06:52:41 #16 10.56 -- Looking for sys/time.h 06:52:41 #16 10.64 -- Looking for sys/time.h - found 06:52:41 #16 10.64 -- Looking for sys/types.h 06:52:41 #16 10.73 -- Looking for sys/types.h - found 06:52:41 #16 10.73 -- Looking for sys/unistd.h 06:52:41 #16 10.78 -- Looking for sys/unistd.h - not found 06:52:41 #16 10.78 -- Looking for time.h 06:52:41 #16 10.86 -- Looking for time.h - found 06:52:41 #16 10.86 -- Looking for unistd.h 06:52:41 #16 10.94 -- Looking for unistd.h - found 06:52:41 #16 10.94 -- Looking for float.h 06:52:41 #16 11.03 -- Looking for float.h - found 06:52:41 #16 11.03 -- Looking for stddef.h 06:52:41 #16 11.11 -- Looking for stddef.h - found 06:52:41 #16 11.11 -- Looking for winsock2.h 06:52:41 #16 11.16 -- Looking for winsock2.h - not found 06:52:41 #16 11.16 -- Looking for ws2tcpip.h 06:52:41 #16 11.20 -- Looking for ws2tcpip.h - not found 06:52:41 #16 11.20 -- Looking for malloc 06:52:41 #16 11.28 -- Looking for malloc - found 06:52:41 #16 11.28 -- Looking for memset 06:52:41 #16 11.36 -- Looking for memset - found 06:52:41 #16 11.36 -- Looking for select 06:52:41 #16 11.44 -- Looking for select - found 06:52:41 #16 11.44 -- Looking for socket 06:52:42 #16 11.52 -- Looking for socket - found 06:52:42 #16 11.52 -- Looking for strcasecmp 06:52:42 #16 11.60 -- Looking for strcasecmp - found 06:52:42 #16 11.60 -- Looking for pthread_mutex_lock 06:52:42 #16 11.68 -- Looking for pthread_mutex_lock - found 06:52:42 #16 11.68 -- Looking for getaddrinfo 06:52:42 #16 11.76 -- Looking for getaddrinfo - found 06:52:42 #16 11.76 -- Looking for strnlen 06:52:42 #16 11.84 -- Looking for strnlen - found 06:52:42 #16 11.84 -- Looking for strrchr 06:52:42 #16 11.93 -- Looking for strrchr - found 06:52:42 #16 11.93 -- Looking for getrandom 06:52:42 #16 12.02 -- Looking for getrandom - found 06:52:42 #16 12.02 -- Looking for cmsghdr 06:52:42 #16 12.07 -- Looking for cmsghdr - not found 06:52:42 #16 12.07 -- compiling without epoll support 06:52:42 #16 12.07 -- compiling with DTLS support 06:52:42 #16 12.07 -- DTLS_BACKEND: tinydtls 06:52:42 #16 12.07 -- Found TinyDTLS: /usr/local/include 06:52:42 #16 12.07 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 06:52:42 #16 12.07 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 06:52:42 #16 12.07 -- TINYDTLS_ROOT_DIR: 06:52:42 #16 12.07 -- compiling with tinydtls support 06:52:42 #16 12.07 -- ENABLE_DTLS:.....................ON 06:52:42 #16 12.07 -- ENABLE_TCP:......................ON 06:52:42 #16 12.07 -- ENABLE_DOCS:.....................OFF 06:52:42 #16 12.07 -- ENABLE_EXAMPLES:.................OFF 06:52:42 #16 12.07 -- DTLS_BACKEND:....................tinydtls 06:52:42 #16 12.07 -- WITH_GNUTLS:.....................OFF 06:52:42 #16 12.07 -- WITH_TINYDTLS:...................ON 06:52:42 #16 12.07 -- WITH_OPENSSL:....................OFF 06:52:42 #16 12.07 -- WITH_MBEDTLS:....................OFF 06:52:42 #16 12.07 -- HAVE_LIBTINYDTLS:................1 06:52:42 #16 12.07 -- HAVE_LIBGNUTLS:.................. 06:52:42 #16 12.07 -- HAVE_OPENSSL:.................... 06:52:42 #16 12.07 -- HAVE_MBEDTLS:.................... 06:52:42 #16 12.07 -- COAP_EPOLL_SUPPORT:.............. 06:52:42 #16 12.07 -- CMAKE_C_COMPILER:................/usr/bin/cc 06:52:42 #16 12.07 -- BUILD_SHARED_LIBS:...............ON 06:52:42 #16 12.07 -- CMAKE_BUILD_TYPE:................Release 06:52:42 #16 12.07 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 06:52:42 #16 12.08 -- Configuring done (3.7s) 06:52:42 #16 12.08 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 06:52:42 #16 12.08 Policy CMP0115 is not set: Source file extensions must be explicit. Run 06:52:42 #16 12.08 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 06:52:42 #16 12.08 command to set the policy and suppress this warning. 06:52:42 #16 12.08 06:52:42 #16 12.08 File: 06:52:42 #16 12.08 06:52:42 #16 12.08 /device-coap/deps/libcoap/include/coap2/coap.h.in 06:52:42 #16 12.08 This warning is for project developers. Use -Wno-dev to suppress it. 06:52:42 #16 12.08 06:52:42 #16 12.09 -- Generating done (0.0s) 06:52:42 #16 12.09 -- Build files have been written to: /device-coap/deps/libcoap/build 06:52:42 #16 12.10 + make 06:52:42 #16 12.14 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 06:52:42 #16 12.21 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 06:52:42 #16 12.29 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 06:52:42 #16 12.39 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 06:52:43 #16 12.64 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 06:52:43 #16 12.69 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 06:52:43 #16 12.75 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 06:52:43 #16 13.02 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 06:52:43 #16 13.06 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 06:52:43 #16 13.12 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 06:52:44 #16 13.66 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 06:52:44 #16 13.77 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 06:52:44 #16 13.83 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 06:52:44 #16 13.91 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 06:52:44 #16 13.96 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 06:52:44 #16 14.53 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 06:52:45 #16 14.73 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 06:52:45 #16 14.91 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 06:52:45 #16 15.30 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 06:52:45 #16 15.37 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 06:52:45 #16 15.42 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 06:52:46 #16 15.62 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 06:52:46 #16 15.80 [100%] Linking C shared library libcoap-2.so 06:52:46 #16 15.83 [100%] Built target coap-2 06:52:46 #16 15.84 + make install 06:52:46 #16 15.90 [100%] Built target coap-2 06:52:46 #16 15.92 Install the project... 06:52:46 #16 15.93 -- Install configuration: "Release" 06:52:46 #16 15.93 -- Installing: /usr/local/lib/libcoap-2.so 06:52:46 #16 15.93 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 06:52:46 #16 15.93 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 06:52:46 #16 15.93 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 06:52:46 #16 15.93 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 06:52:46 #16 15.93 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 06:52:46 #16 15.93 -- Up-to-date: /usr/local/include 06:52:46 #16 15.93 -- Up-to-date: /usr/local/include/coap2 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/uthash.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/subscribe.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/option.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/resource.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/bits.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_hashkey.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/block.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_io.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/pdu.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/str.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/async.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/net.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/address.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/uri.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_event.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_riot.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_dtls.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_mutex.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_prng.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/lwippools.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_debug.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/utlist.h 06:52:46 #16 15.93 -- Installing: /usr/local/include/coap2/coap_time.h 06:52:46 #16 15.94 -- Installing: /usr/local/include/coap2/encode.h 06:52:46 #16 15.94 -- Installing: /usr/local/include/coap2/libcoap.h 06:52:46 #16 15.94 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 06:52:46 #16 15.94 -- Installing: /usr/local/include/coap2/mem.h 06:52:46 #16 15.94 -- Installing: /usr/local/include/coap2/coap_session.h 06:52:46 #16 15.94 -- Up-to-date: /usr/local/include 06:52:46 #16 15.94 -- Up-to-date: /usr/local/include/coap2 06:52:46 #16 15.94 -- Installing: /usr/local/include/coap2/coap.h 06:52:46 #16 15.94 + '[' 1 '=' 1 ] 06:52:46 #16 15.94 + cd /device-coap/deps 06:52:46 #16 15.94 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 06:52:46 #16 15.94 Connecting to github.com (140.82.112.4:443) 06:52:46 #16 16.14 Connecting to codeload.github.com (140.82.112.9:443) 06:52:46 #16 16.37 saving to 'v4.0.0.zip' 06:52:46 #16 16.43 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 06:52:46 #16 16.43 'v4.0.0.zip' saved 06:52:46 #16 16.43 + unzip v4.0.0.zip 06:52:46 #16 16.43 Archive: v4.0.0.zip 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/ 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/.github/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/.github/Contributing.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/.github/semantic.yml 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/.github/workflows/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/.gitignore 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/Attribution.txt 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/CHANGELOG.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/Doxyfile 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/Jenkinsfile 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/LICENSE 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/Makefile 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/OWNERS.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/README.IOT.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/README.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/README.v3.md 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/docs/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/docs/configuration.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/docs/metrics.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/docs/startup.md 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/include/ 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/include/devsdk/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/include/edgex/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/scripts/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/scripts/build.sh 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/src/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 06:52:46 #16 16.44 creating: device-sdk-c-4.0.0/src/c/ 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/api.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/bus.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/bus.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/callback3.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/callback3.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/config.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/config.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/correlation.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/correlation.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/data.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/data.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/device.c 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/device.h 06:52:46 #16 16.44 inflating: device-sdk-c-4.0.0/src/c/devman.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/devmap.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/devmap.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/devutil.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/discovery.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/discovery.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/file/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/random/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 06:52:46 #16 16.45 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/filesys.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/filesys.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/keeper.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/keeper.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/map.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/map.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/metadata.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/metadata.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/metrics.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/opstate.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/opstate.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/parson.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/parson.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/profiles.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/profiles.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/registry.c 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/registry.h 06:52:46 #16 16.45 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/rest.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/rest.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/secrets.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/secrets.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/service.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/service.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/transform.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/transform.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/validate.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/validate.h 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/watchers.c 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/c/watchers.h 06:52:46 #16 16.46 creating: device-sdk-c-4.0.0/src/cmake/ 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 06:52:46 #16 16.46 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 06:52:46 #16 16.46 + cd device-sdk-c-4.0.0 06:52:46 #16 16.46 + ./scripts/build.sh 06:52:46 #16 16.46 + CPPCHECK=false 06:52:46 #16 16.46 + DOCGEN=false 06:52:46 #16 16.46 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:52:46 #16 16.46 + '[' 0 -gt 0 ] 06:52:46 #16 16.46 + readlink -f ./scripts/build.sh 06:52:46 #16 16.46 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 06:52:46 #16 16.46 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 06:52:46 #16 16.46 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 06:52:46 #16 16.46 + cd /device-coap/deps/device-sdk-c-4.0.0 06:52:46 #16 16.46 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 06:52:46 #16 16.46 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 06:52:46 #16 16.46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 06:52:46 #16 16.54 -- The C compiler identification is GNU 12.2.1 06:52:47 #16 16.56 -- Detecting C compiler ABI info 06:52:47 #16 16.64 -- Detecting C compiler ABI info - done 06:52:47 #16 16.67 -- Check for working C compiler: /usr/bin/cc - skipped 06:52:47 #16 16.67 -- Detecting C compile features 06:52:47 #16 16.67 -- Detecting C compile features - done 06:52:47 #16 16.67 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:52:47 #16 16.74 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 06:52:47 #16 16.74 -- Found LIBYAML: /usr/lib/libyaml.so 06:52:47 #16 16.74 -- Found LIBUUID: /usr/lib/libuuid.so 06:52:47 #16 16.75 -- Found LIBCBOR: /usr/lib/libcbor.so 06:52:47 #16 16.75 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:52:47 #16 16.75 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:52:47 #16 16.75 -- /opt/iotech/iot/1.5/include 06:52:47 #16 16.75 -- C SDK 0.0.0 for Linux 06:52:47 #16 16.76 -- Performing Test CSDK_HAVE_ATOMIC 06:52:47 #16 16.84 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:52:47 #16 16.88 -- Found Curses: /usr/lib/libcurses.so 06:52:47 #16 16.90 -- Configuring done (0.4s) 06:52:47 #16 16.93 -- Generating done (0.0s) 06:52:47 #16 16.93 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 06:52:47 #16 16.94 + make all package 06:52:47 #16 16.94 + tee release.log 06:52:47 #16 16.97 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:52:47 #16 17.08 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:52:47 #16 17.23 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:52:47 #16 17.36 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:52:48 #16 17.46 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:52:48 #16 17.76 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:52:48 #16 17.81 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:52:48 #16 17.94 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:52:48 #16 18.22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:52:48 #16 18.32 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:52:48 #16 18.45 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:52:48 #16 18.57 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:52:49 #16 18.67 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:52:49 #16 18.82 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:52:49 #16 18.88 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:52:49 #16 19.19 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:52:49 #16 19.24 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:52:49 #16 19.49 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:52:49 #16 19.59 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:52:50 #16 19.80 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:52:50 #16 19.88 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:52:51 #16 20.91 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:52:51 #16 21.01 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:52:51 #16 21.09 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:52:51 #16 21.17 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:52:51 #16 21.23 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:52:51 #16 21.45 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:52:52 #16 21.76 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:52:52 #16 21.83 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:52:52 #16 21.96 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:52:52 #16 22.05 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:52:52 #16 22.32 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 06:52:52 #16 22.32 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 06:52:52 #16 22.32 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 06:52:52 #16 22.32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:52:52 #16 22.32 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 06:52:52 #16 22.32 875 | const iot_data_t *deviceservices_config; 06:52:52 #16 22.32 | ^~~~~~~~~~~~~~~~~~~~~ 06:52:52 #16 22.46 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:52:52 #16 22.58 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:52:53 #16 22.64 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:52:53 #16 22.73 [ 68%] Linking C shared library libcsdk.so 06:52:53 #16 22.78 [ 68%] Built target csdk 06:52:53 #16 22.80 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:52:53 #16 22.94 [ 72%] Linking C executable template 06:52:53 #16 22.96 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:53 #16 23.00 [ 72%] Built target template 06:52:53 #16 23.02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:52:53 #16 23.11 [ 76%] Linking C executable device-counter 06:52:53 #16 23.13 /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) 06:52:53 #16 23.17 [ 76%] Built target device-counter 06:52:53 #16 23.19 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:52:53 #16 23.28 [ 80%] Linking C executable device-random 06:52:53 #16 23.30 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:53 #16 23.34 [ 80%] Built target device-random 06:52:53 #16 23.35 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:52:53 #16 23.43 [ 84%] Linking C executable device-gyro 06:52:54 #16 23.46 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:54 #16 23.50 [ 84%] Built target device-gyro 06:52:54 #16 23.52 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:52:54 #16 23.60 [ 88%] Linking C executable device-bitfields 06:52:54 #16 23.63 /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) 06:52:54 #16 23.67 [ 88%] Built target device-bitfields 06:52:54 #16 23.70 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:52:54 #16 23.85 [ 92%] Linking C executable template-discovery 06:52:54 #16 23.87 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:54 #16 23.92 [ 92%] Built target template-discovery 06:52:54 #16 23.94 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:52:54 #16 24.06 [ 96%] Linking C executable device-file 06:52:54 #16 24.09 /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) 06:52:54 #16 24.13 [ 96%] Built target device-file 06:52:54 #16 24.14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:52:54 #16 24.24 [100%] Linking C executable device-terminal 06:52:54 #16 24.27 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:54 #16 24.32 [100%] Built target device-terminal 06:52:54 #16 24.34 Run CPack packaging tool... 06:52:54 #16 24.35 CPack: Create package using TGZ 06:52:54 #16 24.35 CPack: Install projects 06:52:54 #16 24.35 CPack: - Run preinstall target for: Csdk 06:52:55 #16 24.61 CPack: - Install project: Csdk [] 06:52:55 #16 24.62 CPack: Create package 06:52:55 #16 24.64 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 06:52:55 #16 24.64 + '[' false '=' true ] 06:52:55 #16 24.64 + '[' false '=' true ] 06:52:55 #16 24.64 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 06:52:55 #16 24.64 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 06:52:55 #16 24.64 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 06:52:55 #16 24.71 -- The C compiler identification is GNU 12.2.1 06:52:55 #16 24.73 -- Detecting C compiler ABI info 06:52:55 #16 24.82 -- Detecting C compiler ABI info - done 06:52:55 #16 24.84 -- Check for working C compiler: /usr/bin/cc - skipped 06:52:55 #16 24.84 -- Detecting C compile features 06:52:55 #16 24.84 -- Detecting C compile features - done 06:52:55 #16 24.85 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:52:55 #16 24.92 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 06:52:55 #16 24.93 -- Found LIBYAML: /usr/lib/libyaml.so 06:52:55 #16 24.93 -- Found LIBUUID: /usr/lib/libuuid.so 06:52:55 #16 24.93 -- Found LIBCBOR: /usr/lib/libcbor.so 06:52:55 #16 24.94 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:52:55 #16 24.94 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:52:55 #16 24.94 -- /opt/iotech/iot/1.5/include 06:52:55 #16 24.94 -- C SDK 0.0.0 for Linux 06:52:55 #16 24.94 -- Performing Test CSDK_HAVE_ATOMIC 06:52:55 #16 25.03 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:52:55 #16 25.08 -- Found Curses: /usr/lib/libcurses.so 06:52:55 #16 25.10 -- Configuring done (0.5s) 06:52:55 #16 25.13 -- Generating done (0.0s) 06:52:55 #16 25.14 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 06:52:55 #16 25.14 + make 06:52:55 #16 25.14 + tee debug.log 06:52:55 #16 25.18 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:52:55 #16 25.25 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:52:55 #16 25.32 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:52:55 #16 25.39 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:52:55 #16 25.47 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:52:56 #16 25.60 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:52:56 #16 25.64 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:52:56 #16 25.71 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:52:56 #16 25.83 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:52:56 #16 25.90 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:52:56 #16 25.98 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:52:56 #16 26.05 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:52:56 #16 26.11 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:52:56 #16 26.19 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:52:56 #16 26.23 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:52:56 #16 26.37 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:52:56 #16 26.42 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:52:56 #16 26.53 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:52:57 #16 26.58 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:52:57 #16 26.69 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:52:57 #16 26.76 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:52:57 #16 26.96 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:52:57 #16 27.03 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:52:57 #16 27.09 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:52:57 #16 27.15 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:52:57 #16 27.20 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:52:57 #16 27.30 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:52:57 #16 27.52 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:52:57 #16 27.57 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:52:57 #16 27.64 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:52:58 #16 27.71 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:52:58 #16 27.85 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:52:58 #16 27.92 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:52:58 #16 27.98 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:52:58 #16 28.04 [ 68%] Linking C shared library libcsdk.so 06:52:58 #16 28.10 [ 68%] Built target csdk 06:52:58 #16 28.12 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:52:58 #16 28.19 [ 72%] Linking C executable template 06:52:58 #16 28.21 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:58 #16 28.25 [ 72%] Built target template 06:52:58 #16 28.27 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:52:58 #16 28.33 [ 76%] Linking C executable device-counter 06:52:58 #16 28.35 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:58 #16 28.39 [ 76%] Built target device-counter 06:52:58 #16 28.41 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:52:58 #16 28.47 [ 80%] Linking C executable device-random 06:52:58 #16 28.50 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:58 #16 28.55 [ 80%] Built target device-random 06:52:58 #16 28.56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:52:58 #16 28.63 [ 84%] Linking C executable device-gyro 06:52:59 #16 28.65 /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) 06:52:59 #16 28.69 [ 84%] Built target device-gyro 06:52:59 #16 28.71 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:52:59 #16 28.77 [ 88%] Linking C executable device-bitfields 06:52:59 #16 28.80 /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) 06:52:59 #16 28.84 [ 88%] Built target device-bitfields 06:52:59 #16 28.86 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:52:59 #16 28.94 [ 92%] Linking C executable template-discovery 06:52:59 #16 28.97 /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) 06:52:59 #16 29.02 [ 92%] Built target template-discovery 06:52:59 #16 29.03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:52:59 #16 29.10 [ 96%] Linking C executable device-file 06:52:59 #16 29.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) 06:52:59 #16 29.18 [ 96%] Built target device-file 06:52:59 #16 29.20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:52:59 #16 29.28 [100%] Linking C executable device-terminal 06:52:59 #16 29.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:52:59 #16 29.35 [100%] Built target device-terminal 06:52:59 #16 29.36 + cp -rf include/devsdk include/edgex /usr/include/ 06:52:59 #16 29.37 + cp build/release/c/libcsdk.so /usr/lib/ 06:52:59 #16 29.37 + rm -rf /device-coap/deps 06:52:59 #16 DONE 29.5s 06:53:00 06:53:00 #20 [builder 11/11] RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 06:53:00 #20 0.220 + readlink -f /device-coap/scripts/build.sh 06:53:00 #20 0.221 + dirname /device-coap/scripts/build.sh 06:53:00 #20 0.222 + dirname /device-coap/scripts 06:53:00 #20 0.222 + ROOT=/device-coap 06:53:00 #20 0.222 + echo /device-coap 06:53:00 #20 0.222 + cd /device-coap 06:53:00 #20 0.222 + mkdir -p /device-coap/build/release 06:53:00 #20 0.222 /device-coap 06:53:00 #20 0.223 + cd /device-coap/build/release 06:53:00 #20 0.223 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 06:53:00 #20 0.242 -- Configuring done (0.0s) 06:53:00 #20 0.247 -- Generating done (0.0s) 06:53:00 #20 0.248 -- Build files have been written to: /device-coap/build/release 06:53:00 #20 0.250 + make 06:53:00 #20 0.250 + tee release.log 06:53:00 #20 0.297 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 06:53:00 #20 0.339 In file included from /usr/include/devsdk/devsdk.h:18, 06:53:00 #20 0.339 from /device-coap/src/c/device-coap.h:17, 06:53:00 #20 0.339 from /device-coap/src/c/coap-client.h:21, 06:53:00 #20 0.339 from /device-coap/src/c/coap-client.c:9: 06:53:00 #20 0.339 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 06:53:00 #20 0.339 /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=] 06:53:00 #20 0.339 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 06:53:00 #20 0.339 | ^~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.339 90 | strlen(end_dev_params_ptr->psk_key)); 06:53:00 #20 0.339 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.339 | | 06:53:00 #20 0.339 | size_t {aka long unsigned int} 06:53:00 #20 0.339 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 06:53:00 #20 0.339 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 06:53:00 #20 0.339 | ~^ 06:53:00 #20 0.339 | | 06:53:00 #20 0.339 | unsigned int 06:53:00 #20 0.339 | %lu 06:53:00 #20 0.340 /device-coap/src/c/coap-client.c: In function 'message_handler': 06:53:00 #20 0.341 /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=] 06:53:00 #20 0.341 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 06:53:00 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | size_t {aka long unsigned int} 06:53:00 #20 0.341 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 06:53:00 #20 0.341 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 06:53:00 #20 0.341 | ~^ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | unsigned int 06:53:00 #20 0.341 | %lu 06:53:00 #20 0.341 /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=] 06:53:00 #20 0.341 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 06:53:00 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.341 130 | resource->properties->type); 06:53:00 #20 0.341 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | iot_typecode_t 06:53:00 #20 0.341 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 06:53:00 #20 0.341 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 06:53:00 #20 0.341 | ~^ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | int 06:53:00 #20 0.341 /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=] 06:53:00 #20 0.341 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 06:53:00 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.341 140 | len); 06:53:00 #20 0.341 | ~~~ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | size_t {aka long unsigned int} 06:53:00 #20 0.341 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 06:53:00 #20 0.341 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 06:53:00 #20 0.341 | ~^ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | int 06:53:00 #20 0.341 | %ld 06:53:00 #20 0.341 /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=] 06:53:00 #20 0.341 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 06:53:00 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.341 145 | len); 06:53:00 #20 0.341 | ~~~ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | size_t {aka long unsigned int} 06:53:00 #20 0.341 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 06:53:00 #20 0.341 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 06:53:00 #20 0.341 | ~^ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | int 06:53:00 #20 0.341 | %ld 06:53:00 #20 0.341 /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=] 06:53:00 #20 0.341 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 06:53:00 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.341 152 | len); 06:53:00 #20 0.341 | ~~~ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | size_t {aka long unsigned int} 06:53:00 #20 0.341 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 06:53:00 #20 0.341 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 06:53:00 #20 0.341 | ~^ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | int 06:53:00 #20 0.341 | %ld 06:53:00 #20 0.341 /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=] 06:53:00 #20 0.341 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 06:53:00 #20 0.341 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.341 157 | resource->properties->type); 06:53:00 #20 0.341 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | iot_typecode_t 06:53:00 #20 0.341 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 06:53:00 #20 0.341 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 06:53:00 #20 0.341 | ~^ 06:53:00 #20 0.341 | | 06:53:00 #20 0.341 | int 06:53:00 #20 0.342 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 06:53:00 #20 0.342 /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=] 06:53:00 #20 0.342 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 06:53:00 #20 0.342 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:53:00 #20 0.342 | | 06:53:00 #20 0.342 | size_t {aka long unsigned int} 06:53:00 #20 0.342 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 06:53:00 #20 0.342 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 06:53:00 #20 0.342 | ~^ 06:53:00 #20 0.342 | | 06:53:00 #20 0.342 | int 06:53:00 #20 0.342 | %ld 06:53:00 #20 0.342 /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=] 06:53:00 #20 0.342 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:53:00 #20 0.342 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.342 253 | (uint8_t *)end_dev_params_ptr->psk_key, 06:53:00 #20 0.342 254 | strlen(end_dev_params_ptr->psk_key)); 06:53:00 #20 0.342 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.342 | | 06:53:00 #20 0.342 | size_t {aka long unsigned int} 06:53:00 #20 0.343 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 06:53:00 #20 0.343 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:53:00 #20 0.343 | ~^ 06:53:00 #20 0.343 | | 06:53:00 #20 0.343 | int 06:53:00 #20 0.343 | %ld 06:53:00 #20 0.343 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 06:53:00 #20 0.344 /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=] 06:53:00 #20 0.344 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:53:00 #20 0.344 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.344 352 | (uint8_t *)end_dev_params_ptr->psk_key, 06:53:00 #20 0.344 353 | strlen(end_dev_params_ptr->psk_key)); 06:53:00 #20 0.344 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.344 | | 06:53:00 #20 0.344 | size_t {aka long unsigned int} 06:53:00 #20 0.344 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 06:53:00 #20 0.344 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:53:00 #20 0.344 | ~^ 06:53:00 #20 0.344 | | 06:53:00 #20 0.344 | int 06:53:00 #20 0.344 | %ld 06:53:00 #20 0.457 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 06:53:00 #20 0.496 In file included from /usr/include/devsdk/devsdk.h:18, 06:53:00 #20 0.496 from /usr/include/edgex/devices.h:17, 06:53:00 #20 0.496 from /device-coap/src/c/coap-server.c:22: 06:53:00 #20 0.496 /device-coap/src/c/coap-server.c: In function 'data_handler': 06:53:00 #20 0.496 /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=] 06:53:00 #20 0.496 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 06:53:00 #20 0.496 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:53:00 #20 0.496 | | 06:53:00 #20 0.496 | size_t {aka long unsigned int} 06:53:00 #20 0.496 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 06:53:00 #20 0.496 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 06:53:00 #20 0.496 | ~^ 06:53:00 #20 0.496 | | 06:53:00 #20 0.496 | unsigned int 06:53:00 #20 0.496 | %lu 06:53:00 #20 0.497 /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=] 06:53:00 #20 0.497 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 06:53:00 #20 0.497 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.497 | | 06:53:00 #20 0.497 | iot_typecode_t 06:53:00 #20 0.497 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 06:53:00 #20 0.497 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 06:53:00 #20 0.497 | ~^ 06:53:00 #20 0.497 | | 06:53:00 #20 0.497 | int 06:53:00 #20 0.558 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 06:53:00 #20 0.592 In file included from /usr/include/devsdk/devsdk.h:18, 06:53:00 #20 0.592 from /device-coap/src/c/coap-util.h:18, 06:53:00 #20 0.592 from /device-coap/src/c/coap-util.c:9: 06:53:00 #20 0.592 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 06:53:00 #20 0.592 /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=] 06:53:00 #20 0.592 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:53:00 #20 0.592 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:53:00 #20 0.592 | | 06:53:00 #20 0.592 | size_t {aka long unsigned int} 06:53:00 #20 0.592 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 06:53:00 #20 0.592 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:53:00 #20 0.592 | ~^ 06:53:00 #20 0.592 | | 06:53:00 #20 0.592 | unsigned int 06:53:00 #20 0.592 | %lu 06:53:00 #20 0.592 /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=] 06:53:00 #20 0.592 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:53:00 #20 0.592 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:53:00 #20 0.592 | | 06:53:00 #20 0.592 | size_t {aka long unsigned int} 06:53:00 #20 0.592 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 06:53:00 #20 0.592 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:53:00 #20 0.592 | ~^ 06:53:00 #20 0.592 | | 06:53:00 #20 0.592 | unsigned int 06:53:00 #20 0.592 | %lu 06:53:00 #20 0.592 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 06:53:00 #20 0.592 /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=] 06:53:00 #20 0.592 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:53:00 #20 0.592 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:53:00 #20 0.592 | | 06:53:00 #20 0.592 | size_t {aka long unsigned int} 06:53:00 #20 0.593 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 06:53:00 #20 0.593 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:53:00 #20 0.593 | ~^ 06:53:00 #20 0.593 | | 06:53:00 #20 0.593 | unsigned int 06:53:00 #20 0.593 | %lu 06:53:00 #20 0.593 /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=] 06:53:00 #20 0.593 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:53:00 #20 0.593 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:53:00 #20 0.593 | | 06:53:00 #20 0.593 | size_t {aka long unsigned int} 06:53:00 #20 0.593 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 06:53:00 #20 0.593 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:53:00 #20 0.593 | ~^ 06:53:00 #20 0.593 | | 06:53:00 #20 0.593 | unsigned int 06:53:00 #20 0.593 | %lu 06:53:00 #20 0.697 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 06:53:00 #20 0.739 In file included from /usr/include/devsdk/devsdk.h:18, 06:53:00 #20 0.739 from /device-coap/src/c/device-coap.h:17, 06:53:00 #20 0.739 from /device-coap/src/c/device-coap.c:10: 06:53:00 #20 0.739 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 06:53:00 #20 0.739 /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=] 06:53:00 #20 0.739 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 06:53:00 #20 0.739 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.739 131 | requests[i].resource->type); 06:53:00 #20 0.739 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:53:00 #20 0.739 | | 06:53:00 #20 0.739 | iot_typecode_t 06:53:00 #20 0.739 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 06:53:00 #20 0.739 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 06:53:00 #20 0.739 | ~^ 06:53:00 #20 0.739 | | 06:53:00 #20 0.739 | int 06:53:00 #20 0.858 [100%] Linking C executable device-coap 06:53:00 #20 0.883 /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) 06:53:00 #20 0.923 [100%] Built target device-coap 06:53:00 #20 DONE 1.0s 06:53:01 06:53:01 #21 [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap / 06:53:01 #21 ERROR: cannot replace to directory /var/lib/docker/overlay2/gd89ww5btpm3ezailq9n17530/merged/device-coap with file 06:53:01 ------ 06:53:01 > [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap /: 06:53:01 ------ 06:53:01 06:53:01 1 warning found (use docker --debug to expand): 06:53:01  - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10) 06:53:01 Dockerfile.alpine:41 06:53:01 -------------------- 06:53:01 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 06:53:01 40 | 06:53:01 41 | >>> COPY --from=builder /device-coap/build/release/device-coap / 06:53:01 42 | COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 06:53:01 43 | COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 06:53:01 -------------------- 06:53:01 ERROR: failed to solve: cannot replace to directory /var/lib/docker/overlay2/gd89ww5btpm3ezailq9n17530/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 06:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:01 06:53:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:01 latest: Pulling from edgex-lftools-log-publisher 06:53:01 5eb5b503b376: Pulling fs layer 06:53:01 5c69ac0246d0: Pulling fs layer 06:53:01 ec43610c2a17: Pulling fs layer 06:53:01 3a2ae6a8a46f: Pulling fs layer 06:53:01 33b1e0a273af: Pulling fs layer 06:53:01 5d3b04190fa2: Pulling fs layer 06:53:01 2f39f015ded8: Pulling fs layer 06:53:01 3a2ae6a8a46f: Waiting 06:53:01 33b1e0a273af: Waiting 06:53:01 5d3b04190fa2: Waiting 06:53:01 2f39f015ded8: Waiting 06:53:01 5c69ac0246d0: Download complete 06:53:01 3a2ae6a8a46f: Verifying Checksum 06:53:01 3a2ae6a8a46f: Download complete 06:53:01 33b1e0a273af: Verifying Checksum 06:53:01 33b1e0a273af: Download complete 06:53:01 5d3b04190fa2: Download complete 06:53:01 ec43610c2a17: Verifying Checksum 06:53:01 ec43610c2a17: Download complete 06:53:02 5eb5b503b376: Download complete 06:53:02 2f39f015ded8: Download complete 06:53:03 5eb5b503b376: Pull complete 06:53:03 5c69ac0246d0: Pull complete 06:53:04 ec43610c2a17: Pull complete 06:53:04 3a2ae6a8a46f: Pull complete 06:53:04 33b1e0a273af: Pull complete 06:53:04 5d3b04190fa2: Pull complete 06:53:09 2f39f015ded8: Pull complete 06:53:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:53:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:09 prd-ubuntu20.04-docker-8c-8g-774261 does not seem to be running inside a container 06:53:09 $ 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 06:53:14 $ docker top 0c42ed4e57bb70b83de8ee62a995f6bd6b667d6a4afefa4f5fb29f7971013af0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:14 ---> job-cost.sh 06:53:14 lf-activate-venv: SKIPPING 06:53:14 INFO: No Stack... 06:53:14 INFO: Retrieving Pricing Info for: v3-standard-8 06:53:14 INFO: Archiving Costs [Pipeline] sh 06:53:15 + cat /w/workspace/dgexfoundry_device-coap-c_odessa/archives/cost.csv 06:53:15 + cut -d, -f6 [Pipeline] lock 06:53:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] 06:53:15 Resource [jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] did not exist. Created. 06:53:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:15 + echo total: 0.2199999988079071 [Pipeline] stash 06:53:15 Stashed 1 file(s) [Pipeline] } 06:53:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] [Pipeline] // lock [Pipeline] } 06:53:15 $ docker stop --time=1 0c42ed4e57bb70b83de8ee62a995f6bd6b667d6a4afefa4f5fb29f7971013af0 06:53:16 $ docker rm -f --volumes 0c42ed4e57bb70b83de8ee62a995f6bd6b667d6a4afefa4f5fb29f7971013af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:53:17 Failed in branch amd64 06:53:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-774262 in /w/workspace/dgexfoundry_device-coap-c_odessa [Pipeline] { [Pipeline] ws 06:53:59 Running in /w/workspace/device-coap-c/7 [Pipeline] { [Pipeline] checkout 06:54:02 Selected Git installation does not exist. Using Default 06:54:02 The recommended git tool is: NONE 06:54:07 using credential edgex-jenkins-ssh 06:54:07 Cloning the remote Git repository 06:54:07 Cloning repository git@github.com:edgexfoundry/device-coap-c.git 06:54:07 > git init /w/workspace/device-coap-c/7 # timeout=10 06:54:07 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-c.git 06:54:07 > git --version # timeout=10 06:54:07 > git --version # 'git version 2.25.1' 06:54:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-coap-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:08 > git config remote.origin.url git@github.com:edgexfoundry/device-coap-c.git # timeout=10 06:54:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:09 Avoid second fetch 06:54:09 Checking out Revision 96492ab27443f1c63cb239c17d4c910313ac6133 (odessa) 06:54:10 Commit message: "ci(lts-release): LTS release v4.0.1 @47967fd" 06:54:09 > git config core.sparsecheckout # timeout=10 06:54:09 > git checkout -f 96492ab27443f1c63cb239c17d4c910313ac6133 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:15 + git checkout 96492ab27443f1c63cb239c17d4c910313ac6133 06:54:15 HEAD is now at 96492ab ci(lts-release): LTS release v4.0.1 @47967fd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:15 provisioning config files... 06:54:15 copy managed file [device-coap-c-settings] to file:/w/workspace/device-coap-c/7@tmp/config9621838819576504674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:54:15 ---> ****-login.sh 06:54:15 nexus3.edgexfoundry.org:10001 06:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:16 Configure a credential helper to remove this warning. See 06:54:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:16 06:54:16 Login Succeeded 06:54:16 nexus3.edgexfoundry.org:10002 06:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:16 Configure a credential helper to remove this warning. See 06:54:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:16 06:54:16 Login Succeeded 06:54:16 nexus3.edgexfoundry.org:10003 06:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:17 Configure a credential helper to remove this warning. See 06:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:17 06:54:17 Login Succeeded 06:54:17 nexus3.edgexfoundry.org:10004 06:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:17 Configure a credential helper to remove this warning. See 06:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:17 06:54:17 Login Succeeded 06:54:17 ****.io 06:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:17 Configure a credential helper to remove this warning. See 06:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:17 06:54:17 Login Succeeded 06:54:17 ---> ****-login.sh ends [Pipeline] } 06:54:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:54:18 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 06:54:18 + grep ci(lts-release) 06:54:18 + git log --pretty=%H %s 06:54:18 + awk {print $1} 06:54:18 + head -n 1 [Pipeline] echo 06:54:18 [prepBaseBuildImage] Re-Tagging exiting image: nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] sh 06:54:18 + docker pull nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 06:54:19 96492ab27443f1c63cb239c17d4c910313ac6133: Pulling from device-coap-c-builder-arm64 06:54:19 579b34f0a95b: Pulling fs layer 06:54:19 b046b3a35be6: Pulling fs layer 06:54:19 2014ba793e07: Pulling fs layer 06:54:19 1580235a75ba: Pulling fs layer 06:54:19 91824c7e15fa: Pulling fs layer 06:54:19 1a449abc58a9: Pulling fs layer 06:54:19 dbf96d0f1f9f: Pulling fs layer 06:54:19 742932ed762a: Pulling fs layer 06:54:19 adb13a823f01: Pulling fs layer 06:54:19 bde5d61dce54: Pulling fs layer 06:54:19 8c046788776b: Pulling fs layer 06:54:19 34710f48868e: Pulling fs layer 06:54:19 0e1300b47f74: Pulling fs layer 06:54:19 742932ed762a: Waiting 06:54:19 adb13a823f01: Waiting 06:54:19 bde5d61dce54: Waiting 06:54:19 8c046788776b: Waiting 06:54:19 34710f48868e: Waiting 06:54:19 0e1300b47f74: Waiting 06:54:19 1a449abc58a9: Waiting 06:54:19 1580235a75ba: Waiting 06:54:19 dbf96d0f1f9f: Waiting 06:54:19 91824c7e15fa: Waiting 06:54:19 b046b3a35be6: Verifying Checksum 06:54:19 b046b3a35be6: Download complete 06:54:19 1580235a75ba: Verifying Checksum 06:54:19 1580235a75ba: Download complete 06:54:19 91824c7e15fa: Verifying Checksum 06:54:19 91824c7e15fa: Download complete 06:54:19 579b34f0a95b: Verifying Checksum 06:54:19 579b34f0a95b: Download complete 06:54:20 1a449abc58a9: Download complete 06:54:20 742932ed762a: Verifying Checksum 06:54:20 742932ed762a: Download complete 06:54:20 adb13a823f01: Verifying Checksum 06:54:20 adb13a823f01: Download complete 06:54:20 8c046788776b: Verifying Checksum 06:54:20 8c046788776b: Download complete 06:54:20 34710f48868e: Verifying Checksum 06:54:20 34710f48868e: Download complete 06:54:20 0e1300b47f74: Verifying Checksum 06:54:20 0e1300b47f74: Download complete 06:54:20 dbf96d0f1f9f: Verifying Checksum 06:54:20 dbf96d0f1f9f: Download complete 06:54:20 579b34f0a95b: Pull complete 06:54:21 b046b3a35be6: Pull complete 06:54:22 2014ba793e07: Download complete 06:54:35 2014ba793e07: Pull complete 06:54:35 1580235a75ba: Pull complete 06:54:35 91824c7e15fa: Pull complete 06:54:35 1a449abc58a9: Pull complete 06:54:36 dbf96d0f1f9f: Pull complete 06:54:36 742932ed762a: Pull complete 06:54:36 adb13a823f01: Pull complete 06:54:37 bde5d61dce54: Pull complete 06:54:37 8c046788776b: Pull complete 06:54:37 34710f48868e: Pull complete 06:54:37 0e1300b47f74: Pull complete 06:54:37 Digest: sha256:f85f970317d997b36001e6dcd78e40f8d2fee3415bfc2fe89e3ae2b00bb8ee4b 06:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 06:54:37 nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] sh 06:54:38 + docker tag nexus3.edgexfoundry.org:10002/device-coap-c-builder-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 ci-base-image-arm64 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:38 + docker inspect -f . ci-base-image-arm64 06:54:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:38 prd-ubuntu20.04-docker-arm64-4c-16g-774262 does not seem to be running inside a container 06:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-coap-c/7 -v /w/workspace/device-coap-c/7:/w/workspace/device-coap-c/7:rw,z -v /w/workspace/device-coap-c/7@tmp:/w/workspace/device-coap-c/7@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-arm64 cat 06:54:41 $ docker top 33fe72937d52eea638f5c30bb9e46b28b6d64fbc17e5515a0bafa50334358d53 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:41 + make test 06:54:41 build/release/device-coap [Pipeline] } 06:54:42 $ docker stop --time=1 33fe72937d52eea638f5c30bb9e46b28b6d64fbc17e5515a0bafa50334358d53 06:54:43 $ docker rm -f --volumes 33fe72937d52eea638f5c30bb9e46b28b6d64fbc17e5515a0bafa50334358d53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:54:44 + ls -al . 06:54:44 total 92 06:54:44 drwxrwxr-x 7 jenkins jenkins 4096 Dec 1 06:54 . 06:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 06:54 .. 06:54:44 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 06:54 .git 06:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 06:54 .github 06:54:44 -rw-rw-r-- 1 jenkins jenkins 14 Dec 1 06:54 .gitignore 06:54:44 -rw-rw-r-- 1 jenkins jenkins 2037 Dec 1 06:54 Attribution.txt 06:54:44 -rw-rw-r-- 1 jenkins jenkins 3893 Dec 1 06:54 CHANGELOG.md 06:54:44 -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 06:54 GOVERNANCE.md 06:54:44 -rw-rw-r-- 1 jenkins jenkins 798 Dec 1 06:54 Jenkinsfile 06:54:44 -rw-rw-r-- 1 jenkins jenkins 10173 Dec 1 06:54 LICENSE 06:54:44 -rw-rw-r-- 1 jenkins jenkins 938 Dec 1 06:54 Makefile 06:54:44 -rw-rw-r-- 1 jenkins jenkins 619 Dec 1 06:54 OWNERS.md 06:54:44 -rw-rw-r-- 1 jenkins jenkins 12454 Dec 1 06:54 README.md 06:54:44 -rw-rw-r-- 1 jenkins jenkins 506 Dec 1 06:54 ROADMAP.md 06:54:44 -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 06:52 VERSION 06:54:44 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 06:54 res 06:54:44 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 06:54 scripts 06:54:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 06:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:44 + 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=96492ab27443f1c63cb239c17d4c910313ac6133 --label arch=arm64 --label version=4.0.1 . 06:54:45 Sending build context to Docker daemon 373.8kB 06:54:45 Step 1/33 : ARG BASE=alpine:3.20 06:54:45 Step 2/33 : FROM ${BASE} as builder 06:54:45 ---> 14c9c0e36ebb 06:54:45 Step 3/33 : LABEL maintainer="Ken Bannister " 06:54:45 ---> Running in 6495c7db8dac 06:54:45 Removing intermediate container 6495c7db8dac 06:54:45 ---> 93af1decc381 06:54:45 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 06:54:45 ---> Running in 0f910779fd5d 06:54:46 Connecting to iotech.jfrog.io (34.246.139.145:443) 06:54:46 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:54:46 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:54:46 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:54:47 Removing intermediate container 0f910779fd5d 06:54:47 ---> a5a66e7a8c61 06:54:47 Step 5/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 06:54:47 ---> Running in 4e613f3da33b 06:54:49 Removing intermediate container 4e613f3da33b 06:54:49 ---> db75c36fa21f 06:54:49 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 06:54:49 ---> Running in 356db05baed2 06:54:50 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:54:50 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:54:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 06:54:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:54:52 OK: 334 MiB in 103 packages 06:54:53 Removing intermediate container 356db05baed2 06:54:53 ---> 071e0e09e892 06:54:53 Step 7/33 : COPY scripts /device-coap/scripts 06:54:53 ---> 07c845ce2de3 06:54:53 Step 8/33 : COPY src /device-coap/src/ 06:54:54 ---> 80865cb4b6d5 06:54:54 Step 9/33 : COPY VERSION /device-coap 06:54:54 ---> 983bf590e740 06:54:54 Step 10/33 : RUN mkdir -p /device-coap/build 06:54:54 ---> Running in e705325f4710 06:54:59 Removing intermediate container e705325f4710 06:54:59 ---> 6eb8e4f9348c 06:54:59 Step 11/33 : WORKDIR /device-coap 06:54:59 ---> Running in 36a61b0cdfde 06:54:59 Removing intermediate container 36a61b0cdfde 06:54:59 ---> b2d68f307504 06:54:59 Step 12/33 : RUN /device-coap/scripts/build_deps.sh 1 06:54:59 ---> Running in 46e58df8bb10 06:54:59 + BUILD_CSDK=1 06:54:59 + TINYDTLS_VERSION=b0e230d 06:54:59 + LIBCOAP_VERSION=1739507 06:54:59 + CSDK_VERSION=4.0.0 06:54:59 + '[' -d deps ] 06:54:59 + mkdir deps 06:54:59 + cd /device-coap/deps 06:54:59 + git clone https://github.com/eclipse/tinydtls.git 06:54:59 Cloning into 'tinydtls'... 06:55:01 + cd tinydtls 06:55:01 + git checkout develop 06:55:01 branch 'develop' set up to track 'origin/develop'. 06:55:01 Switched to a new branch 'develop' 06:55:01 + git reset --hard b0e230d 06:55:01 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 06:55:01 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 06:55:01 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 06:55:01 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 06:55:01 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 06:55:01 + mkdir -p build 06:55:01 + cd build 06:55:01 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 06:55:01 -- The C compiler identification is GNU 12.2.1 06:55:01 -- Detecting C compiler ABI info 06:55:02 -- Detecting C compiler ABI info - done 06:55:02 -- Check for working C compiler: /usr/bin/cc - skipped 06:55:02 -- Detecting C compile features 06:55:02 -- Detecting C compile features - done 06:55:02 -- Looking for assert.h 06:55:02 -- Looking for assert.h - found 06:55:02 -- Looking for arpa/inet.h 06:55:02 -- Looking for arpa/inet.h - found 06:55:02 -- Looking for fcntl.h 06:55:03 -- Looking for fcntl.h - found 06:55:03 -- Looking for inttypes.h 06:55:03 -- Looking for inttypes.h - found 06:55:03 -- Looking for memory.h 06:55:03 -- Looking for memory.h - found 06:55:03 -- Looking for netdb.h 06:55:04 -- Looking for netdb.h - found 06:55:04 -- Looking for netinet/in.h 06:55:04 -- Looking for netinet/in.h - found 06:55:04 -- Looking for stddef.h 06:55:04 -- Looking for stddef.h - found 06:55:04 -- Looking for stdint.h 06:55:05 -- Looking for stdint.h - found 06:55:05 -- Looking for stdlib.h 06:55:05 -- Looking for stdlib.h - found 06:55:05 -- Looking for string.h 06:55:05 -- Looking for string.h - found 06:55:05 -- Looking for strings.h 06:55:06 -- Looking for strings.h - found 06:55:06 -- Looking for time.h 06:55:06 -- Looking for time.h - found 06:55:06 -- Looking for sys/param.h 06:55:06 -- Looking for sys/param.h - found 06:55:06 -- Looking for sys/socket.h 06:55:06 -- Looking for sys/socket.h - found 06:55:06 -- Looking for sys/stat.h 06:55:07 -- Looking for sys/stat.h - found 06:55:07 -- Looking for sys/types.h 06:55:07 -- Looking for sys/types.h - found 06:55:07 -- Looking for sys/time.h 06:55:08 -- Looking for sys/time.h - found 06:55:08 -- Looking for unistd.h 06:55:08 -- Looking for unistd.h - found 06:55:08 -- Looking for float.h 06:55:08 -- Looking for float.h - found 06:55:08 -- Looking for dlfcn.h 06:55:08 -- Looking for dlfcn.h - found 06:55:08 -- Looking for memset 06:55:09 -- Looking for memset - found 06:55:09 -- Looking for select 06:55:09 -- Looking for select - found 06:55:09 -- Looking for socket 06:55:09 -- Looking for socket - found 06:55:09 -- Looking for strdup 06:55:10 -- Looking for strdup - found 06:55:10 -- Looking for strerror 06:55:10 -- Looking for strerror - found 06:55:10 -- Looking for strnlen 06:55:11 -- Looking for strnlen - found 06:55:11 -- Looking for fls 06:55:11 -- Looking for fls - not found 06:55:11 -- Looking for vprintf 06:55:11 -- Looking for vprintf - found 06:55:11 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 06:55:11 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 06:55:11 -- Configuring done (10.3s) 06:55:11 -- Generating done (0.0s) 06:55:11 -- Build files have been written to: /device-coap/deps/tinydtls/build 06:55:11 + make 06:55:11 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 06:55:12 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 06:55:12 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 06:55:14 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 06:55:15 In file included from /device-coap/deps/tinydtls/crypto.c:34: 06:55:15 In function 'ecc_ecdh', 06:55:15 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 06:55:15 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 06:55:15 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 06:55:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:55:15 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 06:55:15 /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 06:55:15 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 06:55:15 | ^~~~~~~~~~~ 06:55:15 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 06:55:15 431 | uint32_t pub_x[8]; 06:55:15 | ^~~~~ 06:55:15 In function 'ecc_ecdh', 06:55:15 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 06:55:15 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 06:55:15 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 06:55:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:55:15 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 06:55:15 /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 06:55:15 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 06:55:15 | ^~~~~~~~~~~ 06:55:15 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 06:55:15 432 | uint32_t pub_y[8]; 06:55:15 | ^~~~~ 06:55:15 In function 'ecc_ecdh', 06:55:15 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 06:55:15 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 06:55:15 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 06:55:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:55:15 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 06:55:15 /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 06:55:15 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 06:55:15 | ^~~~~~~~~~~ 06:55:15 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 06:55:15 430 | uint32_t priv[8]; 06:55:15 | ^~~~ 06:55:16 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 06:55:22 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 06:55:22 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 06:55:22 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 06:55:22 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 06:55:22 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 06:55:22 /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] 06:55:22 316 | for (idx = 0; idx < count; idx++) { 06:55:22 | ^ 06:55:22 /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] 06:55:22 319 | return result == count; 06:55:22 | ^~ 06:55:27 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 06:55:27 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 06:55:27 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 06:55:27 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 06:55:27 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 06:55:28 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 06:55:28 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 06:55:28 | ~~~~~~~~~~^~~~~~~~ 06:55:28 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 06:55:28 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 06:55:28 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 06:55:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:55:28 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 06:55:28 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 06:55:28 | ~~~~~^~~~~~~~ 06:55:28 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 06:55:28 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 06:55:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:55:28 [100%] Linking C shared library libtinydtls.so 06:55:28 [100%] Built target tinydtls 06:55:28 + make install 06:55:28 [100%] Built target tinydtls 06:55:28 Install the project... 06:55:28 -- Install configuration: "Release" 06:55:28 -- Installing: /usr/local/lib/libtinydtls.so 06:55:28 -- Up-to-date: /usr/local/include/tinydtls 06:55:28 -- Installing: /usr/local/include/tinydtls/dtls.h 06:55:28 -- Installing: /usr/local/include/tinydtls/tinydtls.h 06:55:28 -- Installing: /usr/local/include/tinydtls/dtls_time.h 06:55:28 -- Installing: /usr/local/include/tinydtls/utlist.h 06:55:28 -- Installing: /usr/local/include/tinydtls/ccm.h 06:55:28 -- Installing: /usr/local/include/tinydtls/hmac.h 06:55:28 -- Installing: /usr/local/include/tinydtls/uthash.h 06:55:28 -- Installing: /usr/local/include/tinydtls/numeric.h 06:55:28 -- Installing: /usr/local/include/tinydtls/netq.h 06:55:28 -- Up-to-date: /usr/local/include/tinydtls/sha2 06:55:28 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 06:55:28 -- Installing: /usr/local/include/tinydtls/crypto.h 06:55:28 -- Installing: /usr/local/include/tinydtls/alert.h 06:55:28 -- Installing: /usr/local/include/tinydtls/session.h 06:55:28 -- Installing: /usr/local/include/tinydtls/global.h 06:55:28 -- Up-to-date: /usr/local/include/tinydtls/ecc 06:55:28 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 06:55:28 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 06:55:28 -- Installing: /usr/local/include/tinydtls/state.h 06:55:28 -- Up-to-date: /usr/local/include/tinydtls/aes 06:55:28 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 06:55:28 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 06:55:28 -- Installing: /usr/local/include/tinydtls/peer.h 06:55:28 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 06:55:28 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 06:55:28 -- Up-to-date: /usr/local/include/tinydtls 06:55:28 -- Installing: /usr/local/include/tinydtls/dtls_config.h 06:55:28 + cd /device-coap/deps 06:55:28 + git clone https://github.com/obgm/libcoap.git 06:55:28 Cloning into 'libcoap'... 06:55:35 + cd libcoap 06:55:35 + git reset --hard 1739507 06:55:35 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 06:55:35 + patch -p1 06:55:35 patching file cmake/FindTinyDTLS.cmake 06:55:35 + patch -p1 06:55:35 patching file include/coap2/coap_config.h.in 06:55:35 + mkdir -p build 06:55:35 + cd build 06:55:35 + 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' .. 06:55:35 -- The CXX compiler identification is GNU 12.2.1 06:55:35 -- The C compiler identification is GNU 12.2.1 06:55:35 -- Detecting CXX compiler ABI info 06:55:35 -- Detecting CXX compiler ABI info - done 06:55:35 -- Check for working CXX compiler: /usr/bin/c++ - skipped 06:55:35 -- Detecting CXX compile features 06:55:35 -- Detecting CXX compile features - done 06:55:35 -- Detecting C compiler ABI info 06:55:36 -- Detecting C compiler ABI info - done 06:55:36 -- Check for working C compiler: /usr/bin/cc - skipped 06:55:36 -- Detecting C compile features 06:55:36 -- Detecting C compile features - done 06:55:36 -- Looking for byteswap.h 06:55:36 -- Looking for byteswap.h - found 06:55:36 -- Looking for inttypes.h 06:55:36 -- Looking for inttypes.h - found 06:55:36 -- Looking for limits.h 06:55:37 -- Looking for limits.h - found 06:55:37 -- Looking for memory.h 06:55:37 -- Looking for memory.h - found 06:55:37 -- Looking for strings.h 06:55:37 -- Looking for strings.h - found 06:55:37 -- Looking for string.h 06:55:38 -- Looking for string.h - found 06:55:38 -- Looking for sys/sysctl.h 06:55:38 -- Looking for sys/sysctl.h - not found 06:55:38 -- Looking for netinet/in.h 06:55:38 -- Looking for netinet/in.h - found 06:55:38 -- Looking for sys/epoll.h 06:55:39 -- Looking for sys/epoll.h - found 06:55:39 -- Looking for sys/timerfd.h 06:55:39 -- Looking for sys/timerfd.h - found 06:55:39 -- Looking for arpa/inet.h 06:55:39 -- Looking for arpa/inet.h - found 06:55:39 -- Looking for stdbool.h 06:55:39 -- Looking for stdbool.h - found 06:55:40 -- Looking for netdb.h 06:55:40 -- Looking for netdb.h - found 06:55:40 -- Looking for pthread.h 06:55:40 -- Looking for pthread.h - found 06:55:40 -- Looking for stdlib.h 06:55:40 -- Looking for stdlib.h - found 06:55:40 -- Looking for stdint.h 06:55:41 -- Looking for stdint.h - found 06:55:41 -- Looking for syslog.h 06:55:41 -- Looking for syslog.h - found 06:55:41 -- Looking for sys/ioctl.h 06:55:42 -- Looking for sys/ioctl.h - found 06:55:42 -- Looking for sys/socket.h 06:55:42 -- Looking for sys/socket.h - found 06:55:42 -- Looking for sys/stat.h 06:55:42 -- Looking for sys/stat.h - found 06:55:42 -- Looking for sys/time.h 06:55:42 -- Looking for sys/time.h - found 06:55:42 -- Looking for sys/types.h 06:55:43 -- Looking for sys/types.h - found 06:55:43 -- Looking for sys/unistd.h 06:55:43 -- Looking for sys/unistd.h - not found 06:55:43 -- Looking for time.h 06:55:43 -- Looking for time.h - found 06:55:43 -- Looking for unistd.h 06:55:43 -- Looking for unistd.h - found 06:55:43 -- Looking for float.h 06:55:44 -- Looking for float.h - found 06:55:44 -- Looking for stddef.h 06:55:44 -- Looking for stddef.h - found 06:55:44 -- Looking for winsock2.h 06:55:44 -- Looking for winsock2.h - not found 06:55:44 -- Looking for ws2tcpip.h 06:55:45 -- Looking for ws2tcpip.h - not found 06:55:45 -- Looking for malloc 06:55:45 -- Looking for malloc - found 06:55:45 -- Looking for memset 06:55:45 -- Looking for memset - found 06:55:45 -- Looking for select 06:55:45 -- Looking for select - found 06:55:45 -- Looking for socket 06:55:46 -- Looking for socket - found 06:55:46 -- Looking for strcasecmp 06:55:46 -- Looking for strcasecmp - found 06:55:46 -- Looking for pthread_mutex_lock 06:55:46 -- Looking for pthread_mutex_lock - found 06:55:46 -- Looking for getaddrinfo 06:55:47 -- Looking for getaddrinfo - found 06:55:47 -- Looking for strnlen 06:55:47 -- Looking for strnlen - found 06:55:47 -- Looking for strrchr 06:55:47 -- Looking for strrchr - found 06:55:47 -- Looking for getrandom 06:55:48 -- Looking for getrandom - found 06:55:48 -- Looking for cmsghdr 06:55:48 -- Looking for cmsghdr - not found 06:55:48 -- compiling without epoll support 06:55:48 -- compiling with DTLS support 06:55:48 -- DTLS_BACKEND: tinydtls 06:55:48 -- Found TinyDTLS: /usr/local/include 06:55:48 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 06:55:48 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 06:55:48 -- TINYDTLS_ROOT_DIR: 06:55:48 -- compiling with tinydtls support 06:55:48 -- ENABLE_DTLS:.....................ON 06:55:48 -- ENABLE_TCP:......................ON 06:55:48 -- ENABLE_DOCS:.....................OFF 06:55:48 -- ENABLE_EXAMPLES:.................OFF 06:55:48 -- DTLS_BACKEND:....................tinydtls 06:55:48 -- WITH_GNUTLS:.....................OFF 06:55:48 -- WITH_TINYDTLS:...................ON 06:55:48 -- WITH_OPENSSL:....................OFF 06:55:48 -- WITH_MBEDTLS:....................OFF 06:55:48 -- HAVE_LIBTINYDTLS:................1 06:55:48 -- HAVE_LIBGNUTLS:.................. 06:55:48 -- HAVE_OPENSSL:.................... 06:55:48 -- HAVE_MBEDTLS:.................... 06:55:48 -- COAP_EPOLL_SUPPORT:.............. 06:55:48 -- CMAKE_C_COMPILER:................/usr/bin/cc 06:55:48 -- BUILD_SHARED_LIBS:...............ON 06:55:48 -- CMAKE_BUILD_TYPE:................Release 06:55:48 -- CMAKE_SYSTEM_PROCESSOR:..........aarch64 06:55:48 -- Configuring done (13.7s) 06:55:48 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 06:55:48 Policy CMP0115 is not set: Source file extensions must be explicit. Run 06:55:48 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 06:55:48 command to set the policy and suppress this warning. 06:55:48 06:55:48 File: 06:55:48 06:55:48 /device-coap/deps/libcoap/include/coap2/coap.h.in 06:55:48 This warning is for project developers. Use -Wno-dev to suppress it. 06:55:48 06:55:48 -- Generating done (0.0s) 06:55:48 -- Build files have been written to: /device-coap/deps/libcoap/build 06:55:48 + make 06:55:48 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 06:55:48 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 06:55:49 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 06:55:50 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 06:55:51 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 06:55:51 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 06:55:51 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 06:55:53 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 06:55:53 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 06:55:54 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 06:55:57 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 06:55:58 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 06:55:58 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 06:55:59 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 06:55:59 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 06:56:03 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 06:56:04 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 06:56:05 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 06:56:07 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 06:56:07 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 06:56:07 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 06:56:09 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 06:56:10 [100%] Linking C shared library libcoap-2.so 06:56:10 [100%] Built target coap-2 06:56:10 + make install 06:56:10 [100%] Built target coap-2 06:56:10 Install the project... 06:56:10 -- Install configuration: "Release" 06:56:10 -- Installing: /usr/local/lib/libcoap-2.so 06:56:10 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 06:56:10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 06:56:10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 06:56:10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 06:56:10 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 06:56:10 -- Up-to-date: /usr/local/include 06:56:10 -- Up-to-date: /usr/local/include/coap2 06:56:10 -- Installing: /usr/local/include/coap2/coap_dtls.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_mutex.h 06:56:10 -- Installing: /usr/local/include/coap2/option.h 06:56:10 -- Installing: /usr/local/include/coap2/uri.h 06:56:10 -- Installing: /usr/local/include/coap2/net.h 06:56:10 -- Installing: /usr/local/include/coap2/bits.h 06:56:10 -- Installing: /usr/local/include/coap2/utlist.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_event.h 06:56:10 -- Installing: /usr/local/include/coap2/block.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_session.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_prng.h 06:56:10 -- Installing: /usr/local/include/coap2/uthash.h 06:56:10 -- Installing: /usr/local/include/coap2/async.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_hashkey.h 06:56:10 -- Installing: /usr/local/include/coap2/libcoap.h 06:56:10 -- Installing: /usr/local/include/coap2/mem.h 06:56:10 -- Installing: /usr/local/include/coap2/subscribe.h 06:56:10 -- Installing: /usr/local/include/coap2/resource.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_riot.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_time.h 06:56:10 -- Installing: /usr/local/include/coap2/pdu.h 06:56:10 -- Installing: /usr/local/include/coap2/address.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_io.h 06:56:10 -- Installing: /usr/local/include/coap2/lwippools.h 06:56:10 -- Installing: /usr/local/include/coap2/str.h 06:56:10 -- Installing: /usr/local/include/coap2/coap_debug.h 06:56:10 -- Installing: /usr/local/include/coap2/encode.h 06:56:10 -- Up-to-date: /usr/local/include 06:56:10 -- Up-to-date: /usr/local/include/coap2 06:56:10 -- Installing: /usr/local/include/coap2/coap.h 06:56:10 + '[' 1 '=' 1 ] 06:56:10 + cd /device-coap/deps 06:56:10 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 06:56:10 Connecting to github.com (140.82.112.3:443) 06:56:11 Connecting to codeload.github.com (140.82.114.10:443) 06:56:11 saving to 'v4.0.0.zip' 06:56:11 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 06:56:11 'v4.0.0.zip' saved 06:56:11 + unzip v4.0.0.zip 06:56:11 Archive: v4.0.0.zip 06:56:11 creating: device-sdk-c-4.0.0/ 06:56:11 creating: device-sdk-c-4.0.0/.github/ 06:56:11 inflating: device-sdk-c-4.0.0/.github/Contributing.md 06:56:11 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 06:56:11 inflating: device-sdk-c-4.0.0/.github/semantic.yml 06:56:11 creating: device-sdk-c-4.0.0/.github/workflows/ 06:56:11 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 06:56:11 inflating: device-sdk-c-4.0.0/.gitignore 06:56:11 inflating: device-sdk-c-4.0.0/Attribution.txt 06:56:11 inflating: device-sdk-c-4.0.0/CHANGELOG.md 06:56:11 inflating: device-sdk-c-4.0.0/Doxyfile 06:56:11 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 06:56:11 inflating: device-sdk-c-4.0.0/Jenkinsfile 06:56:11 inflating: device-sdk-c-4.0.0/LICENSE 06:56:11 inflating: device-sdk-c-4.0.0/Makefile 06:56:11 inflating: device-sdk-c-4.0.0/OWNERS.md 06:56:11 inflating: device-sdk-c-4.0.0/README.IOT.md 06:56:11 inflating: device-sdk-c-4.0.0/README.md 06:56:11 inflating: device-sdk-c-4.0.0/README.v3.md 06:56:11 creating: device-sdk-c-4.0.0/docs/ 06:56:11 inflating: device-sdk-c-4.0.0/docs/configuration.md 06:56:11 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 06:56:11 inflating: device-sdk-c-4.0.0/docs/metrics.md 06:56:11 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 06:56:11 inflating: device-sdk-c-4.0.0/docs/startup.md 06:56:11 creating: device-sdk-c-4.0.0/include/ 06:56:11 creating: device-sdk-c-4.0.0/include/devsdk/ 06:56:11 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 06:56:11 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 06:56:11 creating: device-sdk-c-4.0.0/include/edgex/ 06:56:11 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 06:56:11 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 06:56:11 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 06:56:11 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 06:56:11 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 06:56:11 creating: device-sdk-c-4.0.0/scripts/ 06:56:11 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 06:56:11 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 06:56:11 inflating: device-sdk-c-4.0.0/scripts/build.sh 06:56:11 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 06:56:11 creating: device-sdk-c-4.0.0/src/ 06:56:11 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 06:56:11 creating: device-sdk-c-4.0.0/src/c/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/api.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/bus.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/bus.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/callback3.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/callback3.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/config.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/config.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/correlation.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/correlation.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/data.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/data.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 06:56:11 inflating: device-sdk-c-4.0.0/src/c/device.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/device.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/devman.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/devmap.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/devmap.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/devutil.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/discovery.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/discovery.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/file/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/random/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 06:56:11 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 06:56:11 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 06:56:11 inflating: device-sdk-c-4.0.0/src/c/filesys.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/filesys.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/keeper.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/keeper.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/map.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/map.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/metadata.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/metadata.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/metrics.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/opstate.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/opstate.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/parson.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/parson.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/profiles.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/profiles.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/registry.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/registry.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/rest.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/rest.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/secrets.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/secrets.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/service.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/service.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/transform.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/transform.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/validate.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/validate.h 06:56:11 inflating: device-sdk-c-4.0.0/src/c/watchers.c 06:56:11 inflating: device-sdk-c-4.0.0/src/c/watchers.h 06:56:11 creating: device-sdk-c-4.0.0/src/cmake/ 06:56:11 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 06:56:11 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 06:56:11 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 06:56:11 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 06:56:11 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 06:56:11 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 06:56:11 + cd device-sdk-c-4.0.0 06:56:11 + ./scripts/build.sh 06:56:11 + CPPCHECK=false 06:56:11 + DOCGEN=false 06:56:11 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:56:11 + '[' 0 -gt 0 ] 06:56:11 + readlink -f ./scripts/build.sh 06:56:11 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts/build.sh 06:56:11 + dirname /device-coap/deps/device-sdk-c-4.0.0/scripts 06:56:11 + ROOT=/device-coap/deps/device-sdk-c-4.0.0 06:56:11 + cd /device-coap/deps/device-sdk-c-4.0.0 06:56:11 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/release 06:56:11 + cd /device-coap/deps/device-sdk-c-4.0.0/build/release 06:56:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.0/src 06:56:11 -- The C compiler identification is GNU 12.2.1 06:56:11 -- Detecting C compiler ABI info 06:56:12 -- Detecting C compiler ABI info - done 06:56:12 -- Check for working C compiler: /usr/bin/cc - skipped 06:56:12 -- Detecting C compile features 06:56:12 -- Detecting C compile features - done 06:56:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:56:12 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 06:56:12 -- Found LIBYAML: /usr/lib/libyaml.so 06:56:12 -- Found LIBUUID: /usr/lib/libuuid.so 06:56:12 -- Found LIBCBOR: /usr/lib/libcbor.so 06:56:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:56:12 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:56:12 -- /opt/iotech/iot/1.5/include 06:56:12 -- C SDK 0.0.0 for Linux 06:56:12 -- Performing Test CSDK_HAVE_ATOMIC 06:56:13 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:56:13 -- Found Curses: /usr/lib/libcurses.so 06:56:13 -- Configuring done (1.7s) 06:56:13 -- Generating done (0.2s) 06:56:13 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/release 06:56:13 + make all package 06:56:13 + tee release.log 06:56:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:56:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:56:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:56:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:56:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:56:18 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:56:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:56:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:56:21 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:56:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:56:23 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:56:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:56:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:56:25 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:56:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:56:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:56:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:56:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:56:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:56:31 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:56:31 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:56:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:56:38 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:56:38 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:56:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:56:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:56:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:56:42 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:56:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:56:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:56:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:56:46 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 06:56:46 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 06:56:46 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 06:56:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:56:46 /device-coap/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 06:56:46 875 | const iot_data_t *deviceservices_config; 06:56:46 | ^~~~~~~~~~~~~~~~~~~~~ 06:56:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:56:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:56:48 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:56:48 [ 68%] Linking C shared library libcsdk.so 06:56:49 [ 68%] Built target csdk 06:56:49 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:56:50 [ 72%] Linking C executable template 06:56:50 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:56:50 [ 72%] Built target template 06:56:50 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:56:51 [ 76%] Linking C executable device-counter 06:56:51 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:56:51 [ 76%] Built target device-counter 06:56:51 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:56:51 [ 80%] Linking C executable device-random 06:56:51 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:56:52 [ 80%] Built target device-random 06:56:52 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:56:52 [ 84%] Linking C executable device-gyro 06:56:52 /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) 06:56:53 [ 84%] Built target device-gyro 06:56:53 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:56:53 [ 88%] Linking C executable device-bitfields 06:56: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) 06:56:53 [ 88%] Built target device-bitfields 06:56:53 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:56:54 [ 92%] Linking C executable template-discovery 06:56: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) 06:56:55 [ 92%] Built target template-discovery 06:56:55 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:56:56 [ 96%] Linking C executable device-file 06:56: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) 06:56:56 [ 96%] Built target device-file 06:56:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:56:57 [100%] Linking C executable device-terminal 06:56: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) 06:56:57 [100%] Built target device-terminal 06:56:57 Run CPack packaging tool... 06:56:57 CPack: Create package using TGZ 06:56:57 CPack: Install projects 06:56:57 CPack: - Run preinstall target for: Csdk 06:56:58 CPack: - Install project: Csdk [] 06:56:58 CPack: Create package 06:56:58 CPack: - package: /device-coap/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 06:56:58 + '[' false '=' true ] 06:56:58 + '[' false '=' true ] 06:56:58 + mkdir -p /device-coap/deps/device-sdk-c-4.0.0/build/debug 06:56:58 + cd /device-coap/deps/device-sdk-c-4.0.0/build/debug 06:56:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.0/src 06:56:58 -- The C compiler identification is GNU 12.2.1 06:56:58 -- Detecting C compiler ABI info 06:56:58 -- Detecting C compiler ABI info - done 06:56:59 -- Check for working C compiler: /usr/bin/cc - skipped 06:56:59 -- Detecting C compile features 06:56:59 -- Detecting C compile features - done 06:56:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:56:59 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 06:56:59 -- Found LIBYAML: /usr/lib/libyaml.so 06:56:59 -- Found LIBUUID: /usr/lib/libuuid.so 06:56:59 -- Found LIBCBOR: /usr/lib/libcbor.so 06:56:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:56:59 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:56:59 -- /opt/iotech/iot/1.5/include 06:56:59 -- C SDK 0.0.0 for Linux 06:56:59 -- Performing Test CSDK_HAVE_ATOMIC 06:56:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:56:59 -- Found Curses: /usr/lib/libcurses.so 06:56:59 -- Configuring done (1.7s) 06:57:00 -- Generating done (0.2s) 06:57:00 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.0/build/debug 06:57:00 + make 06:57:00 + tee debug.log 06:57:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:57:00 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:57:01 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:57:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:57:01 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:57:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:57:02 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:57:03 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:57:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:57:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:57:04 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:57:04 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:57:05 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:57:05 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:57:05 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:57:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:57:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:57:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:57:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:57:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:57:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:57:09 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:57:09 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:57:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:57:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:57:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:57:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:57:12 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:57:12 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:57:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:57:13 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:57:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:57:14 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:57:14 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:57:15 [ 68%] Linking C shared library libcsdk.so 06:57:15 [ 68%] Built target csdk 06:57:15 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:57:15 [ 72%] Linking C executable template 06:57:15 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:16 [ 72%] Built target template 06:57:16 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:57:16 [ 76%] Linking C executable device-counter 06:57:16 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:16 [ 76%] Built target device-counter 06:57:16 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:57:17 [ 80%] Linking C executable device-random 06:57:17 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:17 [ 80%] Built target device-random 06:57:17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:57:17 [ 84%] Linking C executable device-gyro 06:57:17 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:18 [ 84%] Built target device-gyro 06:57:18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:57:18 [ 88%] Linking C executable device-bitfields 06:57:18 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:18 [ 88%] Built target device-bitfields 06:57:18 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:57:19 [ 92%] Linking C executable template-discovery 06:57:19 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:19 [ 92%] Built target template-discovery 06:57:19 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:57:19 [ 96%] Linking C executable device-file 06:57:19 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:20 [ 96%] Built target device-file 06:57:20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:57:20 [100%] Linking C executable device-terminal 06:57:20 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:20 [100%] Built target device-terminal 06:57:20 + cp -rf include/devsdk include/edgex /usr/include/ 06:57:20 + cp build/release/c/libcsdk.so /usr/lib/ 06:57:20 + rm -rf /device-coap/deps 06:57:21 Removing intermediate container 46e58df8bb10 06:57:21 ---> 270be86a439a 06:57:21 Step 13/33 : RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 06:57:22 ---> Running in 0893719c536b 06:57:23 + readlink -f /device-coap/scripts/build.sh 06:57:23 + dirname /device-coap/scripts/build.sh 06:57:23 + dirname /device-coap/scripts 06:57:23 /device-coap 06:57:23 + ROOT=/device-coap 06:57:23 + echo /device-coap 06:57:23 + cd /device-coap 06:57:23 + mkdir -p /device-coap/build/release 06:57:23 + cd /device-coap/build/release 06:57:23 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 06:57:23 -- Configuring done (0.0s) 06:57:23 -- Generating done (0.0s) 06:57:23 -- Build files have been written to: /device-coap/build/release 06:57:23 + make 06:57:23 + tee release.log 06:57:23 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 06:57:23 In file included from /usr/include/devsdk/devsdk.h:18, 06:57:23 from /device-coap/src/c/device-coap.h:17, 06:57:23 from /device-coap/src/c/coap-client.h:21, 06:57:23 from /device-coap/src/c/coap-client.c:9: 06:57:23 /device-coap/src/c/coap-client.c: In function 'GetEndDeviceProtocolProperties': 06:57:23 /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=] 06:57:23 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~ 06:57:23 90 | strlen(end_dev_params_ptr->psk_key)); 06:57:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:89:55: note: format string is defined here 06:57:23 89 | iot_log_debug(sdk_ctx->lc, "COAP:PSK key len %u", 06:57:23 | ~^ 06:57:23 | | 06:57:23 | unsigned int 06:57:23 | %lu 06:57:23 /device-coap/src/c/coap-client.c: In function 'message_handler': 06:57:23 /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=] 06:57:23 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:126:63: note: format string is defined here 06:57:23 126 | iot_log_error(sdk_ctx->lc, "COAP:invalid data of len %u", len); 06:57:23 | ~^ 06:57:23 | | 06:57:23 | unsigned int 06:57:23 | %lu 06:57:23 /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=] 06:57:23 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 130 | resource->properties->type); 06:57:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 | | 06:57:23 | iot_typecode_t 06:57:23 /device-coap/src/c/coap-client.c:129:68: note: format string is defined here 06:57:23 129 | iot_log_debug(sdk_ctx->lc, "COAP: coap device resource type %d", 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 /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=] 06:57:23 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 140 | len); 06:57:23 | ~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:139:71: note: format string is defined here 06:57:23 139 | iot_log_debug(sdk_ctx->lc, "COAP:coap float data=%s, len = %d", data, 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 | %ld 06:57:23 /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=] 06:57:23 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 145 | len); 06:57:23 | ~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:144:71: note: format string is defined here 06:57:23 144 | iot_log_debug(sdk_ctx->lc, "COAP:coap int32 data=%s, len = %d", data, 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 | %ld 06:57:23 /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=] 06:57:23 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 152 | len); 06:57:23 | ~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:151:70: note: format string is defined here 06:57:23 151 | iot_log_debug(sdk_ctx->lc, "COAP:coap json data=%s, len = %d", data, 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 | %ld 06:57:23 /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=] 06:57:23 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 157 | resource->properties->type); 06:57:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 | | 06:57:23 | iot_typecode_t 06:57:23 /device-coap/src/c/coap-client.c:156:71: note: format string is defined here 06:57:23 156 | iot_log_error(sdk_ctx->lc, "COAP:unsupported resource type %d", 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 /device-coap/src/c/coap-client.c: In function 'CoapSendCommandToEndDevice': 06:57:23 /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=] 06:57:23 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:244:55: note: format string is defined here 06:57:23 244 | iot_log_debug(sdk_ctx->lc, "COAP: Data = %d, Len = %d", *post_data, len); 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 | %ld 06:57:23 /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=] 06:57:23 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 253 | (uint8_t *)end_dev_params_ptr->psk_key, 06:57:23 254 | strlen(end_dev_params_ptr->psk_key)); 06:57:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:252:67: note: format string is defined here 06:57:23 252 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 | %ld 06:57:23 /device-coap/src/c/coap-client.c: In function 'CoapGetRequestToEndDevice': 06:57:23 /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=] 06:57:23 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:57:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 352 | (uint8_t *)end_dev_params_ptr->psk_key, 06:57:23 353 | strlen(end_dev_params_ptr->psk_key)); 06:57:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:23 | | 06:57:23 | size_t {aka long unsigned int} 06:57:23 /device-coap/src/c/coap-client.c:351:67: note: format string is defined here 06:57:23 351 | iot_log_debug(sdk_ctx->lc, "COAP-client:ED psk key = %s, len=%d", 06:57:23 | ~^ 06:57:23 | | 06:57:23 | int 06:57:23 | %ld 06:57:24 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 06:57:24 In file included from /usr/include/devsdk/devsdk.h:18, 06:57:24 from /usr/include/edgex/devices.h:17, 06:57:24 from /device-coap/src/c/coap-server.c:22: 06:57:24 /device-coap/src/c/coap-server.c: In function 'data_handler': 06:57:24 /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=] 06:57:24 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 06:57:24 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:57:24 | | 06:57:24 | size_t {aka long unsigned int} 06:57:24 /device-coap/src/c/coap-server.c:82:54: note: format string is defined here 06:57:24 82 | iot_log_info (sdk_ctx->lc, "invalid data of len %u", len); 06:57:24 | ~^ 06:57:24 | | 06:57:24 | unsigned int 06:57:24 | %lu 06:57:24 /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=] 06:57:24 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 06:57:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:24 | | 06:57:24 | iot_typecode_t 06:57:24 /device-coap/src/c/coap-server.c:128:65: note: format string is defined here 06:57:24 128 | iot_log_error (sdk_ctx->lc, "unsupported resource type %d", resource->properties->type); 06:57:24 | ~^ 06:57:24 | | 06:57:24 | int 06:57:24 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 06:57:24 In file included from /usr/include/devsdk/devsdk.h:18, 06:57:24 from /device-coap/src/c/coap-util.h:18, 06:57:24 from /device-coap/src/c/coap-util.c:9: 06:57:24 /device-coap/src/c/coap-util.c: In function 'read_data_float64': 06:57:24 /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=] 06:57:24 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:57:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:57:24 | | 06:57:24 | size_t {aka long unsigned int} 06:57:24 /device-coap/src/c/coap-util.c:63:56: note: format string is defined here 06:57:24 63 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:57:24 | ~^ 06:57:24 | | 06:57:24 | unsigned int 06:57:24 | %lu 06:57:24 /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=] 06:57:24 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:57:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:57:24 | | 06:57:24 | size_t {aka long unsigned int} 06:57:24 /device-coap/src/c/coap-util.c:76:56: note: format string is defined here 06:57:24 76 | iot_log_info(sdk_ctx->lc, "invalid float64 of len %u", len); 06:57:24 | ~^ 06:57:24 | | 06:57:24 | unsigned int 06:57:24 | %lu 06:57:24 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 06:57:24 /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=] 06:57:24 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:57:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:57:24 | | 06:57:24 | size_t {aka long unsigned int} 06:57:24 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 06:57:24 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:57:24 | ~^ 06:57:24 | | 06:57:24 | unsigned int 06:57:24 | %lu 06:57:24 /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=] 06:57:24 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:57:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 06:57:24 | | 06:57:24 | size_t {aka long unsigned int} 06:57:24 /device-coap/src/c/coap-util.c:102:54: note: format string is defined here 06:57:24 102 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 06:57:24 | ~^ 06:57:24 | | 06:57:24 | unsigned int 06:57:24 | %lu 06:57:25 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 06:57:25 In file included from /usr/include/devsdk/devsdk.h:18, 06:57:25 from /device-coap/src/c/device-coap.h:17, 06:57:25 from /device-coap/src/c/device-coap.c:10: 06:57:25 /device-coap/src/c/device-coap.c: In function 'coap_get_handler': 06:57:25 /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=] 06:57:25 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 06:57:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:25 131 | requests[i].resource->type); 06:57:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:57:25 | | 06:57:25 | iot_typecode_t 06:57:25 /device-coap/src/c/device-coap.c:130:69: note: format string is defined here 06:57:25 130 | iot_log_debug(driver->lc, "COAP:Triggering Get events req type=%d\n", 06:57:25 | ~^ 06:57:25 | | 06:57:25 | int 06:57:26 [100%] Linking C executable device-coap 06:57:26 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:57:26 [100%] Built target device-coap 06:57:28 Removing intermediate container 0893719c536b 06:57:28 ---> 35b7cc9f0117 06:57:28 Step 14/33 : FROM ${BASE} 06:57:28 ---> 14c9c0e36ebb 06:57:28 Step 15/33 : RUN apk add --update --no-cache dumb-init 06:57:28 ---> Running in c448276e66ad 06:57:29 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:57:30 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:57:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 06:57:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:57:31 OK: 334 MiB in 103 packages 06:57:32 Removing intermediate container c448276e66ad 06:57:32 ---> ad8bc3bb91d4 06:57:32 Step 16/33 : RUN apk --no-cache upgrade 06:57:32 ---> Running in 9ce8d852e3f0 06:57:33 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:57:34 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:57:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 06:57:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:57:35 OK: 334 MiB in 103 packages 06:57:36 Removing intermediate container 9ce8d852e3f0 06:57:36 ---> bbf9c13929c2 06:57:36 Step 17/33 : WORKDIR / 06:57:36 ---> Running in 993069de6a49 06:57:37 Removing intermediate container 993069de6a49 06:57:37 ---> 9dd6236172ec 06:57:37 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 06:57:37 ---> Running in 84a031bb48cb 06:57:38 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:57:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:57:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:57:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:57:41 Removing intermediate container 84a031bb48cb 06:57:41 ---> 6a56972b5a5f 06:57:41 Step 19/33 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 06:57:41 ---> Running in 86f082b653fb 06:57:42 Removing intermediate container 86f082b653fb 06:57:42 ---> abd5543b89ff 06:57:42 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 06:57:43 ---> Running in 660146592bfa 06:57:43 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:57:44 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:57:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/aarch64/APKINDEX.tar.gz 06:57:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:57:46 (1/1) Installing curl (8.12.1-r0) 06:57:46 Executing busybox-1.36.1-r7.trigger 06:57:46 OK: 334 MiB in 104 packages 06:57:47 Removing intermediate container 660146592bfa 06:57:47 ---> 2755a9814adc 06:57:47 Step 21/33 : COPY --from=builder /device-coap/build/release/device-coap / 06:57:47 ---> 885b27d46c1c 06:57:47 Step 22/33 : COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 06:57:48 ---> 362284cc73b6 06:57:48 Step 23/33 : COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 06:57:49 ---> 0e96df70a65d 06:57:49 Step 24/33 : COPY --from=builder /usr/local/lib/libtinydtls.so /usr/local/lib/ 06:57:49 ---> f5dc63e35bd9 06:57:49 Step 25/33 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 06:57:49 ---> 3b64e409bed9 06:57:49 Step 26/33 : COPY LICENSE / 06:57:50 ---> 8a1b467e88ad 06:57:50 Step 27/33 : COPY Attribution.txt / 06:57:50 ---> 9391082bd289 06:57:50 Step 28/33 : COPY res /res 06:57:54 ---> 712443e90fd8 06:57:54 Step 29/33 : ENTRYPOINT ["/device-coap"] 06:57:54 ---> Running in b1b9e40523d8 06:57:54 Removing intermediate container b1b9e40523d8 06:57:54 ---> 724295ccd968 06:57:54 Step 30/33 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:57:54 ---> Running in 34526fe6b303 06:57:54 Removing intermediate container 34526fe6b303 06:57:54 ---> 650657c9bf09 06:57:54 Step 31/33 : LABEL arch=arm64 06:57:54 ---> Running in 9fe0cdf8ea92 06:57:54 Removing intermediate container 9fe0cdf8ea92 06:57:54 ---> 388d66b8cfc9 06:57:54 Step 32/33 : LABEL git_sha=96492ab27443f1c63cb239c17d4c910313ac6133 06:57:54 ---> Running in 2b9ede628898 06:57:54 Removing intermediate container 2b9ede628898 06:57:54 ---> 1ebe3a75f462 06:57:54 Step 33/33 : LABEL version=4.0.1 06:57:54 ---> Running in 18c85c54f46b 06:57:55 Removing intermediate container 18c85c54f46b 06:57:55 ---> ab83db3c557d 06:57:55 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:57:55 Successfully built ab83db3c557d 06:57:55 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 06:57:55 provisioning config files... 06:57:55 copy managed file [device-coap-c-settings] to file:/w/workspace/device-coap-c/7@tmp/config7065765384953627520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:55 ---> ****-login.sh 06:57:55 nexus3.edgexfoundry.org:10001 06:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:55 Configure a credential helper to remove this warning. See 06:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:55 06:57:55 Login Succeeded 06:57:55 nexus3.edgexfoundry.org:10002 06:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:56 Configure a credential helper to remove this warning. See 06:57:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:56 06:57:56 Login Succeeded 06:57:56 nexus3.edgexfoundry.org:10003 06:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:56 Configure a credential helper to remove this warning. See 06:57:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:56 06:57:56 Login Succeeded 06:57:56 nexus3.edgexfoundry.org:10004 06:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:56 Configure a credential helper to remove this warning. See 06:57:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:56 06:57:56 Login Succeeded 06:57:56 ****.io 06:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:57 Configure a credential helper to remove this warning. See 06:57:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:57 06:57:57 Login Succeeded 06:57:57 ---> ****-login.sh ends [Pipeline] } 06:57:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:57:57 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:57:57 [edgeXDocker.push] Tagging docker image device-coap-arm64 with the following tags: 06:57:57 96492ab27443f1c63cb239c17d4c910313ac6133 06:57:57 4.0.1 06:57:57 96492ab27443f1c63cb239c17d4c910313ac6133-4.0.1 06:57:57 odessa 06:57:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:57 + docker tag device-coap-arm64 nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:58 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 06:57:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 06:57:58 56508df272db: Preparing 06:57:58 e582c15e8736: Preparing 06:57:58 65302c15675a: Preparing 06:57:58 def02e060fa5: Preparing 06:57:58 5503073399d2: Preparing 06:57:58 27c7e607c604: Preparing 06:57:58 ee6fc028304f: Preparing 06:57:58 43f06d1028bb: Preparing 06:57:58 75f4d351f1b7: Preparing 06:57:58 06b8863562d7: Preparing 06:57:58 1843dfaf8d1d: Preparing 06:57:58 85d167af25d1: Preparing 06:57:58 a5f0ec713100: Preparing 06:57:58 eb47408e7f8a: Preparing 06:57:58 c3084248c9f2: Preparing 06:57:58 8e83cf5e4566: Preparing 06:57:58 581e014a70a2: Preparing 06:57:58 ea881b90eecc: Preparing 06:57:58 1126b2ec8ddb: Preparing 06:57:58 dc2e1d02276a: Preparing 06:57:58 d10aa1d66a7d: Preparing 06:57:58 1a53359e4dc6: Preparing 06:57:58 97d40f2cfc64: Preparing 06:57:58 7516a9d68dc0: Preparing 06:57:58 fbbef3d89ef9: Preparing 06:57:58 5f4d9fc4d98d: Preparing 06:57:58 c3084248c9f2: Waiting 06:57:58 27c7e607c604: Waiting 06:57:58 8e83cf5e4566: Waiting 06:57:58 581e014a70a2: Waiting 06:57:58 ea881b90eecc: Waiting 06:57:58 1126b2ec8ddb: Waiting 06:57:58 dc2e1d02276a: Waiting 06:57:58 d10aa1d66a7d: Waiting 06:57:58 1a53359e4dc6: Waiting 06:57:58 97d40f2cfc64: Waiting 06:57:58 ee6fc028304f: Waiting 06:57:58 7516a9d68dc0: Waiting 06:57:58 43f06d1028bb: Waiting 06:57:58 75f4d351f1b7: Waiting 06:57:58 fbbef3d89ef9: Waiting 06:57:58 06b8863562d7: Waiting 06:57:58 1843dfaf8d1d: Waiting 06:57:58 eb47408e7f8a: Waiting 06:57:58 85d167af25d1: Waiting 06:57:58 a5f0ec713100: Waiting 06:57:58 5f4d9fc4d98d: Waiting 06:57:58 56508df272db: Pushed 06:57:58 65302c15675a: Pushed 06:57:58 e582c15e8736: Pushed 06:57:58 def02e060fa5: Pushed 06:57:58 5503073399d2: Pushed 06:57:58 43f06d1028bb: Pushed 06:57:58 ee6fc028304f: Pushed 06:57:58 27c7e607c604: Pushed 06:57:58 06b8863562d7: Pushed 06:57:58 1843dfaf8d1d: Pushed 06:57:58 75f4d351f1b7: Pushed 06:57:59 eb47408e7f8a: Pushed 06:57:59 85d167af25d1: Pushed 06:57:59 8e83cf5e4566: Pushed 06:57:59 a5f0ec713100: Pushed 06:57:59 ea881b90eecc: Pushed 06:57:59 581e014a70a2: Pushed 06:57:59 1126b2ec8ddb: Pushed 06:57:59 c3084248c9f2: Pushed 06:57:59 1a53359e4dc6: Pushed 06:57:59 7516a9d68dc0: Layer already exists 06:57:59 97d40f2cfc64: Pushed 06:57:59 fbbef3d89ef9: Layer already exists 06:57:59 5f4d9fc4d98d: Layer already exists 06:58:01 d10aa1d66a7d: Pushed 06:58:07 dc2e1d02276a: Pushed 06:58:07 96492ab27443f1c63cb239c17d4c910313ac6133: digest: sha256:97ed56f13b4088035eecbd30a702d3c5415a14c8e8350cf14d47fffec949ec67 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:08 + 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 06:58:08 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:4.0.1 06:58:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 06:58:08 56508df272db: Preparing 06:58:08 e582c15e8736: Preparing 06:58:08 65302c15675a: Preparing 06:58:08 def02e060fa5: Preparing 06:58:08 5503073399d2: Preparing 06:58:08 27c7e607c604: Preparing 06:58:08 ee6fc028304f: Preparing 06:58:08 43f06d1028bb: Preparing 06:58:08 75f4d351f1b7: Preparing 06:58:08 06b8863562d7: Preparing 06:58:08 1843dfaf8d1d: Preparing 06:58:08 85d167af25d1: Preparing 06:58:08 a5f0ec713100: Preparing 06:58:08 eb47408e7f8a: Preparing 06:58:08 c3084248c9f2: Preparing 06:58:08 8e83cf5e4566: Preparing 06:58:08 581e014a70a2: Preparing 06:58:08 ea881b90eecc: Preparing 06:58:08 1126b2ec8ddb: Preparing 06:58:08 dc2e1d02276a: Preparing 06:58:08 d10aa1d66a7d: Preparing 06:58:08 1a53359e4dc6: Preparing 06:58:08 97d40f2cfc64: Preparing 06:58:08 7516a9d68dc0: Preparing 06:58:08 fbbef3d89ef9: Preparing 06:58:08 5f4d9fc4d98d: Preparing 06:58:08 c3084248c9f2: Waiting 06:58:08 8e83cf5e4566: Waiting 06:58:08 581e014a70a2: Waiting 06:58:08 ea881b90eecc: Waiting 06:58:08 1126b2ec8ddb: Waiting 06:58:08 dc2e1d02276a: Waiting 06:58:08 d10aa1d66a7d: Waiting 06:58:08 1a53359e4dc6: Waiting 06:58:08 97d40f2cfc64: Waiting 06:58:08 7516a9d68dc0: Waiting 06:58:08 fbbef3d89ef9: Waiting 06:58:08 5f4d9fc4d98d: Waiting 06:58:08 27c7e607c604: Waiting 06:58:08 ee6fc028304f: Waiting 06:58:08 43f06d1028bb: Waiting 06:58:08 75f4d351f1b7: Waiting 06:58:08 06b8863562d7: Waiting 06:58:08 1843dfaf8d1d: Waiting 06:58:08 a5f0ec713100: Waiting 06:58:08 85d167af25d1: Waiting 06:58:08 eb47408e7f8a: Waiting 06:58:08 56508df272db: Layer already exists 06:58:08 65302c15675a: Layer already exists 06:58:08 e582c15e8736: Layer already exists 06:58:08 5503073399d2: Layer already exists 06:58:08 def02e060fa5: Layer already exists 06:58:08 ee6fc028304f: Layer already exists 06:58:08 27c7e607c604: Layer already exists 06:58:08 43f06d1028bb: Layer already exists 06:58:08 06b8863562d7: Layer already exists 06:58:08 75f4d351f1b7: Layer already exists 06:58:08 1843dfaf8d1d: Layer already exists 06:58:08 a5f0ec713100: Layer already exists 06:58:08 85d167af25d1: Layer already exists 06:58:08 eb47408e7f8a: Layer already exists 06:58:08 c3084248c9f2: Layer already exists 06:58:08 8e83cf5e4566: Layer already exists 06:58:08 ea881b90eecc: Layer already exists 06:58:08 1126b2ec8ddb: Layer already exists 06:58:08 581e014a70a2: Layer already exists 06:58:08 dc2e1d02276a: Layer already exists 06:58:08 1a53359e4dc6: Layer already exists 06:58:08 7516a9d68dc0: Layer already exists 06:58:08 d10aa1d66a7d: Layer already exists 06:58:08 fbbef3d89ef9: Layer already exists 06:58:08 97d40f2cfc64: Layer already exists 06:58:08 5f4d9fc4d98d: Layer already exists 06:58:08 4.0.1: digest: sha256:97ed56f13b4088035eecbd30a702d3c5415a14c8e8350cf14d47fffec949ec67 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:09 + docker tag device-coap-arm64 nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133-4.0.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:09 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133-4.0.1 06:58:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 06:58:09 56508df272db: Preparing 06:58:09 e582c15e8736: Preparing 06:58:09 65302c15675a: Preparing 06:58:09 def02e060fa5: Preparing 06:58:09 5503073399d2: Preparing 06:58:09 27c7e607c604: Preparing 06:58:09 ee6fc028304f: Preparing 06:58:09 27c7e607c604: Waiting 06:58:09 43f06d1028bb: Preparing 06:58:09 ee6fc028304f: Waiting 06:58:09 75f4d351f1b7: Preparing 06:58:09 43f06d1028bb: Waiting 06:58:09 75f4d351f1b7: Waiting 06:58:09 06b8863562d7: Preparing 06:58:09 1843dfaf8d1d: Preparing 06:58:09 85d167af25d1: Preparing 06:58:09 a5f0ec713100: Preparing 06:58:09 eb47408e7f8a: Preparing 06:58:09 c3084248c9f2: Preparing 06:58:09 8e83cf5e4566: Preparing 06:58:09 581e014a70a2: Preparing 06:58:09 ea881b90eecc: Preparing 06:58:09 1126b2ec8ddb: Preparing 06:58:09 dc2e1d02276a: Preparing 06:58:09 06b8863562d7: Waiting 06:58:09 1843dfaf8d1d: Waiting 06:58:09 85d167af25d1: Waiting 06:58:09 a5f0ec713100: Waiting 06:58:09 eb47408e7f8a: Waiting 06:58:09 c3084248c9f2: Waiting 06:58:09 8e83cf5e4566: Waiting 06:58:09 581e014a70a2: Waiting 06:58:09 ea881b90eecc: Waiting 06:58:09 1126b2ec8ddb: Waiting 06:58:09 d10aa1d66a7d: Preparing 06:58:09 dc2e1d02276a: Waiting 06:58:09 1a53359e4dc6: Preparing 06:58:09 d10aa1d66a7d: Waiting 06:58:09 97d40f2cfc64: Preparing 06:58:09 1a53359e4dc6: Waiting 06:58:09 7516a9d68dc0: Preparing 06:58:09 97d40f2cfc64: Waiting 06:58:09 fbbef3d89ef9: Preparing 06:58:09 5f4d9fc4d98d: Preparing 06:58:09 7516a9d68dc0: Waiting 06:58:09 5f4d9fc4d98d: Waiting 06:58:09 65302c15675a: Layer already exists 06:58:09 5503073399d2: Layer already exists 06:58:09 56508df272db: Layer already exists 06:58:09 e582c15e8736: Layer already exists 06:58:09 def02e060fa5: Layer already exists 06:58:09 ee6fc028304f: Layer already exists 06:58:09 43f06d1028bb: Layer already exists 06:58:09 27c7e607c604: Layer already exists 06:58:09 06b8863562d7: Layer already exists 06:58:09 75f4d351f1b7: Layer already exists 06:58:09 1843dfaf8d1d: Layer already exists 06:58:09 85d167af25d1: Layer already exists 06:58:09 a5f0ec713100: Layer already exists 06:58:09 eb47408e7f8a: Layer already exists 06:58:09 c3084248c9f2: Layer already exists 06:58:09 ea881b90eecc: Layer already exists 06:58:09 581e014a70a2: Layer already exists 06:58:09 8e83cf5e4566: Layer already exists 06:58:09 1126b2ec8ddb: Layer already exists 06:58:10 dc2e1d02276a: Layer already exists 06:58:10 d10aa1d66a7d: Layer already exists 06:58:10 1a53359e4dc6: Layer already exists 06:58:10 7516a9d68dc0: Layer already exists 06:58:10 97d40f2cfc64: Layer already exists 06:58:10 fbbef3d89ef9: Layer already exists 06:58:10 5f4d9fc4d98d: Layer already exists 06:58:10 96492ab27443f1c63cb239c17d4c910313ac6133-4.0.1: digest: sha256:97ed56f13b4088035eecbd30a702d3c5415a14c8e8350cf14d47fffec949ec67 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:10 + docker tag device-coap-arm64 nexus3.edgexfoundry.org:10004/device-coap-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:10 + docker push nexus3.edgexfoundry.org:10004/device-coap-arm64:odessa 06:58:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-coap-arm64] 06:58:10 56508df272db: Preparing 06:58:10 e582c15e8736: Preparing 06:58:10 65302c15675a: Preparing 06:58:10 def02e060fa5: Preparing 06:58:10 5503073399d2: Preparing 06:58:10 27c7e607c604: Preparing 06:58:10 ee6fc028304f: Preparing 06:58:10 43f06d1028bb: Preparing 06:58:10 75f4d351f1b7: Preparing 06:58:10 06b8863562d7: Preparing 06:58:10 1843dfaf8d1d: Preparing 06:58:10 85d167af25d1: Preparing 06:58:10 a5f0ec713100: Preparing 06:58:10 eb47408e7f8a: Preparing 06:58:10 c3084248c9f2: Preparing 06:58:10 8e83cf5e4566: Preparing 06:58:10 581e014a70a2: Preparing 06:58:10 ea881b90eecc: Preparing 06:58:10 1126b2ec8ddb: Preparing 06:58:10 dc2e1d02276a: Preparing 06:58:10 d10aa1d66a7d: Preparing 06:58:10 1a53359e4dc6: Preparing 06:58:10 97d40f2cfc64: Preparing 06:58:10 7516a9d68dc0: Preparing 06:58:10 fbbef3d89ef9: Preparing 06:58:10 5f4d9fc4d98d: Preparing 06:58:10 27c7e607c604: Waiting 06:58:10 ee6fc028304f: Waiting 06:58:10 43f06d1028bb: Waiting 06:58:10 75f4d351f1b7: Waiting 06:58:10 06b8863562d7: Waiting 06:58:10 1843dfaf8d1d: Waiting 06:58:10 85d167af25d1: Waiting 06:58:10 a5f0ec713100: Waiting 06:58:10 eb47408e7f8a: Waiting 06:58:10 c3084248c9f2: Waiting 06:58:10 8e83cf5e4566: Waiting 06:58:10 581e014a70a2: Waiting 06:58:10 ea881b90eecc: Waiting 06:58:10 1126b2ec8ddb: Waiting 06:58:10 dc2e1d02276a: Waiting 06:58:10 5f4d9fc4d98d: Waiting 06:58:10 d10aa1d66a7d: Waiting 06:58:10 1a53359e4dc6: Waiting 06:58:10 97d40f2cfc64: Waiting 06:58:10 7516a9d68dc0: Waiting 06:58:10 fbbef3d89ef9: Waiting 06:58:10 def02e060fa5: Layer already exists 06:58:10 65302c15675a: Layer already exists 06:58:10 5503073399d2: Layer already exists 06:58:10 56508df272db: Layer already exists 06:58:10 e582c15e8736: Layer already exists 06:58:10 06b8863562d7: Layer already exists 06:58:10 75f4d351f1b7: Layer already exists 06:58:10 ee6fc028304f: Layer already exists 06:58:10 43f06d1028bb: Layer already exists 06:58:10 27c7e607c604: Layer already exists 06:58:10 1843dfaf8d1d: Layer already exists 06:58:10 a5f0ec713100: Layer already exists 06:58:10 eb47408e7f8a: Layer already exists 06:58:10 85d167af25d1: Layer already exists 06:58:10 c3084248c9f2: Layer already exists 06:58:10 581e014a70a2: Layer already exists 06:58:10 8e83cf5e4566: Layer already exists 06:58:10 dc2e1d02276a: Layer already exists 06:58:10 ea881b90eecc: Layer already exists 06:58:10 1126b2ec8ddb: Layer already exists 06:58:10 1a53359e4dc6: Layer already exists 06:58:10 fbbef3d89ef9: Layer already exists 06:58:10 d10aa1d66a7d: Layer already exists 06:58:10 97d40f2cfc64: Layer already exists 06:58:10 7516a9d68dc0: Layer already exists 06:58:11 5f4d9fc4d98d: Layer already exists 06:58:11 odessa: digest: sha256:97ed56f13b4088035eecbd30a702d3c5415a14c8e8350cf14d47fffec949ec67 size: 5748 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:58:11 ===================================================== [Pipeline] echo 06:58:11 taggedImages: 06:58:11 - nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 06:58:11 - nexus3.edgexfoundry.org:10004/device-coap-arm64:4.0.1 06:58:11 - nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133-4.0.1 06:58:11 - nexus3.edgexfoundry.org:10004/device-coap-arm64:odessa [Pipeline] echo 06:58:11 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133 [Pipeline] echo 06:58:11 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-coap-arm64:4.0.1 [Pipeline] echo 06:58:11 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-coap-arm64:96492ab27443f1c63cb239c17d4c910313ac6133-4.0.1 [Pipeline] echo 06:58:11 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 06:58:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:58:11 06:58:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:58:11 arm64: Pulling from edgex-lftools-log-publisher 06:58:11 8998bd30e6a1: Pulling fs layer 06:58:11 04944245beec: Pulling fs layer 06:58:11 699f458cf7ca: Pulling fs layer 06:58:11 765212b225bb: Pulling fs layer 06:58:11 f23df028b6ca: Pulling fs layer 06:58:11 d65c8cfc05b1: Pulling fs layer 06:58:11 2437ff75d9bd: Pulling fs layer 06:58:11 765212b225bb: Waiting 06:58:11 f23df028b6ca: Waiting 06:58:11 d65c8cfc05b1: Waiting 06:58:11 2437ff75d9bd: Waiting 06:58:12 04944245beec: Verifying Checksum 06:58:12 04944245beec: Download complete 06:58:12 765212b225bb: Verifying Checksum 06:58:12 765212b225bb: Download complete 06:58:12 f23df028b6ca: Verifying Checksum 06:58:12 f23df028b6ca: Download complete 06:58:12 d65c8cfc05b1: Verifying Checksum 06:58:12 d65c8cfc05b1: Download complete 06:58:12 699f458cf7ca: Verifying Checksum 06:58:12 699f458cf7ca: Download complete 06:58:12 8998bd30e6a1: Download complete 06:58:15 2437ff75d9bd: Verifying Checksum 06:58:15 2437ff75d9bd: Download complete 06:58:17 8998bd30e6a1: Pull complete 06:58:18 04944245beec: Pull complete 06:58:19 699f458cf7ca: Pull complete 06:58:20 765212b225bb: Pull complete 06:58:20 f23df028b6ca: Pull complete 06:58:21 d65c8cfc05b1: Pull complete 06:58:39 2437ff75d9bd: Pull complete 06:58:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:58:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:39 prd-ubuntu20.04-docker-arm64-4c-16g-774262 does not seem to be running inside a container 06:58: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/device-coap-c/7 -v /w/workspace/device-coap-c/7:/w/workspace/device-coap-c/7:rw,z -v /w/workspace/device-coap-c/7@tmp:/w/workspace/device-coap-c/7@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:arm64 cat 06:58:42 $ docker top acae93610c4c0a48b07e9fc8281e932335a3b9dba30e2666ed0c4b6cb10c0e16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:42 ---> job-cost.sh 06:58:42 lf-activate-venv: SKIPPING 06:58:42 INFO: No Stack... 06:58:43 INFO: Retrieving Pricing Info for: v3-standard-4 06:58:44 INFO: Archiving Costs [Pipeline] sh 06:58:44 + cat /w/workspace/device-coap-c/7/archives/cost.csv 06:58:44 + cut -d, -f6 [Pipeline] lock 06:58:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] 06:58:44 Resource [jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] did not exist. Created. 06:58:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:58:45 /w/workspace/device-coap-c/7@tmp/durable-458fb8d5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:58:45 + echo total: 0.10999999940395355 [Pipeline] stash 06:58:45 Warning: overwriting stash ‘stack-cost’ 06:58:45 Stashed 1 file(s) [Pipeline] } 06:58:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-odessa-7-stack-cost] [Pipeline] // lock [Pipeline] } 06:58:45 $ docker stop --time=1 acae93610c4c0a48b07e9fc8281e932335a3b9dba30e2666ed0c4b6cb10c0e16 06:58:47 $ docker rm -f --volumes acae93610c4c0a48b07e9fc8281e932335a3b9dba30e2666ed0c4b6cb10c0e16 [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 06:58:48 + [ -d /w/workspace/dgexfoundry_device-coap-c_odessa/archives ] 06:58:48 + ls -al /w/workspace/dgexfoundry_device-coap-c_odessa/archives 06:58:48 total 16 06:58:48 drwxr-xr-x 3 root root 4096 Dec 1 06:53 . 06:58:48 drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 06:53 .. 06:58:48 drwxr-xr-x 2 root root 4096 Dec 1 06:53 cost 06:58:48 -rw-r--r-- 1 root root 85 Dec 1 06:53 cost.csv 06:58:48 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-coap-c_odessa/archives 06:58:48 + ls -al /w/workspace/dgexfoundry_device-coap-c_odessa/archives 06:58:48 total 16 06:58:48 drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 06:53 . 06:58:48 drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 06:53 .. 06:58:48 drwxr-xr-x 2 jenkins jenkins 4096 Dec 1 06:53 cost 06:58:48 -rw-r--r-- 1 jenkins jenkins 85 Dec 1 06:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:58:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:58:49 ---> package-listing.sh 06:58:49 ++ facter osfamily 06:58:49 ++ tr '[:upper:]' '[:lower:]' 06:58:49 + OS_FAMILY=debian 06:58:49 + workspace=/w/workspace/dgexfoundry_device-coap-c_odessa 06:58:49 + START_PACKAGES=/tmp/packages_start.txt 06:58:49 + END_PACKAGES=/tmp/packages_end.txt 06:58:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:58:49 + PACKAGES=/tmp/packages_start.txt 06:58:49 + '[' /w/workspace/dgexfoundry_device-coap-c_odessa ']' 06:58:49 + PACKAGES=/tmp/packages_end.txt 06:58:49 + case "${OS_FAMILY}" in 06:58:49 + dpkg -l 06:58:49 + grep '^ii' 06:58:49 + '[' -f /tmp/packages_start.txt ']' 06:58:49 + '[' -f /tmp/packages_end.txt ']' 06:58:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:58:49 + '[' /w/workspace/dgexfoundry_device-coap-c_odessa ']' 06:58:49 + mkdir -p /w/workspace/dgexfoundry_device-coap-c_odessa/archives/ 06:58:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-coap-c_odessa/archives/ [Pipeline] echo 06:58:49 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 06:58:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:58:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:50 prd-ubuntu20.04-docker-8c-8g-774261 does not seem to be running inside a container 06:58:50 $ 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 06:58:51 $ docker top e276dcd74c9fa3a5a96bdc43a194e55838436f1188fa1991d35f31aa648d840e -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:51 + touch /tmp/pre-build-complete [Pipeline] sh 06:58:51 + mkdir -p /var/log/sysstat [Pipeline] sh 06:58:51 + ls /var/log/sa-host 06:58:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:52 provisioning config files... 06:58:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-coap-c_odessa@tmp/config12251311455562150632tmp [Pipeline] { [Pipeline] echo 06:58:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:58:52 ---> create-netrc.sh [Pipeline] } 06:58:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:58:52 ---> python-tools-install.sh [Pipeline] echo 06:58:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:58:53 ---> sudo-logs.sh 06:58:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:58:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:58:53 ---> job-cost.sh 06:58:53 lf-activate-venv: SKIPPING 06:58:53 DEBUG: total: 0.2199999988079071 06:58:53 INFO: Retrieving Stack Cost... 06:58:53 INFO: Retrieving Pricing Info for: v3-standard-8 06:58:53 INFO: Archiving Costs [Pipeline] echo 06:58:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:58:54 ---> logs-deploy.sh 06:58:54 lf-activate-venv: SKIPPING 06:58:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/odessa/7 06:58:54 INFO: archiving workspace using pattern(s): 06:58:55 Archives upload complete. 06:58:55 INFO: archiving logs to Nexus