Pull request #69 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cherrycl for edgexfoundry/device-coap-c Obtained Jenkinsfile from 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1+578a9a03340fcb4ee66dd22d4e32c296796c0ad6 (a0c107b9c9a5b0d232cf4a28a10b89cb3dbbc209) 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-ssh508316931110554050.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b1c004cf40c352fe6d03b0971bc7ee860312a7b0 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-ssh6759519405288335423.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 b1c004cf40c352fe6d03b0971bc7ee860312a7b0 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/PR-69/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/PR-69/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5424984054769959710.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b1c004cf40c352fe6d03b0971bc7ee860312a7b0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b1c004cf40c352fe6d03b0971bc7ee860312a7b0 # timeout=10 Commit message: "Merge pull request #480 from jinlinGuan/fix-docs-publish" > 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-ssh12374530648337677049.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/PR-69/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/PR-69/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10918800784210043314.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13650 in /w/workspace/edgexfoundry_device-coap-c_PR-69 [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/edgexfoundry_device-coap-c_PR-69 # 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 Merging remotes/origin/main commit 578a9a03340fcb4ee66dd22d4e32c296796c0ad6 into PR head commit 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 > 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 remote.origin.url git@github.com:edgexfoundry/device-coap-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-coap-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-coap-c.git +refs/pull/69/head:refs/remotes/origin/PR-69 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 578a9a03340fcb4ee66dd22d4e32c296796c0ad6 # timeout=10 Merge succeeded, producing 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 Checking out Revision 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 (PR-69) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 # timeout=10 Commit message: "fix: printf formatting, API changes for tags" First time build. Skipping changelog. > git rev-list --no-walk fc74dfa64a6b2ec1327e3eb538ac902e69d1eb57 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:21:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:21:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:21:22 ========================================================= 11:21:22 EdgeX Global Pipelines Version Info 11:21:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:21:23 ------------------- 11:21:23 stable info: 11:21:23 ------------------- 11:21:23 Commited By: Ginny Guan ginny@iotechsys.com 11:21:23 Commit SHA: b1c004cf40c352fe6d03b0971bc7ee860312a7b0 11:21:23 Message: update stable to v1.0.281 11:21:24 ------------------- 11:21:24 experimental info: 11:21:24 ------------------- 11:21:24 Commited By: **** collab-it+edgex@linuxfoundation.org 11:21:24 Commit SHA: b1c004cf40c352fe6d03b0971bc7ee860312a7b0 11:21:24 Message: update experimental to v1.0.281 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:21:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-coap-c-settings [Pipeline] echo 11:21:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-coap-c [Pipeline] echo 11:21:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-coap [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-69 [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-69 [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-69 [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 615f73b [Pipeline] echo 11:21:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:21:25 provisioning config files... 11:21:25 copy managed file [device-coap-c-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-69@tmp/config12022888950088036861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:21:25 ---> ****-login.sh 11:21:25 nexus3.edgexfoundry.org:10001 11:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:26 11:21:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 11:21:26 Configure a credential helper to remove this warning. See 11:21:26 https://docs.****.com/go/credential-store/ 11:21:26 11:21:26 Login Succeeded 11:21:26 nexus3.edgexfoundry.org:10002 11:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:26 11:21:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 11:21:26 Configure a credential helper to remove this warning. See 11:21:26 https://docs.****.com/go/credential-store/ 11:21:26 11:21:26 Login Succeeded 11:21:26 nexus3.edgexfoundry.org:10003 11:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:26 11:21:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 11:21:26 Configure a credential helper to remove this warning. See 11:21:26 https://docs.****.com/go/credential-store/ 11:21:26 11:21:26 Login Succeeded 11:21:26 nexus3.edgexfoundry.org:10004 11:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:26 11:21:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 11:21:26 Configure a credential helper to remove this warning. See 11:21:26 https://docs.****.com/go/credential-store/ 11:21:26 11:21:26 Login Succeeded 11:21:26 ****.io 11:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:27 11:21:27 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 11:21:27 Configure a credential helper to remove this warning. See 11:21:27 https://docs.****.com/go/credential-store/ 11:21:27 11:21:27 Login Succeeded 11:21:27 ---> ****-login.sh ends [Pipeline] } 11:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 11:21:27 + git rev-list -1 --merges 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1~1..615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 [Pipeline] echo 11:21:27 -----------> git rev-list -1 --merges 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1~1..615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 [false] [Pipeline] sh 11:21:27 + git log --format=format:%s -1 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 [Pipeline] echo 11:21:27 ========================================================= 11:21:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:21:27 ========================================================= 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 11:21:28 + git rev-list -1 --merges 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1~1..615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 [Pipeline] echo 11:21:28 -----------> git rev-list -1 --merges 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1~1..615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 [false] [Pipeline] sh 11:21:28 + git log --format=format:%s -1 615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 [Pipeline] echo 11:21:28 ========================================================= 11:21:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:21:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 11:21:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:21:29 + grep -v github /etc/ssh/ssh_known_hosts 11:21:29 + [ -e /tmp/ssh_known_hosts ] 11:21:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:21:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:21:29 + sudo tee -a /etc/ssh/ssh_known_hosts 11:21:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:21:29 11:21:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:21:29 0.1.4: Pulling from edgex-devops/py-git-semver 11:21:29 3dae71ba6b94: Pulling fs layer 11:21:29 6bf1a483ea7c: Pulling fs layer 11:21:29 f5dfc541a4d3: Pulling fs layer 11:21:29 461d9e800cba: Pulling fs layer 11:21:29 80192f66455f: Pulling fs layer 11:21:29 2e8e34ca0e6c: Pulling fs layer 11:21:29 a29436f7fd5d: Pulling fs layer 11:21:29 923cac83aea3: Pulling fs layer 11:21:29 25ad8b0a4227: Pulling fs layer 11:21:29 db01528c6b51: Pulling fs layer 11:21:29 28988de357af: Pulling fs layer 11:21:29 2e8e34ca0e6c: Waiting 11:21:29 a29436f7fd5d: Waiting 11:21:29 923cac83aea3: Waiting 11:21:29 461d9e800cba: Waiting 11:21:29 25ad8b0a4227: Waiting 11:21:29 db01528c6b51: Waiting 11:21:29 80192f66455f: Waiting 11:21:29 28988de357af: Waiting 11:21:29 6bf1a483ea7c: Verifying Checksum 11:21:29 6bf1a483ea7c: Download complete 11:21:29 461d9e800cba: Verifying Checksum 11:21:29 461d9e800cba: Download complete 11:21:29 80192f66455f: Verifying Checksum 11:21:29 80192f66455f: Download complete 11:21:30 f5dfc541a4d3: Download complete 11:21:30 3dae71ba6b94: Verifying Checksum 11:21:30 3dae71ba6b94: Download complete 11:21:30 923cac83aea3: Verifying Checksum 11:21:30 923cac83aea3: Download complete 11:21:30 25ad8b0a4227: Verifying Checksum 11:21:30 25ad8b0a4227: Download complete 11:21:30 db01528c6b51: Download complete 11:21:30 28988de357af: Verifying Checksum 11:21:30 28988de357af: Download complete 11:21:30 a29436f7fd5d: Verifying Checksum 11:21:30 a29436f7fd5d: Download complete 11:21:30 2e8e34ca0e6c: Verifying Checksum 11:21:30 2e8e34ca0e6c: Download complete 11:21:31 3dae71ba6b94: Pull complete 11:21:31 6bf1a483ea7c: Pull complete 11:21:32 f5dfc541a4d3: Pull complete 11:21:32 461d9e800cba: Pull complete 11:21:32 80192f66455f: Pull complete 11:21:35 2e8e34ca0e6c: Pull complete 11:21:36 a29436f7fd5d: Pull complete 11:21:36 923cac83aea3: Pull complete 11:21:36 25ad8b0a4227: Pull complete 11:21:36 db01528c6b51: Pull complete 11:21:36 28988de357af: Pull complete 11:21:37 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 11:21:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:21:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:37 prd-ubuntu20.04-docker-8c-8g-13650 does not seem to be running inside a container 11:21:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-coap-c_PR-69 -v /w/workspace/edgexfoundry_device-coap-c_PR-69:/w/workspace/edgexfoundry_device-coap-c_PR-69:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-69@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-69@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:21:39 $ docker top 93696d664e33c77a07dae6afea7b4618d610f656189b5f2736dd536d3431a245 -eo pid,comm 11:21:39 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). 11:21:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:21:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:21:39 [ssh-agent] Looking for ssh-agent implementation... 11:21:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:21:39 $ docker exec 93696d664e33c77a07dae6afea7b4618d610f656189b5f2736dd536d3431a245 ssh-agent 11:21:39 SSH_AUTH_SOCK=/tmp/ssh-YwwjWaXo8m1s/agent.33 11:21:39 SSH_AGENT_PID=39 11:21:39 Running ssh-add (command line suppressed) 11:21:39 Identity added: /w/workspace/edgexfoundry_device-coap-c_PR-69@tmp/private_key_7076155416699682648.key (/w/workspace/edgexfoundry_device-coap-c_PR-69@tmp/private_key_7076155416699682648.key) 11:21:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:21:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-coap-c_PR-69 [Pipeline] sh 11:21:40 + git tag --points-at HEAD [Pipeline] } 11:21:40 $ docker exec --env ******** --env ******** 93696d664e33c77a07dae6afea7b4618d610f656189b5f2736dd536d3431a245 ssh-agent -k 11:21:40 unset SSH_AUTH_SOCK; 11:21:40 unset SSH_AGENT_PID; 11:21:40 echo Agent pid 39 killed; 11:21:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:21:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:21:40 [ssh-agent] Looking for ssh-agent implementation... 11:21:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:21:40 $ docker exec 93696d664e33c77a07dae6afea7b4618d610f656189b5f2736dd536d3431a245 ssh-agent 11:21:40 SSH_AUTH_SOCK=/tmp/ssh-VAoIh2VdU7jM/agent.86 11:21:40 SSH_AGENT_PID=92 11:21:40 Running ssh-add (command line suppressed) 11:21:40 Identity added: /w/workspace/edgexfoundry_device-coap-c_PR-69@tmp/private_key_5935005627245968137.key (/w/workspace/edgexfoundry_device-coap-c_PR-69@tmp/private_key_5935005627245968137.key) 11:21:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:21:40 + git semver init 11:21:41 2026-06-22 11:21:41,150 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 11:21:41 2026-06-22 11:21:41,153 [run_init] DEBUG init version:0.0.0 force:False 11:21:41 2026-06-22 11:21:41,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-coap-c_PR-69/.semver 11:21:41 2026-06-22 11:21:41,154 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-coap-c.git /w/workspace/edgexfoundry_device-coap-c_PR-69/.semver 11:21:41 2026-06-22 11:21:41,154 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-coap-c.git', '/w/workspace/edgexfoundry_device-coap-c_PR-69/.semver'], cwd=/w/workspace/edgexfoundry_device-coap-c_PR-69, stdin=None, shell=False, universal_newlines=False) 11:21:42 2026-06-22 11:21:41,797 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-coap-c_PR-69/.git/info/exclude 11:21:42 2026-06-22 11:21:41,798 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-coap-c_PR-69/.semver/PR-69 with force:False 11:21:42 2026-06-22 11:21:41,798 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-coap-c_PR-69/.semver/PR-69 11:21:42 2026-06-22 11:21:41,802 [execute] INFO git cat-file --batch-check 11:21:42 2026-06-22 11:21:41,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-coap-c_PR-69/.semver, stdin=, shell=False, universal_newlines=False) 11:21:42 2026-06-22 11:21:41,807 [execute] INFO git cat-file --batch 11:21:42 2026-06-22 11:21:41,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-coap-c_PR-69/.semver, stdin=, shell=False, universal_newlines=False) 11:21:42 2026-06-22 11:21:41,811 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-coap-c_PR-69/.semver/PR-69 11:21:42 0.0.0 [Pipeline] } 11:21:42 $ docker exec --env ******** --env ******** 93696d664e33c77a07dae6afea7b4618d610f656189b5f2736dd536d3431a245 ssh-agent -k 11:21:42 unset SSH_AUTH_SOCK; 11:21:42 unset SSH_AGENT_PID; 11:21:42 echo Agent pid 92 killed; 11:21:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:21:42 + git semver [Pipeline] } 11:21:42 $ docker stop --time=1 93696d664e33c77a07dae6afea7b4618d610f656189b5f2736dd536d3431a245 11:21:44 $ docker rm -f --volumes 93696d664e33c77a07dae6afea7b4618d610f656189b5f2736dd536d3431a245 [Pipeline] // withDockerContainer [Pipeline] sh 11:21:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:21:44 Stashed 1 file(s) [Pipeline] echo 11:21:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:21:45 provisioning config files... [Pipeline] // stage [Pipeline] } 11:21:45 copy managed file [device-coap-c-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-69@tmp/config4152614400837786090tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:21:45 ---> ****-login.sh 11:21:45 nexus3.edgexfoundry.org:10001 11:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:45 Login Succeeded 11:21:45 nexus3.edgexfoundry.org:10002 11:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:45 Login Succeeded 11:21:45 nexus3.edgexfoundry.org:10003 11:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:45 Login Succeeded 11:21:45 nexus3.edgexfoundry.org:10004 11:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:45 Login Succeeded 11:21:45 ****.io 11:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:45 Login Succeeded 11:21:45 ---> ****-login.sh ends [Pipeline] } 11:21:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:21:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^palau$, ^lts-test$]] [Pipeline] echo 11:21:46 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 11:21:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^palau$, ^lts-test$]] [Pipeline] echo 11:21:46 ========================================================= 11:21:46 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:21:46 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:46 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 11:21:47 #0 building with "default" instance using docker driver 11:21:47 11:21:47 #1 [internal] load build definition from Dockerfile.alpine-base 11:21:47 #1 transferring dockerfile: 986B done 11:21:47 #1 DONE 0.0s 11:21:47 11:21:47 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:21:47 #2 DONE 0.1s 11:21:47 11:21:47 #3 [internal] load .dockerignore 11:21:47 #3 transferring context: 2B done 11:21:47 #3 DONE 0.0s 11:21:47 11:21:47 #4 [internal] load build context 11:21:47 #4 transferring context: 68.56kB done 11:21:47 #4 DONE 0.0s 11:21:47 11:21:47 #5 [ 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 11:21:47 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 0.0s done 11:21:47 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 11:21:47 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s done 11:21:47 #5 sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 741B / 741B done 11:21:47 #5 sha256:6605166a5db42c9ef4e3b8366138377c430980df3f34fe18e3a1340b6ab951b9 2.56kB / 2.56kB done 11:21:47 #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.40MB / 3.40MB 0.1s done 11:21:47 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 2.91MB / 118.14MB 0.1s 11:21:47 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 28.31MB / 118.14MB 0.3s 11:21:47 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 47.19MB / 118.14MB 0.4s 11:21:47 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 68.16MB / 118.14MB 0.5s 11:21:47 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 0.7s 11:21:48 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 11:21:48 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 0.8s done 11:21:51 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 3.3s done 11:21:51 #5 DONE 4.4s 11:21:51 11:21:51 #6 [ 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:21:51 #6 0.437 Connecting to iotech.jfrog.io (54.73.4.50:443) 11:21:52 #6 0.887 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:21:52 #6 0.887 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:21:52 #6 0.887 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:21:53 #6 DONE 1.9s 11:21:53 11:21:53 #7 [ 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 11:21:53 #7 DONE 0.3s 11:21:53 11:21:53 #8 [ 4/12] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.6-dev dumb-init 11:21:53 #8 0.214 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:21:53 #8 0.342 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:21:54 #8 0.476 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 11:21:54 #8 1.172 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:21:55 #8 1.179 (1/18) Installing dumb-init (1.2.5-r2) 11:21:55 #8 1.193 (2/18) Installing hiredis (1.1.0-r2) 11:21:55 #8 1.205 (3/18) Installing hiredis-dev (1.1.0-r2) 11:21:55 #8 1.227 (4/18) Installing libcbor (0.10.2-r1) 11:21:55 #8 1.239 (5/18) Installing iotech-iot-1.6 (1.6.3-r0) 11:21:55 #8 2.075 (6/18) Installing iotech-iot-1.6-dev (1.6.3-r0) 11:21:55 #8 2.251 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.162-r0) 11:21:56 #8 2.622 (8/18) Installing libcbor-dev (0.10.2-r1) 11:21:56 #8 2.633 (9/18) Installing libmenuw (6.4_p20230506-r0) 11:21:56 #8 2.643 (10/18) Installing libpanelw (6.4_p20230506-r0) 11:21:56 #8 2.653 (11/18) Installing libncurses++ (6.4_p20230506-r0) 11:21:56 #8 2.664 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 11:21:56 #8 2.682 (13/18) Installing libblkid (2.38.1-r8) 11:21:56 #8 2.701 (14/18) Installing libuuid (2.38.1-r8) 11:21:56 #8 2.711 (15/18) Installing libfdisk (2.38.1-r8) 11:21:56 #8 2.731 (16/18) Installing libmount (2.38.1-r8) 11:21:56 #8 2.749 (17/18) Installing libsmartcols (2.38.1-r8) 11:21:56 #8 2.775 (18/18) Installing util-linux-dev (2.38.1-r8) 11:21:56 #8 2.830 Executing busybox-1.36.1-r4.trigger 11:21:56 #8 2.839 OK: 338 MiB in 100 packages 11:21:57 #8 DONE 3.4s 11:21:57 11:21:57 #9 [ 5/12] RUN apk --no-cache upgrade 11:21:57 #9 0.382 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:21:57 #9 0.510 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:21:57 #9 0.700 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 11:21:58 #9 1.289 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:21:58 #9 1.295 Upgrading critical system libraries and apk-tools: 11:21:58 #9 1.295 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:21:58 #9 1.315 Executing busybox-1.36.1-r4.trigger 11:21:58 #9 1.369 Continuing the upgrade transaction with new apk-tools: 11:21:58 #9 1.374 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:21:58 #9 1.500 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:21:58 #9 1.688 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 11:21:59 #9 2.271 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:21:59 #9 2.279 (1/27) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 11:21:59 #9 2.318 (2/27) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 11:21:59 #9 2.352 Executing busybox-1.36.1-r7.post-upgrade 11:21:59 #9 2.366 (3/27) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 11:21:59 #9 2.377 (4/27) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 11:21:59 #9 2.395 (5/27) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 11:21:59 #9 2.478 (6/27) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 11:21:59 #9 2.496 (7/27) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 11:21:59 #9 2.506 (8/27) Upgrading binutils (2.40-r7 -> 2.40-r8) 11:21:59 #9 2.603 (9/27) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 11:21:59 #9 2.693 (10/27) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 11:21:59 #9 2.703 (11/27) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 11:21:59 #9 2.717 (12/27) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 11:21:59 #9 2.739 (13/27) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 11:21:59 #9 2.769 (14/27) Installing libpsl (0.21.5-r0) 11:21:59 #9 2.779 (15/27) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 11:21:59 #9 2.798 (16/27) Installing libpsl-utils (0.21.5-r0) 11:21:59 #9 2.809 (17/27) Installing libpsl-dev (0.21.5-r0) 11:22:00 #9 2.818 (18/27) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 11:22:00 #9 2.855 (19/27) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 11:22:00 #9 2.870 (20/27) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 11:22:00 #9 2.944 (21/27) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 11:22:00 #9 2.955 (22/27) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 11:22:00 #9 2.966 (23/27) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 11:22:00 #9 2.996 (24/27) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 11:22:00 #9 3.007 (25/27) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 11:22:00 #9 3.018 (26/27) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 11:22:00 #9 3.029 (27/27) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 11:22:00 #9 3.046 Executing busybox-1.36.1-r7.trigger 11:22:00 #9 3.053 Executing ca-certificates-20241121-r1.trigger 11:22:00 #9 3.100 OK: 338 MiB in 103 packages 11:22:00 #9 DONE 3.3s 11:22:00 11:22:00 #10 [ 6/12] COPY scripts /device-coap/scripts 11:22:00 #10 DONE 0.0s 11:22:00 11:22:00 #11 [ 7/12] COPY src /device-coap/src/ 11:22:00 #11 DONE 0.0s 11:22:00 11:22:00 #12 [ 8/12] COPY VERSION /device-coap 11:22:00 #12 DONE 0.0s 11:22:00 11:22:00 #13 [ 9/12] RUN mkdir -p /device-coap/build 11:22:00 #13 DONE 0.3s 11:22:00 11:22:00 #14 [10/12] WORKDIR /device-coap 11:22:00 #14 DONE 0.1s 11:22:00 11:22:00 #15 [11/12] RUN /device-coap/scripts/build_deps.sh 1 11:22:01 #15 0.234 + BUILD_CSDK=1 11:22:01 #15 0.234 + TINYDTLS_VERSION=b0e230d 11:22:01 #15 0.234 + LIBCOAP_VERSION=1739507 11:22:01 #15 0.234 + CSDK_VERSION=4.0.2 11:22:01 #15 0.234 + '[' -d deps ] 11:22:01 #15 0.234 + mkdir deps 11:22:01 #15 0.236 + cd /device-coap/deps 11:22:01 #15 0.236 + git clone https://github.com/eclipse/tinydtls.git 11:22:01 #15 0.237 Cloning into 'tinydtls'... 11:22:01 #15 0.773 + cd tinydtls 11:22:01 #15 0.773 + git checkout develop 11:22:01 #15 0.789 branch 'develop' set up to track 'origin/develop'. 11:22:01 #15 0.789 Switched to a new branch 'develop' 11:22:01 #15 0.789 + git reset --hard b0e230d 11:22:01 #15 0.812 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 11:22:01 #15 0.812 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 11:22:01 #15 0.813 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 11:22:01 #15 0.814 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 11:22:01 #15 0.815 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 11:22:01 #15 0.816 + mkdir -p build 11:22:01 #15 0.817 + cd build 11:22:01 #15 0.817 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 11:22:01 #15 0.882 -- The C compiler identification is GNU 12.2.1 11:22:01 #15 0.895 -- Detecting C compiler ABI info 11:22:01 #15 0.982 -- Detecting C compiler ABI info - done 11:22:01 #15 1.003 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:02 #15 1.003 -- Detecting C compile features 11:22:02 #15 1.003 -- Detecting C compile features - done 11:22:02 #15 1.007 -- Looking for assert.h 11:22:02 #15 1.091 -- Looking for assert.h - found 11:22:02 #15 1.091 -- Looking for arpa/inet.h 11:22:02 #15 1.174 -- Looking for arpa/inet.h - found 11:22:02 #15 1.174 -- Looking for fcntl.h 11:22:02 #15 1.261 -- Looking for fcntl.h - found 11:22:02 #15 1.261 -- Looking for inttypes.h 11:22:02 #15 1.353 -- Looking for inttypes.h - found 11:22:02 #15 1.354 -- Looking for memory.h 11:22:02 #15 1.438 -- Looking for memory.h - found 11:22:02 #15 1.438 -- Looking for netdb.h 11:22:02 #15 1.524 -- Looking for netdb.h - found 11:22:02 #15 1.525 -- Looking for netinet/in.h 11:22:02 #15 1.613 -- Looking for netinet/in.h - found 11:22:02 #15 1.614 -- Looking for stddef.h 11:22:02 #15 1.708 -- Looking for stddef.h - found 11:22:02 #15 1.709 -- Looking for stdint.h 11:22:02 #15 1.795 -- Looking for stdint.h - found 11:22:02 #15 1.796 -- Looking for stdlib.h 11:22:02 #15 1.881 -- Looking for stdlib.h - found 11:22:02 #15 1.881 -- Looking for string.h 11:22:02 #15 1.965 -- Looking for string.h - found 11:22:02 #15 1.966 -- Looking for strings.h 11:22:02 #15 2.054 -- Looking for strings.h - found 11:22:03 #15 2.054 -- Looking for time.h 11:22:03 #15 2.141 -- Looking for time.h - found 11:22:03 #15 2.141 -- Looking for sys/param.h 11:22:03 #15 2.230 -- Looking for sys/param.h - found 11:22:03 #15 2.231 -- Looking for sys/socket.h 11:22:03 #15 2.323 -- Looking for sys/socket.h - found 11:22:03 #15 2.323 -- Looking for sys/stat.h 11:22:03 #15 2.409 -- Looking for sys/stat.h - found 11:22:03 #15 2.409 -- Looking for sys/types.h 11:22:03 #15 2.495 -- Looking for sys/types.h - found 11:22:03 #15 2.495 -- Looking for sys/time.h 11:22:03 #15 2.578 -- Looking for sys/time.h - found 11:22:03 #15 2.578 -- Looking for unistd.h 11:22:03 #15 2.660 -- Looking for unistd.h - found 11:22:03 #15 2.660 -- Looking for float.h 11:22:03 #15 2.743 -- Looking for float.h - found 11:22:03 #15 2.744 -- Looking for dlfcn.h 11:22:03 #15 2.819 -- Looking for dlfcn.h - found 11:22:03 #15 2.819 -- Looking for memset 11:22:03 #15 2.903 -- Looking for memset - found 11:22:03 #15 2.904 -- Looking for select 11:22:03 #15 2.991 -- Looking for select - found 11:22:03 #15 2.991 -- Looking for socket 11:22:03 #15 3.076 -- Looking for socket - found 11:22:04 #15 3.077 -- Looking for strdup 11:22:04 #15 3.161 -- Looking for strdup - found 11:22:04 #15 3.162 -- Looking for strerror 11:22:04 #15 3.245 -- Looking for strerror - found 11:22:04 #15 3.245 -- Looking for strnlen 11:22:04 #15 3.334 -- Looking for strnlen - found 11:22:04 #15 3.335 -- Looking for fls 11:22:04 #15 3.419 -- Looking for fls - not found 11:22:04 #15 3.419 -- Looking for vprintf 11:22:04 #15 3.506 -- Looking for vprintf - found 11:22:04 #15 3.506 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 11:22:04 #15 3.557 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 11:22:04 #15 3.565 -- Configuring done (2.7s) 11:22:04 #15 3.571 -- Generating done (0.0s) 11:22:04 #15 3.572 -- Build files have been written to: /device-coap/deps/tinydtls/build 11:22:04 #15 3.574 + make 11:22:04 #15 3.608 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 11:22:04 #15 3.761 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 11:22:04 #15 3.794 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 11:22:04 #15 4.050 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 11:22:04 #15 4.159 In file included from /device-coap/deps/tinydtls/crypto.c:34: 11:22:04 #15 4.159 In function 'ecc_ecdh', 11:22:04 #15 4.159 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 11:22:04 #15 4.159 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 11:22:04 #15 4.159 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 11:22:04 #15 4.159 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:04 #15 4.159 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 11:22:04 #15 4.159 /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 11:22:04 #15 4.159 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 11:22:04 #15 4.159 | ^~~~~~~~~~~ 11:22:04 #15 4.159 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 11:22:04 #15 4.159 431 | uint32_t pub_x[8]; 11:22:04 #15 4.159 | ^~~~~ 11:22:04 #15 4.159 In function 'ecc_ecdh', 11:22:04 #15 4.159 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 11:22:04 #15 4.159 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 11:22:04 #15 4.159 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 11:22:04 #15 4.159 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:04 #15 4.159 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 11:22:04 #15 4.159 /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 11:22:04 #15 4.159 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 11:22:04 #15 4.159 | ^~~~~~~~~~~ 11:22:04 #15 4.159 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 11:22:04 #15 4.159 432 | uint32_t pub_y[8]; 11:22:04 #15 4.159 | ^~~~~ 11:22:04 #15 4.159 In function 'ecc_ecdh', 11:22:04 #15 4.159 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 11:22:04 #15 4.159 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 11:22:04 #15 4.159 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 11:22:04 #15 4.159 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:04 #15 4.159 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 11:22:04 #15 4.159 /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 11:22:04 #15 4.159 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 11:22:04 #15 4.159 | ^~~~~~~~~~~ 11:22:04 #15 4.159 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 11:22:04 #15 4.159 430 | uint32_t priv[8]; 11:22:04 #15 4.159 | ^~~~ 11:22:05 #15 4.245 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 11:22:06 #15 5.221 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 11:22:06 #15 5.276 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 11:22:06 #15 5.319 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 11:22:06 #15 5.357 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 11:22:06 #15 5.373 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 11:22:06 #15 5.373 /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] 11:22:06 #15 5.373 316 | for (idx = 0; idx < count; idx++) { 11:22:06 #15 5.373 | ^ 11:22:06 #15 5.373 /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] 11:22:06 #15 5.373 319 | return result == count; 11:22:06 #15 5.373 | ^~ 11:22:06 #15 6.068 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 11:22:06 #15 6.134 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 11:22:06 #15 6.209 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 11:22:07 #15 6.263 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 11:22:07 #15 6.316 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 11:22:07 #15 6.334 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 11:22:07 #15 6.334 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 11:22:07 #15 6.334 | ~~~~~~~~~~^~~~~~~~ 11:22:07 #15 6.334 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 11:22:07 #15 6.334 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 11:22:07 #15 6.334 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 11:22:07 #15 6.334 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:07 #15 6.335 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 11:22:07 #15 6.335 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 11:22:07 #15 6.335 | ~~~~~^~~~~~~~ 11:22:07 #15 6.335 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 11:22:07 #15 6.335 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 11:22:07 #15 6.335 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:07 #15 6.478 [100%] Linking C shared library libtinydtls.so 11:22:07 #15 6.508 [100%] Built target tinydtls 11:22:07 #15 6.516 + make install 11:22:07 #15 6.568 [100%] Built target tinydtls 11:22:07 #15 6.583 Install the project... 11:22:07 #15 6.588 -- Install configuration: "Release" 11:22:07 #15 6.588 -- Installing: /usr/local/lib/libtinydtls.so 11:22:07 #15 6.588 -- Installing: /usr/local/include/tinydtls 11:22:07 #15 6.589 -- Installing: /usr/local/include/tinydtls/uthash.h 11:22:07 #15 6.589 -- Installing: /usr/local/include/tinydtls/sha2 11:22:07 #15 6.589 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 11:22:07 #15 6.589 -- Installing: /usr/local/include/tinydtls/ecc 11:22:07 #15 6.589 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 11:22:07 #15 6.589 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 11:22:07 #15 6.590 -- Installing: /usr/local/include/tinydtls/tinydtls.h 11:22:07 #15 6.590 -- Installing: /usr/local/include/tinydtls/alert.h 11:22:07 #15 6.590 -- Installing: /usr/local/include/tinydtls/aes 11:22:07 #15 6.590 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 11:22:07 #15 6.590 -- Installing: /usr/local/include/tinydtls/crypto.h 11:22:07 #15 6.590 -- Installing: /usr/local/include/tinydtls/numeric.h 11:22:07 #15 6.590 -- Installing: /usr/local/include/tinydtls/peer.h 11:22:07 #15 6.591 -- Installing: /usr/local/include/tinydtls/utlist.h 11:22:07 #15 6.591 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 11:22:07 #15 6.591 -- Installing: /usr/local/include/tinydtls/dtls_time.h 11:22:07 #15 6.591 -- Installing: /usr/local/include/tinydtls/netq.h 11:22:07 #15 6.591 -- Installing: /usr/local/include/tinydtls/dtls.h 11:22:07 #15 6.591 -- Installing: /usr/local/include/tinydtls/global.h 11:22:07 #15 6.592 -- Installing: /usr/local/include/tinydtls/state.h 11:22:07 #15 6.592 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 11:22:07 #15 6.592 -- Installing: /usr/local/include/tinydtls/session.h 11:22:07 #15 6.592 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 11:22:07 #15 6.592 -- Installing: /usr/local/include/tinydtls/hmac.h 11:22:07 #15 6.592 -- Installing: /usr/local/include/tinydtls/ccm.h 11:22:07 #15 6.592 -- Up-to-date: /usr/local/include/tinydtls 11:22:07 #15 6.593 -- Installing: /usr/local/include/tinydtls/dtls_config.h 11:22:07 #15 6.594 + cd /device-coap/deps 11:22:07 #15 6.594 + git clone https://github.com/obgm/libcoap.git 11:22:07 #15 6.595 Cloning into 'libcoap'... 11:22:09 #15 8.346 + cd libcoap 11:22:09 #15 8.346 + git reset --hard 1739507 11:22:09 #15 8.380 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 11:22:09 #15 8.381 + patch -p1 11:22:09 #15 8.382 patching file cmake/FindTinyDTLS.cmake 11:22:09 #15 8.383 + patch -p1 11:22:09 #15 8.383 patching file include/coap2/coap_config.h.in 11:22:09 #15 8.384 + mkdir -p build 11:22:09 #15 8.385 + cd build 11:22:09 #15 8.385 + 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' .. 11:22:09 #15 8.454 -- The CXX compiler identification is GNU 12.2.1 11:22:09 #15 8.508 -- The C compiler identification is GNU 12.2.1 11:22:09 #15 8.527 -- Detecting CXX compiler ABI info 11:22:09 #15 8.625 -- Detecting CXX compiler ABI info - done 11:22:09 #15 8.644 -- Check for working CXX compiler: /usr/bin/c++ - skipped 11:22:09 #15 8.644 -- Detecting CXX compile features 11:22:09 #15 8.644 -- Detecting CXX compile features - done 11:22:09 #15 8.649 -- Detecting C compiler ABI info 11:22:09 #15 8.731 -- Detecting C compiler ABI info - done 11:22:09 #15 8.753 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:09 #15 8.753 -- Detecting C compile features 11:22:09 #15 8.754 -- Detecting C compile features - done 11:22:09 #15 8.757 -- Looking for byteswap.h 11:22:09 #15 8.848 -- Looking for byteswap.h - found 11:22:09 #15 8.849 -- Looking for inttypes.h 11:22:09 #15 8.938 -- Looking for inttypes.h - found 11:22:09 #15 8.938 -- Looking for limits.h 11:22:09 #15 9.026 -- Looking for limits.h - found 11:22:10 #15 9.027 -- Looking for memory.h 11:22:10 #15 9.114 -- Looking for memory.h - found 11:22:10 #15 9.114 -- Looking for strings.h 11:22:10 #15 9.206 -- Looking for strings.h - found 11:22:10 #15 9.207 -- Looking for string.h 11:22:10 #15 9.299 -- Looking for string.h - found 11:22:10 #15 9.300 -- Looking for sys/sysctl.h 11:22:10 #15 9.355 -- Looking for sys/sysctl.h - not found 11:22:10 #15 9.355 -- Looking for netinet/in.h 11:22:10 #15 9.448 -- Looking for netinet/in.h - found 11:22:10 #15 9.448 -- Looking for sys/epoll.h 11:22:10 #15 9.542 -- Looking for sys/epoll.h - found 11:22:10 #15 9.542 -- Looking for sys/timerfd.h 11:22:10 #15 9.627 -- Looking for sys/timerfd.h - found 11:22:10 #15 9.628 -- Looking for arpa/inet.h 11:22:10 #15 9.720 -- Looking for arpa/inet.h - found 11:22:10 #15 9.720 -- Looking for stdbool.h 11:22:10 #15 9.821 -- Looking for stdbool.h - found 11:22:10 #15 9.821 -- Looking for netdb.h 11:22:10 #15 9.908 -- Looking for netdb.h - found 11:22:10 #15 9.909 -- Looking for pthread.h 11:22:10 #15 10.00 -- Looking for pthread.h - found 11:22:10 #15 10.00 -- Looking for stdlib.h 11:22:10 #15 10.09 -- Looking for stdlib.h - found 11:22:10 #15 10.09 -- Looking for stdint.h 11:22:10 #15 10.18 -- Looking for stdint.h - found 11:22:11 #15 10.18 -- Looking for syslog.h 11:22:11 #15 10.26 -- Looking for syslog.h - found 11:22:11 #15 10.26 -- Looking for sys/ioctl.h 11:22:11 #15 10.35 -- Looking for sys/ioctl.h - found 11:22:11 #15 10.35 -- Looking for sys/socket.h 11:22:11 #15 10.43 -- Looking for sys/socket.h - found 11:22:11 #15 10.44 -- Looking for sys/stat.h 11:22:11 #15 10.52 -- Looking for sys/stat.h - found 11:22:11 #15 10.53 -- Looking for sys/time.h 11:22:11 #15 10.61 -- Looking for sys/time.h - found 11:22:11 #15 10.61 -- Looking for sys/types.h 11:22:11 #15 10.69 -- Looking for sys/types.h - found 11:22:11 #15 10.69 -- Looking for sys/unistd.h 11:22:11 #15 10.74 -- Looking for sys/unistd.h - not found 11:22:11 #15 10.74 -- Looking for time.h 11:22:11 #15 10.83 -- Looking for time.h - found 11:22:11 #15 10.83 -- Looking for unistd.h 11:22:11 #15 10.92 -- Looking for unistd.h - found 11:22:11 #15 10.92 -- Looking for float.h 11:22:11 #15 11.00 -- Looking for float.h - found 11:22:12 #15 11.00 -- Looking for stddef.h 11:22:12 #15 11.09 -- Looking for stddef.h - found 11:22:12 #15 11.09 -- Looking for winsock2.h 11:22:12 #15 11.14 -- Looking for winsock2.h - not found 11:22:12 #15 11.14 -- Looking for ws2tcpip.h 11:22:12 #15 11.20 -- Looking for ws2tcpip.h - not found 11:22:12 #15 11.20 -- Looking for malloc 11:22:12 #15 11.28 -- Looking for malloc - found 11:22:12 #15 11.28 -- Looking for memset 11:22:12 #15 11.36 -- Looking for memset - found 11:22:12 #15 11.36 -- Looking for select 11:22:12 #15 11.45 -- Looking for select - found 11:22:12 #15 11.45 -- Looking for socket 11:22:12 #15 11.53 -- Looking for socket - found 11:22:12 #15 11.53 -- Looking for strcasecmp 11:22:12 #15 11.61 -- Looking for strcasecmp - found 11:22:12 #15 11.61 -- Looking for pthread_mutex_lock 11:22:12 #15 11.70 -- Looking for pthread_mutex_lock - found 11:22:12 #15 11.70 -- Looking for getaddrinfo 11:22:12 #15 11.79 -- Looking for getaddrinfo - found 11:22:12 #15 11.79 -- Looking for strnlen 11:22:12 #15 11.88 -- Looking for strnlen - found 11:22:12 #15 11.88 -- Looking for strrchr 11:22:12 #15 11.96 -- Looking for strrchr - found 11:22:12 #15 11.96 -- Looking for getrandom 11:22:13 #15 12.05 -- Looking for getrandom - found 11:22:13 #15 12.05 -- Looking for cmsghdr 11:22:13 #15 12.10 -- Looking for cmsghdr - not found 11:22:13 #15 12.10 -- compiling without epoll support 11:22:13 #15 12.10 -- compiling with DTLS support 11:22:13 #15 12.10 -- DTLS_BACKEND: tinydtls 11:22:13 #15 12.11 -- Found TinyDTLS: /usr/local/include 11:22:13 #15 12.11 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 11:22:13 #15 12.11 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 11:22:13 #15 12.11 -- TINYDTLS_ROOT_DIR: 11:22:13 #15 12.11 -- compiling with tinydtls support 11:22:13 #15 12.11 -- ENABLE_DTLS:.....................ON 11:22:13 #15 12.11 -- ENABLE_TCP:......................ON 11:22:13 #15 12.11 -- ENABLE_DOCS:.....................OFF 11:22:13 #15 12.11 -- ENABLE_EXAMPLES:.................OFF 11:22:13 #15 12.11 -- DTLS_BACKEND:....................tinydtls 11:22:13 #15 12.11 -- WITH_GNUTLS:.....................OFF 11:22:13 #15 12.11 -- WITH_TINYDTLS:...................ON 11:22:13 #15 12.11 -- WITH_OPENSSL:....................OFF 11:22:13 #15 12.11 -- WITH_MBEDTLS:....................OFF 11:22:13 #15 12.11 -- HAVE_LIBTINYDTLS:................1 11:22:13 #15 12.11 -- HAVE_LIBGNUTLS:.................. 11:22:13 #15 12.11 -- HAVE_OPENSSL:.................... 11:22:13 #15 12.11 -- HAVE_MBEDTLS:.................... 11:22:13 #15 12.11 -- COAP_EPOLL_SUPPORT:.............. 11:22:13 #15 12.11 -- CMAKE_C_COMPILER:................/usr/bin/cc 11:22:13 #15 12.11 -- BUILD_SHARED_LIBS:...............ON 11:22:13 #15 12.11 -- CMAKE_BUILD_TYPE:................Release 11:22:13 #15 12.11 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 11:22:13 #15 12.12 -- Configuring done (3.7s) 11:22:13 #15 12.12 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 11:22:13 #15 12.12 Policy CMP0115 is not set: Source file extensions must be explicit. Run 11:22:13 #15 12.12 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 11:22:13 #15 12.12 command to set the policy and suppress this warning. 11:22:13 #15 12.12 11:22:13 #15 12.12 File: 11:22:13 #15 12.12 11:22:13 #15 12.12 /device-coap/deps/libcoap/include/coap2/coap.h.in 11:22:13 #15 12.12 This warning is for project developers. Use -Wno-dev to suppress it. 11:22:13 #15 12.12 11:22:13 #15 12.12 -- Generating done (0.0s) 11:22:13 #15 12.13 -- Build files have been written to: /device-coap/deps/libcoap/build 11:22:13 #15 12.13 + make 11:22:13 #15 12.17 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 11:22:13 #15 12.23 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 11:22:13 #15 12.31 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 11:22:13 #15 12.42 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 11:22:13 #15 12.67 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 11:22:13 #15 12.72 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 11:22:13 #15 12.77 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 11:22:13 #15 13.03 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 11:22:14 #15 13.07 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 11:22:14 #15 13.12 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 11:22:14 #15 13.65 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 11:22:14 #15 13.76 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 11:22:14 #15 13.83 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 11:22:14 #15 13.91 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 11:22:14 #15 13.97 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 11:22:15 #15 14.56 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 11:22:15 #15 14.76 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 11:22:15 #15 14.94 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 11:22:16 #15 15.34 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 11:22:16 #15 15.41 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 11:22:16 #15 15.46 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 11:22:16 #15 15.67 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 11:22:16 #15 15.85 [100%] Linking C shared library libcoap-2.so 11:22:16 #15 15.89 [100%] Built target coap-2 11:22:16 #15 15.89 + make install 11:22:16 #15 15.95 [100%] Built target coap-2 11:22:16 #15 15.96 Install the project... 11:22:17 #15 15.97 -- Install configuration: "Release" 11:22:17 #15 15.97 -- Installing: /usr/local/lib/libcoap-2.so 11:22:17 #15 15.97 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 11:22:17 #15 15.97 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 11:22:17 #15 15.97 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 11:22:17 #15 15.97 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 11:22:17 #15 15.97 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 11:22:17 #15 15.97 -- Up-to-date: /usr/local/include 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/uthash.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/subscribe.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/option.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/resource.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/bits.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/coap_hashkey.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/block.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/coap_io.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/pdu.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/str.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/async.h 11:22:17 #15 15.97 -- Installing: /usr/local/include/coap2/net.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/address.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/uri.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_event.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_riot.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_dtls.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_mutex.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_prng.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/lwippools.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_debug.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/utlist.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_time.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/encode.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/libcoap.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/mem.h 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap_session.h 11:22:17 #15 15.98 -- Up-to-date: /usr/local/include 11:22:17 #15 15.98 -- Up-to-date: /usr/local/include/coap2 11:22:17 #15 15.98 -- Installing: /usr/local/include/coap2/coap.h 11:22:17 #15 15.98 + '[' 1 '=' 1 ] 11:22:17 #15 15.98 + cd /device-coap/deps 11:22:17 #15 15.98 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.2.zip 11:22:17 #15 15.98 Connecting to github.com (140.82.113.3:443) 11:22:17 #15 16.21 Connecting to codeload.github.com (140.82.112.9:443) 11:22:17 #15 16.35 saving to 'v4.0.2.zip' 11:22:17 #15 16.42 v4.0.2.zip 100% |********************************| 256k 0:00:00 ETA 11:22:17 #15 16.42 'v4.0.2.zip' saved 11:22:17 #15 16.42 + unzip v4.0.2.zip 11:22:17 #15 16.42 Archive: v4.0.2.zip 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/ 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/.github/ 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/.github/Contributing.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/.github/PULL_REQUEST_TEMPLATE.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/.github/semantic.yml 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/.github/workflows/ 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/.github/workflows/release.yml 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/.gitignore 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/Attribution.txt 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/CHANGELOG.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/Doxyfile 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/GOVERNANCE.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/Jenkinsfile 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/LICENSE 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/Makefile 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/OWNERS.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/README.IOT.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/README.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/README.v3.md 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/docs/ 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/docs/configuration.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/docs/deviceprofiles.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/docs/metrics.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/docs/servicewritersguide.md 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/docs/startup.md 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/include/ 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/include/devsdk/ 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/include/devsdk/devsdk-base.h 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/include/devsdk/devsdk.h 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/include/edgex/ 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/include/edgex/devices.h 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/include/edgex/edgex-base.h 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/include/edgex/edgex.h 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/include/edgex/profiles.h 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/include/edgex/rest-server.h 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/scripts/ 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/scripts/Dockerfile.alpine 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/scripts/Dockerfile.alpine-base 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/scripts/build.sh 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/scripts/entrypoint.sh 11:22:17 #15 16.42 creating: device-sdk-c-4.0.2/src/ 11:22:17 #15 16.42 inflating: device-sdk-c-4.0.2/src/CMakeLists.txt 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/api.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/autoevent.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/autoevent.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/bus-impl.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/bus-mqtt.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/bus.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/bus.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/callback3.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/callback3.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/cmdinfo.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/command.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/command.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/config.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/config.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/correlation.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/correlation.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/data.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/data.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/defs.h.in 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/device.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/device.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/devman.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/devmap.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/devmap.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/devsdk-base.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/devutil.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/discovery.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/discovery.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/dto-read.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/dto-read.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/edgex-logging.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/edgex-logging.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/edgex-rest.c 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/edgex-rest.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/edgex2.h 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/errorlist.h 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/README.md 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/README.md 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/device-bitfields.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/configuration.yaml 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/devices/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/devices/Bitfields.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/profiles/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/counters/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/counters/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/counters/README.md 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/counters/device-counter.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/counters/res/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/counters/res/configuration.yaml 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/counters/res/devices/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/counters/res/devices/Counters.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/counters/res/profiles/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/counters/res/profiles/Counter.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/discovery/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/README.md 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/configuration.yaml 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/devices/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/devices/readme.txt 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/profiles/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/profiles/TemplateProfile.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/watchers/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/watchers/watcher1.json 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/watchers/watcher2.json 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/template.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/file/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/file/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/file/README.md 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/file/device-file.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/file/res/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/configuration.yaml 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/file/res/devices/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/devices/file1.json 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/lorem.txt 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/file/res/profiles/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/profiles/FileExampleProfile.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/gyro/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/README.md 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/device-gyro.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/gyro/res/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/res/configuration.yaml 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/gyro/res/devices/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/res/devices/gyro.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/gyro/res/profiles/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/res/profiles/Gyro.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/random/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/random/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/random/README.md 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/random/device-random.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/random/res/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/random/res/configuration.yaml 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/random/res/devices/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/random/res/devices/randomdevice1.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/random/res/profiles/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/random/res/profiles/RandomExampleProfile.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/res/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/res/configuration.yaml 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/res/devices/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/res/devices/device1.json 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/res/profiles/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/res/profiles/TemplateProfile.json 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/template.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/terminal/ 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/CMakeLists.txt 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/README.md 11:22:17 #15 16.43 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/device-terminal.c 11:22:17 #15 16.43 creating: device-sdk-c-4.0.2/src/c/examples/terminal/res/ 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/res/configuration.yaml 11:22:17 #15 16.44 creating: device-sdk-c-4.0.2/src/c/examples/terminal/res/devices/ 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/res/devices/terminal.json 11:22:17 #15 16.44 creating: device-sdk-c-4.0.2/src/c/examples/terminal/res/profiles/ 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/res/profiles/Terminal.json 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/filesys.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/filesys.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/keeper.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/keeper.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/map.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/map.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/metadata.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/metadata.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/metrics.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/opstate.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/opstate.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/parson.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/parson.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/profiles.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/profiles.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/registry-impl.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/registry.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/registry.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/reqdata.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/reqdata.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/request_auth.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/request_auth.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/rest-server.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/rest-server.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/rest.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/rest.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/secrets-impl.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/secrets-insecure.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/secrets-insecure.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/secrets-vault.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/secrets-vault.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/secrets.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/secrets.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/service.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/service.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/transform.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/transform.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/validate.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/validate.h 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/watchers.c 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/c/watchers.h 11:22:17 #15 16.44 creating: device-sdk-c-4.0.2/src/cmake/ 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/cmake/FindIOT.cmake 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBCBOR.cmake 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBMICROHTTP.cmake 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBPAHO.cmake 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBUUID.cmake 11:22:17 #15 16.44 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBYAML.cmake 11:22:17 #15 16.44 + cd device-sdk-c-4.0.2 11:22:17 #15 16.44 + ./scripts/build.sh 11:22:17 #15 16.44 + CPPCHECK=false 11:22:17 #15 16.44 + DOCGEN=false 11:22:17 #15 16.44 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:22:17 #15 16.44 + '[' 0 -gt 0 ] 11:22:17 #15 16.44 + readlink -f ./scripts/build.sh 11:22:17 #15 16.44 + dirname /device-coap/deps/device-sdk-c-4.0.2/scripts/build.sh 11:22:17 #15 16.44 + dirname /device-coap/deps/device-sdk-c-4.0.2/scripts 11:22:17 #15 16.44 + ROOT=/device-coap/deps/device-sdk-c-4.0.2 11:22:17 #15 16.44 + cd /device-coap/deps/device-sdk-c-4.0.2 11:22:17 #15 16.44 + mkdir -p /device-coap/deps/device-sdk-c-4.0.2/build/release 11:22:17 #15 16.44 + cd /device-coap/deps/device-sdk-c-4.0.2/build/release 11:22:17 #15 16.44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.2/src 11:22:17 #15 16.52 -- The C compiler identification is GNU 12.2.1 11:22:17 #15 16.54 -- Detecting C compiler ABI info 11:22:17 #15 16.63 -- Detecting C compiler ABI info - done 11:22:17 #15 16.65 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:17 #15 16.65 -- Detecting C compile features 11:22:17 #15 16.65 -- Detecting C compile features - done 11:22:17 #15 16.66 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:22:17 #15 16.73 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 11:22:17 #15 16.73 -- Found LIBYAML: /usr/lib/libyaml.so 11:22:17 #15 16.74 -- Found LIBUUID: /usr/lib/libuuid.so 11:22:17 #15 16.74 -- Found LIBCBOR: /usr/lib/libcbor.so 11:22:17 #15 16.74 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:22:17 #15 16.75 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 11:22:17 #15 16.75 -- /opt/iotech/iot/1.6/include 11:22:17 #15 16.75 -- C SDK 0.0.0 for Linux 11:22:17 #15 16.75 -- Performing Test CSDK_HAVE_ATOMIC 11:22:17 #15 16.83 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:22:17 #15 16.88 -- Found Curses: /usr/lib/libcurses.so 11:22:17 #15 16.90 -- Configuring done (0.5s) 11:22:17 #15 16.94 -- Generating done (0.0s) 11:22:17 #15 16.94 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.2/build/release 11:22:17 #15 16.94 + make all package 11:22:17 #15 16.94 + tee release.log 11:22:17 #15 16.99 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:22:17 #15 17.14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:22:18 #15 17.29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:22:18 #15 17.44 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:22:18 #15 17.55 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 11:22:18 #15 17.60 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 11:22:18 #15 17.60 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11:22:18 #15 17.60 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 11:22:18 #15 17.60 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:18 #15 17.70 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:22:19 #15 18.01 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:22:19 #15 18.05 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:22:19 #15 18.19 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:22:19 #15 18.47 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:22:19 #15 18.58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:22:19 #15 18.72 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:22:19 #15 18.85 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:22:20 #15 18.94 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:22:20 #15 19.10 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:22:20 #15 19.15 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:22:20 #15 19.49 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:22:20 #15 19.55 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 11:22:20 #15 19.80 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:22:20 #15 19.91 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:22:21 #15 20.13 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 11:22:21 #15 20.22 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:22:22 #15 21.22 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:22:22 #15 21.33 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:22:22 #15 21.40 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:22:22 #15 21.48 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:22:22 #15 21.55 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:22:22 #15 21.78 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:22:22 #15 22.11 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:22:23 #15 22.18 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:22:23 #15 22.31 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:22:23 #15 22.40 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:22:23 #15 22.93 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:22:24 #15 23.06 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:22:24 #15 23.12 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:22:24 #15 23.24 [ 69%] Linking C shared library libcsdk.so 11:22:24 #15 23.28 [ 69%] Built target csdk 11:22:24 #15 23.31 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:22:24 #15 23.45 [ 73%] Linking C executable template 11:22:24 #15 23.48 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:24 #15 23.53 [ 73%] Built target template 11:22:24 #15 23.55 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:22:24 #15 23.64 [ 76%] Linking C executable device-counter 11:22:24 #15 23.67 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:24 #15 23.71 [ 76%] Built target device-counter 11:22:24 #15 23.73 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:22:24 #15 23.82 [ 80%] Linking C executable device-random 11:22:24 #15 23.85 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:24 #15 23.89 [ 80%] Built target device-random 11:22:24 #15 23.91 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:22:24 #15 23.99 [ 84%] Linking C executable device-gyro 11:22:25 #15 24.01 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:25 #15 24.05 [ 84%] Built target device-gyro 11:22:25 #15 24.07 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:22:25 #15 24.16 [ 88%] Linking C executable device-bitfields 11:22:25 #15 24.18 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:25 #15 24.22 [ 88%] Built target device-bitfields 11:22:25 #15 24.24 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:22:25 #15 24.40 [ 92%] Linking C executable template-discovery 11:22:25 #15 24.43 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:25 #15 24.47 [ 92%] Built target template-discovery 11:22:25 #15 24.48 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:22:25 #15 24.61 [ 96%] Linking C executable device-file 11:22:25 #15 24.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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:25 #15 24.68 [ 96%] Built target device-file 11:22:25 #15 24.70 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:22:25 #15 24.79 [100%] Linking C executable device-terminal 11:22:25 #15 24.82 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:25 #15 24.87 [100%] Built target device-terminal 11:22:25 #15 24.89 Run CPack packaging tool... 11:22:25 #15 24.91 CPack: Create package using TGZ 11:22:25 #15 24.91 CPack: Install projects 11:22:25 #15 24.91 CPack: - Run preinstall target for: Csdk 11:22:26 #15 25.18 CPack: - Install project: Csdk [] 11:22:26 #15 25.18 CPack: Create package 11:22:26 #15 25.20 CPack: - package: /device-coap/deps/device-sdk-c-4.0.2/build/release/csdk-0.0.0.tar.gz generated. 11:22:26 #15 25.20 + '[' false '=' true ] 11:22:26 #15 25.20 + '[' false '=' true ] 11:22:26 #15 25.20 + mkdir -p /device-coap/deps/device-sdk-c-4.0.2/build/debug 11:22:26 #15 25.20 + cd /device-coap/deps/device-sdk-c-4.0.2/build/debug 11:22:26 #15 25.20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.2/src 11:22:26 #15 25.28 -- The C compiler identification is GNU 12.2.1 11:22:26 #15 25.30 -- Detecting C compiler ABI info 11:22:26 #15 25.39 -- Detecting C compiler ABI info - done 11:22:26 #15 25.41 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:26 #15 25.41 -- Detecting C compile features 11:22:26 #15 25.41 -- Detecting C compile features - done 11:22:26 #15 25.42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:22:26 #15 25.49 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 11:22:26 #15 25.50 -- Found LIBYAML: /usr/lib/libyaml.so 11:22:26 #15 25.50 -- Found LIBUUID: /usr/lib/libuuid.so 11:22:26 #15 25.50 -- Found LIBCBOR: /usr/lib/libcbor.so 11:22:26 #15 25.50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:22:26 #15 25.51 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 11:22:26 #15 25.51 -- /opt/iotech/iot/1.6/include 11:22:26 #15 25.51 -- C SDK 0.0.0 for Linux 11:22:26 #15 25.51 -- Performing Test CSDK_HAVE_ATOMIC 11:22:26 #15 25.59 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:22:26 #15 25.65 -- Found Curses: /usr/lib/libcurses.so 11:22:26 #15 25.67 -- Configuring done (0.5s) 11:22:26 #15 25.72 -- Generating done (0.0s) 11:22:26 #15 25.72 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.2/build/debug 11:22:26 #15 25.72 + tee debug.log 11:22:26 #15 25.72 + make 11:22:26 #15 25.77 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:22:26 #15 25.85 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:22:26 #15 25.93 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:22:26 #15 26.01 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:22:27 #15 26.09 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 11:22:27 #15 26.14 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 11:22:27 #15 26.14 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11:22:27 #15 26.14 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 11:22:27 #15 26.14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:27 #15 26.19 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:22:27 #15 26.32 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:22:27 #15 26.36 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:22:27 #15 26.44 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:22:27 #15 26.56 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:22:27 #15 26.63 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:22:27 #15 26.71 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:22:27 #15 26.79 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:22:27 #15 26.86 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:22:27 #15 26.93 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:22:27 #15 26.99 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:22:27 #15 27.12 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:22:28 #15 27.17 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 11:22:28 #15 27.27 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:22:28 #15 27.32 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:22:28 #15 27.46 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 11:22:28 #15 27.52 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:22:28 #15 27.73 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:22:28 #15 27.81 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:22:28 #15 27.87 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:22:28 #15 27.93 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:22:28 #15 27.98 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:22:29 #15 28.08 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:22:29 #15 28.32 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:22:29 #15 28.38 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:22:29 #15 28.45 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:22:29 #15 28.52 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:22:29 #15 28.72 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:22:29 #15 28.79 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:22:29 #15 28.84 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:22:29 #15 28.91 [ 69%] Linking C shared library libcsdk.so 11:22:29 #15 28.97 [ 69%] Built target csdk 11:22:30 #15 28.99 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:22:30 #15 29.06 [ 73%] Linking C executable template 11:22:30 #15 29.08 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:30 #15 29.12 [ 73%] Built target template 11:22:30 #15 29.14 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:22:30 #15 29.20 [ 76%] Linking C executable device-counter 11:22:30 #15 29.22 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:30 #15 29.28 [ 76%] Built target device-counter 11:22:30 #15 29.30 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:22:30 #15 29.36 [ 80%] Linking C executable device-random 11:22:30 #15 29.38 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:30 #15 29.43 [ 80%] Built target device-random 11:22:30 #15 29.45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:22:30 #15 29.51 [ 84%] Linking C executable device-gyro 11:22:30 #15 29.53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:30 #15 29.59 [ 84%] Built target device-gyro 11:22:30 #15 29.61 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:22:30 #15 29.67 [ 88%] Linking C executable device-bitfields 11:22:30 #15 29.70 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:30 #15 29.74 [ 88%] Built target device-bitfields 11:22:30 #15 29.76 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:22:30 #15 29.84 [ 92%] Linking C executable template-discovery 11:22:30 #15 29.87 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:30 #15 29.91 [ 92%] Built target template-discovery 11:22:30 #15 29.93 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:22:30 #15 30.00 [ 96%] Linking C executable device-file 11:22:31 #15 30.02 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:31 #15 30.07 [ 96%] Built target device-file 11:22:31 #15 30.09 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:22:31 #15 30.16 [100%] Linking C executable device-terminal 11:22:31 #15 30.18 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:31 #15 30.22 [100%] Built target device-terminal 11:22:31 #15 30.24 + cp -rf include/devsdk include/edgex /usr/include/ 11:22:31 #15 30.24 + cp build/release/c/libcsdk.so /usr/lib/ 11:22:31 #15 30.24 + rm -rf /device-coap/deps 11:22:31 #15 DONE 30.3s 11:22:31 11:22:31 #16 [12/12] RUN /device-coap/scripts/build.sh 11:22:31 #16 0.256 + readlink -f /device-coap/scripts/build.sh 11:22:31 #16 0.257 + dirname /device-coap/scripts/build.sh 11:22:31 #16 0.257 + dirname /device-coap/scripts 11:22:31 #16 0.258 + ROOT=/device-coap 11:22:31 #16 0.258 /device-coap 11:22:31 #16 0.258 + echo /device-coap 11:22:31 #16 0.258 + cd /device-coap 11:22:31 #16 0.258 + mkdir -p /device-coap/build/release 11:22:31 #16 0.259 + cd /device-coap/build/release 11:22:31 #16 0.259 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 11:22:31 #16 0.334 -- The C compiler identification is GNU 12.2.1 11:22:31 #16 0.351 -- Detecting C compiler ABI info 11:22:31 #16 0.436 -- Detecting C compiler ABI info - done 11:22:31 #16 0.457 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:31 #16 0.457 -- Detecting C compile features 11:22:31 #16 0.458 -- Detecting C compile features - done 11:22:31 #16 0.462 -- Found LIBCOAP: /usr/local/lib/libcoap-2.so 11:22:31 #16 0.463 -- Configuring done (0.2s) 11:22:31 #16 0.467 -- Generating done (0.0s) 11:22:31 #16 0.467 -- Build files have been written to: /device-coap/build/release 11:22:31 #16 0.470 + make 11:22:31 #16 0.471 + tee release.log 11:22:31 #16 0.507 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 11:22:31 #16 0.654 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 11:22:32 #16 0.752 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 11:22:32 #16 0.785 In file included from /usr/include/devsdk/devsdk.h:18, 11:22:32 #16 0.785 from /device-coap/src/c/coap-util.h:18, 11:22:32 #16 0.785 from /device-coap/src/c/coap-util.c:9: 11:22:32 #16 0.785 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 11:22:32 #16 0.785 /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=] 11:22:32 #16 0.785 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 11:22:32 #16 0.785 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 11:22:32 #16 0.785 | | 11:22:32 #16 0.785 | size_t {aka long unsigned int} 11:22:32 #16 0.785 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 11:22:32 #16 0.785 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 11:22:32 #16 0.785 | ~^ 11:22:32 #16 0.785 | | 11:22:32 #16 0.785 | unsigned int 11:22:32 #16 0.785 | %lu 11:22:32 #16 0.886 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 11:22:32 #16 1.034 [100%] Linking C executable device-coap 11:22:32 #16 1.060 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:22:32 #16 1.101 [100%] Built target device-coap 11:22:32 #16 DONE 1.2s 11:22:32 11:22:32 #17 exporting to image 11:22:32 #17 exporting layers 11:22:32 #17 exporting layers 0.3s done 11:22:32 #17 writing image sha256:88f432354289184bdeced5849108789be0ea91de1b9d885a39da54342dc7ab49 done 11:22:32 #17 naming to docker.io/library/ci-base-image-x86_64 done 11:22:32 #17 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:22:33 + docker inspect -f . ci-base-image-x86_64 11:22:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:22:33 prd-ubuntu20.04-docker-8c-8g-13650 does not seem to be running inside a container 11:22:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-coap-c_PR-69 -v /w/workspace/edgexfoundry_device-coap-c_PR-69:/w/workspace/edgexfoundry_device-coap-c_PR-69:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-69@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-69@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:22:33 $ docker top 7e578911ac90605502f64baa8d4a88d4f542c3ed7d3f337fe7cf08c10e697e08 -eo pid,comm [Pipeline] { [Pipeline] sh 11:22:34 + make test 11:22:34 build/release/device-coap [Pipeline] } 11:22:34 $ docker stop --time=1 7e578911ac90605502f64baa8d4a88d4f542c3ed7d3f337fe7cf08c10e697e08 11:22:35 $ docker rm -f --volumes 7e578911ac90605502f64baa8d4a88d4f542c3ed7d3f337fe7cf08c10e697e08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:22:36 + ls -al . 11:22:36 total 96 11:22:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 11:21 . 11:22:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 11:21 .. 11:22:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 11:21 .git 11:22:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 11:21 .github 11:22:36 -rw-rw-r-- 1 jenkins jenkins 14 Jun 22 11:21 .gitignore 11:22:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 11:21 .semver 11:22:36 -rw-rw-r-- 1 jenkins jenkins 2037 Jun 22 11:21 Attribution.txt 11:22:36 -rw-rw-r-- 1 jenkins jenkins 3893 Jun 22 11:21 CHANGELOG.md 11:22:36 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 11:21 GOVERNANCE.md 11:22:36 -rw-rw-r-- 1 jenkins jenkins 798 Jun 22 11:21 Jenkinsfile 11:22:36 -rw-rw-r-- 1 jenkins jenkins 10173 Jun 22 11:21 LICENSE 11:22:36 -rw-rw-r-- 1 jenkins jenkins 938 Jun 22 11:21 Makefile 11:22:36 -rw-rw-r-- 1 jenkins jenkins 619 Jun 22 11:21 OWNERS.md 11:22:36 -rw-rw-r-- 1 jenkins jenkins 12454 Jun 22 11:21 README.md 11:22:36 -rw-rw-r-- 1 jenkins jenkins 506 Jun 22 11:21 ROADMAP.md 11:22:36 -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 11:21 VERSION 11:22:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 11:21 res 11:22:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 11:21 scripts 11:22:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 11:21 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:22:36 + 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=615f73b58d2f7fa8f8ac7f9e8e6d4dc0b857d9e1 --label arch=amd64 --label version=0.0.0 . 11:22:36 #0 building with "default" instance using docker driver 11:22:36 11:22:36 #1 [internal] load build definition from Dockerfile.alpine 11:22:36 #1 transferring dockerfile: 2.14kB done 11:22:36 #1 DONE 0.0s 11:22:36 11:22:36 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 11:22:36 #2 DONE 0.0s 11:22:36 11:22:36 #3 [internal] load .dockerignore 11:22:36 #3 transferring context: 2B done 11:22:36 #3 DONE 0.0s 11:22:36 11:22:36 #4 [internal] load build context 11:22:36 #4 transferring context: 16.46kB done 11:22:36 #4 DONE 0.0s 11:22:36 11:22:36 #5 [builder 1/11] FROM docker.io/library/ci-base-image-x86_64:latest 11:22:36 #5 DONE 0.1s 11:22:36 11:22:36 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 11:22:37 #6 0.254 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:22:37 #6 ... 11:22:37 11:22:37 #7 [builder 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:22:37 #7 0.253 Connecting to iotech.jfrog.io (34.246.139.145:443) 11:22:37 #7 0.689 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:22:37 #7 0.689 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:22:37 #7 0.689 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:22:37 #7 DONE 0.7s 11:22:37 11:22:37 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 11:22:37 #6 0.814 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:22:38 #6 ... 11:22:38 11:22:38 #8 [builder 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 11:22:38 #8 DONE 0.3s 11:22:38 11:22:38 #6 [stage-1 2/15] RUN apk add --update --no-cache dumb-init 11:22:38 #6 1.132 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 11:22:38 #6 1.711 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:22:38 #6 1.721 OK: 338 MiB in 103 packages 11:22:38 #6 DONE 1.9s 11:22:38 11:22:38 #9 [builder 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.6-dev 11:22:38 #9 0.264 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:22:38 #9 0.390 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:22:38 #9 0.585 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 11:22:39 #9 1.159 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:22:39 #9 1.169 OK: 338 MiB in 103 packages 11:22:39 #9 DONE 1.3s 11:22:39 11:22:39 #10 [stage-1 3/15] RUN apk --no-cache upgrade 11:22:39 #10 0.278 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:22:39 #10 ... 11:22:39 11:22:39 #11 [builder 5/11] COPY scripts /device-coap/scripts 11:22:39 #11 DONE 0.0s 11:22:39 11:22:39 #12 [builder 6/11] COPY src /device-coap/src/ 11:22:39 #12 DONE 0.0s 11:22:39 11:22:39 #13 [builder 7/11] COPY VERSION /device-coap 11:22:39 #13 DONE 0.0s 11:22:39 11:22:39 #10 [stage-1 3/15] RUN apk --no-cache upgrade 11:22:39 #10 0.420 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:22:39 #10 0.647 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 11:22:39 #10 ... 11:22:39 11:22:39 #14 [builder 8/11] RUN mkdir -p /device-coap/build 11:22:39 #14 DONE 0.3s 11:22:39 11:22:39 #15 [builder 9/11] WORKDIR /device-coap 11:22:39 #15 DONE 0.0s 11:22:39 11:22:39 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 11:22:39 #16 0.245 + BUILD_CSDK=1 11:22:39 #16 0.245 + TINYDTLS_VERSION=b0e230d 11:22:39 #16 0.245 + LIBCOAP_VERSION=1739507 11:22:39 #16 0.245 + CSDK_VERSION=4.0.2 11:22:39 #16 0.245 + '[' -d deps ] 11:22:39 #16 0.245 + mkdir deps 11:22:39 #16 0.246 + cd /device-coap/deps 11:22:39 #16 0.246 + git clone https://github.com/eclipse/tinydtls.git 11:22:39 #16 0.247 Cloning into 'tinydtls'... 11:22:40 #16 ... 11:22:40 11:22:40 #10 [stage-1 3/15] RUN apk --no-cache upgrade 11:22:40 #10 1.200 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:22:40 #10 1.209 OK: 338 MiB in 103 packages 11:22:40 #10 DONE 1.3s 11:22:40 11:22:40 #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 11:22:40 #17 0.243 Connecting to iotech.jfrog.io (54.73.4.50:443) 11:22:41 #17 0.859 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:22:41 #17 0.859 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:22:41 #17 0.859 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:22:41 #17 DONE 0.9s 11:22:41 11:22:41 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 11:22:41 #16 1.165 + cd tinydtls 11:22:41 #16 1.165 + git checkout develop 11:22:41 #16 1.181 branch 'develop' set up to track 'origin/develop'. 11:22:41 #16 1.181 Switched to a new branch 'develop' 11:22:41 #16 1.181 + git reset --hard b0e230d 11:22:41 #16 1.206 HEAD is now at b0e230d Merge pull request #44 from mrdeep1/cunit_fix 11:22:41 #16 1.207 + cp /device-coap/scripts/AutoConf_cmake_patch AutoConf.cmake 11:22:41 #16 1.208 + cp /device-coap/scripts/CMakeLists_txt_patch CMakeLists.txt 11:22:41 #16 1.209 + cp /device-coap/scripts/dtls_config_h_cmake_in_patch dtls_config.h.cmake.in 11:22:41 #16 1.210 + cp /device-coap/scripts/tests_CMakeLists_txt_patch tests/CMakeLists.txt 11:22:41 #16 1.211 + mkdir -p build 11:22:41 #16 1.212 + cd build 11:22:41 #16 1.212 + cmake '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=ON' .. 11:22:41 #16 1.277 -- The C compiler identification is GNU 12.2.1 11:22:41 #16 1.289 -- Detecting C compiler ABI info 11:22:41 #16 1.366 -- Detecting C compiler ABI info - done 11:22:41 #16 1.383 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:41 #16 1.384 -- Detecting C compile features 11:22:41 #16 1.384 -- Detecting C compile features - done 11:22:41 #16 1.387 -- Looking for assert.h 11:22:41 #16 1.468 -- Looking for assert.h - found 11:22:41 #16 1.469 -- Looking for arpa/inet.h 11:22:41 #16 1.562 -- Looking for arpa/inet.h - found 11:22:41 #16 ... 11:22:41 11:22:41 #18 [stage-1 5/15] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 11:22:41 #18 DONE 0.3s 11:22:41 11:22:41 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 11:22:41 #16 1.562 -- Looking for fcntl.h 11:22:41 #16 1.656 -- Looking for fcntl.h - found 11:22:41 #16 1.656 -- Looking for inttypes.h 11:22:41 #16 1.745 -- Looking for inttypes.h - found 11:22:41 #16 1.746 -- Looking for memory.h 11:22:41 #16 1.829 -- Looking for memory.h - found 11:22:41 #16 1.829 -- Looking for netdb.h 11:22:41 #16 1.921 -- Looking for netdb.h - found 11:22:41 #16 1.922 -- Looking for netinet/in.h 11:22:41 #16 2.010 -- Looking for netinet/in.h - found 11:22:41 #16 2.010 -- Looking for stddef.h 11:22:41 #16 2.101 -- Looking for stddef.h - found 11:22:41 #16 2.101 -- Looking for stdint.h 11:22:41 #16 2.183 -- Looking for stdint.h - found 11:22:42 #16 2.183 -- Looking for stdlib.h 11:22:42 #16 2.276 -- Looking for stdlib.h - found 11:22:42 #16 2.276 -- Looking for string.h 11:22:42 #16 2.362 -- Looking for string.h - found 11:22:42 #16 2.363 -- Looking for strings.h 11:22:42 #16 2.446 -- Looking for strings.h - found 11:22:42 #16 2.446 -- Looking for time.h 11:22:42 #16 2.528 -- Looking for time.h - found 11:22:42 #16 2.528 -- Looking for sys/param.h 11:22:42 #16 2.620 -- Looking for sys/param.h - found 11:22:42 #16 2.620 -- Looking for sys/socket.h 11:22:42 #16 2.703 -- Looking for sys/socket.h - found 11:22:42 #16 2.703 -- Looking for sys/stat.h 11:22:42 #16 2.794 -- Looking for sys/stat.h - found 11:22:42 #16 2.794 -- Looking for sys/types.h 11:22:42 #16 2.884 -- Looking for sys/types.h - found 11:22:42 #16 2.885 -- Looking for sys/time.h 11:22:42 #16 ... 11:22:42 11:22:42 #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.6 11:22:42 #19 0.265 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:22:42 #19 0.399 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:22:42 #19 0.615 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 11:22:42 #19 1.214 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:22:42 #19 1.221 (1/1) Installing curl (8.12.1-r0) 11:22:42 #19 1.242 Executing busybox-1.36.1-r7.trigger 11:22:42 #19 1.252 OK: 338 MiB in 104 packages 11:22:42 #19 DONE 1.4s 11:22:42 11:22:42 #16 [builder 10/11] RUN /device-coap/scripts/build_deps.sh 1 11:22:42 #16 2.976 -- Looking for sys/time.h - found 11:22:42 #16 2.976 -- Looking for unistd.h 11:22:42 #16 3.061 -- Looking for unistd.h - found 11:22:42 #16 3.062 -- Looking for float.h 11:22:42 #16 3.148 -- Looking for float.h - found 11:22:43 #16 3.148 -- Looking for dlfcn.h 11:22:43 #16 3.236 -- Looking for dlfcn.h - found 11:22:43 #16 3.236 -- Looking for memset 11:22:43 #16 3.319 -- Looking for memset - found 11:22:43 #16 3.320 -- Looking for select 11:22:43 #16 3.410 -- Looking for select - found 11:22:43 #16 3.410 -- Looking for socket 11:22:43 #16 3.501 -- Looking for socket - found 11:22:43 #16 3.502 -- Looking for strdup 11:22:43 #16 3.590 -- Looking for strdup - found 11:22:43 #16 3.590 -- Looking for strerror 11:22:43 #16 3.676 -- Looking for strerror - found 11:22:43 #16 3.676 -- Looking for strnlen 11:22:43 #16 3.753 -- Looking for strnlen - found 11:22:43 #16 3.753 -- Looking for fls 11:22:43 #16 3.844 -- Looking for fls - not found 11:22:43 #16 3.844 -- Looking for vprintf 11:22:43 #16 3.934 -- Looking for vprintf - found 11:22:43 #16 3.934 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN 11:22:43 #16 3.989 -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed 11:22:43 #16 3.997 -- Configuring done (2.8s) 11:22:43 #16 4.004 -- Generating done (0.0s) 11:22:43 #16 4.005 -- Build files have been written to: /device-coap/deps/tinydtls/build 11:22:43 #16 4.007 + make 11:22:43 #16 4.045 [ 6%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael.c.o 11:22:43 #16 4.207 [ 13%] Building C object CMakeFiles/tinydtls.dir/aes/rijndael_wrap.c.o 11:22:44 #16 4.241 [ 20%] Building C object CMakeFiles/tinydtls.dir/ccm.c.o 11:22:44 #16 4.498 [ 26%] Building C object CMakeFiles/tinydtls.dir/crypto.c.o 11:22:44 #16 4.613 In file included from /device-coap/deps/tinydtls/crypto.c:34: 11:22:44 #16 4.613 In function 'ecc_ecdh', 11:22:44 #16 4.613 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 11:22:44 #16 4.613 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_x' may be used uninitialized [-Wmaybe-uninitialized] 11:22:44 #16 4.613 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 11:22:44 #16 4.613 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:44 #16 4.613 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 11:22:44 #16 4.613 /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 11:22:44 #16 4.613 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 11:22:44 #16 4.613 | ^~~~~~~~~~~ 11:22:44 #16 4.613 /device-coap/deps/tinydtls/crypto.c:431:12: note: 'pub_x' declared here 11:22:44 #16 4.613 431 | uint32_t pub_x[8]; 11:22:44 #16 4.613 | ^~~~~ 11:22:44 #16 4.613 In function 'ecc_ecdh', 11:22:44 #16 4.613 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 11:22:44 #16 4.614 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'pub_y' may be used uninitialized [-Wmaybe-uninitialized] 11:22:44 #16 4.614 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 11:22:44 #16 4.614 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:44 #16 4.614 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 11:22:44 #16 4.614 /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 11:22:44 #16 4.614 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 11:22:44 #16 4.614 | ^~~~~~~~~~~ 11:22:44 #16 4.614 /device-coap/deps/tinydtls/crypto.c:432:12: note: 'pub_y' declared here 11:22:44 #16 4.614 432 | uint32_t pub_y[8]; 11:22:44 #16 4.614 | ^~~~~ 11:22:44 #16 4.614 In function 'ecc_ecdh', 11:22:44 #16 4.614 inlined from 'dtls_ecdh_pre_master_secret' at /device-coap/deps/tinydtls/crypto.c:444:3: 11:22:44 #16 4.614 /device-coap/deps/tinydtls/ecc/ecc.h:50:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 11:22:44 #16 4.614 50 | ecc_ec_mult(px, py, secret, resultx, resulty); 11:22:44 #16 4.614 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:44 #16 4.614 /device-coap/deps/tinydtls/ecc/ecc.h: In function 'dtls_ecdh_pre_master_secret': 11:22:44 #16 4.614 /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 11:22:44 #16 4.614 47 | void ecc_ec_mult(const uint32_t *px, const uint32_t *py, const uint32_t *secret, uint32_t *resultx, uint32_t *resulty); 11:22:44 #16 4.614 | ^~~~~~~~~~~ 11:22:44 #16 4.614 /device-coap/deps/tinydtls/crypto.c:430:12: note: 'priv' declared here 11:22:44 #16 4.614 430 | uint32_t priv[8]; 11:22:44 #16 4.614 | ^~~~ 11:22:44 #16 4.698 [ 33%] Building C object CMakeFiles/tinydtls.dir/dtls.c.o 11:22:45 #16 5.666 [ 40%] Building C object CMakeFiles/tinydtls.dir/dtls_debug.c.o 11:22:45 #16 5.718 [ 46%] Building C object CMakeFiles/tinydtls.dir/dtls_prng.c.o 11:22:45 #16 5.767 [ 53%] Building C object CMakeFiles/tinydtls.dir/dtls_time.c.o 11:22:45 #16 5.807 [ 60%] Building C object CMakeFiles/tinydtls.dir/ecc/ecc.c.o 11:22:45 #16 5.822 /device-coap/deps/tinydtls/ecc/ecc.c: In function 'is_zero': 11:22:45 #16 5.822 /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] 11:22:45 #16 5.822 316 | for (idx = 0; idx < count; idx++) { 11:22:45 #16 5.822 | ^ 11:22:45 #16 5.822 /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] 11:22:45 #16 5.822 319 | return result == count; 11:22:45 #16 5.822 | ^~ 11:22:46 #16 6.513 [ 66%] Building C object CMakeFiles/tinydtls.dir/hmac.c.o 11:22:46 #16 6.571 [ 73%] Building C object CMakeFiles/tinydtls.dir/netq.c.o 11:22:46 #16 6.644 [ 80%] Building C object CMakeFiles/tinydtls.dir/peer.c.o 11:22:46 #16 6.693 [ 86%] Building C object CMakeFiles/tinydtls.dir/session.c.o 11:22:46 #16 6.747 [ 93%] Building C object CMakeFiles/tinydtls.dir/sha2/sha2.c.o 11:22:46 #16 6.763 /device-coap/deps/tinydtls/sha2/sha2.c:630:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 11:22:46 #16 6.763 630 | void dtls_sha256_final(sha2_byte digest[], dtls_sha256_ctx* context) { 11:22:46 #16 6.763 | ~~~~~~~~~~^~~~~~~~ 11:22:46 #16 6.763 In file included from /device-coap/deps/tinydtls/sha2/sha2.c:45: 11:22:46 #16 6.763 /device-coap/deps/tinydtls/sha2/sha2.h:134:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'} 11:22:46 #16 6.763 134 | void dtls_sha256_final(uint8_t[DTLS_SHA256_DIGEST_LENGTH], dtls_sha256_ctx*); 11:22:46 #16 6.763 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:46 #16 6.763 /device-coap/deps/tinydtls/sha2/sha2.c:690:54: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=] 11:22:46 #16 6.763 690 | char *dtls_sha256_end(dtls_sha256_ctx* context, char buffer[]) { 11:22:46 #16 6.763 | ~~~~~^~~~~~~~ 11:22:46 #16 6.763 /device-coap/deps/tinydtls/sha2/sha2.h:135:41: note: previously declared as 'char[65]' 11:22:46 #16 6.763 135 | char* dtls_sha256_end(dtls_sha256_ctx*, char[DTLS_SHA256_DIGEST_STRING_LENGTH]); 11:22:46 #16 6.763 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:46 #16 6.906 [100%] Linking C shared library libtinydtls.so 11:22:46 #16 6.940 [100%] Built target tinydtls 11:22:46 #16 6.947 + make install 11:22:46 #16 6.992 [100%] Built target tinydtls 11:22:46 #16 7.009 Install the project... 11:22:46 #16 7.018 -- Install configuration: "Release" 11:22:46 #16 7.019 -- Installing: /usr/local/lib/libtinydtls.so 11:22:46 #16 7.020 -- Up-to-date: /usr/local/include/tinydtls 11:22:46 #16 7.021 -- Installing: /usr/local/include/tinydtls/uthash.h 11:22:46 #16 7.021 -- Up-to-date: /usr/local/include/tinydtls/sha2 11:22:46 #16 7.021 -- Installing: /usr/local/include/tinydtls/sha2/sha2.h 11:22:46 #16 7.021 -- Up-to-date: /usr/local/include/tinydtls/ecc 11:22:46 #16 7.022 -- Installing: /usr/local/include/tinydtls/ecc/test_helper.h 11:22:46 #16 7.022 -- Installing: /usr/local/include/tinydtls/ecc/ecc.h 11:22:46 #16 7.022 -- Installing: /usr/local/include/tinydtls/tinydtls.h 11:22:46 #16 7.022 -- Installing: /usr/local/include/tinydtls/alert.h 11:22:46 #16 7.022 -- Up-to-date: /usr/local/include/tinydtls/aes 11:22:46 #16 7.022 -- Installing: /usr/local/include/tinydtls/aes/rijndael.h 11:22:46 #16 7.022 -- Installing: /usr/local/include/tinydtls/crypto.h 11:22:46 #16 7.023 -- Installing: /usr/local/include/tinydtls/numeric.h 11:22:46 #16 7.023 -- Installing: /usr/local/include/tinydtls/peer.h 11:22:46 #16 7.023 -- Installing: /usr/local/include/tinydtls/utlist.h 11:22:46 #16 7.023 -- Installing: /usr/local/include/tinydtls/dtls_mutex.h 11:22:46 #16 7.023 -- Installing: /usr/local/include/tinydtls/dtls_time.h 11:22:46 #16 7.024 -- Installing: /usr/local/include/tinydtls/netq.h 11:22:46 #16 7.024 -- Installing: /usr/local/include/tinydtls/dtls.h 11:22:46 #16 7.024 -- Installing: /usr/local/include/tinydtls/global.h 11:22:46 #16 7.024 -- Installing: /usr/local/include/tinydtls/state.h 11:22:46 #16 7.024 -- Installing: /usr/local/include/tinydtls/dtls_debug.h 11:22:46 #16 7.024 -- Installing: /usr/local/include/tinydtls/session.h 11:22:46 #16 7.024 -- Installing: /usr/local/include/tinydtls/dtls_prng.h 11:22:46 #16 7.025 -- Installing: /usr/local/include/tinydtls/hmac.h 11:22:46 #16 7.025 -- Installing: /usr/local/include/tinydtls/ccm.h 11:22:46 #16 7.025 -- Up-to-date: /usr/local/include/tinydtls 11:22:46 #16 7.025 -- Installing: /usr/local/include/tinydtls/dtls_config.h 11:22:46 #16 7.026 + cd /device-coap/deps 11:22:46 #16 7.026 + git clone https://github.com/obgm/libcoap.git 11:22:46 #16 7.028 Cloning into 'libcoap'... 11:22:48 #16 8.739 + cd libcoap 11:22:48 #16 8.739 + git reset --hard 1739507 11:22:48 #16 8.774 HEAD is now at 1739507a Merge pull request #536 from mrdeep1/bad_tcp 11:22:48 #16 8.775 + patch -p1 11:22:48 #16 8.776 patching file cmake/FindTinyDTLS.cmake 11:22:48 #16 8.776 + patch -p1 11:22:48 #16 8.777 patching file include/coap2/coap_config.h.in 11:22:48 #16 8.778 + mkdir -p build 11:22:48 #16 8.778 + cd build 11:22:48 #16 8.778 + 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' .. 11:22:48 #16 8.847 -- The CXX compiler identification is GNU 12.2.1 11:22:48 #16 8.900 -- The C compiler identification is GNU 12.2.1 11:22:48 #16 8.914 -- Detecting CXX compiler ABI info 11:22:48 #16 9.000 -- Detecting CXX compiler ABI info - done 11:22:48 #16 9.020 -- Check for working CXX compiler: /usr/bin/c++ - skipped 11:22:48 #16 9.020 -- Detecting CXX compile features 11:22:48 #16 9.021 -- Detecting CXX compile features - done 11:22:48 #16 9.026 -- Detecting C compiler ABI info 11:22:48 #16 9.103 -- Detecting C compiler ABI info - done 11:22:48 #16 9.123 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:48 #16 9.124 -- Detecting C compile features 11:22:48 #16 9.125 -- Detecting C compile features - done 11:22:48 #16 9.129 -- Looking for byteswap.h 11:22:48 #16 9.208 -- Looking for byteswap.h - found 11:22:49 #16 9.209 -- Looking for inttypes.h 11:22:49 #16 9.298 -- Looking for inttypes.h - found 11:22:49 #16 9.298 -- Looking for limits.h 11:22:49 #16 9.378 -- Looking for limits.h - found 11:22:49 #16 9.378 -- Looking for memory.h 11:22:49 #16 9.460 -- Looking for memory.h - found 11:22:49 #16 9.460 -- Looking for strings.h 11:22:49 #16 9.535 -- Looking for strings.h - found 11:22:49 #16 9.535 -- Looking for string.h 11:22:49 #16 9.622 -- Looking for string.h - found 11:22:49 #16 9.623 -- Looking for sys/sysctl.h 11:22:49 #16 9.675 -- Looking for sys/sysctl.h - not found 11:22:49 #16 9.675 -- Looking for netinet/in.h 11:22:49 #16 9.764 -- Looking for netinet/in.h - found 11:22:49 #16 9.764 -- Looking for sys/epoll.h 11:22:49 #16 9.860 -- Looking for sys/epoll.h - found 11:22:49 #16 9.861 -- Looking for sys/timerfd.h 11:22:49 #16 9.946 -- Looking for sys/timerfd.h - found 11:22:49 #16 9.947 -- Looking for arpa/inet.h 11:22:49 #16 10.04 -- Looking for arpa/inet.h - found 11:22:49 #16 10.04 -- Looking for stdbool.h 11:22:49 #16 10.13 -- Looking for stdbool.h - found 11:22:49 #16 10.13 -- Looking for netdb.h 11:22:49 #16 10.22 -- Looking for netdb.h - found 11:22:50 #16 10.22 -- Looking for pthread.h 11:22:50 #16 10.32 -- Looking for pthread.h - found 11:22:50 #16 10.32 -- Looking for stdlib.h 11:22:50 #16 10.41 -- Looking for stdlib.h - found 11:22:50 #16 10.41 -- Looking for stdint.h 11:22:50 #16 10.50 -- Looking for stdint.h - found 11:22:50 #16 10.50 -- Looking for syslog.h 11:22:50 #16 10.60 -- Looking for syslog.h - found 11:22:50 #16 10.60 -- Looking for sys/ioctl.h 11:22:50 #16 10.69 -- Looking for sys/ioctl.h - found 11:22:50 #16 10.69 -- Looking for sys/socket.h 11:22:50 #16 10.78 -- Looking for sys/socket.h - found 11:22:50 #16 10.78 -- Looking for sys/stat.h 11:22:50 #16 10.87 -- Looking for sys/stat.h - found 11:22:50 #16 10.87 -- Looking for sys/time.h 11:22:50 #16 10.96 -- Looking for sys/time.h - found 11:22:50 #16 10.96 -- Looking for sys/types.h 11:22:50 #16 11.06 -- Looking for sys/types.h - found 11:22:50 #16 11.06 -- Looking for sys/unistd.h 11:22:50 #16 11.12 -- Looking for sys/unistd.h - not found 11:22:50 #16 11.12 -- Looking for time.h 11:22:50 #16 11.21 -- Looking for time.h - found 11:22:50 #16 11.21 -- Looking for unistd.h 11:22:50 #16 11.30 -- Looking for unistd.h - found 11:22:50 #16 11.30 -- Looking for float.h 11:22:50 #16 11.40 -- Looking for float.h - found 11:22:51 #16 11.40 -- Looking for stddef.h 11:22:51 #16 11.50 -- Looking for stddef.h - found 11:22:51 #16 11.50 -- Looking for winsock2.h 11:22:51 #16 11.56 -- Looking for winsock2.h - not found 11:22:51 #16 11.56 -- Looking for ws2tcpip.h 11:22:51 #16 11.60 -- Looking for ws2tcpip.h - not found 11:22:51 #16 11.60 -- Looking for malloc 11:22:51 #16 11.69 -- Looking for malloc - found 11:22:51 #16 11.69 -- Looking for memset 11:22:51 #16 11.78 -- Looking for memset - found 11:22:51 #16 11.78 -- Looking for select 11:22:51 #16 11.88 -- Looking for select - found 11:22:51 #16 11.88 -- Looking for socket 11:22:51 #16 11.96 -- Looking for socket - found 11:22:51 #16 11.96 -- Looking for strcasecmp 11:22:51 #16 12.06 -- Looking for strcasecmp - found 11:22:52 #16 12.06 -- Looking for pthread_mutex_lock 11:22:52 #16 12.15 -- Looking for pthread_mutex_lock - found 11:22:52 #16 12.15 -- Looking for getaddrinfo 11:22:52 #16 12.23 -- Looking for getaddrinfo - found 11:22:52 #16 12.23 -- Looking for strnlen 11:22:52 #16 12.32 -- Looking for strnlen - found 11:22:52 #16 12.32 -- Looking for strrchr 11:22:52 #16 12.42 -- Looking for strrchr - found 11:22:52 #16 12.42 -- Looking for getrandom 11:22:52 #16 12.51 -- Looking for getrandom - found 11:22:52 #16 12.52 -- Looking for cmsghdr 11:22:52 #16 12.57 -- Looking for cmsghdr - not found 11:22:52 #16 12.57 -- compiling without epoll support 11:22:52 #16 12.57 -- compiling with DTLS support 11:22:52 #16 12.57 -- DTLS_BACKEND: tinydtls 11:22:52 #16 12.58 -- Found TinyDTLS: /usr/local/include 11:22:52 #16 12.58 -- TINYDTLS_INCLUDE_DIR: /usr/local/include/tinydtls 11:22:52 #16 12.58 -- TINYDTLS_LIBRARIES: /usr/local/lib/libtinydtls.so 11:22:52 #16 12.58 -- TINYDTLS_ROOT_DIR: 11:22:52 #16 12.58 -- compiling with tinydtls support 11:22:52 #16 12.58 -- ENABLE_DTLS:.....................ON 11:22:52 #16 12.58 -- ENABLE_TCP:......................ON 11:22:52 #16 12.58 -- ENABLE_DOCS:.....................OFF 11:22:52 #16 12.58 -- ENABLE_EXAMPLES:.................OFF 11:22:52 #16 12.58 -- DTLS_BACKEND:....................tinydtls 11:22:52 #16 12.58 -- WITH_GNUTLS:.....................OFF 11:22:52 #16 12.58 -- WITH_TINYDTLS:...................ON 11:22:52 #16 12.58 -- WITH_OPENSSL:....................OFF 11:22:52 #16 12.58 -- WITH_MBEDTLS:....................OFF 11:22:52 #16 12.58 -- HAVE_LIBTINYDTLS:................1 11:22:52 #16 12.58 -- HAVE_LIBGNUTLS:.................. 11:22:52 #16 12.58 -- HAVE_OPENSSL:.................... 11:22:52 #16 12.58 -- HAVE_MBEDTLS:.................... 11:22:52 #16 12.58 -- COAP_EPOLL_SUPPORT:.............. 11:22:52 #16 12.58 -- CMAKE_C_COMPILER:................/usr/bin/cc 11:22:52 #16 12.58 -- BUILD_SHARED_LIBS:...............ON 11:22:52 #16 12.58 -- CMAKE_BUILD_TYPE:................Release 11:22:52 #16 12.58 -- CMAKE_SYSTEM_PROCESSOR:..........x86_64 11:22:52 #16 12.59 -- Configuring done (3.8s) 11:22:52 #16 12.59 CMake Warning (dev) at CMakeLists.txt:16 (add_library): 11:22:52 #16 12.59 Policy CMP0115 is not set: Source file extensions must be explicit. Run 11:22:52 #16 12.59 "cmake --help-policy CMP0115" for policy details. Use the cmake_policy 11:22:52 #16 12.59 command to set the policy and suppress this warning. 11:22:52 #16 12.59 11:22:52 #16 12.59 File: 11:22:52 #16 12.59 11:22:52 #16 12.59 /device-coap/deps/libcoap/include/coap2/coap.h.in 11:22:52 #16 12.59 This warning is for project developers. Use -Wno-dev to suppress it. 11:22:52 #16 12.59 11:22:52 #16 12.60 -- Generating done (0.0s) 11:22:52 #16 12.60 -- Build files have been written to: /device-coap/deps/libcoap/build 11:22:52 #16 12.60 + make 11:22:52 #16 12.65 [ 4%] Building C object CMakeFiles/coap-2.dir/src/address.c.o 11:22:52 #16 12.73 [ 8%] Building C object CMakeFiles/coap-2.dir/src/async.c.o 11:22:52 #16 12.81 [ 13%] Building C object CMakeFiles/coap-2.dir/src/block.c.o 11:22:52 #16 12.91 [ 17%] Building C object CMakeFiles/coap-2.dir/src/coap_debug.c.o 11:22:52 #16 13.19 [ 21%] Building C object CMakeFiles/coap-2.dir/src/coap_event.c.o 11:22:53 #16 13.26 [ 26%] Building C object CMakeFiles/coap-2.dir/src/coap_hashkey.c.o 11:22:53 #16 13.32 [ 30%] Building C object CMakeFiles/coap-2.dir/src/coap_io.c.o 11:22:53 #16 13.58 [ 34%] Building C object CMakeFiles/coap-2.dir/src/coap_notls.c.o 11:22:53 #16 13.63 [ 39%] Building C object CMakeFiles/coap-2.dir/src/coap_prng.c.o 11:22:53 #16 13.69 [ 43%] Building C object CMakeFiles/coap-2.dir/src/coap_session.c.o 11:22:53 #16 14.22 [ 47%] Building C object CMakeFiles/coap-2.dir/src/coap_tcp.c.o 11:22:54 #16 14.36 [ 52%] Building C object CMakeFiles/coap-2.dir/src/coap_time.c.o 11:22:54 #16 14.42 [ 56%] Building C object CMakeFiles/coap-2.dir/src/encode.c.o 11:22:54 #16 14.50 [ 60%] Building C object CMakeFiles/coap-2.dir/src/mem.c.o 11:22:54 #16 14.55 [ 65%] Building C object CMakeFiles/coap-2.dir/src/net.c.o 11:22:54 #16 15.20 [ 69%] Building C object CMakeFiles/coap-2.dir/src/option.c.o 11:22:54 #16 15.40 [ 73%] Building C object CMakeFiles/coap-2.dir/src/pdu.c.o 11:22:55 #16 15.60 [ 78%] Building C object CMakeFiles/coap-2.dir/src/resource.c.o 11:22:55 #16 16.04 [ 82%] Building C object CMakeFiles/coap-2.dir/src/str.c.o 11:22:55 #16 16.12 [ 86%] Building C object CMakeFiles/coap-2.dir/src/subscribe.c.o 11:22:55 #16 16.18 [ 91%] Building C object CMakeFiles/coap-2.dir/src/uri.c.o 11:22:56 #16 16.38 [ 95%] Building C object CMakeFiles/coap-2.dir/src/coap_tinydtls.c.o 11:22:56 #16 16.57 [100%] Linking C shared library libcoap-2.so 11:22:56 #16 16.61 [100%] Built target coap-2 11:22:56 #16 16.62 + make install 11:22:56 #16 16.67 [100%] Built target coap-2 11:22:56 #16 16.69 Install the project... 11:22:56 #16 16.70 -- Install configuration: "Release" 11:22:56 #16 16.70 -- Installing: /usr/local/lib/libcoap-2.so 11:22:56 #16 16.70 -- Set runtime path of "/usr/local/lib/libcoap-2.so" to "" 11:22:56 #16 16.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets.cmake 11:22:56 #16 16.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapTargets-release.cmake 11:22:56 #16 16.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfig.cmake 11:22:56 #16 16.71 -- Installing: /usr/local/lib/cmake/libcoap/libcoapConfigVersion.cmake 11:22:56 #16 16.71 -- Up-to-date: /usr/local/include 11:22:56 #16 16.71 -- Up-to-date: /usr/local/include/coap2 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/uthash.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/subscribe.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/option.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/resource.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/bits.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_hashkey.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/block.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_io.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/pdu.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/str.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/async.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/net.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/address.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/uri.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_event.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_riot.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_dtls.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_mutex.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_prng.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/lwippools.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_debug.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/utlist.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_time.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/encode.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/libcoap.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_forward_decls.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/mem.h 11:22:56 #16 16.71 -- Installing: /usr/local/include/coap2/coap_session.h 11:22:56 #16 16.72 -- Up-to-date: /usr/local/include 11:22:56 #16 16.72 -- Up-to-date: /usr/local/include/coap2 11:22:56 #16 16.72 -- Installing: /usr/local/include/coap2/coap.h 11:22:56 #16 16.72 + '[' 1 '=' 1 ] 11:22:56 #16 16.72 + cd /device-coap/deps 11:22:56 #16 16.72 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.2.zip 11:22:56 #16 16.72 Connecting to github.com (140.82.114.4:443) 11:22:56 #16 16.95 Connecting to codeload.github.com (140.82.112.9:443) 11:22:56 #16 17.09 saving to 'v4.0.2.zip' 11:22:56 #16 17.15 v4.0.2.zip 100% |********************************| 256k 0:00:00 ETA 11:22:56 #16 17.15 'v4.0.2.zip' saved 11:22:56 #16 17.15 + unzip v4.0.2.zip 11:22:56 #16 17.15 Archive: v4.0.2.zip 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/ 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/.github/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/.github/Contributing.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/.github/PULL_REQUEST_TEMPLATE.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/.github/semantic.yml 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/.github/workflows/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/.github/workflows/release.yml 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/.gitignore 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/Attribution.txt 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/CHANGELOG.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/Doxyfile 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/GOVERNANCE.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/Jenkinsfile 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/LICENSE 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/Makefile 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/OWNERS.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/README.IOT.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/README.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/README.v3.md 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/docs/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/docs/configuration.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/docs/deviceprofiles.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/docs/metrics.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/docs/servicewritersguide.md 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/docs/startup.md 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/include/ 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/include/devsdk/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/include/devsdk/devsdk-base.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/include/devsdk/devsdk.h 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/include/edgex/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/include/edgex/devices.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/include/edgex/edgex-base.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/include/edgex/edgex.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/include/edgex/profiles.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/include/edgex/rest-server.h 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/scripts/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/scripts/Dockerfile.alpine 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/scripts/Dockerfile.alpine-base 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/scripts/build.sh 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/scripts/entrypoint.sh 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/src/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/CMakeLists.txt 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/src/c/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/CMakeLists.txt 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/api.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/autoevent.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/autoevent.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/bus-impl.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/bus-mqtt.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/bus.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/bus.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/callback3.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/callback3.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/cmdinfo.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/command.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/command.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/config.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/config.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/correlation.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/correlation.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/data.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/data.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/defs.h.in 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/device.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/device.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/devman.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/devmap.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/devmap.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/devsdk-base.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/devutil.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/discovery.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/discovery.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/dto-read.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/dto-read.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/edgex-logging.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/edgex-logging.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/edgex-rest.c 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/edgex-rest.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/edgex2.h 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/errorlist.h 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/src/c/examples/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/examples/CMakeLists.txt 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/examples/README.md 11:22:56 #16 17.16 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/ 11:22:56 #16 17.16 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/CMakeLists.txt 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/README.md 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/device-bitfields.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/devices/Bitfields.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/counters/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/counters/CMakeLists.txt 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/counters/README.md 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/counters/device-counter.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/counters/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/counters/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/counters/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/counters/res/devices/Counters.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/counters/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/counters/res/profiles/Counter.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/discovery/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/CMakeLists.txt 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/README.md 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/devices/readme.txt 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/profiles/TemplateProfile.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/discovery/res/watchers/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/watchers/watcher1.json 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/res/watchers/watcher2.json 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/discovery/template.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/file/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/file/CMakeLists.txt 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/file/README.md 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/file/device-file.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/file/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/file/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/devices/file1.json 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/lorem.txt 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/file/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/file/res/profiles/FileExampleProfile.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/gyro/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/CMakeLists.txt 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/README.md 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/device-gyro.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/gyro/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/gyro/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/res/devices/gyro.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/gyro/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/gyro/res/profiles/Gyro.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/random/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/random/CMakeLists.txt 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/random/README.md 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/random/device-random.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/random/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/random/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/random/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/random/res/devices/randomdevice1.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/random/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/random/res/profiles/RandomExampleProfile.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/res/devices/device1.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/res/profiles/TemplateProfile.json 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/template.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/terminal/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/CMakeLists.txt 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/README.md 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/device-terminal.c 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/terminal/res/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/res/configuration.yaml 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/terminal/res/devices/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/res/devices/terminal.json 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/c/examples/terminal/res/profiles/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/examples/terminal/res/profiles/Terminal.json 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/filesys.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/filesys.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/keeper.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/keeper.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/map.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/map.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/metadata.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/metadata.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/metrics.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/opstate.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/opstate.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/parson.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/parson.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/profiles.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/profiles.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/registry-impl.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/registry.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/registry.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/reqdata.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/reqdata.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/request_auth.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/request_auth.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/rest-server.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/rest-server.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/rest.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/rest.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/secrets-impl.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/secrets-insecure.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/secrets-insecure.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/secrets-vault.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/secrets-vault.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/secrets.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/secrets.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/service.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/service.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/transform.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/transform.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/validate.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/validate.h 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/watchers.c 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/c/watchers.h 11:22:56 #16 17.17 creating: device-sdk-c-4.0.2/src/cmake/ 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/cmake/FindIOT.cmake 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBCBOR.cmake 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBMICROHTTP.cmake 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBPAHO.cmake 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBUUID.cmake 11:22:56 #16 17.17 inflating: device-sdk-c-4.0.2/src/cmake/FindLIBYAML.cmake 11:22:56 #16 17.18 + cd device-sdk-c-4.0.2 11:22:56 #16 17.18 + ./scripts/build.sh 11:22:56 #16 17.18 + CPPCHECK=false 11:22:56 #16 17.18 + DOCGEN=false 11:22:56 #16 17.18 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:22:56 #16 17.18 + '[' 0 -gt 0 ] 11:22:56 #16 17.18 + readlink -f ./scripts/build.sh 11:22:56 #16 17.18 + dirname /device-coap/deps/device-sdk-c-4.0.2/scripts/build.sh 11:22:56 #16 17.18 + dirname /device-coap/deps/device-sdk-c-4.0.2/scripts 11:22:56 #16 17.18 + ROOT=/device-coap/deps/device-sdk-c-4.0.2 11:22:56 #16 17.18 + cd /device-coap/deps/device-sdk-c-4.0.2 11:22:56 #16 17.18 + mkdir -p /device-coap/deps/device-sdk-c-4.0.2/build/release 11:22:56 #16 17.18 + cd /device-coap/deps/device-sdk-c-4.0.2/build/release 11:22:56 #16 17.18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-coap/deps/device-sdk-c-4.0.2/src 11:22:56 #16 17.25 -- The C compiler identification is GNU 12.2.1 11:22:57 #16 17.27 -- Detecting C compiler ABI info 11:22:57 #16 17.35 -- Detecting C compiler ABI info - done 11:22:57 #16 17.37 -- Check for working C compiler: /usr/bin/cc - skipped 11:22:57 #16 17.37 -- Detecting C compile features 11:22:57 #16 17.37 -- Detecting C compile features - done 11:22:57 #16 17.38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:22:57 #16 17.45 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 11:22:57 #16 17.45 -- Found LIBYAML: /usr/lib/libyaml.so 11:22:57 #16 17.46 -- Found LIBUUID: /usr/lib/libuuid.so 11:22:57 #16 17.46 -- Found LIBCBOR: /usr/lib/libcbor.so 11:22:57 #16 17.46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:22:57 #16 17.46 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 11:22:57 #16 17.46 -- /opt/iotech/iot/1.6/include 11:22:57 #16 17.46 -- C SDK 0.0.0 for Linux 11:22:57 #16 17.47 -- Performing Test CSDK_HAVE_ATOMIC 11:22:57 #16 17.55 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:22:57 #16 17.59 -- Found Curses: /usr/lib/libcurses.so 11:22:57 #16 17.62 -- Configuring done (0.4s) 11:22:57 #16 17.65 -- Generating done (0.0s) 11:22:57 #16 17.65 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.2/build/release 11:22:57 #16 17.66 + make all package 11:22:57 #16 17.66 + tee release.log 11:22:57 #16 17.70 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:22:57 #16 17.84 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:22:57 #16 17.99 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:22:57 #16 18.14 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:22:57 #16 18.24 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 11:22:58 #16 18.28 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 11:22:58 #16 18.28 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11:22:58 #16 18.28 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 11:22:58 #16 18.28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:22:58 #16 18.39 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:22:58 #16 18.70 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:22:58 #16 18.74 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:22:58 #16 18.89 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:22:58 #16 19.19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:22:59 #16 19.28 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:22:59 #16 19.41 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:22:59 #16 19.54 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:22:59 #16 19.63 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:22:59 #16 19.78 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:22:59 #16 19.84 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:22:59 #16 20.17 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:23:00 #16 20.24 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 11:23:00 #16 20.51 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:23:00 #16 20.62 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:23:00 #16 20.85 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 11:23:00 #16 20.94 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:23:01 #16 22.07 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:23:01 #16 22.18 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:23:01 #16 22.25 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:23:01 #16 22.34 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:23:02 #16 22.39 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:23:02 #16 22.61 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:23:02 #16 22.95 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:23:02 #16 23.03 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:23:02 #16 23.16 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:23:03 #16 23.25 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:23:03 #16 23.75 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:23:03 #16 23.86 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:23:03 #16 23.92 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:23:03 #16 24.03 [ 69%] Linking C shared library libcsdk.so 11:23:03 #16 24.08 [ 69%] Built target csdk 11:23:03 #16 24.11 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:23:03 #16 24.24 [ 73%] Linking C executable template 11:23:04 #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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:04 #16 24.31 [ 73%] Built target template 11:23:04 #16 24.33 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:23:04 #16 24.42 [ 76%] Linking C executable device-counter 11:23:04 #16 24.44 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:04 #16 24.48 [ 76%] Built target device-counter 11:23:04 #16 24.51 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:23:04 #16 24.61 [ 80%] Linking C executable device-random 11:23:04 #16 24.64 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:04 #16 24.68 [ 80%] Built target device-random 11:23:04 #16 24.70 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:23:04 #16 24.78 [ 84%] Linking C executable device-gyro 11:23:04 #16 24.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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:04 #16 24.84 [ 84%] Built target device-gyro 11:23:04 #16 24.86 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:23:04 #16 24.95 [ 88%] Linking C executable device-bitfields 11:23:04 #16 24.98 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:04 #16 25.03 [ 88%] Built target device-bitfields 11:23:04 #16 25.06 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:23:04 #16 25.20 [ 92%] Linking C executable template-discovery 11:23:05 #16 25.23 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:05 #16 25.27 [ 92%] Built target template-discovery 11:23:05 #16 25.30 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:23:05 #16 25.41 [ 96%] Linking C executable device-file 11:23:05 #16 25.45 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:05 #16 25.49 [ 96%] Built target device-file 11:23:05 #16 25.51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:23:05 #16 25.61 [100%] Linking C executable device-terminal 11:23:05 #16 25.64 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:05 #16 25.69 [100%] Built target device-terminal 11:23:05 #16 25.71 Run CPack packaging tool... 11:23:05 #16 25.72 CPack: Create package using TGZ 11:23:05 #16 25.72 CPack: Install projects 11:23:05 #16 25.72 CPack: - Run preinstall target for: Csdk 11:23:05 #16 25.98 CPack: - Install project: Csdk [] 11:23:05 #16 25.98 CPack: Create package 11:23:05 #16 26.01 CPack: - package: /device-coap/deps/device-sdk-c-4.0.2/build/release/csdk-0.0.0.tar.gz generated. 11:23:05 #16 26.01 + '[' false '=' true ] 11:23:05 #16 26.01 + '[' false '=' true ] 11:23:05 #16 26.01 + mkdir -p /device-coap/deps/device-sdk-c-4.0.2/build/debug 11:23:05 #16 26.01 + cd /device-coap/deps/device-sdk-c-4.0.2/build/debug 11:23:05 #16 26.01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-coap/deps/device-sdk-c-4.0.2/src 11:23:05 #16 26.09 -- The C compiler identification is GNU 12.2.1 11:23:05 #16 26.10 -- Detecting C compiler ABI info 11:23:05 #16 26.19 -- Detecting C compiler ABI info - done 11:23:05 #16 26.21 -- Check for working C compiler: /usr/bin/cc - skipped 11:23:05 #16 26.21 -- Detecting C compile features 11:23:05 #16 26.21 -- Detecting C compile features - done 11:23:05 #16 26.22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:23:05 #16 26.29 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 11:23:06 #16 26.30 -- Found LIBYAML: /usr/lib/libyaml.so 11:23:06 #16 26.30 -- Found LIBUUID: /usr/lib/libuuid.so 11:23:06 #16 26.30 -- Found LIBCBOR: /usr/lib/libcbor.so 11:23:06 #16 26.31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:23:06 #16 26.31 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 11:23:06 #16 26.31 -- /opt/iotech/iot/1.6/include 11:23:06 #16 26.31 -- C SDK 0.0.0 for Linux 11:23:06 #16 26.31 -- Performing Test CSDK_HAVE_ATOMIC 11:23:06 #16 26.39 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:23:06 #16 26.44 -- Found Curses: /usr/lib/libcurses.so 11:23:06 #16 26.46 -- Configuring done (0.4s) 11:23:06 #16 26.49 -- Generating done (0.0s) 11:23:06 #16 26.49 -- Build files have been written to: /device-coap/deps/device-sdk-c-4.0.2/build/debug 11:23:06 #16 26.50 + make 11:23:06 #16 26.50 + tee debug.log 11:23:06 #16 26.54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:23:06 #16 26.62 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:23:06 #16 26.70 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:23:06 #16 26.77 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:23:06 #16 26.84 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 11:23:06 #16 26.88 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 11:23:06 #16 26.88 /device-coap/deps/device-sdk-c-4.0.2/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 11:23:06 #16 26.88 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 11:23:06 #16 26.88 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:23:06 #16 26.94 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:23:06 #16 27.06 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:23:06 #16 27.10 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:23:06 #16 27.19 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:23:06 #16 27.30 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:23:07 #16 27.38 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:23:07 #16 27.48 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:23:07 #16 27.55 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:23:07 #16 27.62 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:23:07 #16 27.70 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:23:07 #16 27.75 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:23:07 #16 27.89 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:23:07 #16 27.93 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 11:23:07 #16 28.04 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:23:07 #16 28.10 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:23:07 #16 28.21 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 11:23:07 #16 28.27 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:23:08 #16 28.48 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:23:08 #16 28.55 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:23:08 #16 28.60 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:23:08 #16 28.66 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:23:08 #16 28.71 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:23:08 #16 28.81 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:23:08 #16 29.07 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:23:08 #16 29.12 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:23:08 #16 29.19 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:23:09 #16 29.26 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:23:09 #16 29.44 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:23:09 #16 29.50 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:23:09 #16 29.55 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:23:09 #16 29.62 [ 69%] Linking C shared library libcsdk.so 11:23:09 #16 29.69 [ 69%] Built target csdk 11:23:09 #16 29.71 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:23:09 #16 29.78 [ 73%] Linking C executable template 11:23:09 #16 29.81 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:09 #16 29.86 [ 73%] Built target template 11:23:09 #16 29.87 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:23:09 #16 29.93 [ 76%] Linking C executable device-counter 11:23:09 #16 29.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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:09 #16 30.01 [ 76%] Built target device-counter 11:23:09 #16 30.02 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:23:09 #16 30.08 [ 80%] Linking C executable device-random 11:23:09 #16 30.11 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:09 #16 30.15 [ 80%] Built target device-random 11:23:09 #16 30.17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:23:09 #16 30.23 [ 84%] Linking C executable device-gyro 11:23:10 #16 30.25 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:10 #16 30.29 [ 84%] Built target device-gyro 11:23:10 #16 30.31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:23:10 #16 30.37 [ 88%] Linking C executable device-bitfields 11:23:10 #16 30.40 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:10 #16 30.44 [ 88%] Built target device-bitfields 11:23:10 #16 30.46 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:23:10 #16 30.54 [ 92%] Linking C executable template-discovery 11:23:10 #16 30.56 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:10 #16 30.60 [ 92%] Built target template-discovery 11:23:10 #16 30.62 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:23:10 #16 30.69 [ 96%] Linking C executable device-file 11:23:10 #16 30.72 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:10 #16 30.76 [ 96%] Built target device-file 11:23:10 #16 30.77 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:23:10 #16 30.84 [100%] Linking C executable device-terminal 11:23:10 #16 30.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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:10 #16 30.91 [100%] Built target device-terminal 11:23:10 #16 30.92 + cp -rf include/devsdk include/edgex /usr/include/ 11:23:10 #16 30.92 + cp build/release/c/libcsdk.so /usr/lib/ 11:23:10 #16 30.92 + rm -rf /device-coap/deps 11:23:10 #16 DONE 31.0s 11:23:10 11:23:10 #20 [builder 11/11] RUN /device-coap/scripts/build.sh && test -f /device-coap/build/release/device-coap 11:23:10 #20 0.204 + readlink -f /device-coap/scripts/build.sh 11:23:11 #20 0.205 + dirname /device-coap/scripts/build.sh 11:23:11 #20 0.205 + dirname /device-coap/scripts 11:23:11 #20 0.206 /device-coap 11:23:11 #20 0.206 + ROOT=/device-coap 11:23:11 #20 0.206 + echo /device-coap 11:23:11 #20 0.206 + cd /device-coap 11:23:11 #20 0.206 + mkdir -p /device-coap/build/release 11:23:11 #20 0.207 + cd /device-coap/build/release 11:23:11 #20 0.207 + cmake '-DCMAKE_BUILD_TYPE=Release' /device-coap/src/c 11:23:11 #20 0.223 -- Configuring done (0.0s) 11:23:11 #20 0.232 -- Generating done (0.0s) 11:23:11 #20 0.234 -- Build files have been written to: /device-coap/build/release 11:23:11 #20 0.237 + make 11:23:11 #20 0.237 + tee release.log 11:23:11 #20 0.284 [ 20%] Building C object CMakeFiles/device-coap.dir/coap-client.c.o 11:23:11 #20 0.443 [ 40%] Building C object CMakeFiles/device-coap.dir/coap-server.c.o 11:23:11 #20 0.548 [ 60%] Building C object CMakeFiles/device-coap.dir/coap-util.c.o 11:23:11 #20 0.586 In file included from /usr/include/devsdk/devsdk.h:18, 11:23:11 #20 0.586 from /device-coap/src/c/coap-util.h:18, 11:23:11 #20 0.586 from /device-coap/src/c/coap-util.c:9: 11:23:11 #20 0.586 /device-coap/src/c/coap-util.c: In function 'read_data_int32': 11:23:11 #20 0.586 /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=] 11:23:11 #20 0.586 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 11:23:11 #20 0.586 | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 11:23:11 #20 0.586 | | 11:23:11 #20 0.586 | size_t {aka long unsigned int} 11:23:11 #20 0.586 /device-coap/src/c/coap-util.c:87:54: note: format string is defined here 11:23:11 #20 0.586 87 | iot_log_info(sdk_ctx->lc, "invalid int32 of len %u", len); 11:23:11 #20 0.586 | ~^ 11:23:11 #20 0.586 | | 11:23:11 #20 0.586 | unsigned int 11:23:11 #20 0.586 | %lu 11:23:11 #20 0.693 [ 80%] Building C object CMakeFiles/device-coap.dir/device-coap.c.o 11:23:11 #20 0.838 [100%] Linking C executable device-coap 11:23:11 #20 0.861 /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.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 11:23:11 #20 0.899 [100%] Built target device-coap 11:23:11 #20 DONE 1.0s 11:23:11 11:23:11 #21 [stage-1 7/15] COPY --from=builder /device-coap/build/release/device-coap /device-coap 11:23:11 #21 DONE 0.1s 11:23:11 11:23:11 #22 [stage-1 8/15] COPY --from=builder /usr/local/lib/libcoap-2.so /usr/local/lib/ 11:23:11 #22 DONE 0.1s 11:23:11 11:23:11 #23 [stage-1 9/15] COPY --from=builder /usr/local/include/coap2 /usr/local/include/coap2 11:23:11 #23 DONE 0.1s 11:23:11 11:23:11 #24 [stage-1 10/15] COPY --from=builder /usr/local/lib/libtinydtls.so /usr/local/lib/ 11:23:11 #24 DONE 0.0s 11:23:11 11:23:11 #25 [stage-1 11/15] COPY --from=builder /usr/lib/libcsdk.so /usr/lib 11:23:11 #25 DONE 0.0s 11:23:12 11:23:12 #26 [stage-1 12/15] COPY LICENSE / 11:23:12 #26 DONE 0.0s 11:23:12 11:23:12 #27 [stage-1 13/15] COPY Attribution.txt / 11:23:12 #27 DONE 0.0s 11:23:12 11:23:12 #28 [stage-1 14/15] COPY res /res 11:23:12 #28 DONE 0.0s 11:23:12 11:23:12 #29 exporting to image 11:23:12 #29 exporting layers 11:23:12 #29 exporting layers 0.2s done 11:23:12 #29 writing image sha256:2844ea9cd0b390d46d4a9fe70e0719dfe94a5588b30cc7c86394178d2543f56e done 11:23:12 #29 naming to docker.io/library/device-coap done 11:23:12 #29 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:23:12 11:23:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:23:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:23:13 latest: Pulling from edgex-lftools-log-publisher 11:23:13 5eb5b503b376: Pulling fs layer 11:23:13 5c69ac0246d0: Pulling fs layer 11:23:13 ec43610c2a17: Pulling fs layer 11:23:13 3a2ae6a8a46f: Pulling fs layer 11:23:13 33b1e0a273af: Pulling fs layer 11:23:13 5d3b04190fa2: Pulling fs layer 11:23:13 2f39f015ded8: Pulling fs layer 11:23:13 5d3b04190fa2: Waiting 11:23:13 33b1e0a273af: Waiting 11:23:13 2f39f015ded8: Waiting 11:23:13 3a2ae6a8a46f: Waiting 11:23:13 5c69ac0246d0: Verifying Checksum 11:23:13 5c69ac0246d0: Download complete 11:23:13 3a2ae6a8a46f: Verifying Checksum 11:23:13 3a2ae6a8a46f: Download complete 11:23:13 ec43610c2a17: Verifying Checksum 11:23:13 ec43610c2a17: Download complete 11:23:13 33b1e0a273af: Verifying Checksum 11:23:13 33b1e0a273af: Download complete 11:23:13 5d3b04190fa2: Verifying Checksum 11:23:13 5d3b04190fa2: Download complete 11:23:13 5eb5b503b376: Verifying Checksum 11:23:13 5eb5b503b376: Download complete 11:23:14 2f39f015ded8: Verifying Checksum 11:23:14 2f39f015ded8: Download complete 11:23:14 5eb5b503b376: Pull complete 11:23:14 5c69ac0246d0: Pull complete 11:23:15 ec43610c2a17: Pull complete 11:23:15 3a2ae6a8a46f: Pull complete 11:23:15 33b1e0a273af: Pull complete 11:23:15 5d3b04190fa2: Pull complete 11:23:21 2f39f015ded8: Pull complete 11:23:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:23:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:23:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:23:21 prd-ubuntu20.04-docker-8c-8g-13650 does not seem to be running inside a container 11:23:21 $ 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/edgexfoundry_device-coap-c_PR-69 -v /w/workspace/edgexfoundry_device-coap-c_PR-69:/w/workspace/edgexfoundry_device-coap-c_PR-69:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-69@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-69@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:23:22 $ docker top 7587fe54f4d76d93fb4e68c4e192935a8863490c150e3b24b3f7a1d3a0a2adba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:23:23 ---> job-cost.sh 11:23:23 lf-activate-venv: SKIPPING 11:23:23 INFO: No Stack... 11:23:23 INFO: Retrieving Pricing Info for: v3-standard-8 11:23:23 INFO: Archiving Costs [Pipeline] sh 11:23:23 + cat /w/workspace/edgexfoundry_device-coap-c_PR-69/archives/cost.csv 11:23:23 + cut -d, -f6 [Pipeline] lock 11:23:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-coap-c-PR-69-6-stack-cost] 11:23:23 Resource [jenkins-edgexfoundry-device-coap-c-PR-69-6-stack-cost] did not exist. Created. 11:23:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-coap-c-PR-69-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:23:24 + echo total: 0.2199999988079071 [Pipeline] stash 11:23:24 Stashed 1 file(s) [Pipeline] } 11:23:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-coap-c-PR-69-6-stack-cost] [Pipeline] // lock [Pipeline] } 11:23:24 $ docker stop --time=1 7587fe54f4d76d93fb4e68c4e192935a8863490c150e3b24b3f7a1d3a0a2adba 11:23:25 $ docker rm -f --volumes 7587fe54f4d76d93fb4e68c4e192935a8863490c150e3b24b3f7a1d3a0a2adba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:23:26 + [ -d /w/workspace/edgexfoundry_device-coap-c_PR-69/archives ] 11:23:26 + ls -al /w/workspace/edgexfoundry_device-coap-c_PR-69/archives 11:23:26 total 16 11:23:26 drwxr-xr-x 3 root root 4096 Jun 22 11:23 . 11:23:26 drwxrwxr-x 9 jenkins jenkins 4096 Jun 22 11:23 .. 11:23:26 drwxr-xr-x 2 root root 4096 Jun 22 11:23 cost 11:23:26 -rw-r--r-- 1 root root 84 Jun 22 11:23 cost.csv 11:23:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-coap-c_PR-69/archives 11:23:26 + ls -al /w/workspace/edgexfoundry_device-coap-c_PR-69/archives 11:23:26 total 16 11:23:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 11:23 . 11:23:26 drwxrwxr-x 9 jenkins jenkins 4096 Jun 22 11:23 .. 11:23:26 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 11:23 cost 11:23:26 -rw-r--r-- 1 jenkins jenkins 84 Jun 22 11:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:23:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:23:27 ---> package-listing.sh 11:23:27 ++ facter osfamily 11:23:27 ++ tr '[:upper:]' '[:lower:]' 11:23:27 + OS_FAMILY=debian 11:23:27 + workspace=/w/workspace/edgexfoundry_device-coap-c_PR-69 11:23:27 + START_PACKAGES=/tmp/packages_start.txt 11:23:27 + END_PACKAGES=/tmp/packages_end.txt 11:23:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:23:27 + PACKAGES=/tmp/packages_start.txt 11:23:27 + '[' /w/workspace/edgexfoundry_device-coap-c_PR-69 ']' 11:23:27 + PACKAGES=/tmp/packages_end.txt 11:23:27 + case "${OS_FAMILY}" in 11:23:27 + dpkg -l 11:23:27 + grep '^ii' 11:23:27 + '[' -f /tmp/packages_start.txt ']' 11:23:27 + '[' -f /tmp/packages_end.txt ']' 11:23:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:23:27 + '[' /w/workspace/edgexfoundry_device-coap-c_PR-69 ']' 11:23:27 + mkdir -p /w/workspace/edgexfoundry_device-coap-c_PR-69/archives/ 11:23:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-coap-c_PR-69/archives/ [Pipeline] echo 11:23:27 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/edgexfoundry_device-coap-c_PR-69/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:23:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:23:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:23:28 prd-ubuntu20.04-docker-8c-8g-13650 does not seem to be running inside a container 11:23:28 $ 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/edgexfoundry_device-coap-c_PR-69/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-coap-c_PR-69 -v /w/workspace/edgexfoundry_device-coap-c_PR-69:/w/workspace/edgexfoundry_device-coap-c_PR-69:rw,z -v /w/workspace/edgexfoundry_device-coap-c_PR-69@tmp:/w/workspace/edgexfoundry_device-coap-c_PR-69@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:23:28 $ docker top 9a67ce9bce5ad415f7a75689e014b9630e51c5300481bf68b24c287d349bab65 -eo pid,comm [Pipeline] { [Pipeline] sh 11:23:29 + touch /tmp/pre-build-complete [Pipeline] sh 11:23:29 + mkdir -p /var/log/sysstat [Pipeline] sh 11:23:29 + ls /var/log/sa-host 11:23:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:23:29 provisioning config files... 11:23:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-coap-c_PR-69@tmp/config12859218768706994071tmp [Pipeline] { [Pipeline] echo 11:23:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:23:30 ---> create-netrc.sh [Pipeline] } 11:23:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:23:30 ---> python-tools-install.sh [Pipeline] echo 11:23:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:23:30 ---> sudo-logs.sh 11:23:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:23:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:23:31 ---> job-cost.sh 11:23:31 lf-activate-venv: SKIPPING 11:23:31 DEBUG: total: 0.2199999988079071 11:23:31 INFO: Retrieving Stack Cost... 11:23:31 INFO: Retrieving Pricing Info for: v3-standard-8 11:23:31 INFO: Archiving Costs [Pipeline] echo 11:23:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:23:31 ---> logs-deploy.sh 11:23:31 lf-activate-venv: SKIPPING 11:23:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-coap-c/PR-69/6 11:23:31 INFO: archiving workspace using pattern(s): 11:23:32 Archives upload complete. 11:23:32 INFO: archiving logs to Nexus