Pull request #8 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-can Obtained Jenkinsfile from 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8+4b2a33c2ade60348841e89503e802d9b0d295c6e (68ab4da8c20607a7f4a55056fede94745a332199) 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-ssh9929391541241067303.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh3673057923657375660.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-8/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-8/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15724820639049263944.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17528329188253583211.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-8/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-8/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2195839968002863702.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-can, 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-can-settings PROJECT: device-can 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-can DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-39698 in /w/workspace/edgexfoundry_device-can_PR-8 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-can.git > git init /w/workspace/edgexfoundry_device-can_PR-8 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.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-can.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4b2a33c2ade60348841e89503e802d9b0d295c6e into PR head commit 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 Merge succeeded, producing 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 Checking out Revision 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 (PR-8) > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-can.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 # 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 4b2a33c2ade60348841e89503e802d9b0d295c6e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 # timeout=10 Commit message: "docs: Update changelog for 4.0 release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:50:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:50:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv > git rev-list --no-walk 1d846d0afc4f991322084201950b93fda2b84cee # timeout=10 [Pipeline] { [Pipeline] echo 10:50:53 ========================================================= 10:50:53 EdgeX Global Pipelines Version Info 10:50:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:50:54 ------------------- 10:50:54 stable info: 10:50:54 ------------------- 10:50:54 Commited By: Cherry Wang cherry@iotechsys.com 10:50:54 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:50:54 Message: update stable to v1.0.269 10:50:54 ------------------- 10:50:54 experimental info: 10:50:54 ------------------- 10:50:54 Commited By: **** collab-it+edgex@linuxfoundation.org 10:50:54 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:50:54 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:50:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 10:50:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 10:50:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:50:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:50:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-8 [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-8 [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-8 [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 648119d [Pipeline] echo 10:50:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:50:55 provisioning config files... 10:50:55 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-8@tmp/config1450273761165753776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:50:55 ---> ****-login.sh 10:50:55 nexus3.edgexfoundry.org:10001 10:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:50:56 Configure a credential helper to remove this warning. See 10:50:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:50:56 10:50:56 Login Succeeded 10:50:56 nexus3.edgexfoundry.org:10002 10:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:50:56 Configure a credential helper to remove this warning. See 10:50:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:50:56 10:50:56 Login Succeeded 10:50:56 nexus3.edgexfoundry.org:10003 10:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:50:56 Configure a credential helper to remove this warning. See 10:50:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:50:56 10:50:56 Login Succeeded 10:50:56 nexus3.edgexfoundry.org:10004 10:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:50:56 Configure a credential helper to remove this warning. See 10:50:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:50:56 10:50:56 Login Succeeded 10:50:56 ****.io 10:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:50:56 Configure a credential helper to remove this warning. See 10:50:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:50:56 10:50:56 Login Succeeded 10:50:56 ---> ****-login.sh ends [Pipeline] } 10:50:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:50:57 + git rev-list -1 --merges 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8~1..648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 [Pipeline] echo 10:50:57 -----------> git rev-list -1 --merges 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8~1..648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 [false] [Pipeline] sh 10:50:57 + git log --format=format:%s -1 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 [Pipeline] echo 10:50:57 ========================================================= 10:50:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:50:57 ========================================================= 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 10:50:58 + git rev-list -1 --merges 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8~1..648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 [Pipeline] echo 10:50:58 -----------> git rev-list -1 --merges 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8~1..648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 [false] [Pipeline] sh 10:50:58 + git log --format=format:%s -1 648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 [Pipeline] echo 10:50:58 ========================================================= 10:50:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:50:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:50:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:50:58 + grep -v github /etc/ssh/ssh_known_hosts 10:50:58 + [ -e /tmp/ssh_known_hosts ] 10:50:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:50:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:50:58 + sudo tee -a /etc/ssh/ssh_known_hosts 10:50:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:50:59 10:50:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:50:59 0.1.4: Pulling from edgex-devops/py-git-semver 10:50:59 b85a868b505f: Pulling fs layer 10:50:59 e2be974225ed: Pulling fs layer 10:50:59 339a4e72a1f5: Pulling fs layer 10:50:59 988bab9f4d93: Pulling fs layer 10:50:59 1469e6f7b9e6: Pulling fs layer 10:50:59 eaf3925da568: Pulling fs layer 10:50:59 bab4dde63d76: Pulling fs layer 10:50:59 bde34c3a00c8: Pulling fs layer 10:50:59 b352a97aabf1: Pulling fs layer 10:50:59 4872d77fe225: Pulling fs layer 10:50:59 5851b861e8e6: Pulling fs layer 10:50:59 eaf3925da568: Waiting 10:50:59 988bab9f4d93: Waiting 10:50:59 bab4dde63d76: Waiting 10:50:59 b352a97aabf1: Waiting 10:50:59 4872d77fe225: Waiting 10:50:59 bde34c3a00c8: Waiting 10:50:59 5851b861e8e6: Waiting 10:50:59 e2be974225ed: Verifying Checksum 10:50:59 e2be974225ed: Download complete 10:50:59 988bab9f4d93: Verifying Checksum 10:50:59 988bab9f4d93: Download complete 10:50:59 1469e6f7b9e6: Verifying Checksum 10:50:59 1469e6f7b9e6: Download complete 10:50:59 eaf3925da568: Verifying Checksum 10:50:59 eaf3925da568: Download complete 10:50:59 339a4e72a1f5: Verifying Checksum 10:50:59 339a4e72a1f5: Download complete 10:50:59 bde34c3a00c8: Download complete 10:50:59 b352a97aabf1: Download complete 10:50:59 4872d77fe225: Verifying Checksum 10:50:59 4872d77fe225: Download complete 10:50:59 5851b861e8e6: Download complete 10:50:59 b85a868b505f: Download complete 10:50:59 bab4dde63d76: Verifying Checksum 10:50:59 bab4dde63d76: Download complete 10:51:00 b85a868b505f: Pull complete 10:51:00 e2be974225ed: Pull complete 10:51:01 339a4e72a1f5: Pull complete 10:51:01 988bab9f4d93: Pull complete 10:51:01 1469e6f7b9e6: Pull complete 10:51:02 eaf3925da568: Pull complete 10:51:03 bab4dde63d76: Pull complete 10:51:03 bde34c3a00c8: Pull complete 10:51:03 b352a97aabf1: Pull complete 10:51:03 4872d77fe225: Pull complete 10:51:03 5851b861e8e6: Pull complete 10:51:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:51:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:51:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:51:04 prd-ubuntu20.04-docker-8c-8g-39698 does not seem to be running inside a container 10:51:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-can_PR-8 -v /w/workspace/edgexfoundry_device-can_PR-8:/w/workspace/edgexfoundry_device-can_PR-8:rw,z -v /w/workspace/edgexfoundry_device-can_PR-8@tmp:/w/workspace/edgexfoundry_device-can_PR-8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:51:06 $ docker top c308a925e8e4ed1999cbc769227400437b980d9833c8c9c1cd359709c4ff9b1c -eo pid,comm 10:51:06 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). 10:51:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:51:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:51:06 [ssh-agent] Looking for ssh-agent implementation... 10:51:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:51:06 $ docker exec c308a925e8e4ed1999cbc769227400437b980d9833c8c9c1cd359709c4ff9b1c ssh-agent 10:51:06 SSH_AUTH_SOCK=/tmp/ssh-c8cFxlr2xcIY/agent.32 10:51:06 SSH_AGENT_PID=38 10:51:06 Running ssh-add (command line suppressed) 10:51:06 Identity added: /w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_6650969013526577162.key (/w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_6650969013526577162.key) 10:51:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:51:07 + git tag --points-at HEAD [Pipeline] } 10:51:07 $ docker exec --env ******** --env ******** c308a925e8e4ed1999cbc769227400437b980d9833c8c9c1cd359709c4ff9b1c ssh-agent -k 10:51:07 unset SSH_AUTH_SOCK; 10:51:07 unset SSH_AGENT_PID; 10:51:07 echo Agent pid 38 killed; 10:51:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:51:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:51:07 [ssh-agent] Looking for ssh-agent implementation... 10:51:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:51:07 $ docker exec c308a925e8e4ed1999cbc769227400437b980d9833c8c9c1cd359709c4ff9b1c ssh-agent 10:51:07 SSH_AUTH_SOCK=/tmp/ssh-SOmSlnnruFG6/agent.71 10:51:07 SSH_AGENT_PID=78 10:51:07 Running ssh-add (command line suppressed) 10:51:07 Identity added: /w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_3753335405548372750.key (/w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_3753335405548372750.key) 10:51:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:51:07 + git semver init 10:51:08 2025-02-25 10:51:08,055 [run_init] DEBUG init version:0.0.0 force:False 10:51:08 2025-02-25 10:51:08,056 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-can_PR-8/.semver 10:51:08 2025-02-25 10:51:08,057 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-can.git /w/workspace/edgexfoundry_device-can_PR-8/.semver 10:51:08 2025-02-25 10:51:08,057 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-can.git', '/w/workspace/edgexfoundry_device-can_PR-8/.semver'], cwd=/w/workspace/edgexfoundry_device-can_PR-8, universal_newlines=False, shell=None, istream=None) 10:51:08 2025-02-25 10:51:08,636 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-can_PR-8/.git/info/exclude 10:51:08 2025-02-25 10:51:08,637 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-can_PR-8/.semver/PR-8 with force:False 10:51:08 2025-02-25 10:51:08,637 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-can_PR-8/.semver/PR-8 10:51:08 2025-02-25 10:51:08,641 [execute] INFO git cat-file --batch-check 10:51:08 2025-02-25 10:51:08,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-can_PR-8/.semver, universal_newlines=False, shell=None, istream=) 10:51:08 2025-02-25 10:51:08,648 [execute] INFO git cat-file --batch 10:51:08 2025-02-25 10:51:08,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-can_PR-8/.semver, universal_newlines=False, shell=None, istream=) 10:51:08 2025-02-25 10:51:08,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-can_PR-8/.semver/PR-8 10:51:08 0.0.0 [Pipeline] } 10:51:08 $ docker exec --env ******** --env ******** c308a925e8e4ed1999cbc769227400437b980d9833c8c9c1cd359709c4ff9b1c ssh-agent -k 10:51:08 unset SSH_AUTH_SOCK; 10:51:08 unset SSH_AGENT_PID; 10:51:08 echo Agent pid 78 killed; 10:51:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:51:09 + git semver [Pipeline] } 10:51:09 $ docker stop --time=1 c308a925e8e4ed1999cbc769227400437b980d9833c8c9c1cd359709c4ff9b1c 10:51:10 $ docker rm -f --volumes c308a925e8e4ed1999cbc769227400437b980d9833c8c9c1cd359709c4ff9b1c [Pipeline] // withDockerContainer [Pipeline] sh 10:51:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:51:11 Stashed 1 file(s) [Pipeline] echo 10:51:11 [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 10:51:11 provisioning config files... 10:51:11 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-8@tmp/config667398605306601654tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:51:11 ---> ****-login.sh 10:51:11 nexus3.edgexfoundry.org:10001 10:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:51:11 Configure a credential helper to remove this warning. See 10:51:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:51:11 10:51:11 Login Succeeded 10:51:11 nexus3.edgexfoundry.org:10002 10:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:51:11 Configure a credential helper to remove this warning. See 10:51:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:51:11 10:51:11 Login Succeeded 10:51:11 nexus3.edgexfoundry.org:10003 10:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:51:12 Configure a credential helper to remove this warning. See 10:51:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:51:12 10:51:12 Login Succeeded 10:51:12 nexus3.edgexfoundry.org:10004 10:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:51:12 Configure a credential helper to remove this warning. See 10:51:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:51:12 10:51:12 Login Succeeded 10:51:12 ****.io 10:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:51:12 Configure a credential helper to remove this warning. See 10:51:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:51:12 10:51:12 Login Succeeded 10:51:12 ---> ****-login.sh ends [Pipeline] } 10:51:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:51:12 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:51:12 ========================================================= 10:51:12 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:51:12 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:12 + 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 . 10:51:12 Sending build context to Docker daemon 267.3kB 10:51:12 Step 1/12 : ARG BASE_TEMPORARY=alpine:3.16 10:51:12 Step 2/12 : FROM ${BASE_TEMPORARY} 10:51:13 3.16: Pulling from library/alpine 10:51:13 a88dc8b54e91: Pulling fs layer 10:51:13 a88dc8b54e91: Verifying Checksum 10:51:13 a88dc8b54e91: Download complete 10:51:13 a88dc8b54e91: Pull complete 10:51:13 Digest: sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 10:51:13 Status: Downloaded newer image for alpine:3.16 10:51:13 ---> d49a5025be10 10:51:13 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 10:51:13 ---> Running in fbe48f5ee8ea 10:51:13 Connecting to iotech.jfrog.io (34.246.139.145:443) 10:51:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:51:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:51:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:51:14 Removing intermediate container fbe48f5ee8ea 10:51:14 ---> b56e023bf8f5 10:51:14 Step 4/12 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:51:14 ---> Running in bb19690516f5 10:51:15 Removing intermediate container bb19690516f5 10:51:15 ---> efc29e475cfa 10:51:15 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 libexecinfo-dev 10:51:15 ---> Running in 15294dd4113a 10:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:51:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:51:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:51:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:51:17 (1/80) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 10:51:17 (2/80) Installing libgcc (11.2.1_git20220219-r2) 10:51:17 (3/80) Installing libstdc++ (11.2.1_git20220219-r2) 10:51:17 (4/80) Installing binutils (2.38-r3) 10:51:17 (5/80) Installing libmagic (5.41-r0) 10:51:17 (6/80) Installing file (5.41-r0) 10:51:17 (7/80) Installing libgomp (11.2.1_git20220219-r2) 10:51:17 (8/80) Installing libatomic (11.2.1_git20220219-r2) 10:51:17 (9/80) Installing gmp (6.2.1-r2) 10:51:17 (10/80) Installing isl22 (0.22-r0) 10:51:17 (11/80) Installing mpfr4 (4.1.0-r0) 10:51:17 (12/80) Installing mpc1 (1.2.1-r0) 10:51:17 (13/80) Installing gcc (11.2.1_git20220219-r2) 10:51:17 (14/80) Installing musl-dev (1.2.3-r4) 10:51:17 (15/80) Installing libc-dev (0.7.2-r3) 10:51:17 (16/80) Installing g++ (11.2.1_git20220219-r2) 10:51:17 (17/80) Installing make (4.3-r0) 10:51:17 (18/80) Installing fortify-headers (1.1-r1) 10:51:17 (19/80) Installing patch (2.7.6-r7) 10:51:17 (20/80) Installing build-base (0.5-r3) 10:51:17 (21/80) Installing libacl (2.3.1-r0) 10:51:17 (22/80) Installing libbz2 (1.0.8-r1) 10:51:17 (23/80) Installing expat (2.6.2-r0) 10:51:17 (24/80) Installing lz4-libs (1.9.3-r1) 10:51:17 (25/80) Installing xz-libs (5.2.5-r1) 10:51:17 (26/80) Installing zstd-libs (1.5.2-r1) 10:51:17 (27/80) Installing libarchive (3.7.4-r0) 10:51:17 (28/80) Installing ca-certificates (20240226-r0) 10:51:17 (29/80) Installing brotli-libs (1.0.9-r6) 10:51:18 (30/80) Installing nghttp2-libs (1.47.0-r2) 10:51:18 (31/80) Installing libcurl (8.5.0-r0) 10:51:18 (32/80) Installing ncurses-terminfo-base (6.3_p20220521-r1) 10:51:18 (33/80) Installing ncurses-libs (6.3_p20220521-r1) 10:51:18 (34/80) Installing rhash-libs (1.4.2-r2) 10:51:18 (35/80) Installing libuv (1.44.1-r0) 10:51:18 (36/80) Installing cmake (3.23.5-r0) 10:51:18 (37/80) Installing pkgconf (1.8.1-r0) 10:51:18 (38/80) Installing openssl-dev (1.1.1w-r1) 10:51:18 (39/80) Installing nghttp2-dev (1.47.0-r2) 10:51:18 (40/80) Installing zlib-dev (1.2.12-r3) 10:51:18 (41/80) Installing brotli-dev (1.0.9-r6) 10:51:18 (42/80) Installing curl-dev (8.5.0-r0) 10:51:18 (43/80) Installing dumb-init (1.2.5-r1) 10:51:18 (44/80) Installing pcre2 (10.42-r0) 10:51:18 (45/80) Installing git (2.36.6-r0) 10:51:18 (46/80) Installing hiredis (1.0.2-r0) 10:51:18 (47/80) Installing hiredis-dev (1.0.2-r0) 10:51:18 (48/80) Installing yaml (0.2.5-r0) 10:51:18 (49/80) Installing libcbor (0.9.0-r1) 10:51:18 (50/80) Installing iotech-iot-1.5 (1.5.5-r0) 10:51:19 (51/80) Installing iotech-iot-1.5-dev (1.5.5-r0) 10:51:19 (52/80) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:51:19 (53/80) Installing libcbor-dev (0.9.0-r1) 10:51:19 (54/80) Installing libexecinfo (1.1-r1) 10:51:19 (55/80) Installing libexecinfo-dev (1.1-r1) 10:51:19 (56/80) Installing nettle (3.7.3-r0) 10:51:19 (57/80) Installing libffi (3.4.2-r1) 10:51:19 (58/80) Installing p11-kit (0.24.1-r0) 10:51:19 (59/80) Installing libtasn1 (4.18.0-r1) 10:51:19 (60/80) Installing libunistring (1.0-r0) 10:51:19 (61/80) Installing gnutls (3.7.7-r1) 10:51:19 (62/80) Installing libmicrohttpd (0.9.75-r0) 10:51:19 (63/80) Installing gnutls-c++ (3.7.7-r1) 10:51:19 (64/80) Installing libgmpxx (6.2.1-r2) 10:51:19 (65/80) Installing gmp-dev (6.2.1-r2) 10:51:19 (66/80) Installing nettle-dev (3.7.3-r0) 10:51:19 (67/80) Installing libtasn1-progs (4.18.0-r1) 10:51:19 (68/80) Installing libtasn1-dev (4.18.0-r1) 10:51:19 (69/80) Installing p11-kit-dev (0.24.1-r0) 10:51:19 (70/80) Installing gnutls-dev (3.7.7-r1) 10:51:19 (71/80) Installing libmicrohttpd-dev (0.9.75-r0) 10:51:19 (72/80) Installing linux-headers (5.16.7-r1) 10:51:19 (73/80) Installing ncurses-dev (6.3_p20220521-r1) 10:51:19 (74/80) Installing libblkid (2.38-r1) 10:51:19 (75/80) Installing libuuid (2.38-r1) 10:51:19 (76/80) Installing libfdisk (2.38-r1) 10:51:19 (77/80) Installing libmount (2.38-r1) 10:51:19 (78/80) Installing libsmartcols (2.38-r1) 10:51:19 (79/80) Installing util-linux-dev (2.38-r1) 10:51:19 (80/80) Installing yaml-dev (0.2.5-r0) 10:51:20 Executing busybox-1.35.0-r17.trigger 10:51:20 Executing ca-certificates-20240226-r0.trigger 10:51:20 OK: 281 MiB in 93 packages 10:51:25 Removing intermediate container 15294dd4113a 10:51:25 ---> 2a789e2d713e 10:51:25 Step 6/12 : RUN apk --no-cache upgrade 10:51:25 ---> Running in 62f393437b80 10:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:51:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:51:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:51:26 (1/4) Upgrading busybox (1.35.0-r17 -> 1.35.0-r18) 10:51:26 Executing busybox-1.35.0-r18.post-upgrade 10:51:26 (2/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 10:51:26 (3/4) Upgrading ssl_client (1.35.0-r17 -> 1.35.0-r18) 10:51:26 (4/4) Upgrading musl-utils (1.2.3-r3 -> 1.2.3-r4) 10:51:26 Executing busybox-1.35.0-r18.trigger 10:51:26 Executing ca-certificates-20240226-r0.trigger 10:51:26 OK: 281 MiB in 93 packages 10:51:26 Removing intermediate container 62f393437b80 10:51:26 ---> 93e12fbc1993 10:51:26 Step 7/12 : COPY scripts /device-can/scripts 10:51:27 ---> cbad457a075b 10:51:27 Step 8/12 : COPY src /device-can/src/ 10:51:27 ---> c3c7cd3e505c 10:51:27 Step 9/12 : COPY VERSION /device-can/ 10:51:27 ---> 3452eeafc3aa 10:51:27 Step 10/12 : WORKDIR /device-can 10:51:27 ---> Running in 7061059a9d7f 10:51:27 Removing intermediate container 7061059a9d7f 10:51:27 ---> 0c6592c59305 10:51:27 Step 11/12 : RUN /device-can/scripts/build_deps.sh 1 10:51:27 ---> Running in b1bc04b33a27 10:51:28 + BUILD_CSDK=1 10:51:28 + CSDK_VERSION=4.0.0-dev.14 10:51:28 + '[' -d deps ] 10:51:28 + mkdir deps 10:51:28 + cd /device-can/deps 10:51:28 + '[' 1 '=' 1 ] 10:51:28 + cd /device-can/deps 10:51:28 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0-dev.14.zip 10:51:28 Connecting to github.com (140.82.114.4:443) 10:51:28 Connecting to codeload.github.com (140.82.113.10:443) 10:51:28 saving to 'v4.0.0-dev.14.zip' 10:51:28 v4.0.0-dev.14.zip 100% |********************************| 246k 0:00:00 ETA 10:51:28 'v4.0.0-dev.14.zip' saved 10:51:28 + unzip v4.0.0-dev.14.zip 10:51:28 Archive: v4.0.0-dev.14.zip 10:51:28 creating: device-sdk-c-4.0.0-dev.14/ 10:51:28 creating: device-sdk-c-4.0.0-dev.14/.github/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/.github/Contributing.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/.github/PULL_REQUEST_TEMPLATE.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/.github/semantic.yml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/.github/workflows/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/.github/workflows/release.yml 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/.gitignore 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/Attribution.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/CHANGELOG.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/Doxyfile 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/GOVERNANCE.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/Jenkinsfile 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/LICENSE 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/Makefile 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/OWNERS.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/README.IOT.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/README.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/README.v3.md 10:51:28 creating: device-sdk-c-4.0.0-dev.14/docs/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/docs/configuration.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/docs/deviceprofiles.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/docs/metrics.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/docs/servicewritersguide.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/docs/startup.md 10:51:28 creating: device-sdk-c-4.0.0-dev.14/include/ 10:51:28 creating: device-sdk-c-4.0.0-dev.14/include/devsdk/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk-base.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk.h 10:51:28 creating: device-sdk-c-4.0.0-dev.14/include/edgex/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/devices.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex-base.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/profiles.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/rest-server.h 10:51:28 creating: device-sdk-c-4.0.0-dev.14/scripts/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine-base 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/scripts/build.sh 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/scripts/entrypoint.sh 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/CMakeLists.txt 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/api.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-impl.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-mqtt.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/cmdinfo.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/defs.h.in 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/devman.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/devsdk-base.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/devutil.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex2.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/errorlist.h 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/README.md 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/README.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/device-bitfields.c 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/Bitfields.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/README.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/device-counter.c 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/Counters.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/Counter.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/README.md 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/readme.txt 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/TemplateProfile.json 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/template.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher1.json 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher2.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/README.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/device-file.c 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/file1.json 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/lorem.txt 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/FileExampleProfile.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/README.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/device-gyro.c 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/gyro.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/Gyro.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/README.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/device-random.c 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/randomdevice1.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/RandomExampleProfile.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/device1.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/TemplateProfile.json 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/template.c 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/CMakeLists.txt 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/README.md 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/device-terminal.c 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/configuration.yaml 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/terminal.json 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/Terminal.json 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/metrics.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-impl.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.h 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.c 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.h 10:51:28 creating: device-sdk-c-4.0.0-dev.14/src/cmake/ 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindIOT.cmake 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBCBOR.cmake 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBMICROHTTP.cmake 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBPAHO.cmake 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBUUID.cmake 10:51:28 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBYAML.cmake 10:51:28 + cd device-sdk-c-4.0.0-dev.14 10:51:28 + ./scripts/build.sh 10:51:28 + CPPCHECK=false 10:51:28 + DOCGEN=false 10:51:28 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:51:28 + '[' 0 -gt 0 ] 10:51:28 + readlink -f ./scripts/build.sh 10:51:28 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts/build.sh 10:51:28 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts 10:51:28 + ROOT=/device-can/deps/device-sdk-c-4.0.0-dev.14 10:51:28 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14 10:51:28 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 10:51:28 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 10:51:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 10:51:28 -- The C compiler identification is GNU 11.2.1 10:51:28 -- Detecting C compiler ABI info 10:51:28 -- Detecting C compiler ABI info - done 10:51:28 -- Check for working C compiler: /usr/bin/cc - skipped 10:51:28 -- Detecting C compile features 10:51:28 -- Detecting C compile features - done 10:51:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:51:28 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 10:51:28 -- Found LIBYAML: /usr/lib/libyaml.so 10:51:28 -- Found LIBUUID: /usr/lib/libuuid.so 10:51:28 -- Found LIBCBOR: /usr/lib/libcbor.so 10:51:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:51:28 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:51:28 -- /opt/iotech/iot/1.5/include 10:51:28 -- C SDK 0.0.0 for Linux 10:51:28 -- Performing Test CSDK_HAVE_ATOMIC 10:51:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:51:28 -- Found Curses: /usr/lib/libcurses.so 10:51:28 -- Configuring done 10:51:28 -- Generating done 10:51:28 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 10:51:28 + make all package 10:51:28 + tee release.log 10:51:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:51:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:51:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:51:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:51:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:51:29 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:51:29 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:51:30 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:51:30 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:51:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:51:30 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:51:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:51:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:51:31 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:51:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:51:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:51:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 10:51:31 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 10:51:31 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 10:51:31 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 10:51:31 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 10:51:31 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 10:51:31 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 10:51:31 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 10:51:31 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:51:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:51:31 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 10:51:31 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 10:51:31 | ^~~~~~~~~~~ 10:51:31 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 10:51:31 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:51:31 | ~^ 10:51:31 | | 10:51:31 | char * 10:51:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:51:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:51:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 10:51:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:51:33 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:51:33 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:51:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:51:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:51:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:51:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:51:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:51:34 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:51:34 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:51:34 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:51:35 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/service.c: In function 'devsdk_service_start': 10:51:35 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 10:51:35 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 10:51:35 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:51:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:51:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:51:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:51:35 [ 68%] Linking C shared library libcsdk.so 10:51:35 [ 68%] Built target csdk 10:51:35 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:51:35 [ 72%] Linking C executable template 10:51:35 [ 72%] Built target template 10:51:35 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:51:36 [ 76%] Linking C executable device-counter 10:51:36 [ 76%] Built target device-counter 10:51:36 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:51:36 [ 80%] Linking C executable device-random 10:51:36 [ 80%] Built target device-random 10:51:36 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:51:36 [ 84%] Linking C executable device-gyro 10:51:36 [ 84%] Built target device-gyro 10:51:36 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:51:36 [ 88%] Linking C executable device-bitfields 10:51:36 [ 88%] Built target device-bitfields 10:51:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:51:36 [ 92%] Linking C executable template-discovery 10:51:36 [ 92%] Built target template-discovery 10:51:36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:51:37 [ 96%] Linking C executable device-file 10:51:37 [ 96%] Built target device-file 10:51:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:51:37 [100%] Linking C executable device-terminal 10:51:37 [100%] Built target device-terminal 10:51:37 Run CPack packaging tool... 10:51:37 CPack: Create package using TGZ 10:51:37 CPack: Install projects 10:51:37 CPack: - Run preinstall target for: Csdk 10:51:37 CPack: - Install project: Csdk [] 10:51:37 CPack: Create package 10:51:37 CPack: - package: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release/csdk-0.0.0.tar.gz generated. 10:51:37 + '[' false '=' true ] 10:51:37 + '[' false '=' true ] 10:51:37 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 10:51:37 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 10:51:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 10:51:37 -- The C compiler identification is GNU 11.2.1 10:51:37 -- Detecting C compiler ABI info 10:51:37 -- Detecting C compiler ABI info - done 10:51:37 -- Check for working C compiler: /usr/bin/cc - skipped 10:51:37 -- Detecting C compile features 10:51:37 -- Detecting C compile features - done 10:51:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:51:37 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 10:51:37 -- Found LIBYAML: /usr/lib/libyaml.so 10:51:37 -- Found LIBUUID: /usr/lib/libuuid.so 10:51:37 -- Found LIBCBOR: /usr/lib/libcbor.so 10:51:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:51:37 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:51:37 -- /opt/iotech/iot/1.5/include 10:51:37 -- C SDK 0.0.0 for Linux 10:51:37 -- Performing Test CSDK_HAVE_ATOMIC 10:51:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:51:37 -- Found Curses: /usr/lib/libcurses.so 10:51:37 -- Configuring done 10:51:37 -- Generating done 10:51:37 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 10:51:37 + make 10:51:37 + tee debug.log 10:51:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:51:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:51:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:51:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:51:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:51:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:51:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:51:38 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:51:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:51:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:51:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:51:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:51:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:51:39 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:51:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:51:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:51:39 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 10:51:39 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 10:51:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 10:51:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 10:51:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 10:51:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 10:51:39 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 10:51:39 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 10:51:39 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:51:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:51:39 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 10:51:39 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 10:51:39 | ^~~~~~~~~~~ 10:51:39 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 10:51:39 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:51:39 | ~^ 10:51:39 | | 10:51:39 | char * 10:51:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:51:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:51:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 10:51:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:51:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:51:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:51:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:51:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:51:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:51:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:51:40 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:51:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:51:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:51:41 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:51:41 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:51:41 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:51:41 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:51:41 [ 68%] Linking C shared library libcsdk.so 10:51:41 [ 68%] Built target csdk 10:51:41 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:51:41 [ 72%] Linking C executable template 10:51:41 [ 72%] Built target template 10:51:41 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:51:41 [ 76%] Linking C executable device-counter 10:51:41 [ 76%] Built target device-counter 10:51:41 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:51:41 [ 80%] Linking C executable device-random 10:51:41 [ 80%] Built target device-random 10:51:41 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:51:42 [ 84%] Linking C executable device-gyro 10:51:42 [ 84%] Built target device-gyro 10:51:42 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:51:42 [ 88%] Linking C executable device-bitfields 10:51:42 [ 88%] Built target device-bitfields 10:51:42 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:51:42 [ 92%] Linking C executable template-discovery 10:51:42 [ 92%] Built target template-discovery 10:51:42 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:51:42 [ 96%] Linking C executable device-file 10:51:42 [ 96%] Built target device-file 10:51:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:51:42 [100%] Linking C executable device-terminal 10:51:42 [100%] Built target device-terminal 10:51:42 + cp -rf include/devsdk include/edgex /usr/include/ 10:51:42 + cp build/release/c/libcsdk.so /usr/lib/ 10:51:42 + mkdir -p /usr/share/doc/edgex-csdk 10:51:42 + cp Attribution.txt /usr/share/doc/edgex-csdk 10:51:42 + cp LICENSE /usr/share/doc/edgex-csdk 10:51:42 + rm -rf /device-can/deps 10:51:43 Removing intermediate container b1bc04b33a27 10:51:43 ---> 2c1062c861f6 10:51:43 Step 12/12 : RUN /device-can/scripts/build.sh 10:51:43 ---> Running in fecdf9880a09 10:51:43 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:51:43 + readlink -f /device-can/scripts/build.sh 10:51:43 + dirname /device-can/scripts/build.sh 10:51:43 + dirname /device-can/scripts 10:51:43 + ROOT=/device-can 10:51:43 /device-can 10:51:43 + echo /device-can 10:51:43 + cd /device-can 10:51:43 + mkdir -p /device-can/build/release 10:51:43 + cd /device-can/build/release 10:51:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/src 10:51:43 -- The C compiler identification is GNU 11.2.1 10:51:43 -- Detecting C compiler ABI info 10:51:43 -- Detecting C compiler ABI info - done 10:51:43 -- Check for working C compiler: /usr/bin/cc - skipped 10:51:43 -- Detecting C compile features 10:51:43 -- Detecting C compile features - done 10:51:43 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:51:43 -- /opt/iotech/iot/1.5/include 10:51:43 -- Found LIBCSDK: /usr/lib/libcsdk.so 10:51:43 -- Configuring done 10:51:43 -- Generating done 10:51:43 -- Build files have been written to: /device-can/build/release 10:51:43 + make all 10:51:43 + tee release.log 10:51:43 [ 50%] Building C object CMakeFiles/device-can.dir/c/device-can.c.o 10:51:43 In file included from /usr/include/devsdk/devsdk.h:18, 10:51:43 from /device-can/src/c/device-can.h:24, 10:51:43 from /device-can/src/c/device-can.c:27: 10:51:43 /device-can/src/c/device-can.c: In function 'can_get_handler': 10:51:43 /device-can/src/c/device-can.c:177:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] 10:51:43 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 10:51:43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:51:43 178 | requests[i].resource->type); 10:51:43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:51:43 | | 10:51:43 | iot_typecode_t 10:51:43 /device-can/src/c/device-can.c:177:80: note: format string is defined here 10:51:43 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 10:51:43 | ~^ 10:51:43 | | 10:51:43 | int 10:51:43 [100%] Linking C executable device-can 10:51:43 [100%] Built target device-can 10:51:44 Removing intermediate container fecdf9880a09 10:51:44 ---> c2252552079c 10:51:44 [Warning] One or more build-args [BASE] were not consumed 10:51:44 Successfully built c2252552079c 10:51:44 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 10:51:44 + docker inspect -f . ci-base-image-x86_64 10:51:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:51:44 prd-ubuntu20.04-docker-8c-8g-39698 does not seem to be running inside a container 10:51:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-can_PR-8 -v /w/workspace/edgexfoundry_device-can_PR-8:/w/workspace/edgexfoundry_device-can_PR-8:rw,z -v /w/workspace/edgexfoundry_device-can_PR-8@tmp:/w/workspace/edgexfoundry_device-can_PR-8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:51:45 $ docker top 67b8925c802a1e872af8cdf59735b36de5957c10fd59caac8d62ae92deac6ca4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:51:45 + make test 10:51:45 build/release/device-can/device-can [Pipeline] } 10:51:45 $ docker stop --time=1 67b8925c802a1e872af8cdf59735b36de5957c10fd59caac8d62ae92deac6ca4 10:51:47 $ docker rm -f --volumes 67b8925c802a1e872af8cdf59735b36de5957c10fd59caac8d62ae92deac6ca4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:51:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:51:48 + ls -al . 10:51:48 total 76 10:51:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:51 . 10:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:50 .. 10:51:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:51 .git 10:51:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:50 .github 10:51:48 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 10:51 .semver 10:51:48 -rw-rw-r-- 1 jenkins jenkins 383 Feb 25 10:50 Attribution.txt 10:51:48 -rw-rw-r-- 1 jenkins jenkins 1262 Feb 25 10:50 CHANGELOG.md 10:51:48 -rwxrwxr-x 1 jenkins jenkins 677 Feb 25 10:50 GOVERNANCE.md 10:51:48 -rwxrwxr-x 1 jenkins jenkins 762 Feb 25 10:50 Jenkinsfile 10:51:48 -rwxrwxr-x 1 jenkins jenkins 10174 Feb 25 10:50 LICENSE 10:51:48 -rwxrwxr-x 1 jenkins jenkins 801 Feb 25 10:50 Makefile 10:51:48 -rwxrwxr-x 1 jenkins jenkins 616 Feb 25 10:50 OWNERS.md 10:51:48 -rwxrwxr-x 1 jenkins jenkins 4090 Feb 25 10:50 README.md 10:51:48 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 10:51 VERSION 10:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:50 res 10:51:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:50 scripts 10:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:51:48 + docker build -t device-can -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 --label arch=amd64 --label version=0.0.0 . 10:51:48 Sending build context to Docker daemon 267.3kB 10:51:48 Step 1/30 : ARG BASE_TEMPORARY=alpine:3.16 10:51:48 Step 2/30 : FROM ${BASE_TEMPORARY} as builder 10:51:48 ---> d49a5025be10 10:51:48 Step 3/30 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:51:48 ---> Using cache 10:51:48 ---> b56e023bf8f5 10:51:48 Step 4/30 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:51:48 ---> Using cache 10:51:48 ---> efc29e475cfa 10:51:48 Step 5/30 : 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 libexecinfo-dev 10:51:48 ---> Running in 2419d47bf080 10:51:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:51:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:51:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:51:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:51:49 (1/79) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 10:51:49 (2/79) Installing libgcc (11.2.1_git20220219-r2) 10:51:49 (3/79) Installing libstdc++ (11.2.1_git20220219-r2) 10:51:49 (4/79) Installing binutils (2.38-r3) 10:51:49 (5/79) Installing libmagic (5.41-r0) 10:51:49 (6/79) Installing file (5.41-r0) 10:51:49 (7/79) Installing libgomp (11.2.1_git20220219-r2) 10:51:49 (8/79) Installing libatomic (11.2.1_git20220219-r2) 10:51:49 (9/79) Installing gmp (6.2.1-r2) 10:51:49 (10/79) Installing isl22 (0.22-r0) 10:51:49 (11/79) Installing mpfr4 (4.1.0-r0) 10:51:49 (12/79) Installing mpc1 (1.2.1-r0) 10:51:49 (13/79) Installing gcc (11.2.1_git20220219-r2) 10:51:50 (14/79) Installing musl-dev (1.2.3-r4) 10:51:50 (15/79) Installing libc-dev (0.7.2-r3) 10:51:50 (16/79) Installing g++ (11.2.1_git20220219-r2) 10:51:50 (17/79) Installing make (4.3-r0) 10:51:50 (18/79) Installing fortify-headers (1.1-r1) 10:51:50 (19/79) Installing patch (2.7.6-r7) 10:51:50 (20/79) Installing build-base (0.5-r3) 10:51:50 (21/79) Installing libacl (2.3.1-r0) 10:51:50 (22/79) Installing libbz2 (1.0.8-r1) 10:51:50 (23/79) Installing expat (2.6.2-r0) 10:51:50 (24/79) Installing lz4-libs (1.9.3-r1) 10:51:50 (25/79) Installing xz-libs (5.2.5-r1) 10:51:50 (26/79) Installing zstd-libs (1.5.2-r1) 10:51:50 (27/79) Installing libarchive (3.7.4-r0) 10:51:50 (28/79) Installing ca-certificates (20240226-r0) 10:51:50 (29/79) Installing brotli-libs (1.0.9-r6) 10:51:50 (30/79) Installing nghttp2-libs (1.47.0-r2) 10:51:50 (31/79) Installing libcurl (8.5.0-r0) 10:51:50 (32/79) Installing ncurses-terminfo-base (6.3_p20220521-r1) 10:51:50 (33/79) Installing ncurses-libs (6.3_p20220521-r1) 10:51:50 (34/79) Installing rhash-libs (1.4.2-r2) 10:51:50 (35/79) Installing libuv (1.44.1-r0) 10:51:50 (36/79) Installing cmake (3.23.5-r0) 10:51:51 (37/79) Installing pkgconf (1.8.1-r0) 10:51:51 (38/79) Installing openssl-dev (1.1.1w-r1) 10:51:51 (39/79) Installing nghttp2-dev (1.47.0-r2) 10:51:51 (40/79) Installing zlib-dev (1.2.12-r3) 10:51:51 (41/79) Installing brotli-dev (1.0.9-r6) 10:51:51 (42/79) Installing curl-dev (8.5.0-r0) 10:51:51 (43/79) Installing pcre2 (10.42-r0) 10:51:51 (44/79) Installing git (2.36.6-r0) 10:51:51 (45/79) Installing hiredis (1.0.2-r0) 10:51:51 (46/79) Installing hiredis-dev (1.0.2-r0) 10:51:51 (47/79) Installing yaml (0.2.5-r0) 10:51:51 (48/79) Installing libcbor (0.9.0-r1) 10:51:51 (49/79) Installing iotech-iot-1.5 (1.5.5-r0) 10:51:52 (50/79) Installing iotech-iot-1.5-dev (1.5.5-r0) 10:51:52 (51/79) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:51:52 (52/79) Installing libcbor-dev (0.9.0-r1) 10:51:52 (53/79) Installing libexecinfo (1.1-r1) 10:51:52 (54/79) Installing libexecinfo-dev (1.1-r1) 10:51:52 (55/79) Installing nettle (3.7.3-r0) 10:51:52 (56/79) Installing libffi (3.4.2-r1) 10:51:52 (57/79) Installing p11-kit (0.24.1-r0) 10:51:52 (58/79) Installing libtasn1 (4.18.0-r1) 10:51:52 (59/79) Installing libunistring (1.0-r0) 10:51:52 (60/79) Installing gnutls (3.7.7-r1) 10:51:52 (61/79) Installing libmicrohttpd (0.9.75-r0) 10:51:52 (62/79) Installing gnutls-c++ (3.7.7-r1) 10:51:52 (63/79) Installing libgmpxx (6.2.1-r2) 10:51:52 (64/79) Installing gmp-dev (6.2.1-r2) 10:51:52 (65/79) Installing nettle-dev (3.7.3-r0) 10:51:52 (66/79) Installing libtasn1-progs (4.18.0-r1) 10:51:52 (67/79) Installing libtasn1-dev (4.18.0-r1) 10:51:52 (68/79) Installing p11-kit-dev (0.24.1-r0) 10:51:52 (69/79) Installing gnutls-dev (3.7.7-r1) 10:51:52 (70/79) Installing libmicrohttpd-dev (0.9.75-r0) 10:51:52 (71/79) Installing linux-headers (5.16.7-r1) 10:51:52 (72/79) Installing ncurses-dev (6.3_p20220521-r1) 10:51:52 (73/79) Installing libblkid (2.38-r1) 10:51:52 (74/79) Installing libuuid (2.38-r1) 10:51:52 (75/79) Installing libfdisk (2.38-r1) 10:51:52 (76/79) Installing libmount (2.38-r1) 10:51:52 (77/79) Installing libsmartcols (2.38-r1) 10:51:52 (78/79) Installing util-linux-dev (2.38-r1) 10:51:52 (79/79) Installing yaml-dev (0.2.5-r0) 10:51:52 Executing busybox-1.35.0-r17.trigger 10:51:52 Executing ca-certificates-20240226-r0.trigger 10:51:52 OK: 281 MiB in 92 packages 10:51:59 Removing intermediate container 2419d47bf080 10:51:59 ---> b6491e2d4611 10:51:59 Step 6/30 : COPY scripts /device-can/scripts 10:51:59 ---> 161b977be649 10:51:59 Step 7/30 : COPY src /device-can/src/ 10:51:59 ---> 7950870fd3e0 10:51:59 Step 8/30 : COPY VERSION /device-can/ 10:51:59 ---> ba760b0645ca 10:51:59 Step 9/30 : WORKDIR /device-can 10:51:59 ---> Running in 608075d04eb7 10:51:59 Removing intermediate container 608075d04eb7 10:51:59 ---> 74a8cb139d3c 10:51:59 Step 10/30 : RUN /device-can/scripts/build_deps.sh 1 10:51:59 ---> Running in 000775cd42db 10:51:59 + BUILD_CSDK=1 10:51:59 + CSDK_VERSION=4.0.0-dev.14 10:51:59 + '[' -d deps ] 10:51:59 + mkdir deps 10:51:59 + cd /device-can/deps 10:51:59 + '[' 1 '=' 1 ] 10:51:59 + cd /device-can/deps 10:51:59 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0-dev.14.zip 10:51:59 Connecting to github.com (140.82.113.3:443) 10:51:59 Connecting to codeload.github.com (140.82.113.10:443) 10:51:59 saving to 'v4.0.0-dev.14.zip' 10:51:59 v4.0.0-dev.14.zip 100% |********************************| 246k 0:00:00 ETA 10:51:59 'v4.0.0-dev.14.zip' saved 10:51:59 + unzip v4.0.0-dev.14.zip 10:51:59 Archive: v4.0.0-dev.14.zip 10:51:59 creating: device-sdk-c-4.0.0-dev.14/ 10:51:59 creating: device-sdk-c-4.0.0-dev.14/.github/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/.github/Contributing.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/.github/PULL_REQUEST_TEMPLATE.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/.github/semantic.yml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/.github/workflows/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/.github/workflows/release.yml 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/.gitignore 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/Attribution.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/CHANGELOG.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/Doxyfile 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/GOVERNANCE.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/Jenkinsfile 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/LICENSE 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/Makefile 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/OWNERS.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/README.IOT.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/README.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/README.v3.md 10:51:59 creating: device-sdk-c-4.0.0-dev.14/docs/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/docs/configuration.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/docs/deviceprofiles.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/docs/metrics.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/docs/servicewritersguide.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/docs/startup.md 10:51:59 creating: device-sdk-c-4.0.0-dev.14/include/ 10:51:59 creating: device-sdk-c-4.0.0-dev.14/include/devsdk/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk-base.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk.h 10:51:59 creating: device-sdk-c-4.0.0-dev.14/include/edgex/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/devices.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex-base.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/profiles.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/rest-server.h 10:51:59 creating: device-sdk-c-4.0.0-dev.14/scripts/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine-base 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/scripts/build.sh 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/scripts/entrypoint.sh 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/CMakeLists.txt 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/api.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-impl.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-mqtt.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/cmdinfo.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/defs.h.in 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/devman.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/devsdk-base.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/devutil.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex2.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/errorlist.h 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/README.md 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/README.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/device-bitfields.c 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/Bitfields.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/README.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/device-counter.c 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/Counters.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/Counter.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/README.md 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/readme.txt 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/TemplateProfile.json 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/template.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher1.json 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher2.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/README.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/device-file.c 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/file1.json 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/lorem.txt 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/FileExampleProfile.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/README.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/device-gyro.c 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/gyro.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/Gyro.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/README.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/device-random.c 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/randomdevice1.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/RandomExampleProfile.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/device1.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/TemplateProfile.json 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/template.c 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/CMakeLists.txt 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/README.md 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/device-terminal.c 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/configuration.yaml 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/terminal.json 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/Terminal.json 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/metrics.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-impl.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.h 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.c 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.h 10:51:59 creating: device-sdk-c-4.0.0-dev.14/src/cmake/ 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindIOT.cmake 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBCBOR.cmake 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBMICROHTTP.cmake 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBPAHO.cmake 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBUUID.cmake 10:51:59 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBYAML.cmake 10:51:59 + cd device-sdk-c-4.0.0-dev.14 10:51:59 + ./scripts/build.sh 10:51:59 + CPPCHECK=false 10:51:59 + DOCGEN=false 10:51:59 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:51:59 + '[' 0 -gt 0 ] 10:51:59 + readlink -f ./scripts/build.sh 10:51:59 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts/build.sh 10:51:59 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts 10:51:59 + ROOT=/device-can/deps/device-sdk-c-4.0.0-dev.14 10:51:59 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14 10:51:59 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 10:51:59 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 10:51:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 10:51:59 -- The C compiler identification is GNU 11.2.1 10:51:59 -- Detecting C compiler ABI info 10:51:59 -- Detecting C compiler ABI info - done 10:51:59 -- Check for working C compiler: /usr/bin/cc - skipped 10:51:59 -- Detecting C compile features 10:51:59 -- Detecting C compile features - done 10:51:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:51:59 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 10:51:59 -- Found LIBYAML: /usr/lib/libyaml.so 10:51:59 -- Found LIBUUID: /usr/lib/libuuid.so 10:51:59 -- Found LIBCBOR: /usr/lib/libcbor.so 10:51:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:51:59 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:51:59 -- /opt/iotech/iot/1.5/include 10:51:59 -- C SDK 0.0.0 for Linux 10:51:59 -- Performing Test CSDK_HAVE_ATOMIC 10:51:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:51:59 -- Found Curses: /usr/lib/libcurses.so 10:51:59 -- Configuring done 10:51:59 -- Generating done 10:51:59 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 10:51:59 + make all package 10:51:59 + tee release.log 10:51:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:51:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:52:00 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:52:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:52:00 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:52:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:52:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:52:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:52:01 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:52:01 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:52:01 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:52:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:52:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:52:02 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:52:02 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:52:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:52:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 10:52:02 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 10:52:02 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 10:52:02 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 10:52:02 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 10:52:02 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 10:52:02 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 10:52:02 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 10:52:02 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:52:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:52:02 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 10:52:02 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 10:52:02 | ^~~~~~~~~~~ 10:52:02 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 10:52:02 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:52:02 | ~^ 10:52:02 | | 10:52:02 | char * 10:52:02 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:52:03 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:52:03 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 10:52:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:52:04 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:52:04 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:52:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:52:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:52:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:52:04 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:52:05 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:52:05 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:52:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:52:05 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:52:05 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/service.c: In function 'devsdk_service_start': 10:52:05 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 10:52:05 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 10:52:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:52:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:52:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:52:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:52:06 [ 68%] Linking C shared library libcsdk.so 10:52:06 [ 68%] Built target csdk 10:52:06 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:52:06 [ 72%] Linking C executable template 10:52:06 [ 72%] Built target template 10:52:06 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:52:07 [ 76%] Linking C executable device-counter 10:52:07 [ 76%] Built target device-counter 10:52:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:52:07 [ 80%] Linking C executable device-random 10:52:07 [ 80%] Built target device-random 10:52:07 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:52:07 [ 84%] Linking C executable device-gyro 10:52:07 [ 84%] Built target device-gyro 10:52:07 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:52:07 [ 88%] Linking C executable device-bitfields 10:52:07 [ 88%] Built target device-bitfields 10:52:07 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:52:07 [ 92%] Linking C executable template-discovery 10:52:07 [ 92%] Built target template-discovery 10:52:07 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:52:08 [ 96%] Linking C executable device-file 10:52:08 [ 96%] Built target device-file 10:52:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:52:08 [100%] Linking C executable device-terminal 10:52:08 [100%] Built target device-terminal 10:52:08 Run CPack packaging tool... 10:52:08 CPack: Create package using TGZ 10:52:08 CPack: Install projects 10:52:08 CPack: - Run preinstall target for: Csdk 10:52:08 CPack: - Install project: Csdk [] 10:52:08 CPack: Create package 10:52:08 CPack: - package: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release/csdk-0.0.0.tar.gz generated. 10:52:08 + '[' false '=' true ] 10:52:08 + '[' false '=' true ] 10:52:08 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 10:52:08 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 10:52:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 10:52:08 -- The C compiler identification is GNU 11.2.1 10:52:08 -- Detecting C compiler ABI info 10:52:08 -- Detecting C compiler ABI info - done 10:52:08 -- Check for working C compiler: /usr/bin/cc - skipped 10:52:08 -- Detecting C compile features 10:52:08 -- Detecting C compile features - done 10:52:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:52:08 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 10:52:08 -- Found LIBYAML: /usr/lib/libyaml.so 10:52:08 -- Found LIBUUID: /usr/lib/libuuid.so 10:52:08 -- Found LIBCBOR: /usr/lib/libcbor.so 10:52:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:52:08 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:52:08 -- /opt/iotech/iot/1.5/include 10:52:08 -- C SDK 0.0.0 for Linux 10:52:08 -- Performing Test CSDK_HAVE_ATOMIC 10:52:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:52:08 -- Found Curses: /usr/lib/libcurses.so 10:52:08 -- Configuring done 10:52:08 -- Generating done 10:52:08 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 10:52:09 + make 10:52:09 + tee debug.log 10:52:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:52:09 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:52:09 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:52:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:52:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:52:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:52:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:52:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:52:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:52:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:52:09 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:52:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:52:10 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:52:10 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:52:10 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:52:10 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:52:10 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 10:52:10 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 10:52:10 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 10:52:10 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 10:52:10 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 10:52:10 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 10:52:10 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 10:52:10 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 10:52:10 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:52:10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:52:10 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 10:52:10 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 10:52:10 | ^~~~~~~~~~~ 10:52:10 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 10:52:10 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:52:10 | ~^ 10:52:10 | | 10:52:10 | char * 10:52:10 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:52:10 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:52:10 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 10:52:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:52:10 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:52:11 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:52:11 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:52:11 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:52:11 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:52:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:52:11 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:52:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:52:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:52:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:52:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:52:12 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:52:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:52:12 [ 68%] Linking C shared library libcsdk.so 10:52:12 [ 68%] Built target csdk 10:52:12 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:52:12 [ 72%] Linking C executable template 10:52:12 [ 72%] Built target template 10:52:12 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:52:12 [ 76%] Linking C executable device-counter 10:52:12 [ 76%] Built target device-counter 10:52:12 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:52:12 [ 80%] Linking C executable device-random 10:52:12 [ 80%] Built target device-random 10:52:12 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:52:12 [ 84%] Linking C executable device-gyro 10:52:12 [ 84%] Built target device-gyro 10:52:12 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:52:12 [ 88%] Linking C executable device-bitfields 10:52:12 [ 88%] Built target device-bitfields 10:52:12 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:52:13 [ 92%] Linking C executable template-discovery 10:52:13 [ 92%] Built target template-discovery 10:52:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:52:13 [ 96%] Linking C executable device-file 10:52:13 [ 96%] Built target device-file 10:52:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:52:13 [100%] Linking C executable device-terminal 10:52:13 [100%] Built target device-terminal 10:52:13 + cp -rf include/devsdk include/edgex /usr/include/ 10:52:13 + cp build/release/c/libcsdk.so /usr/lib/ 10:52:13 + mkdir -p /usr/share/doc/edgex-csdk 10:52:13 + cp Attribution.txt /usr/share/doc/edgex-csdk 10:52:13 + cp LICENSE /usr/share/doc/edgex-csdk 10:52:13 + rm -rf /device-can/deps 10:52:13 Removing intermediate container 000775cd42db 10:52:13 ---> e9dc0a1d19c3 10:52:13 Step 11/30 : RUN /device-can/scripts/build.sh && test -f /device-can/build/release/device-can 10:52:13 ---> Running in 4865469d6988 10:52:13 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:52:13 + readlink -f /device-can/scripts/build.sh 10:52:13 + dirname /device-can/scripts/build.sh 10:52:13 + dirname /device-can/scripts 10:52:13 /device-can 10:52:13 + ROOT=/device-can 10:52:13 + echo /device-can 10:52:13 + cd /device-can 10:52:13 + mkdir -p /device-can/build/release 10:52:13 + cd /device-can/build/release 10:52:13 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/src 10:52:14 -- The C compiler identification is GNU 11.2.1 10:52:14 -- Detecting C compiler ABI info 10:52:14 -- Detecting C compiler ABI info - done 10:52:14 -- Check for working C compiler: /usr/bin/cc - skipped 10:52:14 -- Detecting C compile features 10:52:14 -- Detecting C compile features - done 10:52:14 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:52:14 -- /opt/iotech/iot/1.5/include 10:52:14 -- Found LIBCSDK: /usr/lib/libcsdk.so 10:52:14 -- Configuring done 10:52:14 -- Generating done 10:52:14 -- Build files have been written to: /device-can/build/release 10:52:14 + make all 10:52:14 + tee release.log 10:52:14 [ 50%] Building C object CMakeFiles/device-can.dir/c/device-can.c.o 10:52:14 In file included from /usr/include/devsdk/devsdk.h:18, 10:52:14 from /device-can/src/c/device-can.h:24, 10:52:14 from /device-can/src/c/device-can.c:27: 10:52:14 /device-can/src/c/device-can.c: In function 'can_get_handler': 10:52:14 /device-can/src/c/device-can.c:177:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] 10:52:14 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 10:52:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:52:14 178 | requests[i].resource->type); 10:52:14 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:52:14 | | 10:52:14 | iot_typecode_t 10:52:14 /device-can/src/c/device-can.c:177:80: note: format string is defined here 10:52:14 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 10:52:14 | ~^ 10:52:14 | | 10:52:14 | int 10:52:14 [100%] Linking C executable device-can 10:52:14 [100%] Built target device-can 10:52:15 Removing intermediate container 4865469d6988 10:52:15 ---> 12a5ed577717 10:52:15 Step 12/30 : FROM alpine:3.16 10:52:15 ---> d49a5025be10 10:52:15 Step 13/30 : MAINTAINER hcltech 10:52:15 ---> Running in b826f9f5c960 10:52:15 Removing intermediate container b826f9f5c960 10:52:15 ---> 0a718d41fb12 10:52:15 Step 14/30 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:52:15 ---> Running in f6d5f902f0cd 10:52:15 Connecting to iotech.jfrog.io (34.246.139.145:443) 10:52:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:52:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:52:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:52:16 Removing intermediate container f6d5f902f0cd 10:52:16 ---> 00ed71c1934a 10:52:16 Step 15/30 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:52:16 ---> Running in 18c294c1c912 10:52:16 Removing intermediate container 18c294c1c912 10:52:16 ---> c26d1184ddbf 10:52:16 Step 16/30 : 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 libexecinfo 10:52:16 ---> Running in e946cfbed6e2 10:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:52:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:52:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:52:18 (1/24) Installing ca-certificates (20240226-r0) 10:52:18 (2/24) Installing brotli-libs (1.0.9-r6) 10:52:18 (3/24) Installing nghttp2-libs (1.47.0-r2) 10:52:18 (4/24) Installing libcurl (8.5.0-r0) 10:52:18 (5/24) Installing curl (8.5.0-r0) 10:52:18 (6/24) Installing dumb-init (1.2.5-r1) 10:52:18 (7/24) Installing hiredis (1.0.2-r0) 10:52:18 (8/24) Installing yaml (0.2.5-r0) 10:52:18 (9/24) Installing libcbor (0.9.0-r1) 10:52:18 (10/24) Installing iotech-iot-1.5 (1.5.5-r0) 10:52:19 (11/24) Installing pkgconf (1.8.1-r0) 10:52:19 (12/24) Installing openssl-dev (1.1.1w-r1) 10:52:19 (13/24) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:52:19 (14/24) Installing libexecinfo (1.1-r1) 10:52:19 (15/24) Installing gmp (6.2.1-r2) 10:52:19 (16/24) Installing nettle (3.7.3-r0) 10:52:19 (17/24) Installing libffi (3.4.2-r1) 10:52:19 (18/24) Installing p11-kit (0.24.1-r0) 10:52:19 (19/24) Installing libtasn1 (4.18.0-r1) 10:52:19 (20/24) Installing libunistring (1.0-r0) 10:52:19 (21/24) Installing gnutls (3.7.7-r1) 10:52:19 (22/24) Installing libmicrohttpd (0.9.75-r0) 10:52:19 (23/24) Installing libuuid (2.38-r1) 10:52:19 (24/24) Installing linux-headers (5.16.7-r1) 10:52:19 Executing busybox-1.35.0-r17.trigger 10:52:19 Executing ca-certificates-20240226-r0.trigger 10:52:19 OK: 25 MiB in 38 packages 10:52:20 Removing intermediate container e946cfbed6e2 10:52:20 ---> 9153e12644c7 10:52:20 Step 17/30 : RUN apk --no-cache upgrade 10:52:20 ---> Running in 90a2723e65e1 10:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:52:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:52:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:52:21 (1/5) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 10:52:21 (2/5) Upgrading busybox (1.35.0-r17 -> 1.35.0-r18) 10:52:21 Executing busybox-1.35.0-r18.post-upgrade 10:52:21 (3/5) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 10:52:21 (4/5) Upgrading ssl_client (1.35.0-r17 -> 1.35.0-r18) 10:52:21 (5/5) Upgrading musl-utils (1.2.3-r3 -> 1.2.3-r4) 10:52:21 Executing busybox-1.35.0-r18.trigger 10:52:21 Executing ca-certificates-20240226-r0.trigger 10:52:21 OK: 25 MiB in 38 packages 10:52:22 Removing intermediate container 90a2723e65e1 10:52:22 ---> 3632edeeca04 10:52:22 Step 18/30 : COPY --from=builder /device-can/build/release/ / 10:52:22 ---> 90c4ffbc51f7 10:52:22 Step 19/30 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 10:52:22 ---> 83a61572bc3e 10:52:22 Step 20/30 : COPY --from=builder /usr/share/doc/edgex-csdk /usr/share/doc/edgex-csdk 10:52:22 ---> 96f2972b1fa8 10:52:22 Step 21/30 : COPY LICENSE /. 10:52:22 ---> abe6daca5597 10:52:22 Step 22/30 : COPY Attribution.txt /. 10:52:22 ---> db94e974b2b0 10:52:22 Step 23/30 : COPY res /res 10:52:22 ---> 8ef538971a77 10:52:22 Step 24/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023 HCL Technologies Ltd' 10:52:22 ---> Running in b99bf1839125 10:52:23 Removing intermediate container b99bf1839125 10:52:23 ---> 0d719d600940 10:52:23 Step 25/30 : EXPOSE 59980 10:52:23 ---> Running in 1a5dd2ac7ab8 10:52:23 Removing intermediate container 1a5dd2ac7ab8 10:52:23 ---> 42b66dba1d29 10:52:23 Step 26/30 : ENTRYPOINT ["/device-can"] 10:52:23 ---> Running in 3f188ccffc47 10:52:23 Removing intermediate container 3f188ccffc47 10:52:23 ---> 919d18db1e1b 10:52:23 Step 27/30 : CMD ["-cp=keeper://edgex-core-keeper:59890", "--registry", "--confdir=/res"] 10:52:23 ---> Running in f83a5ce89b4f 10:52:23 Removing intermediate container f83a5ce89b4f 10:52:23 ---> 0cf7ff477b6a 10:52:23 Step 28/30 : LABEL arch=amd64 10:52:23 ---> Running in 39ed587046c9 10:52:23 Removing intermediate container 39ed587046c9 10:52:23 ---> fe0ac90475e0 10:52:23 Step 29/30 : LABEL git_sha=648119d5b7c1fbfbb5bf169a706699b3b97a9fa8 10:52:23 ---> Running in d53bb274a529 10:52:23 Removing intermediate container d53bb274a529 10:52:23 ---> 42fd4796f960 10:52:23 Step 30/30 : LABEL version=0.0.0 10:52:23 ---> Running in aeb63f39dc08 10:52:23 Removing intermediate container aeb63f39dc08 10:52:23 ---> 9a9f10a05cb8 10:52:23 [Warning] One or more build-args [ARCH BASE MAKE] were not consumed 10:52:23 Successfully built 9a9f10a05cb8 10:52:23 Successfully tagged device-can: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 10:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:52:24 10:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:52:24 latest: Pulling from edgex-lftools-log-publisher 10:52:24 5eb5b503b376: Pulling fs layer 10:52:24 5c69ac0246d0: Pulling fs layer 10:52:24 ec43610c2a17: Pulling fs layer 10:52:24 3a2ae6a8a46f: Pulling fs layer 10:52:24 33b1e0a273af: Pulling fs layer 10:52:24 5d3b04190fa2: Pulling fs layer 10:52:24 2f39f015ded8: Pulling fs layer 10:52:24 33b1e0a273af: Waiting 10:52:24 5d3b04190fa2: Waiting 10:52:24 2f39f015ded8: Waiting 10:52:24 3a2ae6a8a46f: Waiting 10:52:24 5c69ac0246d0: Download complete 10:52:24 3a2ae6a8a46f: Verifying Checksum 10:52:24 3a2ae6a8a46f: Download complete 10:52:24 33b1e0a273af: Verifying Checksum 10:52:24 33b1e0a273af: Download complete 10:52:24 5d3b04190fa2: Verifying Checksum 10:52:24 5d3b04190fa2: Download complete 10:52:24 ec43610c2a17: Verifying Checksum 10:52:24 ec43610c2a17: Download complete 10:52:24 5eb5b503b376: Verifying Checksum 10:52:24 5eb5b503b376: Download complete 10:52:25 2f39f015ded8: Download complete 10:52:25 5eb5b503b376: Pull complete 10:52:25 5c69ac0246d0: Pull complete 10:52:26 ec43610c2a17: Pull complete 10:52:26 3a2ae6a8a46f: Pull complete 10:52:26 33b1e0a273af: Pull complete 10:52:26 5d3b04190fa2: Pull complete 10:52:30 2f39f015ded8: Pull complete 10:52:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:52:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:31 prd-ubuntu20.04-docker-8c-8g-39698 does not seem to be running inside a container 10:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-can_PR-8 -v /w/workspace/edgexfoundry_device-can_PR-8:/w/workspace/edgexfoundry_device-can_PR-8:rw,z -v /w/workspace/edgexfoundry_device-can_PR-8@tmp:/w/workspace/edgexfoundry_device-can_PR-8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:52:34 $ docker top 1101db57175e518d6de90720c56df5b8a4be45d6e14bf34c5c73f925bff4aef5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:52:35 ---> job-cost.sh 10:52:35 lf-activate-venv: SKIPPING 10:52:35 INFO: No Stack... 10:52:35 INFO: Retrieving Pricing Info for: v3-standard-8 10:52:35 INFO: Archiving Costs [Pipeline] sh 10:52:35 + cat /w/workspace/edgexfoundry_device-can_PR-8/archives/cost.csv 10:52:35 + cut -d, -f6 [Pipeline] lock 10:52:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-can-PR-8-3-stack-cost] 10:52:35 Resource [jenkins-edgexfoundry-device-can-PR-8-3-stack-cost] did not exist. Created. 10:52:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-can-PR-8-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:52:36 + echo total: 0.2199999988079071 [Pipeline] stash 10:52:36 Stashed 1 file(s) [Pipeline] } 10:52:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-can-PR-8-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:52:36 $ docker stop --time=1 1101db57175e518d6de90720c56df5b8a4be45d6e14bf34c5c73f925bff4aef5 10:52:37 $ docker rm -f --volumes 1101db57175e518d6de90720c56df5b8a4be45d6e14bf34c5c73f925bff4aef5 [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 10:52:38 + [ -d /w/workspace/edgexfoundry_device-can_PR-8/archives ] 10:52:38 + ls -al /w/workspace/edgexfoundry_device-can_PR-8/archives 10:52:38 total 16 10:52:38 drwxr-xr-x 3 root root 4096 Feb 25 10:52 . 10:52:38 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:52 .. 10:52:38 drwxr-xr-x 2 root root 4096 Feb 25 10:52 cost 10:52:38 -rw-r--r-- 1 root root 80 Feb 25 10:52 cost.csv 10:52:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-can_PR-8/archives 10:52:38 + ls -al /w/workspace/edgexfoundry_device-can_PR-8/archives 10:52:38 total 16 10:52:38 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 10:52 . 10:52:38 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:52 .. 10:52:38 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 10:52 cost 10:52:38 -rw-r--r-- 1 jenkins jenkins 80 Feb 25 10:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:52:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:52:39 ---> package-listing.sh 10:52:39 ++ facter osfamily 10:52:39 ++ tr '[:upper:]' '[:lower:]' 10:52:39 + OS_FAMILY=debian 10:52:39 + workspace=/w/workspace/edgexfoundry_device-can_PR-8 10:52:39 + START_PACKAGES=/tmp/packages_start.txt 10:52:39 + END_PACKAGES=/tmp/packages_end.txt 10:52:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:52:39 + PACKAGES=/tmp/packages_start.txt 10:52:39 + '[' /w/workspace/edgexfoundry_device-can_PR-8 ']' 10:52:39 + PACKAGES=/tmp/packages_end.txt 10:52:39 + case "${OS_FAMILY}" in 10:52:39 + dpkg -l 10:52:39 + grep '^ii' 10:52:39 + '[' -f /tmp/packages_start.txt ']' 10:52:39 + '[' -f /tmp/packages_end.txt ']' 10:52:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:52:39 + '[' /w/workspace/edgexfoundry_device-can_PR-8 ']' 10:52:39 + mkdir -p /w/workspace/edgexfoundry_device-can_PR-8/archives/ 10:52:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_PR-8/archives/ [Pipeline] echo 10:52:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-can_PR-8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:52:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:52:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:40 prd-ubuntu20.04-docker-8c-8g-39698 does not seem to be running inside a container 10:52:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-can_PR-8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-can_PR-8 -v /w/workspace/edgexfoundry_device-can_PR-8:/w/workspace/edgexfoundry_device-can_PR-8:rw,z -v /w/workspace/edgexfoundry_device-can_PR-8@tmp:/w/workspace/edgexfoundry_device-can_PR-8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:52:40 $ docker top d8c68de0d9f3c8e4e5e3426bb392e1bae31594c73dc412f3c509da6e89078cbf -eo pid,comm [Pipeline] { [Pipeline] sh 10:52:41 + touch /tmp/pre-build-complete [Pipeline] sh 10:52:41 + mkdir -p /var/log/sysstat [Pipeline] sh 10:52:41 + ls /var/log/sa-host 10:52:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:52:41 provisioning config files... 10:52:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_PR-8@tmp/config1548903935212806722tmp [Pipeline] { [Pipeline] echo 10:52:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:52:42 ---> create-netrc.sh [Pipeline] } 10:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:52:42 ---> python-tools-install.sh [Pipeline] echo 10:52:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:52:42 ---> sudo-logs.sh 10:52:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:52:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:52:43 ---> job-cost.sh 10:52:43 lf-activate-venv: SKIPPING 10:52:43 DEBUG: total: 0.2199999988079071 10:52:43 INFO: Retrieving Stack Cost... 10:52:43 INFO: Retrieving Pricing Info for: v3-standard-8 10:52:43 INFO: Archiving Costs [Pipeline] echo 10:52:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:52:43 ---> logs-deploy.sh 10:52:43 lf-activate-venv: SKIPPING 10:52:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/PR-8/3 10:52:43 INFO: archiving workspace using pattern(s): 10:52:44 Archives upload complete. 10:52:44 INFO: archiving logs to Nexus