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 cb314852a6c8d2632b7b6ae3734c16fa479a4041+4b2a33c2ade60348841e89503e802d9b0d295c6e (5e5afd9bc27fff3a9d71e6cadc243d8f7442e129) 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-ssh5701260657519962966.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-ssh14708798131334503131.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-ssh17344690583424537450.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-ssh14885374446741848746.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-ssh14815407329863005688.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 ‘prd-ubuntu20.04-docker-8c-8g-40175’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40176 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 Merging remotes/origin/main commit 4b2a33c2ade60348841e89503e802d9b0d295c6e into PR head commit cb314852a6c8d2632b7b6ae3734c16fa479a4041 Merge succeeded, producing cb314852a6c8d2632b7b6ae3734c16fa479a4041 Checking out Revision cb314852a6c8d2632b7b6ae3734c16fa479a4041 (PR-8) > 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 > 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 cb314852a6c8d2632b7b6ae3734c16fa479a4041 # 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 cb314852a6c8d2632b7b6ae3734c16fa479a4041 # timeout=10 Commit message: "docs: Update changelog for 4.0 release" First time build. Skipping changelog. > git rev-list --no-walk 1a6926bf1408429a1c417b8b260a44b8dd5c1d6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:24:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:24:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:24:01 ========================================================= 09:24:01 EdgeX Global Pipelines Version Info 09:24:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:24:02 ------------------- 09:24:02 stable info: 09:24:02 ------------------- 09:24:02 Commited By: Cherry Wang cherry@iotechsys.com 09:24:02 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:24:02 Message: update stable to v1.0.269 09:24:02 ------------------- 09:24:02 experimental info: 09:24:02 ------------------- 09:24:02 Commited By: Ginny Guan ginny@iotechsys.com 09:24:02 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 09:24:02 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-8 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-8 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-8 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb314852a6c8d2632b7b6ae3734c16fa479a4041 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb31485 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:03 provisioning config files... 09:24:03 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-8@tmp/config4850756569552650051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:03 ---> ****-login.sh 09:24:03 nexus3.edgexfoundry.org:10001 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 nexus3.edgexfoundry.org:10002 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 nexus3.edgexfoundry.org:10003 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 nexus3.edgexfoundry.org:10004 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 ****.io 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 ---> ****-login.sh ends [Pipeline] } 09:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 09:24:05 + git rev-list -1 --merges cb314852a6c8d2632b7b6ae3734c16fa479a4041~1..cb314852a6c8d2632b7b6ae3734c16fa479a4041 [Pipeline] echo 09:24:05 -----------> git rev-list -1 --merges cb314852a6c8d2632b7b6ae3734c16fa479a4041~1..cb314852a6c8d2632b7b6ae3734c16fa479a4041 cb314852a6c8d2632b7b6ae3734c16fa479a4041 [false] [Pipeline] sh 09:24:05 + git log --format=format:%s -1 cb314852a6c8d2632b7b6ae3734c16fa479a4041 [Pipeline] echo 09:24:05 ========================================================= 09:24:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:05 ========================================================= 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 09:24:06 + git rev-list -1 --merges cb314852a6c8d2632b7b6ae3734c16fa479a4041~1..cb314852a6c8d2632b7b6ae3734c16fa479a4041 [Pipeline] echo 09:24:06 -----------> git rev-list -1 --merges cb314852a6c8d2632b7b6ae3734c16fa479a4041~1..cb314852a6c8d2632b7b6ae3734c16fa479a4041 cb314852a6c8d2632b7b6ae3734c16fa479a4041 [false] [Pipeline] sh 09:24:06 + git log --format=format:%s -1 cb314852a6c8d2632b7b6ae3734c16fa479a4041 [Pipeline] echo 09:24:06 ========================================================= 09:24:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 09:24:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:24:06 + grep -v github /etc/ssh/ssh_known_hosts 09:24:06 + [ -e /tmp/ssh_known_hosts ] 09:24:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:24:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:24:06 + sudo tee -a /etc/ssh/ssh_known_hosts 09:24:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:07 09:24:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:07 0.1.4: Pulling from edgex-devops/py-git-semver 09:24:07 b85a868b505f: Pulling fs layer 09:24:07 e2be974225ed: Pulling fs layer 09:24:07 339a4e72a1f5: Pulling fs layer 09:24:07 988bab9f4d93: Pulling fs layer 09:24:07 1469e6f7b9e6: Pulling fs layer 09:24:07 eaf3925da568: Pulling fs layer 09:24:07 bab4dde63d76: Pulling fs layer 09:24:07 bde34c3a00c8: Pulling fs layer 09:24:07 b352a97aabf1: Pulling fs layer 09:24:07 4872d77fe225: Pulling fs layer 09:24:07 5851b861e8e6: Pulling fs layer 09:24:07 988bab9f4d93: Waiting 09:24:07 1469e6f7b9e6: Waiting 09:24:07 eaf3925da568: Waiting 09:24:07 bab4dde63d76: Waiting 09:24:07 bde34c3a00c8: Waiting 09:24:07 b352a97aabf1: Waiting 09:24:07 4872d77fe225: Waiting 09:24:07 5851b861e8e6: Waiting 09:24:07 e2be974225ed: Verifying Checksum 09:24:07 e2be974225ed: Download complete 09:24:07 988bab9f4d93: Verifying Checksum 09:24:07 988bab9f4d93: Download complete 09:24:07 1469e6f7b9e6: Verifying Checksum 09:24:07 1469e6f7b9e6: Download complete 09:24:07 eaf3925da568: Verifying Checksum 09:24:07 eaf3925da568: Download complete 09:24:07 339a4e72a1f5: Verifying Checksum 09:24:07 339a4e72a1f5: Download complete 09:24:07 bde34c3a00c8: Verifying Checksum 09:24:07 bde34c3a00c8: Download complete 09:24:07 b352a97aabf1: Verifying Checksum 09:24:07 b352a97aabf1: Download complete 09:24:07 4872d77fe225: Download complete 09:24:07 5851b861e8e6: Verifying Checksum 09:24:07 5851b861e8e6: Download complete 09:24:07 b85a868b505f: Download complete 09:24:07 bab4dde63d76: Verifying Checksum 09:24:07 bab4dde63d76: Download complete 09:24:08 b85a868b505f: Pull complete 09:24:09 e2be974225ed: Pull complete 09:24:09 339a4e72a1f5: Pull complete 09:24:09 988bab9f4d93: Pull complete 09:24:10 1469e6f7b9e6: Pull complete 09:24:10 eaf3925da568: Pull complete 09:24:11 bab4dde63d76: Pull complete 09:24:11 bde34c3a00c8: Pull complete 09:24:11 b352a97aabf1: Pull complete 09:24:11 4872d77fe225: Pull complete 09:24:12 5851b861e8e6: Pull complete 09:24:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:12 prd-ubuntu20.04-docker-8c-8g-40176 does not seem to be running inside a container 09:24:12 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:24:13 $ docker top 73c976d9327d770b4257ebce305c986f7ec862f30f10b27aecd62859d1344668 -eo pid,comm 09:24:13 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). 09:24:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:14 [ssh-agent] Looking for ssh-agent implementation... 09:24:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:14 $ docker exec 73c976d9327d770b4257ebce305c986f7ec862f30f10b27aecd62859d1344668 ssh-agent 09:24:14 SSH_AUTH_SOCK=/tmp/ssh-wB3tSpBcij9e/agent.33 09:24:14 SSH_AGENT_PID=39 09:24:14 Running ssh-add (command line suppressed) 09:24:14 Identity added: /w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_1931584124003448889.key (/w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_1931584124003448889.key) 09:24:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:14 + git tag --points-at HEAD [Pipeline] } 09:24:14 $ docker exec --env ******** --env ******** 73c976d9327d770b4257ebce305c986f7ec862f30f10b27aecd62859d1344668 ssh-agent -k 09:24:14 unset SSH_AUTH_SOCK; 09:24:14 unset SSH_AGENT_PID; 09:24:14 echo Agent pid 39 killed; 09:24:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:14 [ssh-agent] Looking for ssh-agent implementation... 09:24:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:14 $ docker exec 73c976d9327d770b4257ebce305c986f7ec862f30f10b27aecd62859d1344668 ssh-agent 09:24:15 SSH_AUTH_SOCK=/tmp/ssh-N1PUkqeCtBd4/agent.72 09:24:15 SSH_AGENT_PID=78 09:24:15 Running ssh-add (command line suppressed) 09:24:15 Identity added: /w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_17248076419991720299.key (/w/workspace/edgexfoundry_device-can_PR-8@tmp/private_key_17248076419991720299.key) 09:24:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:15 + git semver init 09:24:15 2025-03-04 09:24:15,640 [run_init] DEBUG init version:0.0.0 force:False 09:24:15 2025-03-04 09:24:15,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-can_PR-8/.semver 09:24:15 2025-03-04 09:24:15,641 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-can.git /w/workspace/edgexfoundry_device-can_PR-8/.semver 09:24:15 2025-03-04 09:24:15,641 [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) 09:24:16 2025-03-04 09:24:16,228 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-can_PR-8/.git/info/exclude 09:24:16 2025-03-04 09:24:16,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-can_PR-8/.semver/PR-8 with force:False 09:24:16 2025-03-04 09:24:16,229 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-can_PR-8/.semver/PR-8 09:24:16 2025-03-04 09:24:16,232 [execute] INFO git cat-file --batch-check 09:24:16 2025-03-04 09:24:16,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-can_PR-8/.semver, universal_newlines=False, shell=None, istream=) 09:24:16 2025-03-04 09:24:16,239 [execute] INFO git cat-file --batch 09:24:16 2025-03-04 09:24:16,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-can_PR-8/.semver, universal_newlines=False, shell=None, istream=) 09:24:16 2025-03-04 09:24:16,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-can_PR-8/.semver/PR-8 09:24:16 0.0.0 [Pipeline] } 09:24:16 $ docker exec --env ******** --env ******** 73c976d9327d770b4257ebce305c986f7ec862f30f10b27aecd62859d1344668 ssh-agent -k 09:24:16 unset SSH_AUTH_SOCK; 09:24:16 unset SSH_AGENT_PID; 09:24:16 echo Agent pid 78 killed; 09:24:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:24:16 + git semver [Pipeline] } 09:24:17 $ docker stop --time=1 73c976d9327d770b4257ebce305c986f7ec862f30f10b27aecd62859d1344668 09:24:18 $ docker rm -f --volumes 73c976d9327d770b4257ebce305c986f7ec862f30f10b27aecd62859d1344668 [Pipeline] // withDockerContainer [Pipeline] sh 09:24:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:24:18 Stashed 1 file(s) [Pipeline] echo 09:24:18 [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 09:24:19 provisioning config files... [Pipeline] // stage [Pipeline] } 09:24:19 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-8@tmp/config2905362151531342018tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 09:24:19 ---> ****-login.sh 09:24:19 nexus3.edgexfoundry.org:10001 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10002 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10003 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10004 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 ****.io 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 ---> ****-login.sh ends [Pipeline] } 09:24:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:24:20 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 09:24:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:24:20 ========================================================= 09:24:20 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:24:20 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:20 + 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 . 09:24:20 Sending build context to Docker daemon 267.3kB 09:24:20 Step 1/12 : ARG BASE_TEMPORARY=alpine:3.16 09:24:20 Step 2/12 : FROM ${BASE_TEMPORARY} 09:24:20 3.16: Pulling from library/alpine 09:24:21 a88dc8b54e91: Pulling fs layer 09:24:21 a88dc8b54e91: Verifying Checksum 09:24:21 a88dc8b54e91: Download complete 09:24:21 a88dc8b54e91: Pull complete 09:24:21 Digest: sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 09:24:21 Status: Downloaded newer image for alpine:3.16 09:24:21 ---> d49a5025be10 09:24:21 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 09:24:21 ---> Running in 2a2f60437695 09:24:21 Connecting to iotech.jfrog.io (34.246.139.145:443) 09:24:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:24:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:24:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:24:22 Removing intermediate container 2a2f60437695 09:24:22 ---> a14d2d4cf917 09:24:22 Step 4/12 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 09:24:22 ---> Running in e9f6a1853d8c 09:24:22 Removing intermediate container e9f6a1853d8c 09:24:22 ---> a7df78063c08 09:24:22 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 09:24:22 ---> Running in f8d4733bbf6d 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:24:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:24:24 (1/80) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 09:24:24 (2/80) Installing libgcc (11.2.1_git20220219-r2) 09:24:24 (3/80) Installing libstdc++ (11.2.1_git20220219-r2) 09:24:24 (4/80) Installing binutils (2.38-r3) 09:24:24 (5/80) Installing libmagic (5.41-r0) 09:24:24 (6/80) Installing file (5.41-r0) 09:24:24 (7/80) Installing libgomp (11.2.1_git20220219-r2) 09:24:24 (8/80) Installing libatomic (11.2.1_git20220219-r2) 09:24:24 (9/80) Installing gmp (6.2.1-r2) 09:24:24 (10/80) Installing isl22 (0.22-r0) 09:24:24 (11/80) Installing mpfr4 (4.1.0-r0) 09:24:24 (12/80) Installing mpc1 (1.2.1-r0) 09:24:24 (13/80) Installing gcc (11.2.1_git20220219-r2) 09:24:24 (14/80) Installing musl-dev (1.2.3-r4) 09:24:24 (15/80) Installing libc-dev (0.7.2-r3) 09:24:24 (16/80) Installing g++ (11.2.1_git20220219-r2) 09:24:25 (17/80) Installing make (4.3-r0) 09:24:25 (18/80) Installing fortify-headers (1.1-r1) 09:24:25 (19/80) Installing patch (2.7.6-r7) 09:24:25 (20/80) Installing build-base (0.5-r3) 09:24:25 (21/80) Installing libacl (2.3.1-r0) 09:24:25 (22/80) Installing libbz2 (1.0.8-r1) 09:24:25 (23/80) Installing expat (2.6.2-r0) 09:24:25 (24/80) Installing lz4-libs (1.9.3-r1) 09:24:25 (25/80) Installing xz-libs (5.2.5-r1) 09:24:25 (26/80) Installing zstd-libs (1.5.2-r1) 09:24:25 (27/80) Installing libarchive (3.7.4-r0) 09:24:25 (28/80) Installing ca-certificates (20240226-r0) 09:24:25 (29/80) Installing brotli-libs (1.0.9-r6) 09:24:25 (30/80) Installing nghttp2-libs (1.47.0-r2) 09:24:25 (31/80) Installing libcurl (8.5.0-r0) 09:24:25 (32/80) Installing ncurses-terminfo-base (6.3_p20220521-r1) 09:24:25 (33/80) Installing ncurses-libs (6.3_p20220521-r1) 09:24:25 (34/80) Installing rhash-libs (1.4.2-r2) 09:24:25 (35/80) Installing libuv (1.44.1-r0) 09:24:25 (36/80) Installing cmake (3.23.5-r0) 09:24:26 (37/80) Installing pkgconf (1.8.1-r0) 09:24:26 (38/80) Installing openssl-dev (1.1.1w-r1) 09:24:26 (39/80) Installing nghttp2-dev (1.47.0-r2) 09:24:26 (40/80) Installing zlib-dev (1.2.12-r3) 09:24:26 (41/80) Installing brotli-dev (1.0.9-r6) 09:24:26 (42/80) Installing curl-dev (8.5.0-r0) 09:24:26 (43/80) Installing dumb-init (1.2.5-r1) 09:24:26 (44/80) Installing pcre2 (10.42-r0) 09:24:26 (45/80) Installing git (2.36.6-r0) 09:24:26 (46/80) Installing hiredis (1.0.2-r0) 09:24:26 (47/80) Installing hiredis-dev (1.0.2-r0) 09:24:26 (48/80) Installing yaml (0.2.5-r0) 09:24:26 (49/80) Installing libcbor (0.9.0-r1) 09:24:26 (50/80) Installing iotech-iot-1.5 (1.5.5-r0) 09:24:27 (51/80) Installing iotech-iot-1.5-dev (1.5.5-r0) 09:24:27 (52/80) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:24:27 (53/80) Installing libcbor-dev (0.9.0-r1) 09:24:27 (54/80) Installing libexecinfo (1.1-r1) 09:24:27 (55/80) Installing libexecinfo-dev (1.1-r1) 09:24:27 (56/80) Installing nettle (3.7.3-r0) 09:24:27 (57/80) Installing libffi (3.4.2-r1) 09:24:27 (58/80) Installing p11-kit (0.24.1-r0) 09:24:27 (59/80) Installing libtasn1 (4.18.0-r1) 09:24:27 (60/80) Installing libunistring (1.0-r0) 09:24:27 (61/80) Installing gnutls (3.7.7-r1) 09:24:27 (62/80) Installing libmicrohttpd (0.9.75-r0) 09:24:27 (63/80) Installing gnutls-c++ (3.7.7-r1) 09:24:27 (64/80) Installing libgmpxx (6.2.1-r2) 09:24:27 (65/80) Installing gmp-dev (6.2.1-r2) 09:24:27 (66/80) Installing nettle-dev (3.7.3-r0) 09:24:27 (67/80) Installing libtasn1-progs (4.18.0-r1) 09:24:27 (68/80) Installing libtasn1-dev (4.18.0-r1) 09:24:27 (69/80) Installing p11-kit-dev (0.24.1-r0) 09:24:27 (70/80) Installing gnutls-dev (3.7.7-r1) 09:24:27 (71/80) Installing libmicrohttpd-dev (0.9.75-r0) 09:24:27 (72/80) Installing linux-headers (5.16.7-r1) 09:24:28 (73/80) Installing ncurses-dev (6.3_p20220521-r1) 09:24:28 (74/80) Installing libblkid (2.38-r1) 09:24:28 (75/80) Installing libuuid (2.38-r1) 09:24:28 (76/80) Installing libfdisk (2.38-r1) 09:24:28 (77/80) Installing libmount (2.38-r1) 09:24:28 (78/80) Installing libsmartcols (2.38-r1) 09:24:28 (79/80) Installing util-linux-dev (2.38-r1) 09:24:28 (80/80) Installing yaml-dev (0.2.5-r0) 09:24:28 Executing busybox-1.35.0-r17.trigger 09:24:28 Executing ca-certificates-20240226-r0.trigger 09:24:28 OK: 281 MiB in 93 packages 09:24:33 Removing intermediate container f8d4733bbf6d 09:24:33 ---> 69de27a24f2e 09:24:33 Step 6/12 : RUN apk --no-cache upgrade 09:24:33 ---> Running in 2f0a0460e7c7 09:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:24:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:24:34 (1/4) Upgrading busybox (1.35.0-r17 -> 1.35.0-r18) 09:24:34 Executing busybox-1.35.0-r18.post-upgrade 09:24:34 (2/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:24:34 (3/4) Upgrading ssl_client (1.35.0-r17 -> 1.35.0-r18) 09:24:34 (4/4) Upgrading musl-utils (1.2.3-r3 -> 1.2.3-r4) 09:24:34 Executing busybox-1.35.0-r18.trigger 09:24:34 Executing ca-certificates-20240226-r0.trigger 09:24:34 OK: 281 MiB in 93 packages 09:24:34 Removing intermediate container 2f0a0460e7c7 09:24:34 ---> a2d6cac16fcc 09:24:34 Step 7/12 : COPY scripts /device-can/scripts 09:24:34 ---> e089f92557a9 09:24:34 Step 8/12 : COPY src /device-can/src/ 09:24:34 ---> e9285026588e 09:24:34 Step 9/12 : COPY VERSION /device-can/ 09:24:35 ---> e813577f81b4 09:24:35 Step 10/12 : WORKDIR /device-can 09:24:35 ---> Running in 55477843a67d 09:24:35 Removing intermediate container 55477843a67d 09:24:35 ---> 97ca9c46bd75 09:24:35 Step 11/12 : RUN /device-can/scripts/build_deps.sh 1 09:24:35 ---> Running in 66edcc8a49ea 09:24:35 + BUILD_CSDK=1 09:24:35 + CSDK_VERSION=4.0.0-dev.14 09:24:35 + '[' -d deps ] 09:24:35 + mkdir deps 09:24:35 + cd /device-can/deps 09:24:35 + '[' 1 '=' 1 ] 09:24:35 + cd /device-can/deps 09:24:35 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0-dev.14.zip 09:24:35 Connecting to github.com (140.82.112.4:443) 09:24:35 Connecting to codeload.github.com (140.82.113.9:443) 09:24:35 saving to 'v4.0.0-dev.14.zip' 09:24:35 v4.0.0-dev.14.zip 100% |********************************| 246k 0:00:00 ETA 09:24:35 'v4.0.0-dev.14.zip' saved 09:24:35 + unzip v4.0.0-dev.14.zip 09:24:35 Archive: v4.0.0-dev.14.zip 09:24:35 creating: device-sdk-c-4.0.0-dev.14/ 09:24:35 creating: device-sdk-c-4.0.0-dev.14/.github/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/.github/Contributing.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/.github/PULL_REQUEST_TEMPLATE.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/.github/semantic.yml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/.github/workflows/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/.github/workflows/release.yml 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/.gitignore 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/Attribution.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/CHANGELOG.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/Doxyfile 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/GOVERNANCE.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/Jenkinsfile 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/LICENSE 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/Makefile 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/OWNERS.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/README.IOT.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/README.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/README.v3.md 09:24:35 creating: device-sdk-c-4.0.0-dev.14/docs/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/docs/configuration.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/docs/deviceprofiles.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/docs/metrics.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/docs/servicewritersguide.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/docs/startup.md 09:24:35 creating: device-sdk-c-4.0.0-dev.14/include/ 09:24:35 creating: device-sdk-c-4.0.0-dev.14/include/devsdk/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk-base.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk.h 09:24:35 creating: device-sdk-c-4.0.0-dev.14/include/edgex/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/devices.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex-base.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/profiles.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/rest-server.h 09:24:35 creating: device-sdk-c-4.0.0-dev.14/scripts/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine-base 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/scripts/build.sh 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/scripts/entrypoint.sh 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/CMakeLists.txt 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/api.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-impl.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-mqtt.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/cmdinfo.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/defs.h.in 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/devman.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/devsdk-base.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/devutil.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex2.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/errorlist.h 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/README.md 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/README.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/device-bitfields.c 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/Bitfields.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/README.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/device-counter.c 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/Counters.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/Counter.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/README.md 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/readme.txt 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/TemplateProfile.json 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/template.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher1.json 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher2.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/README.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/device-file.c 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/file1.json 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/lorem.txt 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/FileExampleProfile.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/README.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/device-gyro.c 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/gyro.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/Gyro.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/README.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/device-random.c 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/randomdevice1.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/RandomExampleProfile.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/device1.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/TemplateProfile.json 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/template.c 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/CMakeLists.txt 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/README.md 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/device-terminal.c 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/configuration.yaml 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/terminal.json 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/Terminal.json 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/metrics.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-impl.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.h 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.c 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.h 09:24:35 creating: device-sdk-c-4.0.0-dev.14/src/cmake/ 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindIOT.cmake 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBCBOR.cmake 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBMICROHTTP.cmake 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBPAHO.cmake 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBUUID.cmake 09:24:35 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBYAML.cmake 09:24:35 + cd device-sdk-c-4.0.0-dev.14 09:24:35 + ./scripts/build.sh 09:24:35 + CPPCHECK=false 09:24:35 + DOCGEN=false 09:24:35 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:24:35 + '[' 0 -gt 0 ] 09:24:35 + readlink -f ./scripts/build.sh 09:24:35 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts/build.sh 09:24:35 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts 09:24:35 + ROOT=/device-can/deps/device-sdk-c-4.0.0-dev.14 09:24:35 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14 09:24:35 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 09:24:35 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 09:24:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 09:24:35 -- The C compiler identification is GNU 11.2.1 09:24:36 -- Detecting C compiler ABI info 09:24:36 -- Detecting C compiler ABI info - done 09:24:36 -- Check for working C compiler: /usr/bin/cc - skipped 09:24:36 -- Detecting C compile features 09:24:36 -- Detecting C compile features - done 09:24:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:24:36 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 09:24:36 -- Found LIBYAML: /usr/lib/libyaml.so 09:24:36 -- Found LIBUUID: /usr/lib/libuuid.so 09:24:36 -- Found LIBCBOR: /usr/lib/libcbor.so 09:24:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:24:36 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:24:36 -- /opt/iotech/iot/1.5/include 09:24:36 -- C SDK 0.0.0 for Linux 09:24:36 -- Performing Test CSDK_HAVE_ATOMIC 09:24:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:24:36 -- Found Curses: /usr/lib/libcurses.so 09:24:36 -- Configuring done 09:24:36 -- Generating done 09:24:36 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 09:24:36 + make all package 09:24:36 + tee release.log 09:24:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:24:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:24:36 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:24:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:24:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:24:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:24:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:24:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:24:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:24:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:24:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:24:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:24:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:24:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:24:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:24:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:24:39 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 09:24:39 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 09:24:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 09:24:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 09:24:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 09:24:39 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 09:24:39 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 09:24: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=] 09:24:39 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:24:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:39 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 09:24:39 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 09:24:39 | ^~~~~~~~~~~ 09:24:39 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 09:24:39 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:24:39 | ~^ 09:24:39 | | 09:24:39 | char * 09:24:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:24:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:24:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 09:24:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:24:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:24:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:24:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:24:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:24:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:24:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:24:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:24:41 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:24:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:24:42 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:24:42 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/service.c: In function 'devsdk_service_start': 09:24:42 /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] 09:24:42 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 09:24:42 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:24:42 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:24:42 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:24:42 [ 68%] Linking C shared library libcsdk.so 09:24:42 [ 68%] Built target csdk 09:24:42 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:24:43 [ 72%] Linking C executable template 09:24:43 [ 72%] Built target template 09:24:43 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:24:43 [ 76%] Linking C executable device-counter 09:24:43 [ 76%] Built target device-counter 09:24:43 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:24:43 [ 80%] Linking C executable device-random 09:24:43 [ 80%] Built target device-random 09:24:43 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:24:43 [ 84%] Linking C executable device-gyro 09:24:43 [ 84%] Built target device-gyro 09:24:43 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:24:44 [ 88%] Linking C executable device-bitfields 09:24:44 [ 88%] Built target device-bitfields 09:24:44 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:24:44 [ 92%] Linking C executable template-discovery 09:24:44 [ 92%] Built target template-discovery 09:24:44 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:24:44 [ 96%] Linking C executable device-file 09:24:44 [ 96%] Built target device-file 09:24:44 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:24:44 [100%] Linking C executable device-terminal 09:24:44 [100%] Built target device-terminal 09:24:44 Run CPack packaging tool... 09:24:44 CPack: Create package using TGZ 09:24:44 CPack: Install projects 09:24:44 CPack: - Run preinstall target for: Csdk 09:24:44 CPack: - Install project: Csdk [] 09:24:45 CPack: Create package 09:24:45 CPack: - package: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release/csdk-0.0.0.tar.gz generated. 09:24:45 + '[' false '=' true ] 09:24:45 + '[' false '=' true ] 09:24:45 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 09:24:45 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 09:24:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 09:24:45 -- The C compiler identification is GNU 11.2.1 09:24:45 -- Detecting C compiler ABI info 09:24:45 -- Detecting C compiler ABI info - done 09:24:45 -- Check for working C compiler: /usr/bin/cc - skipped 09:24:45 -- Detecting C compile features 09:24:45 -- Detecting C compile features - done 09:24:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:24:45 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 09:24:45 -- Found LIBYAML: /usr/lib/libyaml.so 09:24:45 -- Found LIBUUID: /usr/lib/libuuid.so 09:24:45 -- Found LIBCBOR: /usr/lib/libcbor.so 09:24:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:24:45 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:24:45 -- /opt/iotech/iot/1.5/include 09:24:45 -- C SDK 0.0.0 for Linux 09:24:45 -- Performing Test CSDK_HAVE_ATOMIC 09:24:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:24:45 -- Found Curses: /usr/lib/libcurses.so 09:24:45 -- Configuring done 09:24:45 -- Generating done 09:24:45 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 09:24:45 + make 09:24:45 + tee debug.log 09:24:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:24:45 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:24:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:24:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:24:45 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:24:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:24:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:24:46 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:24:46 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:24:46 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:24:46 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:24:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:24:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:24:46 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:24:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:24:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:24:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 09:24:46 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 09:24:46 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 09:24:46 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 09:24:46 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 09:24:46 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 09:24:46 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 09:24:46 /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=] 09:24:46 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:24:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:46 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 09:24:46 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 09:24:46 | ^~~~~~~~~~~ 09:24:46 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 09:24:46 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:24:46 | ~^ 09:24:46 | | 09:24:46 | char * 09:24:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:24:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:24:47 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 09:24:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:24:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:24:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:24:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:24:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:24:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:24:47 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:24:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:24:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:24:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:24:48 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:24:48 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:24:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:24:48 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:24:48 [ 68%] Linking C shared library libcsdk.so 09:24:48 [ 68%] Built target csdk 09:24:48 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:24:48 [ 72%] Linking C executable template 09:24:48 [ 72%] Built target template 09:24:48 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:24:48 [ 76%] Linking C executable device-counter 09:24:48 [ 76%] Built target device-counter 09:24:48 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:24:48 [ 80%] Linking C executable device-random 09:24:49 [ 80%] Built target device-random 09:24:49 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:24:49 [ 84%] Linking C executable device-gyro 09:24:49 [ 84%] Built target device-gyro 09:24:49 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:24:49 [ 88%] Linking C executable device-bitfields 09:24:49 [ 88%] Built target device-bitfields 09:24:49 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:24:49 [ 92%] Linking C executable template-discovery 09:24:49 [ 92%] Built target template-discovery 09:24:49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:24:49 [ 96%] Linking C executable device-file 09:24:49 [ 96%] Built target device-file 09:24:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:24:49 [100%] Linking C executable device-terminal 09:24:49 [100%] Built target device-terminal 09:24:49 + cp -rf include/devsdk include/edgex /usr/include/ 09:24:49 + cp build/release/c/libcsdk.so /usr/lib/ 09:24:49 + mkdir -p /usr/share/doc/edgex-csdk 09:24:49 + cp Attribution.txt /usr/share/doc/edgex-csdk 09:24:49 + cp LICENSE /usr/share/doc/edgex-csdk 09:24:49 + rm -rf /device-can/deps 09:24:50 Removing intermediate container 66edcc8a49ea 09:24:50 ---> cd456c835165 09:24:50 Step 12/12 : RUN /device-can/scripts/build.sh 09:24:50 ---> Running in 61d4e8651587 09:24:50 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:24:50 + readlink -f /device-can/scripts/build.sh 09:24:50 + dirname /device-can/scripts/build.sh 09:24:50 + dirname /device-can/scripts 09:24:50 + ROOT=/device-can 09:24:50 + echo /device-can 09:24:50 + cd /device-can 09:24:50 + mkdir -p /device-can/build/release 09:24:50 /device-can 09:24:50 + cd /device-can/build/release 09:24:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/src 09:24:50 -- The C compiler identification is GNU 11.2.1 09:24:50 -- Detecting C compiler ABI info 09:24:50 -- Detecting C compiler ABI info - done 09:24:50 -- Check for working C compiler: /usr/bin/cc - skipped 09:24:50 -- Detecting C compile features 09:24:50 -- Detecting C compile features - done 09:24:50 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:24:50 -- /opt/iotech/iot/1.5/include 09:24:50 -- Found LIBCSDK: /usr/lib/libcsdk.so 09:24:50 -- Configuring done 09:24:50 -- Generating done 09:24:50 -- Build files have been written to: /device-can/build/release 09:24:50 + make all 09:24:50 + tee release.log 09:24:50 [ 50%] Building C object CMakeFiles/device-can.dir/c/device-can.c.o 09:24:50 In file included from /usr/include/devsdk/devsdk.h:18, 09:24:50 from /device-can/src/c/device-can.h:24, 09:24:50 from /device-can/src/c/device-can.c:27: 09:24:50 /device-can/src/c/device-can.c: In function 'can_get_handler': 09:24:50 /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=] 09:24:50 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 09:24:50 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:50 178 | requests[i].resource->type); 09:24:50 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:50 | | 09:24:50 | iot_typecode_t 09:24:50 /device-can/src/c/device-can.c:177:80: note: format string is defined here 09:24:50 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 09:24:50 | ~^ 09:24:50 | | 09:24:50 | int 09:24:51 [100%] Linking C executable device-can 09:24:51 [100%] Built target device-can 09:24:51 Removing intermediate container 61d4e8651587 09:24:51 ---> b3f869cde2e9 09:24:51 [Warning] One or more build-args [BASE] were not consumed 09:24:51 Successfully built b3f869cde2e9 09:24:51 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 09:24:51 + docker inspect -f . ci-base-image-x86_64 09:24:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:51 prd-ubuntu20.04-docker-8c-8g-40176 does not seem to be running inside a container 09:24:51 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:24:52 $ docker top 0f9a442ffc13e847c3b5a6382ad1b2329b541e530f4b0b75d8428e79e8d89c94 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:52 + make test 09:24:52 build/release/device-can/device-can [Pipeline] } 09:24:52 $ docker stop --time=1 0f9a442ffc13e847c3b5a6382ad1b2329b541e530f4b0b75d8428e79e8d89c94 09:24:53 $ docker rm -f --volumes 0f9a442ffc13e847c3b5a6382ad1b2329b541e530f4b0b75d8428e79e8d89c94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:24:54 + ls -al . 09:24:54 total 76 09:24:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 09:24 . 09:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 09:23 .. 09:24:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 09:24 .git 09:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 09:23 .github 09:24:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 09:24 .semver 09:24:54 -rw-rw-r-- 1 jenkins jenkins 383 Mar 4 09:23 Attribution.txt 09:24:54 -rw-rw-r-- 1 jenkins jenkins 1399 Mar 4 09:23 CHANGELOG.md 09:24:54 -rwxrwxr-x 1 jenkins jenkins 677 Mar 4 09:23 GOVERNANCE.md 09:24:54 -rwxrwxr-x 1 jenkins jenkins 762 Mar 4 09:23 Jenkinsfile 09:24:54 -rwxrwxr-x 1 jenkins jenkins 10174 Mar 4 09:23 LICENSE 09:24:54 -rwxrwxr-x 1 jenkins jenkins 801 Mar 4 09:23 Makefile 09:24:54 -rwxrwxr-x 1 jenkins jenkins 616 Mar 4 09:23 OWNERS.md 09:24:54 -rwxrwxr-x 1 jenkins jenkins 4090 Mar 4 09:23 README.md 09:24:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 09:24 VERSION 09:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 09:23 res 09:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 09:23 scripts 09:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 09:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:55 + 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=cb314852a6c8d2632b7b6ae3734c16fa479a4041 --label arch=amd64 --label version=0.0.0 . 09:24:55 Sending build context to Docker daemon 267.3kB 09:24:55 Step 1/30 : ARG BASE_TEMPORARY=alpine:3.16 09:24:55 Step 2/30 : FROM ${BASE_TEMPORARY} as builder 09:24:55 ---> d49a5025be10 09:24:55 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 09:24:55 ---> Using cache 09:24:55 ---> a14d2d4cf917 09:24:55 Step 4/30 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 09:24:55 ---> Using cache 09:24:55 ---> a7df78063c08 09:24:55 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 09:24:55 ---> Running in be3e913d423e 09:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:24:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:24:56 (1/79) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 09:24:56 (2/79) Installing libgcc (11.2.1_git20220219-r2) 09:24:56 (3/79) Installing libstdc++ (11.2.1_git20220219-r2) 09:24:56 (4/79) Installing binutils (2.38-r3) 09:24:56 (5/79) Installing libmagic (5.41-r0) 09:24:56 (6/79) Installing file (5.41-r0) 09:24:56 (7/79) Installing libgomp (11.2.1_git20220219-r2) 09:24:56 (8/79) Installing libatomic (11.2.1_git20220219-r2) 09:24:56 (9/79) Installing gmp (6.2.1-r2) 09:24:56 (10/79) Installing isl22 (0.22-r0) 09:24:56 (11/79) Installing mpfr4 (4.1.0-r0) 09:24:56 (12/79) Installing mpc1 (1.2.1-r0) 09:24:56 (13/79) Installing gcc (11.2.1_git20220219-r2) 09:24:56 (14/79) Installing musl-dev (1.2.3-r4) 09:24:56 (15/79) Installing libc-dev (0.7.2-r3) 09:24:56 (16/79) Installing g++ (11.2.1_git20220219-r2) 09:24:57 (17/79) Installing make (4.3-r0) 09:24:57 (18/79) Installing fortify-headers (1.1-r1) 09:24:57 (19/79) Installing patch (2.7.6-r7) 09:24:57 (20/79) Installing build-base (0.5-r3) 09:24:57 (21/79) Installing libacl (2.3.1-r0) 09:24:57 (22/79) Installing libbz2 (1.0.8-r1) 09:24:57 (23/79) Installing expat (2.6.2-r0) 09:24:57 (24/79) Installing lz4-libs (1.9.3-r1) 09:24:57 (25/79) Installing xz-libs (5.2.5-r1) 09:24:57 (26/79) Installing zstd-libs (1.5.2-r1) 09:24:57 (27/79) Installing libarchive (3.7.4-r0) 09:24:57 (28/79) Installing ca-certificates (20240226-r0) 09:24:57 (29/79) Installing brotli-libs (1.0.9-r6) 09:24:57 (30/79) Installing nghttp2-libs (1.47.0-r2) 09:24:57 (31/79) Installing libcurl (8.5.0-r0) 09:24:57 (32/79) Installing ncurses-terminfo-base (6.3_p20220521-r1) 09:24:57 (33/79) Installing ncurses-libs (6.3_p20220521-r1) 09:24:57 (34/79) Installing rhash-libs (1.4.2-r2) 09:24:57 (35/79) Installing libuv (1.44.1-r0) 09:24:57 (36/79) Installing cmake (3.23.5-r0) 09:24:57 (37/79) Installing pkgconf (1.8.1-r0) 09:24:57 (38/79) Installing openssl-dev (1.1.1w-r1) 09:24:57 (39/79) Installing nghttp2-dev (1.47.0-r2) 09:24:57 (40/79) Installing zlib-dev (1.2.12-r3) 09:24:57 (41/79) Installing brotli-dev (1.0.9-r6) 09:24:57 (42/79) Installing curl-dev (8.5.0-r0) 09:24:57 (43/79) Installing pcre2 (10.42-r0) 09:24:57 (44/79) Installing git (2.36.6-r0) 09:24:58 (45/79) Installing hiredis (1.0.2-r0) 09:24:58 (46/79) Installing hiredis-dev (1.0.2-r0) 09:24:58 (47/79) Installing yaml (0.2.5-r0) 09:24:58 (48/79) Installing libcbor (0.9.0-r1) 09:24:58 (49/79) Installing iotech-iot-1.5 (1.5.5-r0) 09:24:58 (50/79) Installing iotech-iot-1.5-dev (1.5.5-r0) 09:24:58 (51/79) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:24:58 (52/79) Installing libcbor-dev (0.9.0-r1) 09:24:58 (53/79) Installing libexecinfo (1.1-r1) 09:24:58 (54/79) Installing libexecinfo-dev (1.1-r1) 09:24:58 (55/79) Installing nettle (3.7.3-r0) 09:24:58 (56/79) Installing libffi (3.4.2-r1) 09:24:58 (57/79) Installing p11-kit (0.24.1-r0) 09:24:58 (58/79) Installing libtasn1 (4.18.0-r1) 09:24:58 (59/79) Installing libunistring (1.0-r0) 09:24:58 (60/79) Installing gnutls (3.7.7-r1) 09:24:58 (61/79) Installing libmicrohttpd (0.9.75-r0) 09:24:58 (62/79) Installing gnutls-c++ (3.7.7-r1) 09:24:58 (63/79) Installing libgmpxx (6.2.1-r2) 09:24:59 (64/79) Installing gmp-dev (6.2.1-r2) 09:24:59 (65/79) Installing nettle-dev (3.7.3-r0) 09:24:59 (66/79) Installing libtasn1-progs (4.18.0-r1) 09:24:59 (67/79) Installing libtasn1-dev (4.18.0-r1) 09:24:59 (68/79) Installing p11-kit-dev (0.24.1-r0) 09:24:59 (69/79) Installing gnutls-dev (3.7.7-r1) 09:24:59 (70/79) Installing libmicrohttpd-dev (0.9.75-r0) 09:24:59 (71/79) Installing linux-headers (5.16.7-r1) 09:24:59 (72/79) Installing ncurses-dev (6.3_p20220521-r1) 09:24:59 (73/79) Installing libblkid (2.38-r1) 09:24:59 (74/79) Installing libuuid (2.38-r1) 09:24:59 (75/79) Installing libfdisk (2.38-r1) 09:24:59 (76/79) Installing libmount (2.38-r1) 09:24:59 (77/79) Installing libsmartcols (2.38-r1) 09:24:59 (78/79) Installing util-linux-dev (2.38-r1) 09:24:59 (79/79) Installing yaml-dev (0.2.5-r0) 09:24:59 Executing busybox-1.35.0-r17.trigger 09:24:59 Executing ca-certificates-20240226-r0.trigger 09:24:59 OK: 281 MiB in 92 packages 09:25:04 Removing intermediate container be3e913d423e 09:25:04 ---> 5692bef4ad1e 09:25:04 Step 6/30 : COPY scripts /device-can/scripts 09:25:04 ---> 6c1af7762d02 09:25:04 Step 7/30 : COPY src /device-can/src/ 09:25:04 ---> 8ce58b22cb0d 09:25:04 Step 8/30 : COPY VERSION /device-can/ 09:25:04 ---> ffcefa5133e9 09:25:04 Step 9/30 : WORKDIR /device-can 09:25:04 ---> Running in cef49afdae59 09:25:04 Removing intermediate container cef49afdae59 09:25:04 ---> 9615266ed222 09:25:04 Step 10/30 : RUN /device-can/scripts/build_deps.sh 1 09:25:04 ---> Running in be9937980d98 09:25:04 + BUILD_CSDK=1 09:25:04 + CSDK_VERSION=4.0.0-dev.14 09:25:04 + '[' -d deps ] 09:25:04 + mkdir deps 09:25:04 + cd /device-can/deps 09:25:04 + '[' 1 '=' 1 ] 09:25:04 + cd /device-can/deps 09:25:04 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0-dev.14.zip 09:25:04 Connecting to github.com (140.82.114.3:443) 09:25:04 Connecting to codeload.github.com (140.82.113.9:443) 09:25:04 saving to 'v4.0.0-dev.14.zip' 09:25:04 v4.0.0-dev.14.zip 100% |********************************| 246k 0:00:00 ETA 09:25:04 'v4.0.0-dev.14.zip' saved 09:25:04 + unzip v4.0.0-dev.14.zip 09:25:04 Archive: v4.0.0-dev.14.zip 09:25:04 creating: device-sdk-c-4.0.0-dev.14/ 09:25:04 creating: device-sdk-c-4.0.0-dev.14/.github/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/.github/Contributing.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/.github/PULL_REQUEST_TEMPLATE.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/.github/semantic.yml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/.github/workflows/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/.github/workflows/release.yml 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/.gitignore 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/Attribution.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/CHANGELOG.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/Doxyfile 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/GOVERNANCE.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/Jenkinsfile 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/LICENSE 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/Makefile 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/OWNERS.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/README.IOT.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/README.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/README.v3.md 09:25:04 creating: device-sdk-c-4.0.0-dev.14/docs/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/docs/configuration.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/docs/deviceprofiles.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/docs/metrics.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/docs/servicewritersguide.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/docs/startup.md 09:25:04 creating: device-sdk-c-4.0.0-dev.14/include/ 09:25:04 creating: device-sdk-c-4.0.0-dev.14/include/devsdk/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk-base.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/include/devsdk/devsdk.h 09:25:04 creating: device-sdk-c-4.0.0-dev.14/include/edgex/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/devices.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex-base.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/edgex.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/profiles.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/include/edgex/rest-server.h 09:25:04 creating: device-sdk-c-4.0.0-dev.14/scripts/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/scripts/Dockerfile.alpine-base 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/scripts/build.sh 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/scripts/entrypoint.sh 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/CMakeLists.txt 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/api.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/autoevent.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-impl.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus-mqtt.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/bus.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/callback3.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/cmdinfo.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/config.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/correlation.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/data.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/defs.h.in 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/device.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/devman.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/devmap.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/devsdk-base.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/devutil.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/discovery.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/dto-read.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-logging.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex-rest.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/edgex2.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/errorlist.h 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/README.md 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/README.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/device-bitfields.c 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/devices/Bitfields.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/README.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/device-counter.c 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/devices/Counters.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/counters/res/profiles/Counter.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/README.md 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/devices/readme.txt 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/res/profiles/TemplateProfile.json 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/template.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher1.json 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/discovery/watcher2.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/README.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/device-file.c 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/devices/file1.json 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/lorem.txt 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/file/res/profiles/FileExampleProfile.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/README.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/device-gyro.c 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/devices/gyro.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/gyro/res/profiles/Gyro.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/README.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/device-random.c 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/devices/randomdevice1.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/random/res/profiles/RandomExampleProfile.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/devices/device1.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/res/profiles/TemplateProfile.json 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/template.c 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/CMakeLists.txt 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/README.md 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/device-terminal.c 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/configuration.yaml 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/devices/terminal.json 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/examples/terminal/res/profiles/Terminal.json 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/filesys.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/keeper.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/map.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/metadata.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/metrics.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/opstate.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/parson.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/profiles.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/registry.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/reqdata.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/request_auth.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest-server.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/rest.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-impl.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-insecure.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets-vault.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/secrets.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/service.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/transform.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/validate.h 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.c 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/c/watchers.h 09:25:04 creating: device-sdk-c-4.0.0-dev.14/src/cmake/ 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindIOT.cmake 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBCBOR.cmake 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBMICROHTTP.cmake 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBPAHO.cmake 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBUUID.cmake 09:25:04 inflating: device-sdk-c-4.0.0-dev.14/src/cmake/FindLIBYAML.cmake 09:25:04 + cd device-sdk-c-4.0.0-dev.14 09:25:04 + ./scripts/build.sh 09:25:04 + CPPCHECK=false 09:25:04 + DOCGEN=false 09:25:04 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:25:04 + '[' 0 -gt 0 ] 09:25:04 + readlink -f ./scripts/build.sh 09:25:04 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts/build.sh 09:25:04 + dirname /device-can/deps/device-sdk-c-4.0.0-dev.14/scripts 09:25:04 + ROOT=/device-can/deps/device-sdk-c-4.0.0-dev.14 09:25:04 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14 09:25:04 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 09:25:04 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 09:25:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 09:25:04 -- The C compiler identification is GNU 11.2.1 09:25:04 -- Detecting C compiler ABI info 09:25:05 -- Detecting C compiler ABI info - done 09:25:05 -- Check for working C compiler: /usr/bin/cc - skipped 09:25:05 -- Detecting C compile features 09:25:05 -- Detecting C compile features - done 09:25:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:25:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 09:25:05 -- Found LIBYAML: /usr/lib/libyaml.so 09:25:05 -- Found LIBUUID: /usr/lib/libuuid.so 09:25:05 -- Found LIBCBOR: /usr/lib/libcbor.so 09:25:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:25:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:25:05 -- /opt/iotech/iot/1.5/include 09:25:05 -- C SDK 0.0.0 for Linux 09:25:05 -- Performing Test CSDK_HAVE_ATOMIC 09:25:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:25:05 -- Found Curses: /usr/lib/libcurses.so 09:25:05 -- Configuring done 09:25:05 -- Generating done 09:25:05 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release 09:25:05 + make all package 09:25:05 + tee release.log 09:25:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:25:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:25:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:25:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:25:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:25:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:25:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:25:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:25:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:25:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:25:07 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:25:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:25:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:25:07 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:25:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:25:08 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:25:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 09:25:08 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 09:25:08 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 09:25:08 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 09:25:08 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 09:25:08 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 09:25:08 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 09:25:08 /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=] 09:25:08 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:25:08 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:25:08 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 09:25:08 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 09:25:08 | ^~~~~~~~~~~ 09:25:08 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 09:25:08 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:25:08 | ~^ 09:25:08 | | 09:25:08 | char * 09:25:08 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:25:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:25:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 09:25:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:25:09 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:25:09 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:25:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:25:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:25:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:25:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:25:10 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:25:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:25:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:25:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:25:11 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/service.c: In function 'devsdk_service_start': 09:25:11 /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] 09:25:11 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 09:25:11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:25:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:25:12 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:25:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:25:12 [ 68%] Linking C shared library libcsdk.so 09:25:12 [ 68%] Built target csdk 09:25:12 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:25:12 [ 72%] Linking C executable template 09:25:12 [ 72%] Built target template 09:25:12 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:25:12 [ 76%] Linking C executable device-counter 09:25:12 [ 76%] Built target device-counter 09:25:12 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:25:12 [ 80%] Linking C executable device-random 09:25:12 [ 80%] Built target device-random 09:25:12 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:25:12 [ 84%] Linking C executable device-gyro 09:25:13 [ 84%] Built target device-gyro 09:25:13 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:25:13 [ 88%] Linking C executable device-bitfields 09:25:13 [ 88%] Built target device-bitfields 09:25:13 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:25:13 [ 92%] Linking C executable template-discovery 09:25:13 [ 92%] Built target template-discovery 09:25:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:25:13 [ 96%] Linking C executable device-file 09:25:13 [ 96%] Built target device-file 09:25:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:25:13 [100%] Linking C executable device-terminal 09:25:13 [100%] Built target device-terminal 09:25:13 Run CPack packaging tool... 09:25:13 CPack: Create package using TGZ 09:25:13 CPack: Install projects 09:25:13 CPack: - Run preinstall target for: Csdk 09:25:14 CPack: - Install project: Csdk [] 09:25:14 CPack: Create package 09:25:14 CPack: - package: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/release/csdk-0.0.0.tar.gz generated. 09:25:14 + '[' false '=' true ] 09:25:14 + '[' false '=' true ] 09:25:14 + mkdir -p /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 09:25:14 + cd /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 09:25:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-can/deps/device-sdk-c-4.0.0-dev.14/src 09:25:14 -- The C compiler identification is GNU 11.2.1 09:25:14 -- Detecting C compiler ABI info 09:25:14 -- Detecting C compiler ABI info - done 09:25:14 -- Check for working C compiler: /usr/bin/cc - skipped 09:25:14 -- Detecting C compile features 09:25:14 -- Detecting C compile features - done 09:25:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:25:14 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 09:25:14 -- Found LIBYAML: /usr/lib/libyaml.so 09:25:14 -- Found LIBUUID: /usr/lib/libuuid.so 09:25:14 -- Found LIBCBOR: /usr/lib/libcbor.so 09:25:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:25:14 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:25:14 -- /opt/iotech/iot/1.5/include 09:25:14 -- C SDK 0.0.0 for Linux 09:25:14 -- Performing Test CSDK_HAVE_ATOMIC 09:25:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:25:14 -- Found Curses: /usr/lib/libcurses.so 09:25:14 -- Configuring done 09:25:14 -- Generating done 09:25:14 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0-dev.14/build/debug 09:25:14 + make 09:25:14 + tee debug.log 09:25:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:25:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:25:14 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:25:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:25:14 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:25:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:25:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:25:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:25:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:25:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:25:15 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:25:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:25:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:25:15 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:25:15 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:25:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:25:15 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 09:25:15 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 09:25:15 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry.h:14, 09:25:15 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/registry-impl.h:12, 09:25:15 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.h:12, 09:25:15 from /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:4: 09:25:15 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c: In function 'edgex_keeper_client_init': 09:25:15 /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=] 09:25:15 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:25:15 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:25:15 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 09:25:15 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 09:25:15 | ^~~~~~~~~~~ 09:25:15 /device-can/deps/device-sdk-c-4.0.0-dev.14/src/c/keeper.c:121:55: note: format string is defined here 09:25:15 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 09:25:15 | ~^ 09:25:15 | | 09:25:15 | char * 09:25:16 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:25:16 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:25:16 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 09:25:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:25:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:25:16 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:25:16 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:25:16 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:25:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:25:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:25:17 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:25:17 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:25:17 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:25:17 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:25:17 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:25:17 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:25:17 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:25:17 [ 68%] Linking C shared library libcsdk.so 09:25:17 [ 68%] Built target csdk 09:25:17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:25:17 [ 72%] Linking C executable template 09:25:17 [ 72%] Built target template 09:25:17 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:25:17 [ 76%] Linking C executable device-counter 09:25:18 [ 76%] Built target device-counter 09:25:18 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:25:18 [ 80%] Linking C executable device-random 09:25:18 [ 80%] Built target device-random 09:25:18 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:25:18 [ 84%] Linking C executable device-gyro 09:25:18 [ 84%] Built target device-gyro 09:25:18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:25:18 [ 88%] Linking C executable device-bitfields 09:25:18 [ 88%] Built target device-bitfields 09:25:18 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:25:18 [ 92%] Linking C executable template-discovery 09:25:18 [ 92%] Built target template-discovery 09:25:18 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:25:18 [ 96%] Linking C executable device-file 09:25:18 [ 96%] Built target device-file 09:25:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:25:19 [100%] Linking C executable device-terminal 09:25:19 [100%] Built target device-terminal 09:25:19 + cp -rf include/devsdk include/edgex /usr/include/ 09:25:19 + cp build/release/c/libcsdk.so /usr/lib/ 09:25:19 + mkdir -p /usr/share/doc/edgex-csdk 09:25:19 + cp Attribution.txt /usr/share/doc/edgex-csdk 09:25:19 + cp LICENSE /usr/share/doc/edgex-csdk 09:25:19 + rm -rf /device-can/deps 09:25:19 Removing intermediate container be9937980d98 09:25:19 ---> e20500c032bd 09:25:19 Step 11/30 : RUN /device-can/scripts/build.sh && test -f /device-can/build/release/device-can 09:25:19 ---> Running in 002a5288c382 09:25:19 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:25:19 + readlink -f /device-can/scripts/build.sh 09:25:19 + dirname /device-can/scripts/build.sh 09:25:19 + dirname /device-can/scripts 09:25:19 + ROOT=/device-can 09:25:19 + echo /device-can 09:25:19 /device-can 09:25:19 + cd /device-can 09:25:19 + mkdir -p /device-can/build/release 09:25:19 + cd /device-can/build/release 09:25:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/src 09:25:19 -- The C compiler identification is GNU 11.2.1 09:25:19 -- Detecting C compiler ABI info 09:25:19 -- Detecting C compiler ABI info - done 09:25:19 -- Check for working C compiler: /usr/bin/cc - skipped 09:25:19 -- Detecting C compile features 09:25:19 -- Detecting C compile features - done 09:25:19 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:25:19 -- /opt/iotech/iot/1.5/include 09:25:19 -- Found LIBCSDK: /usr/lib/libcsdk.so 09:25:19 -- Configuring done 09:25:19 -- Generating done 09:25:19 -- Build files have been written to: /device-can/build/release 09:25:19 + make all 09:25:19 + tee release.log 09:25:19 [ 50%] Building C object CMakeFiles/device-can.dir/c/device-can.c.o 09:25:19 In file included from /usr/include/devsdk/devsdk.h:18, 09:25:19 from /device-can/src/c/device-can.h:24, 09:25:19 from /device-can/src/c/device-can.c:27: 09:25:19 /device-can/src/c/device-can.c: In function 'can_get_handler': 09:25:19 /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=] 09:25:19 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 09:25:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:25:19 178 | requests[i].resource->type); 09:25:19 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:25:19 | | 09:25:19 | iot_typecode_t 09:25:19 /device-can/src/c/device-can.c:177:80: note: format string is defined here 09:25:19 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 09:25:19 | ~^ 09:25:19 | | 09:25:19 | int 09:25:20 [100%] Linking C executable device-can 09:25:20 [100%] Built target device-can 09:25:20 Removing intermediate container 002a5288c382 09:25:20 ---> 47fe724c4130 09:25:20 Step 12/30 : FROM alpine:3.16 09:25:20 ---> d49a5025be10 09:25:20 Step 13/30 : MAINTAINER hcltech 09:25:20 ---> Running in b5b1ff62026c 09:25:20 Removing intermediate container b5b1ff62026c 09:25:20 ---> c61d2e8b79a9 09:25:20 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 09:25:20 ---> Running in 645b911a6452 09:25:20 Connecting to iotech.jfrog.io (34.246.139.145:443) 09:25:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:25:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:25:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:25:21 Removing intermediate container 645b911a6452 09:25:21 ---> c80ae1c14b8c 09:25:21 Step 15/30 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 09:25:21 ---> Running in 4e47566e302a 09:25:22 Removing intermediate container 4e47566e302a 09:25:22 ---> 4f2e197ff287 09:25:22 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 09:25:22 ---> Running in ae3e39b6e7d3 09:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:25:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 09:25:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:25:23 (1/24) Installing ca-certificates (20240226-r0) 09:25:23 (2/24) Installing brotli-libs (1.0.9-r6) 09:25:23 (3/24) Installing nghttp2-libs (1.47.0-r2) 09:25:23 (4/24) Installing libcurl (8.5.0-r0) 09:25:23 (5/24) Installing curl (8.5.0-r0) 09:25:23 (6/24) Installing dumb-init (1.2.5-r1) 09:25:23 (7/24) Installing hiredis (1.0.2-r0) 09:25:23 (8/24) Installing yaml (0.2.5-r0) 09:25:23 (9/24) Installing libcbor (0.9.0-r1) 09:25:23 (10/24) Installing iotech-iot-1.5 (1.5.5-r0) 09:25:23 (11/24) Installing pkgconf (1.8.1-r0) 09:25:23 (12/24) Installing openssl-dev (1.1.1w-r1) 09:25:24 (13/24) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:25:24 (14/24) Installing libexecinfo (1.1-r1) 09:25:24 (15/24) Installing gmp (6.2.1-r2) 09:25:24 (16/24) Installing nettle (3.7.3-r0) 09:25:24 (17/24) Installing libffi (3.4.2-r1) 09:25:24 (18/24) Installing p11-kit (0.24.1-r0) 09:25:24 (19/24) Installing libtasn1 (4.18.0-r1) 09:25:24 (20/24) Installing libunistring (1.0-r0) 09:25:24 (21/24) Installing gnutls (3.7.7-r1) 09:25:24 (22/24) Installing libmicrohttpd (0.9.75-r0) 09:25:25 (23/24) Installing libuuid (2.38-r1) 09:25:25 (24/24) Installing linux-headers (5.16.7-r1) 09:25:25 Executing busybox-1.35.0-r17.trigger 09:25:25 Executing ca-certificates-20240226-r0.trigger 09:25:25 OK: 25 MiB in 38 packages 09:25:25 Removing intermediate container ae3e39b6e7d3 09:25:25 ---> 6deddf51a2ac 09:25:25 Step 17/30 : RUN apk --no-cache upgrade 09:25:25 ---> Running in 7c395040b8b6 09:25:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:25:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:25:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 09:25:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:25:26 (1/5) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 09:25:26 (2/5) Upgrading busybox (1.35.0-r17 -> 1.35.0-r18) 09:25:27 Executing busybox-1.35.0-r18.post-upgrade 09:25:27 (3/5) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:25:27 (4/5) Upgrading ssl_client (1.35.0-r17 -> 1.35.0-r18) 09:25:27 (5/5) Upgrading musl-utils (1.2.3-r3 -> 1.2.3-r4) 09:25:27 Executing busybox-1.35.0-r18.trigger 09:25:27 Executing ca-certificates-20240226-r0.trigger 09:25:27 OK: 25 MiB in 38 packages 09:25:27 Removing intermediate container 7c395040b8b6 09:25:27 ---> 03fb1ebe1f79 09:25:27 Step 18/30 : COPY --from=builder /device-can/build/release/ / 09:25:27 ---> ff3a34294f69 09:25:27 Step 19/30 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 09:25:27 ---> e424d21b456a 09:25:27 Step 20/30 : COPY --from=builder /usr/share/doc/edgex-csdk /usr/share/doc/edgex-csdk 09:25:27 ---> 603faba4f7db 09:25:27 Step 21/30 : COPY LICENSE /. 09:25:27 ---> 94dd8df65bf7 09:25:27 Step 22/30 : COPY Attribution.txt /. 09:25:28 ---> 0773cde3c605 09:25:28 Step 23/30 : COPY res /res 09:25:28 ---> 792c39a11d8e 09:25:28 Step 24/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023 HCL Technologies Ltd' 09:25:28 ---> Running in 281fafe52dfd 09:25:28 Removing intermediate container 281fafe52dfd 09:25:28 ---> fe97eff5be2b 09:25:28 Step 25/30 : EXPOSE 59980 09:25:28 ---> Running in 4902d83c7bfd 09:25:28 Removing intermediate container 4902d83c7bfd 09:25:28 ---> 21124489a467 09:25:28 Step 26/30 : ENTRYPOINT ["/device-can"] 09:25:28 ---> Running in 40e99c5db0e9 09:25:28 Removing intermediate container 40e99c5db0e9 09:25:28 ---> 8c62c1bf4ef9 09:25:28 Step 27/30 : CMD ["-cp=keeper://edgex-core-keeper:59890", "--registry", "--confdir=/res"] 09:25:28 ---> Running in 978911aa38b3 09:25:28 Removing intermediate container 978911aa38b3 09:25:28 ---> e3dbda6994a9 09:25:28 Step 28/30 : LABEL arch=amd64 09:25:28 ---> Running in d51d51b72eb3 09:25:28 Removing intermediate container d51d51b72eb3 09:25:28 ---> 75e25f329276 09:25:28 Step 29/30 : LABEL git_sha=cb314852a6c8d2632b7b6ae3734c16fa479a4041 09:25:28 ---> Running in 06ad8057f310 09:25:28 Removing intermediate container 06ad8057f310 09:25:28 ---> cc98eca3a9c9 09:25:28 Step 30/30 : LABEL version=0.0.0 09:25:28 ---> Running in 34345173a555 09:25:28 Removing intermediate container 34345173a555 09:25:28 ---> 15cc7ef21e5e 09:25:28 [Warning] One or more build-args [ARCH BASE MAKE] were not consumed 09:25:28 Successfully built 15cc7ef21e5e 09:25:28 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 09:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:29 09:25:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:29 latest: Pulling from edgex-lftools-log-publisher 09:25:29 5eb5b503b376: Pulling fs layer 09:25:29 5c69ac0246d0: Pulling fs layer 09:25:29 ec43610c2a17: Pulling fs layer 09:25:29 3a2ae6a8a46f: Pulling fs layer 09:25:29 33b1e0a273af: Pulling fs layer 09:25:29 5d3b04190fa2: Pulling fs layer 09:25:29 2f39f015ded8: Pulling fs layer 09:25:29 3a2ae6a8a46f: Waiting 09:25:29 33b1e0a273af: Waiting 09:25:29 5d3b04190fa2: Waiting 09:25:29 2f39f015ded8: Waiting 09:25:29 5c69ac0246d0: Download complete 09:25:29 3a2ae6a8a46f: Verifying Checksum 09:25:29 3a2ae6a8a46f: Download complete 09:25:29 33b1e0a273af: Verifying Checksum 09:25:29 33b1e0a273af: Download complete 09:25:29 5d3b04190fa2: Verifying Checksum 09:25:29 5d3b04190fa2: Download complete 09:25:29 ec43610c2a17: Verifying Checksum 09:25:29 ec43610c2a17: Download complete 09:25:30 5eb5b503b376: Verifying Checksum 09:25:30 5eb5b503b376: Download complete 09:25:30 2f39f015ded8: Download complete 09:25:31 5eb5b503b376: Pull complete 09:25:31 5c69ac0246d0: Pull complete 09:25:32 ec43610c2a17: Pull complete 09:25:32 3a2ae6a8a46f: Pull complete 09:25:32 33b1e0a273af: Pull complete 09:25:32 5d3b04190fa2: Pull complete 09:25:36 2f39f015ded8: Pull complete 09:25:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:36 prd-ubuntu20.04-docker-8c-8g-40176 does not seem to be running inside a container 09:25:36 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:25:38 $ docker top 3a884c498d7ec65c3361e331b203c6674cea18b98a5cabba593aaed32cd2ed80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:38 ---> job-cost.sh 09:25:38 lf-activate-venv: SKIPPING 09:25:38 INFO: No Stack... 09:25:38 INFO: Retrieving Pricing Info for: v3-standard-8 09:25:39 INFO: Archiving Costs [Pipeline] sh 09:25:39 + cat /w/workspace/edgexfoundry_device-can_PR-8/archives/cost.csv 09:25:39 + cut -d, -f6 [Pipeline] lock 09:25:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-can-PR-8-6-stack-cost] 09:25:39 Resource [jenkins-edgexfoundry-device-can-PR-8-6-stack-cost] did not exist. Created. 09:25:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-can-PR-8-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:39 + echo total: 0.2199999988079071 [Pipeline] stash 09:25:39 Stashed 1 file(s) [Pipeline] } 09:25:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-can-PR-8-6-stack-cost] [Pipeline] // lock [Pipeline] } 09:25:39 $ docker stop --time=1 3a884c498d7ec65c3361e331b203c6674cea18b98a5cabba593aaed32cd2ed80 09:25:41 $ docker rm -f --volumes 3a884c498d7ec65c3361e331b203c6674cea18b98a5cabba593aaed32cd2ed80 [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 09:25:41 + [ -d /w/workspace/edgexfoundry_device-can_PR-8/archives ] 09:25:41 + ls -al /w/workspace/edgexfoundry_device-can_PR-8/archives 09:25:41 total 16 09:25:41 drwxr-xr-x 3 root root 4096 Mar 4 09:25 . 09:25:41 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 09:25 .. 09:25:41 drwxr-xr-x 2 root root 4096 Mar 4 09:25 cost 09:25:41 -rw-r--r-- 1 root root 80 Mar 4 09:25 cost.csv 09:25:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-can_PR-8/archives 09:25:41 + ls -al /w/workspace/edgexfoundry_device-can_PR-8/archives 09:25:41 total 16 09:25:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 09:25 . 09:25:41 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 09:25 .. 09:25:41 drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 09:25 cost 09:25:41 -rw-r--r-- 1 jenkins jenkins 80 Mar 4 09:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:25:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:25:42 ---> package-listing.sh 09:25:42 ++ facter osfamily 09:25:42 ++ tr '[:upper:]' '[:lower:]' 09:25:43 + OS_FAMILY=debian 09:25:43 + workspace=/w/workspace/edgexfoundry_device-can_PR-8 09:25:43 + START_PACKAGES=/tmp/packages_start.txt 09:25:43 + END_PACKAGES=/tmp/packages_end.txt 09:25:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:25:43 + PACKAGES=/tmp/packages_start.txt 09:25:43 + '[' /w/workspace/edgexfoundry_device-can_PR-8 ']' 09:25:43 + PACKAGES=/tmp/packages_end.txt 09:25:43 + case "${OS_FAMILY}" in 09:25:43 + dpkg -l 09:25:43 + grep '^ii' 09:25:43 + '[' -f /tmp/packages_start.txt ']' 09:25:43 + '[' -f /tmp/packages_end.txt ']' 09:25:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:25:43 + '[' /w/workspace/edgexfoundry_device-can_PR-8 ']' 09:25:43 + mkdir -p /w/workspace/edgexfoundry_device-can_PR-8/archives/ 09:25:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_PR-8/archives/ [Pipeline] echo 09:25:43 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 09:25:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:44 prd-ubuntu20.04-docker-8c-8g-40176 does not seem to be running inside a container 09:25:44 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:25:44 $ docker top 1d8b009a6c10677a13c1ff19b2c187022cc678c7141750ac932191841bc2e64b -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:44 + touch /tmp/pre-build-complete [Pipeline] sh 09:25:45 + mkdir -p /var/log/sysstat [Pipeline] sh 09:25:45 + ls /var/log/sa-host 09:25:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:45 provisioning config files... 09:25:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_PR-8@tmp/config9124199448449386376tmp [Pipeline] { [Pipeline] echo 09:25:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:25:45 ---> create-netrc.sh [Pipeline] } 09:25:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:25:46 ---> python-tools-install.sh [Pipeline] echo 09:25:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:25:46 ---> sudo-logs.sh 09:25:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:25:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:25:46 ---> job-cost.sh 09:25:46 lf-activate-venv: SKIPPING 09:25:46 DEBUG: total: 0.2199999988079071 09:25:46 INFO: Retrieving Stack Cost... 09:25:46 INFO: Retrieving Pricing Info for: v3-standard-8 09:25:47 INFO: Archiving Costs [Pipeline] echo 09:25:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:25:47 ---> logs-deploy.sh 09:25:47 lf-activate-venv: SKIPPING 09:25:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/PR-8/6 09:25:47 INFO: archiving workspace using pattern(s): 09:25:48 Archives upload complete. 09:25:48 INFO: archiving logs to Nexus