Pull request #102 opened 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 FelixTing for edgexfoundry/device-bacnet-c Obtained Jenkinsfile from 22e8dff36da7d5dbc3012339e25a084e1cd74c3a+11dab76be4e7d729cbb51d1712275157f21268b1 (0680a18631818e5d0dd79584f48f3f71ef0f0efd) 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-ssh733188780766184968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8471882560294985559.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-bacnet-c/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-bacnet-c/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13919508348115490337.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-bacnet-c/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13788216895014920955.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f16b0674693bda8419e7356c8caa12f8ebbbe1e # timeout=10 Commit message: "Merge pull request #468 from cherrycl/issue-467" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6495310892285483466.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-bacnet-c/branches/PR-102/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-bacnet-c/branches/PR-102/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14782071634187340206.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 5f16b0674693bda8419e7356c8caa12f8ebbbe1e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-bacnet-c, 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-bacnet-c-settings PROJECT: device-bacnet-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-bacnet DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41244 in /w/workspace/exfoundry_device-bacnet-c_PR-102 [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-bacnet-c.git > git init /w/workspace/exfoundry_device-bacnet-c_PR-102 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-bacnet-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-bacnet-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 11dab76be4e7d729cbb51d1712275157f21268b1 into PR head commit 22e8dff36da7d5dbc3012339e25a084e1cd74c3a Merge succeeded, producing 22e8dff36da7d5dbc3012339e25a084e1cd74c3a Checking out Revision 22e8dff36da7d5dbc3012339e25a084e1cd74c3a (PR-102) > git config remote.origin.url git@github.com:edgexfoundry/device-bacnet-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-bacnet-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-bacnet-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-bacnet-c.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22e8dff36da7d5dbc3012339e25a084e1cd74c3a # 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 11dab76be4e7d729cbb51d1712275157f21268b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22e8dff36da7d5dbc3012339e25a084e1cd74c3a # timeout=10 Commit message: "fix: Simplify configuration.yaml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 5f16b0674693bda8419e7356c8caa12f8ebbbe1e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:55:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:55:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:55:03 ========================================================= 05:55:03 EdgeX Global Pipelines Version Info 05:55:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:55:04 ------------------- 05:55:04 stable info: 05:55:04 ------------------- 05:55:04 Commited By: Cherry Wang cherry@iotechsys.com 05:55:04 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 05:55:04 Message: update stable to v1.0.272 05:55:05 ------------------- 05:55:05 experimental info: 05:55:05 ------------------- 05:55:05 Commited By: **** collab-it+edgex@linuxfoundation.org 05:55:05 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 05:55:05 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-bacnet-c-settings [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-bacnet-c [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-bacnet [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:55:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-102 [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-102 [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-102 [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22e8dff36da7d5dbc3012339e25a084e1cd74c3a [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22e8dff [Pipeline] echo 05:55:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:06 provisioning config files... 05:55:06 copy managed file [device-bacnet-c-settings] to file:/w/workspace/exfoundry_device-bacnet-c_PR-102@tmp/config3899613419023634750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:06 ---> ****-login.sh 05:55:06 nexus3.edgexfoundry.org:10001 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 nexus3.edgexfoundry.org:10002 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 nexus3.edgexfoundry.org:10003 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 nexus3.edgexfoundry.org:10004 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 ****.io 05:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:07 Configure a credential helper to remove this warning. See 05:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:07 05:55:07 Login Succeeded 05:55:07 ---> ****-login.sh ends [Pipeline] } 05:55:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:55:08 + git rev-list -1 --merges 22e8dff36da7d5dbc3012339e25a084e1cd74c3a~1..22e8dff36da7d5dbc3012339e25a084e1cd74c3a [Pipeline] echo 05:55:08 -----------> git rev-list -1 --merges 22e8dff36da7d5dbc3012339e25a084e1cd74c3a~1..22e8dff36da7d5dbc3012339e25a084e1cd74c3a 22e8dff36da7d5dbc3012339e25a084e1cd74c3a [false] [Pipeline] sh 05:55:08 + git log --format=format:%s -1 22e8dff36da7d5dbc3012339e25a084e1cd74c3a [Pipeline] echo 05:55:08 ========================================================= 05:55:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:55:08 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:55:09 + git rev-list -1 --merges 22e8dff36da7d5dbc3012339e25a084e1cd74c3a~1..22e8dff36da7d5dbc3012339e25a084e1cd74c3a [Pipeline] echo 05:55:09 -----------> git rev-list -1 --merges 22e8dff36da7d5dbc3012339e25a084e1cd74c3a~1..22e8dff36da7d5dbc3012339e25a084e1cd74c3a 22e8dff36da7d5dbc3012339e25a084e1cd74c3a [false] [Pipeline] sh 05:55:10 + git log --format=format:%s -1 22e8dff36da7d5dbc3012339e25a084e1cd74c3a [Pipeline] echo 05:55:10 ========================================================= 05:55:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:55:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:55:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:55:10 + grep -v github /etc/ssh/ssh_known_hosts 05:55:10 + [ -e /tmp/ssh_known_hosts ] 05:55:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:55:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:55:10 + sudo tee -a /etc/ssh/ssh_known_hosts 05:55:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:10 05:55:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:11 0.1.4: Pulling from edgex-devops/py-git-semver 05:55:11 b85a868b505f: Pulling fs layer 05:55:11 e2be974225ed: Pulling fs layer 05:55:11 339a4e72a1f5: Pulling fs layer 05:55:11 988bab9f4d93: Pulling fs layer 05:55:11 1469e6f7b9e6: Pulling fs layer 05:55:11 eaf3925da568: Pulling fs layer 05:55:11 bab4dde63d76: Pulling fs layer 05:55:11 bde34c3a00c8: Pulling fs layer 05:55:11 b352a97aabf1: Pulling fs layer 05:55:11 4872d77fe225: Pulling fs layer 05:55:11 5851b861e8e6: Pulling fs layer 05:55:11 1469e6f7b9e6: Waiting 05:55:11 eaf3925da568: Waiting 05:55:11 b352a97aabf1: Waiting 05:55:11 4872d77fe225: Waiting 05:55:11 bab4dde63d76: Waiting 05:55:11 5851b861e8e6: Waiting 05:55:11 988bab9f4d93: Waiting 05:55:11 e2be974225ed: Download complete 05:55:11 988bab9f4d93: Verifying Checksum 05:55:11 988bab9f4d93: Download complete 05:55:11 1469e6f7b9e6: Verifying Checksum 05:55:11 1469e6f7b9e6: Download complete 05:55:11 eaf3925da568: Verifying Checksum 05:55:11 eaf3925da568: Download complete 05:55:11 339a4e72a1f5: Verifying Checksum 05:55:11 339a4e72a1f5: Download complete 05:55:11 bde34c3a00c8: Download complete 05:55:11 b352a97aabf1: Verifying Checksum 05:55:11 b352a97aabf1: Download complete 05:55:11 4872d77fe225: Verifying Checksum 05:55:11 4872d77fe225: Download complete 05:55:11 5851b861e8e6: Verifying Checksum 05:55:11 5851b861e8e6: Download complete 05:55:11 b85a868b505f: Verifying Checksum 05:55:11 b85a868b505f: Download complete 05:55:11 bab4dde63d76: Verifying Checksum 05:55:11 bab4dde63d76: Download complete 05:55:12 b85a868b505f: Pull complete 05:55:12 e2be974225ed: Pull complete 05:55:13 339a4e72a1f5: Pull complete 05:55:13 988bab9f4d93: Pull complete 05:55:13 1469e6f7b9e6: Pull complete 05:55:13 eaf3925da568: Pull complete 05:55:15 bab4dde63d76: Pull complete 05:55:15 bde34c3a00c8: Pull complete 05:55:15 b352a97aabf1: Pull complete 05:55:15 4872d77fe225: Pull complete 05:55:15 5851b861e8e6: Pull complete 05:55:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:15 prd-ubuntu20.04-docker-8c-8g-41244 does not seem to be running inside a container 05:55:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-bacnet-c_PR-102 -v /w/workspace/exfoundry_device-bacnet-c_PR-102:/w/workspace/exfoundry_device-bacnet-c_PR-102:rw,z -v /w/workspace/exfoundry_device-bacnet-c_PR-102@tmp:/w/workspace/exfoundry_device-bacnet-c_PR-102@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:55:17 $ docker top 03df9b9fa7d36d5207744f0a367ef7505d5afee640bfa6fa599c96bb3d56c6bd -eo pid,comm 05:55:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:55:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:17 [ssh-agent] Looking for ssh-agent implementation... 05:55:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:17 $ docker exec 03df9b9fa7d36d5207744f0a367ef7505d5afee640bfa6fa599c96bb3d56c6bd ssh-agent 05:55:17 SSH_AUTH_SOCK=/tmp/ssh-8rU5nAyLQdgz/agent.31 05:55:17 SSH_AGENT_PID=37 05:55:17 Running ssh-add (command line suppressed) 05:55:17 Identity added: /w/workspace/exfoundry_device-bacnet-c_PR-102@tmp/private_key_2326380202314611013.key (/w/workspace/exfoundry_device-bacnet-c_PR-102@tmp/private_key_2326380202314611013.key) 05:55:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:18 + git tag --points-at HEAD [Pipeline] } 05:55:18 $ docker exec --env ******** --env ******** 03df9b9fa7d36d5207744f0a367ef7505d5afee640bfa6fa599c96bb3d56c6bd ssh-agent -k 05:55:18 unset SSH_AUTH_SOCK; 05:55:18 unset SSH_AGENT_PID; 05:55:18 echo Agent pid 37 killed; 05:55:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:55:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:18 [ssh-agent] Looking for ssh-agent implementation... 05:55:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:18 $ docker exec 03df9b9fa7d36d5207744f0a367ef7505d5afee640bfa6fa599c96bb3d56c6bd ssh-agent 05:55:18 SSH_AUTH_SOCK=/tmp/ssh-WS8zxv1qTFmh/agent.70 05:55:18 SSH_AGENT_PID=76 05:55:18 Running ssh-add (command line suppressed) 05:55:18 Identity added: /w/workspace/exfoundry_device-bacnet-c_PR-102@tmp/private_key_9154552383000582973.key (/w/workspace/exfoundry_device-bacnet-c_PR-102@tmp/private_key_9154552383000582973.key) 05:55:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:19 + git semver init 05:55:19 2025-03-13 05:55:19,231 [run_init] DEBUG init version:0.0.0 force:False 05:55:19 2025-03-13 05:55:19,232 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-bacnet-c_PR-102/.semver 05:55:19 2025-03-13 05:55:19,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-bacnet-c.git /w/workspace/exfoundry_device-bacnet-c_PR-102/.semver 05:55:19 2025-03-13 05:55:19,233 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-bacnet-c.git', '/w/workspace/exfoundry_device-bacnet-c_PR-102/.semver'], cwd=/w/workspace/exfoundry_device-bacnet-c_PR-102, universal_newlines=False, shell=None, istream=None) 05:55:19 2025-03-13 05:55:19,962 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-bacnet-c_PR-102/.git/info/exclude 05:55:19 2025-03-13 05:55:19,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-bacnet-c_PR-102/.semver/PR-102 with force:False 05:55:19 2025-03-13 05:55:19,963 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-bacnet-c_PR-102/.semver/PR-102 05:55:19 2025-03-13 05:55:19,967 [execute] INFO git cat-file --batch-check 05:55:19 2025-03-13 05:55:19,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-bacnet-c_PR-102/.semver, universal_newlines=False, shell=None, istream=) 05:55:20 2025-03-13 05:55:19,974 [execute] INFO git cat-file --batch 05:55:20 2025-03-13 05:55:19,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-bacnet-c_PR-102/.semver, universal_newlines=False, shell=None, istream=) 05:55:20 2025-03-13 05:55:19,980 [read_version] DEBUG read version from /w/workspace/exfoundry_device-bacnet-c_PR-102/.semver/PR-102 05:55:20 0.0.0 [Pipeline] } 05:55:20 $ docker exec --env ******** --env ******** 03df9b9fa7d36d5207744f0a367ef7505d5afee640bfa6fa599c96bb3d56c6bd ssh-agent -k 05:55:20 unset SSH_AUTH_SOCK; 05:55:20 unset SSH_AGENT_PID; 05:55:20 echo Agent pid 76 killed; 05:55:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:20 + git semver [Pipeline] } 05:55:21 $ docker stop --time=1 03df9b9fa7d36d5207744f0a367ef7505d5afee640bfa6fa599c96bb3d56c6bd 05:55:22 $ docker rm -f --volumes 03df9b9fa7d36d5207744f0a367ef7505d5afee640bfa6fa599c96bb3d56c6bd [Pipeline] // withDockerContainer [Pipeline] sh 05:55:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:55:23 Stashed 1 file(s) [Pipeline] echo 05:55:23 [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 05:55:24 provisioning config files... 05:55:24 copy managed file [device-bacnet-c-settings] to file:/w/workspace/exfoundry_device-bacnet-c_PR-102@tmp/config16216772776370472365tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:55:24 ---> ****-login.sh 05:55:24 nexus3.edgexfoundry.org:10001 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 nexus3.edgexfoundry.org:10002 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 nexus3.edgexfoundry.org:10003 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 nexus3.edgexfoundry.org:10004 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 ****.io 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:25 Configure a credential helper to remove this warning. See 05:55:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:25 05:55:25 Login Succeeded 05:55:25 ---> ****-login.sh ends [Pipeline] } 05:55:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:55:25 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:55:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:55:25 ========================================================= 05:55:25 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:55:25 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:25 + 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 . 05:55:25 Sending build context to Docker daemon 798.7kB 05:55:25 Step 1/12 : ARG BASE=alpine:3.20 05:55:25 Step 2/12 : FROM ${BASE} 05:55:25 latest: Pulling from edgex-devops/edgex-gcc-base 05:55:25 96526aa774ef: Pulling fs layer 05:55:25 da60e534fd72: Pulling fs layer 05:55:25 96526aa774ef: Verifying Checksum 05:55:25 96526aa774ef: Download complete 05:55:26 96526aa774ef: Pull complete 05:55:26 da60e534fd72: Verifying Checksum 05:55:26 da60e534fd72: Download complete 05:55:29 da60e534fd72: Pull complete 05:55:29 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 05:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 05:55:29 ---> 6605166a5db4 05:55:29 Step 3/12 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:55:30 ---> Running in 01a4e387ddeb 05:55:30 Connecting to iotech.jfrog.io (34.246.139.145:443) 05:55:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:55:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:55:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:55:31 Removing intermediate container 01a4e387ddeb 05:55:31 ---> 326293f9727d 05:55:31 Step 4/12 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 05:55:31 ---> Running in 48d704cb388b 05:55:32 Removing intermediate container 48d704cb388b 05:55:32 ---> f6818eddc971 05:55:32 Step 5/12 : RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init 05:55:32 ---> Running in 123507e53cf6 05:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:55:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:55:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:33 (1/18) Installing dumb-init (1.2.5-r2) 05:55:33 (2/18) Installing hiredis (1.1.0-r2) 05:55:33 (3/18) Installing hiredis-dev (1.1.0-r2) 05:55:33 (4/18) Installing libcbor (0.10.2-r1) 05:55:33 (5/18) Installing iotech-iot-1.5 (1.5.5-r0) 05:55:33 (6/18) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:55:33 (7/18) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:55:34 (8/18) Installing libcbor-dev (0.10.2-r1) 05:55:34 (9/18) Installing libmenuw (6.4_p20230506-r0) 05:55:34 (10/18) Installing libpanelw (6.4_p20230506-r0) 05:55:34 (11/18) Installing libncurses++ (6.4_p20230506-r0) 05:55:34 (12/18) Installing ncurses-dev (6.4_p20230506-r0) 05:55:34 (13/18) Installing libblkid (2.38.1-r8) 05:55:34 (14/18) Installing libuuid (2.38.1-r8) 05:55:34 (15/18) Installing libfdisk (2.38.1-r8) 05:55:34 (16/18) Installing libmount (2.38.1-r8) 05:55:34 (17/18) Installing libsmartcols (2.38.1-r8) 05:55:34 (18/18) Installing util-linux-dev (2.38.1-r8) 05:55:34 Executing busybox-1.36.1-r4.trigger 05:55:34 OK: 336 MiB in 100 packages 05:55:34 Removing intermediate container 123507e53cf6 05:55:34 ---> 51b182824a53 05:55:34 Step 6/12 : RUN apk --no-cache upgrade 05:55:34 ---> Running in 2f2bbca83288 05:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:55:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:55:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:35 Upgrading critical system libraries and apk-tools: 05:55:35 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:55:35 Executing busybox-1.36.1-r4.trigger 05:55:35 Continuing the upgrade transaction with new apk-tools: 05:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:55:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:55:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:36 (1/25) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 05:55:36 (2/25) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 05:55:36 Executing busybox-1.36.1-r7.post-upgrade 05:55:36 (3/25) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 05:55:36 (4/25) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 05:55:36 (5/25) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 05:55:36 (6/25) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 05:55:36 (7/25) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 05:55:36 (8/25) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 05:55:36 (9/25) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 05:55:36 (10/25) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 05:55:36 (11/25) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 05:55:36 (12/25) Installing libpsl (0.21.5-r0) 05:55:36 (13/25) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 05:55:36 (14/25) Installing libpsl-utils (0.21.5-r0) 05:55:36 (15/25) Installing libpsl-dev (0.21.5-r0) 05:55:36 (16/25) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 05:55:36 (17/25) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 05:55:36 (18/25) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 05:55:36 (19/25) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 05:55:36 (20/25) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 05:55:36 (21/25) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 05:55:36 (22/25) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 05:55:36 (23/25) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 05:55:36 (24/25) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 05:55:36 (25/25) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 05:55:36 Executing busybox-1.36.1-r7.trigger 05:55:36 Executing ca-certificates-20241121-r1.trigger 05:55:36 OK: 337 MiB in 103 packages 05:55:37 Removing intermediate container 2f2bbca83288 05:55:37 ---> 7a4312da3a8a 05:55:37 Step 7/12 : COPY scripts /device-bacnet-c/scripts 05:55:37 ---> c5561b0ac329 05:55:37 Step 8/12 : COPY src /device-bacnet-c/src/ 05:55:37 ---> b2092a3ed1c3 05:55:37 Step 9/12 : COPY VERSION /device-bacnet-c/ 05:55:38 ---> 5f3bac072457 05:55:38 Step 10/12 : WORKDIR /device-bacnet-c 05:55:38 ---> Running in d654c8afa429 05:55:38 Removing intermediate container d654c8afa429 05:55:38 ---> d1942ff51864 05:55:38 Step 11/12 : RUN /device-bacnet-c/scripts/build_deps.sh 05:55:38 ---> Running in 270927047b52 05:55:38 + CSDK_VER=4.0.0 05:55:38 + '[' '!' -d deps ] 05:55:38 + mkdir deps 05:55:38 + cd /device-bacnet-c/deps 05:55:38 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 05:55:38 Connecting to github.com (140.82.114.4:443) 05:55:38 Connecting to codeload.github.com (140.82.112.9:443) 05:55:38 saving to 'v4.0.0.zip' 05:55:38 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 05:55:38 'v4.0.0.zip' saved 05:55:38 + unzip v4.0.0.zip 05:55:38 Archive: v4.0.0.zip 05:55:38 creating: device-sdk-c-4.0.0/ 05:55:38 creating: device-sdk-c-4.0.0/.github/ 05:55:38 inflating: device-sdk-c-4.0.0/.github/Contributing.md 05:55:38 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 05:55:38 inflating: device-sdk-c-4.0.0/.github/semantic.yml 05:55:38 creating: device-sdk-c-4.0.0/.github/workflows/ 05:55:38 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 05:55:38 inflating: device-sdk-c-4.0.0/.gitignore 05:55:38 inflating: device-sdk-c-4.0.0/Attribution.txt 05:55:38 inflating: device-sdk-c-4.0.0/CHANGELOG.md 05:55:38 inflating: device-sdk-c-4.0.0/Doxyfile 05:55:38 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 05:55:38 inflating: device-sdk-c-4.0.0/Jenkinsfile 05:55:38 inflating: device-sdk-c-4.0.0/LICENSE 05:55:38 inflating: device-sdk-c-4.0.0/Makefile 05:55:38 inflating: device-sdk-c-4.0.0/OWNERS.md 05:55:38 inflating: device-sdk-c-4.0.0/README.IOT.md 05:55:38 inflating: device-sdk-c-4.0.0/README.md 05:55:38 inflating: device-sdk-c-4.0.0/README.v3.md 05:55:38 creating: device-sdk-c-4.0.0/docs/ 05:55:38 inflating: device-sdk-c-4.0.0/docs/configuration.md 05:55:38 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 05:55:38 inflating: device-sdk-c-4.0.0/docs/metrics.md 05:55:38 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 05:55:38 inflating: device-sdk-c-4.0.0/docs/startup.md 05:55:38 creating: device-sdk-c-4.0.0/include/ 05:55:38 creating: device-sdk-c-4.0.0/include/devsdk/ 05:55:38 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 05:55:38 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 05:55:38 creating: device-sdk-c-4.0.0/include/edgex/ 05:55:38 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 05:55:38 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 05:55:38 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 05:55:38 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 05:55:38 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 05:55:38 creating: device-sdk-c-4.0.0/scripts/ 05:55:38 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 05:55:38 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 05:55:38 inflating: device-sdk-c-4.0.0/scripts/build.sh 05:55:38 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 05:55:38 creating: device-sdk-c-4.0.0/src/ 05:55:38 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 05:55:38 creating: device-sdk-c-4.0.0/src/c/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/api.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/bus.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/bus.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/callback3.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/callback3.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/config.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/config.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/correlation.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/correlation.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/data.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/data.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 05:55:38 inflating: device-sdk-c-4.0.0/src/c/device.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/device.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/devman.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/devmap.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/devmap.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/devutil.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/discovery.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/discovery.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/file/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/random/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 05:55:38 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 05:55:38 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 05:55:38 inflating: device-sdk-c-4.0.0/src/c/filesys.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/filesys.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/keeper.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/keeper.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/map.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/map.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/metadata.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/metadata.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/metrics.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/opstate.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/opstate.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/parson.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/parson.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/profiles.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/profiles.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/registry.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/registry.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/rest.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/rest.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/secrets.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/secrets.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/service.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/service.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/transform.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/transform.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/validate.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/validate.h 05:55:38 inflating: device-sdk-c-4.0.0/src/c/watchers.c 05:55:38 inflating: device-sdk-c-4.0.0/src/c/watchers.h 05:55:38 creating: device-sdk-c-4.0.0/src/cmake/ 05:55:38 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 05:55:38 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 05:55:38 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 05:55:38 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 05:55:38 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 05:55:38 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 05:55:38 + cd device-sdk-c-4.0.0 05:55:38 + ./scripts/build.sh 05:55:38 + CPPCHECK=false 05:55:38 + DOCGEN=false 05:55:38 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:55:38 + '[' 0 -gt 0 ] 05:55:38 + readlink -f ./scripts/build.sh 05:55:38 + dirname /device-bacnet-c/deps/device-sdk-c-4.0.0/scripts/build.sh 05:55:38 + dirname /device-bacnet-c/deps/device-sdk-c-4.0.0/scripts 05:55:38 + ROOT=/device-bacnet-c/deps/device-sdk-c-4.0.0 05:55:38 + cd /device-bacnet-c/deps/device-sdk-c-4.0.0 05:55:38 + mkdir -p /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release 05:55:38 + cd /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release 05:55:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-bacnet-c/deps/device-sdk-c-4.0.0/src 05:55:38 -- The C compiler identification is GNU 12.2.1 05:55:38 -- Detecting C compiler ABI info 05:55:39 -- Detecting C compiler ABI info - done 05:55:39 -- Check for working C compiler: /usr/bin/cc - skipped 05:55:39 -- Detecting C compile features 05:55:39 -- Detecting C compile features - done 05:55:39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:55:39 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:55:39 -- Found LIBYAML: /usr/lib/libyaml.so 05:55:39 -- Found LIBUUID: /usr/lib/libuuid.so 05:55:39 -- Found LIBCBOR: /usr/lib/libcbor.so 05:55:39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:55:39 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:55:39 -- /opt/iotech/iot/1.5/include 05:55:39 -- C SDK 0.0.0 for Linux 05:55:39 -- Performing Test CSDK_HAVE_ATOMIC 05:55:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:55:39 -- Found Curses: /usr/lib/libcurses.so 05:55:39 -- Configuring done (0.4s) 05:55:39 -- Generating done (0.0s) 05:55:39 -- Build files have been written to: /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release 05:55:39 + make all package 05:55:39 + tee release.log 05:55:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:55:39 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:55:39 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:55:39 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:55:39 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:55:40 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:55:40 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:55:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:55:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:55:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:55:40 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:55:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:55:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:55:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:55:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:55:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:55:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:55:41 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:55:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:55:42 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:55:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:55:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:55:43 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:55:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:55:43 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:55:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:55:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:55:44 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:55:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:55:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:55:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:55:44 /device-bacnet-c/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 05:55:44 /device-bacnet-c/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:55:44 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:55:44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:55:44 /device-bacnet-c/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 05:55:44 875 | const iot_data_t *deviceservices_config; 05:55:44 | ^~~~~~~~~~~~~~~~~~~~~ 05:55:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:55:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:55:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:55:45 [ 68%] Linking C shared library libcsdk.so 05:55:45 [ 68%] Built target csdk 05:55:45 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:55:45 [ 72%] Linking C executable template 05:55: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.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:45 [ 72%] Built target template 05:55:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:55:45 [ 76%] Linking C executable device-counter 05:55: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.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:45 [ 76%] Built target device-counter 05:55:45 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:55:45 [ 80%] Linking C executable device-random 05:55: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.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:45 [ 80%] Built target device-random 05:55:45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:55:45 [ 84%] Linking C executable device-gyro 05:55: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.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:45 [ 84%] Built target device-gyro 05:55:45 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:55:45 [ 88%] Linking C executable device-bitfields 05:55: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.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:45 [ 88%] Built target device-bitfields 05:55:45 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:55:46 [ 92%] Linking C executable template-discovery 05:55:46 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:46 [ 92%] Built target template-discovery 05:55:46 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:55:46 [ 96%] Linking C executable device-file 05:55:46 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:46 [ 96%] Built target device-file 05:55:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:55:46 [100%] Linking C executable device-terminal 05:55:46 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:46 [100%] Built target device-terminal 05:55:46 Run CPack packaging tool... 05:55:46 CPack: Create package using TGZ 05:55:46 CPack: Install projects 05:55:46 CPack: - Run preinstall target for: Csdk 05:55:46 CPack: - Install project: Csdk [] 05:55:46 CPack: Create package 05:55:46 CPack: - package: /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 05:55:46 + '[' false '=' true ] 05:55:46 + '[' false '=' true ] 05:55:46 + mkdir -p /device-bacnet-c/deps/device-sdk-c-4.0.0/build/debug 05:55:46 + cd /device-bacnet-c/deps/device-sdk-c-4.0.0/build/debug 05:55:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-bacnet-c/deps/device-sdk-c-4.0.0/src 05:55:46 -- The C compiler identification is GNU 12.2.1 05:55:46 -- Detecting C compiler ABI info 05:55:46 -- Detecting C compiler ABI info - done 05:55:46 -- Check for working C compiler: /usr/bin/cc - skipped 05:55:46 -- Detecting C compile features 05:55:46 -- Detecting C compile features - done 05:55:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:55:47 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:55:47 -- Found LIBYAML: /usr/lib/libyaml.so 05:55:47 -- Found LIBUUID: /usr/lib/libuuid.so 05:55:47 -- Found LIBCBOR: /usr/lib/libcbor.so 05:55:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:55:47 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:55:47 -- /opt/iotech/iot/1.5/include 05:55:47 -- C SDK 0.0.0 for Linux 05:55:47 -- Performing Test CSDK_HAVE_ATOMIC 05:55:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:55:47 -- Found Curses: /usr/lib/libcurses.so 05:55:47 -- Configuring done (0.4s) 05:55:47 -- Generating done (0.0s) 05:55:47 -- Build files have been written to: /device-bacnet-c/deps/device-sdk-c-4.0.0/build/debug 05:55:47 + make 05:55:47 + tee debug.log 05:55:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:55:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:55:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:55:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:55:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:55:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:55:47 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:55:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:55:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:55:47 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:55:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:55:48 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:55:48 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:55:48 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:55:48 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:55:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:55:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:55:48 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:55:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:55:48 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:55:48 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:55:48 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:55:48 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:55:49 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:55:49 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:55:49 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:55:49 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:55:49 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:55:49 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:55:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:55:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:55:50 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:55:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:55:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:55:50 [ 68%] Linking C shared library libcsdk.so 05:55:50 [ 68%] Built target csdk 05:55:50 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:55:50 [ 72%] Linking C executable template 05:55:50 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:50 [ 72%] Built target template 05:55:50 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:55:50 [ 76%] Linking C executable device-counter 05:55:50 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:50 [ 76%] Built target device-counter 05:55:50 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:55:50 [ 80%] Linking C executable device-random 05:55:50 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:50 [ 80%] Built target device-random 05:55:50 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:55:50 [ 84%] Linking C executable device-gyro 05:55:50 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:50 [ 84%] Built target device-gyro 05:55:50 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:55:50 [ 88%] Linking C executable device-bitfields 05:55:50 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:50 [ 88%] Built target device-bitfields 05:55:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:55:50 [ 92%] Linking C executable template-discovery 05:55:50 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:51 [ 92%] Built target template-discovery 05:55:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:55:51 [ 96%] Linking C executable device-file 05:55:51 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:51 [ 96%] Built target device-file 05:55:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:55:51 [100%] Linking C executable device-terminal 05:55:51 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:55:51 [100%] Built target device-terminal 05:55:51 + cp -rf include/devsdk include/edgex /usr/include/ 05:55:51 + cp build/release/c/libcsdk.so /usr/lib/ 05:55:51 + mkdir -p /usr/share/doc/edgex-csdk 05:55:51 + cp Attribution.txt /usr/share/doc/edgex-csdk 05:55:51 + cp LICENSE /usr/share/doc/edgex-csdk 05:55:51 + rm -rf /device-bacnet-c/deps 05:55:51 Removing intermediate container 270927047b52 05:55:51 ---> 2801190a09fb 05:55:51 Step 12/12 : RUN /device-bacnet-c/scripts/build.sh 05:55:51 ---> Running in 3ba5235a7245 05:55:51 + readlink -f /device-bacnet-c/scripts/build.sh 05:55:51 + dirname /device-bacnet-c/scripts/build.sh 05:55:51 + dirname /device-bacnet-c/scripts 05:55:51 + ROOT=/device-bacnet-c 05:55:51 + echo /device-bacnet-c 05:55:51 /device-bacnet-c 05:55:51 + cd /device-bacnet-c 05:55:51 + '[' '!' -f /device-bacnet-c/lib/ip/libbacnet.a ] 05:55:51 + '[' '!' -d /device-bacnet-c/bacnet-stack ] 05:55:51 + git clone https://github.com/IOTechSystems/bacnet-stack.git 05:55:51 Cloning into 'bacnet-stack'... 05:55:54 + cd /device-bacnet-c/bacnet-stack 05:55:54 + git checkout v0.8.6-IOTech 05:55:55 Note: switching to 'v0.8.6-IOTech'. 05:55:55 05:55:55 You are in 'detached HEAD' state. You can look around, make experimental 05:55:55 changes and commit them, and you can discard any commits you make in this 05:55:55 state without impacting any branches by switching back to a branch. 05:55:55 05:55:55 If you want to create a new branch to retain commits you create, you may 05:55:55 do so (now or later) by using -c with the switch command. Example: 05:55:55 05:55:55 git switch -c 05:55:55 05:55:55 Or undo this operation with: 05:55:55 05:55:55 git switch - 05:55:55 05:55:55 Turn off this advice by setting config variable advice.detachedHead to false 05:55:55 05:55:55 HEAD is now at 8b67b7f2 Changes for BACnet device service 05:55:55 + mkdir -p /device-bacnet-c/lib/ip 05:55:55 + mkdir -p /device-bacnet-c/lib/mstp 05:55:55 + make 'BACDL_DEFINE=-DBACDL_MSTP=1' clean library 05:55:55 make -s -C lib clean 05:55:55 make -s -C demo clean 05:55:55 make -s -C demo/router clean 05:55:55 make -s -C demo/router-ipv6 clean 05:55:55 make -s -C demo/gateway clean 05:55:55 make -s -C lib all 05:55:59 ../ports/linux/dlmstp.c: In function 'dlmstp_cleanup': 05:55:59 ../ports/linux/dlmstp.c:147:20: warning: passing argument 1 of 'pthread_cancel' makes pointer from integer without a cast [-Wint-conversion] 05:55:59 147 | pthread_cancel(hThread); 05:55:59 | ^~~~~~~ 05:55:59 | | 05:55:59 | long unsigned int 05:55:59 In file included from ../ports/linux/net.h:73, 05:55:59 from ../ports/linux/dlmstp.c:43: 05:55:59 /usr/include/pthread.h:98:20: note: expected 'pthread_t' {aka 'struct __pthread *'} but argument is of type 'long unsigned int' 05:55:59 98 | int pthread_cancel(pthread_t); 05:55:59 | ^~~~~~~~~ 05:55:59 ../ports/linux/dlmstp.c: In function 'dlmstp_init': 05:55:59 ../ports/linux/dlmstp.c:727:25: warning: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] 05:55:59 727 | rv = pthread_create(&hThread, NULL, dlmstp_master_fsm_task, NULL); 05:55:59 | ^~~~~~~~ 05:55:59 | | 05:55:59 | long unsigned int * 05:55:59 /usr/include/pthread.h:80:20: note: expected 'struct __pthread ** restrict' but argument is of type 'long unsigned int *' 05:55:59 80 | int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict); 05:55:59 | ^ 05:56:02 + cp lib/libbacnet.a /device-bacnet-c/lib/mstp 05:56:02 + make 'BACDL_DEFINE=-DBACDL_BIP=1' clean library 05:56:02 make -s -C lib clean 05:56:02 make -s -C demo clean 05:56:02 make -s -C demo/router clean 05:56:02 make -s -C demo/router-ipv6 clean 05:56:02 make -s -C demo/gateway clean 05:56:02 make -s -C lib all 05:56:10 + cp lib/libbacnet.a /device-bacnet-c/lib/ip 05:56:10 + mkdir -p /device-bacnet-c/build/release/device-bacnet-ip 05:56:10 + cd /device-bacnet-c/build/release/device-bacnet-ip 05:56:10 + cmake '-DDATALINK:STRING=BACDL_BIP=1' '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-bacnet-c/src/c 05:56:10 -- The C compiler identification is GNU 12.2.1 05:56:10 -- Detecting C compiler ABI info 05:56:10 -- Detecting C compiler ABI info - done 05:56:10 -- Check for working C compiler: /usr/bin/cc - skipped 05:56:10 -- Detecting C compile features 05:56:10 -- Detecting C compile features - done 05:56:10 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 05:56:10 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 05:56:10 -- Found Threads: TRUE 05:56:10 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:56:10 -- /opt/iotech/iot/1.5/include 05:56:10 -- Configuring done (0.3s) 05:56:10 -- Generating done (0.0s) 05:56:10 -- Build files have been written to: /device-bacnet-c/build/release/device-bacnet-ip 05:56:10 + make 05:56:10 + tee release.log 05:56:10 [ 11%] Building C object CMakeFiles/bacnet_objects.dir/device-bacnet-c/bacnet-stack/demo/object/device-client.c.o 05:56:10 [ 22%] Linking C static library libbacnet_objects.a 05:56:10 [ 22%] Built target bacnet_objects 05:56:10 [ 33%] Building C object CMakeFiles/device-bacnet-c.dir/main.c.o 05:56:10 [ 44%] Building C object CMakeFiles/device-bacnet-c.dir/address_entry.c.o 05:56:10 [ 55%] Building C object CMakeFiles/device-bacnet-c.dir/address_instance_map.c.o 05:56:10 [ 66%] Building C object CMakeFiles/device-bacnet-c.dir/device_condition_map.c.o 05:56:10 [ 77%] Building C object CMakeFiles/device-bacnet-c.dir/driver.c.o 05:56:11 [ 88%] Building C object CMakeFiles/device-bacnet-c.dir/return_data.c.o 05:56:11 [100%] Linking C executable device-bacnet-c 05:56: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.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:11 [100%] Built target device-bacnet-c 05:56:11 + mkdir -p /device-bacnet-c/build/release/device-bacnet-mstp 05:56:11 + cd /device-bacnet-c/build/release/device-bacnet-mstp 05:56:11 + cmake '-DDATALINK:STRING=BACDL_MSTP=1' '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-bacnet-c/src/c 05:56:11 -- The C compiler identification is GNU 12.2.1 05:56:11 -- Detecting C compiler ABI info 05:56:11 -- Detecting C compiler ABI info - done 05:56:11 -- Check for working C compiler: /usr/bin/cc - skipped 05:56:11 -- Detecting C compile features 05:56:11 -- Detecting C compile features - done 05:56:11 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 05:56:11 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success 05:56:11 -- Found Threads: TRUE 05:56:11 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:56:11 -- /opt/iotech/iot/1.5/include 05:56:11 -- Configuring done (0.3s) 05:56:11 -- Generating done (0.0s) 05:56:11 -- Build files have been written to: /device-bacnet-c/build/release/device-bacnet-mstp 05:56:11 + make 05:56:11 + tee release.log 05:56:11 [ 11%] Building C object CMakeFiles/bacnet_objects.dir/device-bacnet-c/bacnet-stack/demo/object/device-client.c.o 05:56:11 [ 22%] Linking C static library libbacnet_objects.a 05:56:11 [ 22%] Built target bacnet_objects 05:56:11 [ 33%] Building C object CMakeFiles/device-bacnet-c.dir/main.c.o 05:56:12 [ 44%] Building C object CMakeFiles/device-bacnet-c.dir/address_entry.c.o 05:56:12 [ 55%] Building C object CMakeFiles/device-bacnet-c.dir/address_instance_map.c.o 05:56:12 [ 66%] Building C object CMakeFiles/device-bacnet-c.dir/device_condition_map.c.o 05:56:12 [ 77%] Building C object CMakeFiles/device-bacnet-c.dir/driver.c.o 05:56:12 [ 88%] Building C object CMakeFiles/device-bacnet-c.dir/return_data.c.o 05:56:12 [100%] Linking C executable device-bacnet-c 05:56:12 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:12 [100%] Built target device-bacnet-c 05:56:13 Removing intermediate container 3ba5235a7245 05:56:13 ---> 0b3b48670b0c 05:56:13 Successfully built 0b3b48670b0c 05:56:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:14 + docker inspect -f . ci-base-image-x86_64 05:56:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:14 prd-ubuntu20.04-docker-8c-8g-41244 does not seem to be running inside a container 05:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-bacnet-c_PR-102 -v /w/workspace/exfoundry_device-bacnet-c_PR-102:/w/workspace/exfoundry_device-bacnet-c_PR-102:rw,z -v /w/workspace/exfoundry_device-bacnet-c_PR-102@tmp:/w/workspace/exfoundry_device-bacnet-c_PR-102@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 ******** ci-base-image-x86_64 cat 05:56:14 $ docker top d6168213a9b5cb67ffbbdf4fd559a0e7b2536ff7007d5b8fd7388f5aeca15432 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:15 + make test 05:56:15 build/release/device-bacnet-c/device-bacnet-c [Pipeline] } 05:56:15 $ docker stop --time=1 d6168213a9b5cb67ffbbdf4fd559a0e7b2536ff7007d5b8fd7388f5aeca15432 05:56:16 $ docker rm -f --volumes d6168213a9b5cb67ffbbdf4fd559a0e7b2536ff7007d5b8fd7388f5aeca15432 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:56:17 + ls -al . 05:56:17 total 88 05:56:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 05:55 . 05:56:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 05:54 .. 05:56:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 05:55 .git 05:56:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 05:54 .github 05:56:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 05:55 .semver 05:56:17 -rw-rw-r-- 1 jenkins jenkins 1563 Mar 13 05:54 Attribution.txt 05:56:17 -rw-rw-r-- 1 jenkins jenkins 1004 Mar 13 05:54 CHANGELOG.md 05:56:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 05:54 GOVERNANCE.md 05:56:17 -rw-rw-r-- 1 jenkins jenkins 764 Mar 13 05:54 Jenkinsfile 05:56:17 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 13 05:54 LICENSE 05:56:17 -rw-rw-r-- 1 jenkins jenkins 837 Mar 13 05:54 Makefile 05:56:17 -rw-rw-r-- 1 jenkins jenkins 621 Mar 13 05:54 OWNERS.md 05:56:17 -rw-rw-r-- 1 jenkins jenkins 5483 Mar 13 05:54 README.md 05:56:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 05:55 VERSION 05:56:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 05:54 docs 05:56:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 05:54 res 05:56:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 05:54 sample-profiles 05:56:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 05:54 scripts 05:56:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 05:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:18 + docker build -t device-bacnet -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=22e8dff36da7d5dbc3012339e25a084e1cd74c3a --label arch=amd64 --label version=0.0.0 . 05:56:18 Sending build context to Docker daemon 798.7kB 05:56:18 Step 1/31 : ARG BASE=alpine:3.20 05:56:18 Step 2/31 : FROM ${BASE} as builder 05:56:18 ---> 0b3b48670b0c 05:56:18 Step 3/31 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:56:18 ---> Running in 650aee337c79 05:56:18 Connecting to iotech.jfrog.io (34.246.139.145:443) 05:56:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:56:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:56:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:56:19 Removing intermediate container 650aee337c79 05:56:19 ---> ebf6780575f7 05:56:19 Step 4/31 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 05:56:19 ---> Running in a5a7aec1b053 05:56:19 Removing intermediate container a5a7aec1b053 05:56:19 ---> 8473f6beb01e 05:56:19 Step 5/31 : RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev 05:56:19 ---> Running in 0d9fe0c56deb 05:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:56:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:56:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:56:20 OK: 337 MiB in 103 packages 05:56:21 Removing intermediate container 0d9fe0c56deb 05:56:21 ---> 5c31682413fc 05:56:21 Step 6/31 : COPY scripts /device-bacnet-c/scripts 05:56:21 ---> 07295cd9b6e3 05:56:21 Step 7/31 : COPY src /device-bacnet-c/src/ 05:56:21 ---> e411ef75f547 05:56:21 Step 8/31 : COPY VERSION /device-bacnet-c/ 05:56:21 ---> 3a75d269ca34 05:56:21 Step 9/31 : WORKDIR /device-bacnet-c 05:56:21 ---> Running in a8236b8f5b1e 05:56:21 Removing intermediate container a8236b8f5b1e 05:56:21 ---> 2a86dfa35f32 05:56:21 Step 10/31 : RUN /device-bacnet-c/scripts/build_deps.sh 05:56:21 ---> Running in 56b687627e4d 05:56:21 + CSDK_VER=4.0.0 05:56:21 + '[' '!' -d deps ] 05:56:21 + mkdir deps 05:56:21 + cd /device-bacnet-c/deps 05:56:21 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 05:56:21 Connecting to github.com (140.82.114.4:443) 05:56:21 Connecting to codeload.github.com (140.82.112.10:443) 05:56:22 saving to 'v4.0.0.zip' 05:56:22 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 05:56:22 'v4.0.0.zip' saved 05:56:22 + unzip v4.0.0.zip 05:56:22 Archive: v4.0.0.zip 05:56:22 creating: device-sdk-c-4.0.0/ 05:56:22 creating: device-sdk-c-4.0.0/.github/ 05:56:22 inflating: device-sdk-c-4.0.0/.github/Contributing.md 05:56:22 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 05:56:22 inflating: device-sdk-c-4.0.0/.github/semantic.yml 05:56:22 creating: device-sdk-c-4.0.0/.github/workflows/ 05:56:22 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 05:56:22 inflating: device-sdk-c-4.0.0/.gitignore 05:56:22 inflating: device-sdk-c-4.0.0/Attribution.txt 05:56:22 inflating: device-sdk-c-4.0.0/CHANGELOG.md 05:56:22 inflating: device-sdk-c-4.0.0/Doxyfile 05:56:22 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 05:56:22 inflating: device-sdk-c-4.0.0/Jenkinsfile 05:56:22 inflating: device-sdk-c-4.0.0/LICENSE 05:56:22 inflating: device-sdk-c-4.0.0/Makefile 05:56:22 inflating: device-sdk-c-4.0.0/OWNERS.md 05:56:22 inflating: device-sdk-c-4.0.0/README.IOT.md 05:56:22 inflating: device-sdk-c-4.0.0/README.md 05:56:22 inflating: device-sdk-c-4.0.0/README.v3.md 05:56:22 creating: device-sdk-c-4.0.0/docs/ 05:56:22 inflating: device-sdk-c-4.0.0/docs/configuration.md 05:56:22 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 05:56:22 inflating: device-sdk-c-4.0.0/docs/metrics.md 05:56:22 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 05:56:22 inflating: device-sdk-c-4.0.0/docs/startup.md 05:56:22 creating: device-sdk-c-4.0.0/include/ 05:56:22 creating: device-sdk-c-4.0.0/include/devsdk/ 05:56:22 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 05:56:22 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 05:56:22 creating: device-sdk-c-4.0.0/include/edgex/ 05:56:22 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 05:56:22 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 05:56:22 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 05:56:22 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 05:56:22 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 05:56:22 creating: device-sdk-c-4.0.0/scripts/ 05:56:22 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 05:56:22 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 05:56:22 inflating: device-sdk-c-4.0.0/scripts/build.sh 05:56:22 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 05:56:22 creating: device-sdk-c-4.0.0/src/ 05:56:22 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 05:56:22 creating: device-sdk-c-4.0.0/src/c/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/api.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/bus.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/bus.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/callback3.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/callback3.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/config.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/config.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/correlation.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/correlation.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/data.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/data.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 05:56:22 inflating: device-sdk-c-4.0.0/src/c/device.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/device.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/devman.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/devmap.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/devmap.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/devutil.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/discovery.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/discovery.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/file/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/random/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 05:56:22 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 05:56:22 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 05:56:22 inflating: device-sdk-c-4.0.0/src/c/filesys.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/filesys.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/keeper.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/keeper.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/map.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/map.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/metadata.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/metadata.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/metrics.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/opstate.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/opstate.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/parson.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/parson.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/profiles.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/profiles.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/registry.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/registry.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/rest.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/rest.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/secrets.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/secrets.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/service.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/service.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/transform.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/transform.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/validate.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/validate.h 05:56:22 inflating: device-sdk-c-4.0.0/src/c/watchers.c 05:56:22 inflating: device-sdk-c-4.0.0/src/c/watchers.h 05:56:22 creating: device-sdk-c-4.0.0/src/cmake/ 05:56:22 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 05:56:22 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 05:56:22 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 05:56:22 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 05:56:22 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 05:56:22 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 05:56:22 + cd device-sdk-c-4.0.0 05:56:22 + ./scripts/build.sh 05:56:22 + CPPCHECK=false 05:56:22 + DOCGEN=false 05:56:22 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:56:22 + '[' 0 -gt 0 ] 05:56:22 + readlink -f ./scripts/build.sh 05:56:22 + dirname /device-bacnet-c/deps/device-sdk-c-4.0.0/scripts/build.sh 05:56:22 + dirname /device-bacnet-c/deps/device-sdk-c-4.0.0/scripts 05:56:22 + ROOT=/device-bacnet-c/deps/device-sdk-c-4.0.0 05:56:22 + cd /device-bacnet-c/deps/device-sdk-c-4.0.0 05:56:22 + mkdir -p /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release 05:56:22 + cd /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release 05:56:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-bacnet-c/deps/device-sdk-c-4.0.0/src 05:56:22 -- The C compiler identification is GNU 12.2.1 05:56:22 -- Detecting C compiler ABI info 05:56:22 -- Detecting C compiler ABI info - done 05:56:22 -- Check for working C compiler: /usr/bin/cc - skipped 05:56:22 -- Detecting C compile features 05:56:22 -- Detecting C compile features - done 05:56:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:56:22 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:56:22 -- Found LIBYAML: /usr/lib/libyaml.so 05:56:22 -- Found LIBUUID: /usr/lib/libuuid.so 05:56:22 -- Found LIBCBOR: /usr/lib/libcbor.so 05:56:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:56:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:56:22 -- /opt/iotech/iot/1.5/include 05:56:22 -- C SDK 0.0.0 for Linux 05:56:22 -- Performing Test CSDK_HAVE_ATOMIC 05:56:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:56:22 -- Found Curses: /usr/lib/libcurses.so 05:56:22 -- Configuring done (0.4s) 05:56:22 -- Generating done (0.0s) 05:56:22 -- Build files have been written to: /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release 05:56:22 + make all package 05:56:22 + tee release.log 05:56:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:56:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:56:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:56:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:56:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:56:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:56:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:56:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:56:23 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:56:23 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:56:24 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:56:24 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:56:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:56:24 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:56:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:56:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:56:25 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:56:25 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:56:25 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:56:25 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:56:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:56:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:56:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:56:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:56:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:56:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:56:26 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:56:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:56:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:56:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:56:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:56:27 /device-bacnet-c/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 05:56:27 /device-bacnet-c/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:56:27 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:56:27 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:56:27 /device-bacnet-c/deps/device-sdk-c-4.0.0/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 05:56:27 875 | const iot_data_t *deviceservices_config; 05:56:27 | ^~~~~~~~~~~~~~~~~~~~~ 05:56:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:56:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:56:28 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:56:28 [ 68%] Linking C shared library libcsdk.so 05:56:28 [ 68%] Built target csdk 05:56:28 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:56:28 [ 72%] Linking C executable template 05:56:28 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:28 [ 72%] Built target template 05:56:28 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:56:28 [ 76%] Linking C executable device-counter 05:56:28 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:28 [ 76%] Built target device-counter 05:56:28 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:56:28 [ 80%] Linking C executable device-random 05:56:28 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:28 [ 80%] Built target device-random 05:56:28 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:56:29 [ 84%] Linking C executable device-gyro 05:56:29 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:29 [ 84%] Built target device-gyro 05:56:29 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:56:29 [ 88%] Linking C executable device-bitfields 05:56:29 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:29 [ 88%] Built target device-bitfields 05:56:29 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:56:29 [ 92%] Linking C executable template-discovery 05:56:29 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:29 [ 92%] Built target template-discovery 05:56:29 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:56:29 [ 96%] Linking C executable device-file 05:56:29 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:29 [ 96%] Built target device-file 05:56:29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:56:29 [100%] Linking C executable device-terminal 05:56:29 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:29 [100%] Built target device-terminal 05:56:29 Run CPack packaging tool... 05:56:29 CPack: Create package using TGZ 05:56:29 CPack: Install projects 05:56:29 CPack: - Run preinstall target for: Csdk 05:56:30 CPack: - Install project: Csdk [] 05:56:30 CPack: Create package 05:56:30 CPack: - package: /device-bacnet-c/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 05:56:30 + '[' false '=' true ] 05:56:30 + '[' false '=' true ] 05:56:30 + mkdir -p /device-bacnet-c/deps/device-sdk-c-4.0.0/build/debug 05:56:30 + cd /device-bacnet-c/deps/device-sdk-c-4.0.0/build/debug 05:56:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-bacnet-c/deps/device-sdk-c-4.0.0/src 05:56:30 -- The C compiler identification is GNU 12.2.1 05:56:30 -- Detecting C compiler ABI info 05:56:30 -- Detecting C compiler ABI info - done 05:56:30 -- Check for working C compiler: /usr/bin/cc - skipped 05:56:30 -- Detecting C compile features 05:56:30 -- Detecting C compile features - done 05:56:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:56:30 -- Found CURL: /usr/lib/libcurl.so (found version "8.12.1") 05:56:30 -- Found LIBYAML: /usr/lib/libyaml.so 05:56:30 -- Found LIBUUID: /usr/lib/libuuid.so 05:56:30 -- Found LIBCBOR: /usr/lib/libcbor.so 05:56:30 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:56:30 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:56:30 -- /opt/iotech/iot/1.5/include 05:56:30 -- C SDK 0.0.0 for Linux 05:56:30 -- Performing Test CSDK_HAVE_ATOMIC 05:56:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:56:30 -- Found Curses: /usr/lib/libcurses.so 05:56:30 -- Configuring done (0.4s) 05:56:30 -- Generating done (0.0s) 05:56:30 -- Build files have been written to: /device-bacnet-c/deps/device-sdk-c-4.0.0/build/debug 05:56:30 + make 05:56:30 + tee debug.log 05:56:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:56:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:56:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:56:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:56:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:56:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:56:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:56:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:56:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:56:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:56:31 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:56:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:56:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:56:31 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:56:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:56:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:56:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:56:31 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:56:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:56:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:56:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:56:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:56:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:56:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:56:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:56:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:56:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:56:32 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:56:32 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:56:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:56:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:56:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:56:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:56:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:56:33 [ 68%] Linking C shared library libcsdk.so 05:56:33 [ 68%] Built target csdk 05:56:33 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:56:33 [ 72%] Linking C executable template 05:56:33 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:33 [ 72%] Built target template 05:56:33 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:56:33 [ 76%] Linking C executable device-counter 05:56:33 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:33 [ 76%] Built target device-counter 05:56:33 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:56:33 [ 80%] Linking C executable device-random 05:56:33 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:33 [ 80%] Built target device-random 05:56:33 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:56:33 [ 84%] Linking C executable device-gyro 05:56:34 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:34 [ 84%] Built target device-gyro 05:56:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:56:34 [ 88%] Linking C executable device-bitfields 05:56:34 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:34 [ 88%] Built target device-bitfields 05:56:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:56:34 [ 92%] Linking C executable template-discovery 05:56:34 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:34 [ 92%] Built target template-discovery 05:56:34 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:56:34 [ 96%] Linking C executable device-file 05:56:34 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:34 [ 96%] Built target device-file 05:56:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:56:34 [100%] Linking C executable device-terminal 05:56:34 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:34 [100%] Built target device-terminal 05:56:34 + cp -rf include/devsdk include/edgex /usr/include/ 05:56:34 + cp build/release/c/libcsdk.so /usr/lib/ 05:56:34 + mkdir -p /usr/share/doc/edgex-csdk 05:56:34 + cp Attribution.txt /usr/share/doc/edgex-csdk 05:56:34 + cp LICENSE /usr/share/doc/edgex-csdk 05:56:34 + rm -rf /device-bacnet-c/deps 05:56:34 Removing intermediate container 56b687627e4d 05:56:34 ---> cf27cc22a3f1 05:56:34 Step 11/31 : RUN /device-bacnet-c/scripts/build.sh 05:56:34 ---> Running in 2ad4127acf8c 05:56:35 + readlink -f /device-bacnet-c/scripts/build.sh 05:56:35 + dirname /device-bacnet-c/scripts/build.sh 05:56:35 + dirname /device-bacnet-c/scripts 05:56:35 + ROOT=/device-bacnet-c 05:56:35 + echo /device-bacnet-c 05:56:35 /device-bacnet-c 05:56:35 + cd /device-bacnet-c 05:56:35 + '[' '!' -f /device-bacnet-c/lib/ip/libbacnet.a ] 05:56:35 + '[' '!' -f /device-bacnet-c/lib/mstp/libbacnet.a ] 05:56:35 + mkdir -p /device-bacnet-c/build/release/device-bacnet-ip 05:56:35 + cd /device-bacnet-c/build/release/device-bacnet-ip 05:56:35 + cmake '-DDATALINK:STRING=BACDL_BIP=1' '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-bacnet-c/src/c 05:56:35 -- /opt/iotech/iot/1.5/include 05:56:35 -- Configuring done (0.0s) 05:56:35 -- Generating done (0.0s) 05:56:35 -- Build files have been written to: /device-bacnet-c/build/release/device-bacnet-ip 05:56:35 + make 05:56:35 + tee release.log 05:56:35 [ 22%] Built target bacnet_objects 05:56:35 [ 33%] Building C object CMakeFiles/device-bacnet-c.dir/main.c.o 05:56:35 [ 44%] Building C object CMakeFiles/device-bacnet-c.dir/driver.c.o 05:56:36 [ 55%] Linking C executable device-bacnet-c 05:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:36 [100%] Built target device-bacnet-c 05:56:36 + mkdir -p /device-bacnet-c/build/release/device-bacnet-mstp 05:56:36 + cd /device-bacnet-c/build/release/device-bacnet-mstp 05:56:36 + cmake '-DDATALINK:STRING=BACDL_MSTP=1' '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-bacnet-c/src/c 05:56:36 -- /opt/iotech/iot/1.5/include 05:56:36 -- Configuring done (0.0s) 05:56:36 -- Generating done (0.0s) 05:56:36 -- Build files have been written to: /device-bacnet-c/build/release/device-bacnet-mstp 05:56:36 + make 05:56:36 + tee release.log 05:56:36 [ 22%] Built target bacnet_objects 05:56:36 [ 33%] Building C object CMakeFiles/device-bacnet-c.dir/main.c.o 05:56:36 [ 44%] Building C object CMakeFiles/device-bacnet-c.dir/driver.c.o 05:56:36 [ 55%] Linking C executable device-bacnet-c 05:56:36 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.11, needed by /opt/iotech/iot/1.5/lib/libiot.so, not found (try using -rpath or -rpath-link) 05:56:36 [100%] Built target device-bacnet-c 05:56:36 Removing intermediate container 2ad4127acf8c 05:56:36 ---> 0744fb56ae76 05:56:36 Step 12/31 : FROM alpine:3.20 05:56:37 3.20: Pulling from library/alpine 05:56:37 0a9a5dfd008f: Pulling fs layer 05:56:37 0a9a5dfd008f: Download complete 05:56:37 0a9a5dfd008f: Pull complete 05:56:37 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:56:37 Status: Downloaded newer image for alpine:3.20 05:56:37 ---> ff221270b9fb 05:56:37 Step 13/31 : MAINTAINER iotech 05:56:37 ---> Running in d52fbe35ae88 05:56:37 Removing intermediate container d52fbe35ae88 05:56:37 ---> 06039645c69b 05:56:37 Step 14/31 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:56:37 ---> Running in 16b4cdeed170 05:56:38 Connecting to iotech.jfrog.io (34.246.139.145:443) 05:56:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:56:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:56:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:56:38 Removing intermediate container 16b4cdeed170 05:56:38 ---> 81690bf16207 05:56:38 Step 15/31 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main' >> /etc/apk/repositories 05:56:38 ---> Running in 781a6edc29fd 05:56:39 Removing intermediate container 781a6edc29fd 05:56:39 ---> 4d92b5ac6880 05:56:39 Step 16/31 : RUN apk add --update --no-cache linux-headers yaml libmicrohttpd curl libuuid iotech-paho-mqtt-c-dev-1.3 hiredis libcbor iotech-iot-1.5 dumb-init 05:56:39 ---> Running in df6176938fca 05:56:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:56:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:56:40 (1/27) Installing ca-certificates (20241121-r1) 05:56:40 (2/27) Installing brotli-libs (1.1.0-r2) 05:56:40 (3/27) Installing c-ares (1.33.1-r0) 05:56:40 (4/27) Installing libunistring (1.2-r0) 05:56:40 (5/27) Installing libidn2 (2.3.7-r0) 05:56:40 (6/27) Installing nghttp2-libs (1.62.1-r0) 05:56:40 (7/27) Installing libpsl (0.21.5-r1) 05:56:40 (8/27) Installing zstd-libs (1.5.6-r0) 05:56:40 (9/27) Installing libcurl (8.12.1-r0) 05:56:40 (10/27) Installing curl (8.12.1-r0) 05:56:40 (11/27) Installing dumb-init (1.2.5-r3) 05:56:40 (12/27) Installing hiredis (1.2.0-r0) 05:56:40 (13/27) Installing yaml (0.2.5-r2) 05:56:40 (14/27) Installing libcbor (0.11.0-r0) 05:56:40 (15/27) Installing iotech-iot-1.5 (1.5.5-r0) 05:56:41 (16/27) Installing pkgconf (2.2.0-r0) 05:56:41 (17/27) Installing openssl-dev (3.3.3-r0) 05:56:41 (18/27) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:56:42 (19/27) Installing gmp (6.3.0-r1) 05:56:42 (20/27) Installing nettle (3.9.1-r0) 05:56:42 (21/27) Installing libffi (3.4.6-r0) 05:56:42 (22/27) Installing libtasn1 (4.20.0-r0) 05:56:42 (23/27) Installing p11-kit (0.25.3-r0) 05:56:42 (24/27) Installing gnutls (3.8.5-r0) 05:56:42 (25/27) Installing libmicrohttpd (0.9.77-r0) 05:56:42 (26/27) Installing libuuid (2.40.1-r1) 05:56:42 (27/27) Installing linux-headers (6.6-r0) 05:56:42 Executing busybox-1.36.1-r29.trigger 05:56:42 Executing ca-certificates-20241121-r1.trigger 05:56:42 OK: 30 MiB in 41 packages 05:56:43 Removing intermediate container df6176938fca 05:56:43 ---> fcfe806d835f 05:56:43 Step 17/31 : RUN apk --no-cache upgrade 05:56:43 ---> Running in b8898ca78605 05:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:56:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:56:44 OK: 30 MiB in 41 packages 05:56:44 Removing intermediate container b8898ca78605 05:56:44 ---> a33451954a6a 05:56:44 Step 18/31 : COPY --from=builder /device-bacnet-c/build/release/ / 05:56:44 ---> c0fc33f43520 05:56:44 Step 19/31 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 05:56:44 ---> 85aaaf27dbf5 05:56:44 Step 20/31 : COPY --from=builder /usr/share/doc/edgex-csdk /usr/share/doc/edgex-csdk 05:56:44 ---> 452a9ecca092 05:56:44 Step 21/31 : COPY LICENSE /. 05:56:45 ---> 8ba274a29561 05:56:45 Step 22/31 : COPY Attribution.txt /. 05:56:45 ---> 7735b4bbb9f1 05:56:45 Step 23/31 : COPY res /res 05:56:45 ---> f25e59b32106 05:56:45 Step 24/31 : COPY sample-profiles /sample-profiles 05:56:45 ---> 887b81c13935 05:56:45 Step 25/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: IoTech Ltd' 05:56:45 ---> Running in eee4185db9f2 05:56:45 Removing intermediate container eee4185db9f2 05:56:45 ---> e1a91d67611d 05:56:45 Step 26/31 : EXPOSE 59980 05:56:45 ---> Running in c0b96a991911 05:56:45 Removing intermediate container c0b96a991911 05:56:45 ---> fe6a312407e9 05:56:45 Step 27/31 : ENTRYPOINT ["/device-bacnet-ip/device-bacnet-c"] 05:56:45 ---> Running in 3fae211173ef 05:56:45 Removing intermediate container 3fae211173ef 05:56:45 ---> 568f8f511010 05:56:45 Step 28/31 : CMD ["-cp=keeper://edgex-core-keeper:59890", "--registry", "--confdir=/res"] 05:56:45 ---> Running in 923a68164032 05:56:45 Removing intermediate container 923a68164032 05:56:45 ---> 959c4110520e 05:56:45 Step 29/31 : LABEL arch=amd64 05:56:45 ---> Running in e20e53227259 05:56:45 Removing intermediate container e20e53227259 05:56:45 ---> e3f95d03c53d 05:56:45 Step 30/31 : LABEL git_sha=22e8dff36da7d5dbc3012339e25a084e1cd74c3a 05:56:45 ---> Running in 99fa29c23c5b 05:56:45 Removing intermediate container 99fa29c23c5b 05:56:45 ---> 54e10ea5b8eb 05:56:45 Step 31/31 : LABEL version=0.0.0 05:56:45 ---> Running in 9af277d9d0fe 05:56:45 Removing intermediate container 9af277d9d0fe 05:56:45 ---> 9bb402edf95d 05:56:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:56:45 Successfully built 9bb402edf95d 05:56:45 Successfully tagged device-bacnet:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [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 05:56:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:46 05:56:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:47 latest: Pulling from edgex-lftools-log-publisher 05:56:47 5eb5b503b376: Pulling fs layer 05:56:47 5c69ac0246d0: Pulling fs layer 05:56:47 ec43610c2a17: Pulling fs layer 05:56:47 3a2ae6a8a46f: Pulling fs layer 05:56:47 33b1e0a273af: Pulling fs layer 05:56:47 5d3b04190fa2: Pulling fs layer 05:56:47 2f39f015ded8: Pulling fs layer 05:56:47 33b1e0a273af: Waiting 05:56:47 3a2ae6a8a46f: Waiting 05:56:47 5d3b04190fa2: Waiting 05:56:47 2f39f015ded8: Waiting 05:56:47 5c69ac0246d0: Verifying Checksum 05:56:47 5c69ac0246d0: Download complete 05:56:47 3a2ae6a8a46f: Verifying Checksum 05:56:47 3a2ae6a8a46f: Download complete 05:56:47 33b1e0a273af: Verifying Checksum 05:56:47 33b1e0a273af: Download complete 05:56:47 5d3b04190fa2: Verifying Checksum 05:56:47 5d3b04190fa2: Download complete 05:56:47 ec43610c2a17: Download complete 05:56:47 5eb5b503b376: Verifying Checksum 05:56:47 5eb5b503b376: Download complete 05:56:48 2f39f015ded8: Download complete 05:56:48 5eb5b503b376: Pull complete 05:56:48 5c69ac0246d0: Pull complete 05:56:48 ec43610c2a17: Pull complete 05:56:49 3a2ae6a8a46f: Pull complete 05:56:49 33b1e0a273af: Pull complete 05:56:49 5d3b04190fa2: Pull complete 05:56:53 2f39f015ded8: Pull complete 05:56:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:56:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:53 prd-ubuntu20.04-docker-8c-8g-41244 does not seem to be running inside a container 05:56:53 $ 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/exfoundry_device-bacnet-c_PR-102 -v /w/workspace/exfoundry_device-bacnet-c_PR-102:/w/workspace/exfoundry_device-bacnet-c_PR-102:rw,z -v /w/workspace/exfoundry_device-bacnet-c_PR-102@tmp:/w/workspace/exfoundry_device-bacnet-c_PR-102@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-lftools-log-publisher:latest cat 05:56:55 $ docker top 2be9568df88dc06499e821712ab7b15df64d02af918662b3c7892b6bb9afa2af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:56 ---> job-cost.sh 05:56:56 lf-activate-venv: SKIPPING 05:56:56 INFO: No Stack... 05:56:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:56 INFO: Archiving Costs [Pipeline] sh 05:56:56 + cat /w/workspace/exfoundry_device-bacnet-c_PR-102/archives/cost.csv 05:56:56 + cut -d, -f6 [Pipeline] lock 05:56:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-bacnet-c-PR-102-1-stack-cost] 05:56:57 Resource [jenkins-edgexfoundry-device-bacnet-c-PR-102-1-stack-cost] did not exist. Created. 05:56:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-bacnet-c-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:57 + echo total: 0.2199999988079071 [Pipeline] stash 05:56:57 Stashed 1 file(s) [Pipeline] } 05:56:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-bacnet-c-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:56:57 $ docker stop --time=1 2be9568df88dc06499e821712ab7b15df64d02af918662b3c7892b6bb9afa2af 05:56:58 $ docker rm -f --volumes 2be9568df88dc06499e821712ab7b15df64d02af918662b3c7892b6bb9afa2af [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 05:57:00 + [ -d /w/workspace/exfoundry_device-bacnet-c_PR-102/archives ] 05:57:00 + ls -al /w/workspace/exfoundry_device-bacnet-c_PR-102/archives 05:57:00 total 16 05:57:00 drwxr-xr-x 3 root root 4096 Mar 13 05:56 . 05:57:00 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 05:56 .. 05:57:00 drwxr-xr-x 2 root root 4096 Mar 13 05:56 cost 05:57:00 -rw-r--r-- 1 root root 87 Mar 13 05:56 cost.csv 05:57:00 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-bacnet-c_PR-102/archives 05:57:00 + ls -al /w/workspace/exfoundry_device-bacnet-c_PR-102/archives 05:57:00 total 16 05:57:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 05:56 . 05:57:00 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 05:56 .. 05:57:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 05:56 cost 05:57:00 -rw-r--r-- 1 jenkins jenkins 87 Mar 13 05:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:57:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:57:01 ---> package-listing.sh 05:57:01 ++ facter osfamily 05:57:01 ++ tr '[:upper:]' '[:lower:]' 05:57:01 + OS_FAMILY=debian 05:57:01 + workspace=/w/workspace/exfoundry_device-bacnet-c_PR-102 05:57:01 + START_PACKAGES=/tmp/packages_start.txt 05:57:01 + END_PACKAGES=/tmp/packages_end.txt 05:57:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:57:01 + PACKAGES=/tmp/packages_start.txt 05:57:01 + '[' /w/workspace/exfoundry_device-bacnet-c_PR-102 ']' 05:57:01 + PACKAGES=/tmp/packages_end.txt 05:57:01 + case "${OS_FAMILY}" in 05:57:01 + dpkg -l 05:57:01 + grep '^ii' 05:57:01 + '[' -f /tmp/packages_start.txt ']' 05:57:01 + '[' -f /tmp/packages_end.txt ']' 05:57:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:57:01 + '[' /w/workspace/exfoundry_device-bacnet-c_PR-102 ']' 05:57:01 + mkdir -p /w/workspace/exfoundry_device-bacnet-c_PR-102/archives/ 05:57:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-bacnet-c_PR-102/archives/ [Pipeline] echo 05:57:01 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/exfoundry_device-bacnet-c_PR-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:57:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:57:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:02 prd-ubuntu20.04-docker-8c-8g-41244 does not seem to be running inside a container 05:57:02 $ 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/exfoundry_device-bacnet-c_PR-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-bacnet-c_PR-102 -v /w/workspace/exfoundry_device-bacnet-c_PR-102:/w/workspace/exfoundry_device-bacnet-c_PR-102:rw,z -v /w/workspace/exfoundry_device-bacnet-c_PR-102@tmp:/w/workspace/exfoundry_device-bacnet-c_PR-102@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:57:03 $ docker top 3662673a2f88d9f7273be6b2b136bc024afe93bc84b188e7d7176b556fdda2b5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:03 + touch /tmp/pre-build-complete [Pipeline] sh 05:57:03 + mkdir -p /var/log/sysstat [Pipeline] sh 05:57:04 + ls /var/log/sa-host 05:57:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:04 provisioning config files... 05:57:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-bacnet-c_PR-102@tmp/config12064846679695802176tmp [Pipeline] { [Pipeline] echo 05:57:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:57:04 ---> create-netrc.sh [Pipeline] } 05:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:57:05 ---> python-tools-install.sh [Pipeline] echo 05:57:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:57:05 ---> sudo-logs.sh 05:57:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:57:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:57:06 ---> job-cost.sh 05:57:06 lf-activate-venv: SKIPPING 05:57:06 DEBUG: total: 0.2199999988079071 05:57:06 INFO: Retrieving Stack Cost... 05:57:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:57:06 INFO: Archiving Costs [Pipeline] echo 05:57:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:57:06 ---> logs-deploy.sh 05:57:06 lf-activate-venv: SKIPPING 05:57:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-bacnet-c/PR-102/1 05:57:06 INFO: archiving workspace using pattern(s): 05:57:07 Archives upload complete. 05:57:07 INFO: archiving logs to Nexus