Pull request #10 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-can Obtained Jenkinsfile from 699ccf20b837d63b7277a51d2fd3e5320489b949+ba2b6fae553472960645637c219e56e42557e8af (5d6a3a3a2e28d52574c56553cfd25dca8e965f8a) 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-ssh1591426529556803473.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10238721410612767913.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-10/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-10/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14345614289363178432.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-10/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11947847728673939402.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f16b0674693bda8419e7356c8caa12f8ebbbe1e # timeout=10 Commit message: "Merge pull request #468 from cherrycl/issue-467" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh55400294614734345.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-10/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-10/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13224564948181855252.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 5f16b0674693bda8419e7356c8caa12f8ebbbe1e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-41238’ Running on prd-ubuntu20.04-docker-8c-8g-41243 in /w/workspace/edgexfoundry_device-can_PR-10 [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-10 # 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 ba2b6fae553472960645637c219e56e42557e8af into PR head commit 699ccf20b837d63b7277a51d2fd3e5320489b949 Merge succeeded, producing 699ccf20b837d63b7277a51d2fd3e5320489b949 Checking out Revision 699ccf20b837d63b7277a51d2fd3e5320489b949 (PR-10) > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/10/head:refs/remotes/origin/PR-10 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 699ccf20b837d63b7277a51d2fd3e5320489b949 # 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 ba2b6fae553472960645637c219e56e42557e8af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 699ccf20b837d63b7277a51d2fd3e5320489b949 # timeout=10 Commit message: "fix: Simplify configuration.yaml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 5f16b0674693bda8419e7356c8caa12f8ebbbe1e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:54:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:54:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:54:53 ========================================================= 05:54:53 EdgeX Global Pipelines Version Info 05:54:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:54:54 ------------------- 05:54:54 stable info: 05:54:54 ------------------- 05:54:54 Commited By: Cherry Wang cherry@iotechsys.com 05:54:54 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 05:54:54 Message: update stable to v1.0.272 05:54:55 ------------------- 05:54:55 experimental info: 05:54:55 ------------------- 05:54:55 Commited By: **** collab-it+edgex@linuxfoundation.org 05:54:55 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 05:54:55 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:54:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-10 [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-10 [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-10 [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 699ccf20b837d63b7277a51d2fd3e5320489b949 [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 699ccf2 [Pipeline] echo 05:54:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:56 provisioning config files... 05:54:56 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-10@tmp/config13941620040768816044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:57 ---> ****-login.sh 05:54:57 nexus3.edgexfoundry.org:10001 05:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:57 Configure a credential helper to remove this warning. See 05:54:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:57 05:54:57 Login Succeeded 05:54:57 nexus3.edgexfoundry.org:10002 05:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:57 Configure a credential helper to remove this warning. See 05:54:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:57 05:54:57 Login Succeeded 05:54:57 nexus3.edgexfoundry.org:10003 05:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:57 Configure a credential helper to remove this warning. See 05:54:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:57 05:54:57 Login Succeeded 05:54:57 nexus3.edgexfoundry.org:10004 05:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:57 Configure a credential helper to remove this warning. See 05:54:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:57 05:54:57 Login Succeeded 05:54:57 ****.io 05:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:58 Configure a credential helper to remove this warning. See 05:54:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:58 05:54:58 Login Succeeded 05:54:58 ---> ****-login.sh ends [Pipeline] } 05:54:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:54:58 + git rev-list -1 --merges 699ccf20b837d63b7277a51d2fd3e5320489b949~1..699ccf20b837d63b7277a51d2fd3e5320489b949 [Pipeline] echo 05:54:58 -----------> git rev-list -1 --merges 699ccf20b837d63b7277a51d2fd3e5320489b949~1..699ccf20b837d63b7277a51d2fd3e5320489b949 699ccf20b837d63b7277a51d2fd3e5320489b949 [false] [Pipeline] sh 05:54:59 + git log --format=format:%s -1 699ccf20b837d63b7277a51d2fd3e5320489b949 [Pipeline] echo 05:54:59 ========================================================= 05:54:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:54:59 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:55:00 + git rev-list -1 --merges 699ccf20b837d63b7277a51d2fd3e5320489b949~1..699ccf20b837d63b7277a51d2fd3e5320489b949 [Pipeline] echo 05:55:00 -----------> git rev-list -1 --merges 699ccf20b837d63b7277a51d2fd3e5320489b949~1..699ccf20b837d63b7277a51d2fd3e5320489b949 699ccf20b837d63b7277a51d2fd3e5320489b949 [false] [Pipeline] sh 05:55:00 + git log --format=format:%s -1 699ccf20b837d63b7277a51d2fd3e5320489b949 [Pipeline] echo 05:55:00 ========================================================= 05:55:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:55:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:55:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:55:01 + grep -v github /etc/ssh/ssh_known_hosts 05:55:01 + [ -e /tmp/ssh_known_hosts ] 05:55:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:55:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:55:01 + sudo tee -a /etc/ssh/ssh_known_hosts 05:55:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:01 05:55:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:01 0.1.4: Pulling from edgex-devops/py-git-semver 05:55:01 b85a868b505f: Pulling fs layer 05:55:01 e2be974225ed: Pulling fs layer 05:55:01 339a4e72a1f5: Pulling fs layer 05:55:01 988bab9f4d93: Pulling fs layer 05:55:01 1469e6f7b9e6: Pulling fs layer 05:55:01 eaf3925da568: Pulling fs layer 05:55:01 bab4dde63d76: Pulling fs layer 05:55:01 bde34c3a00c8: Pulling fs layer 05:55:01 b352a97aabf1: Pulling fs layer 05:55:01 4872d77fe225: Pulling fs layer 05:55:01 5851b861e8e6: Pulling fs layer 05:55:01 bde34c3a00c8: Waiting 05:55:01 988bab9f4d93: Waiting 05:55:01 4872d77fe225: Waiting 05:55:01 1469e6f7b9e6: Waiting 05:55:01 eaf3925da568: Waiting 05:55:01 5851b861e8e6: Waiting 05:55:01 e2be974225ed: Verifying Checksum 05:55:01 e2be974225ed: Download complete 05:55:01 988bab9f4d93: Verifying Checksum 05:55:01 988bab9f4d93: Download complete 05:55:01 1469e6f7b9e6: Verifying Checksum 05:55:01 1469e6f7b9e6: Download complete 05:55:02 339a4e72a1f5: Verifying Checksum 05:55:02 339a4e72a1f5: Download complete 05:55:02 eaf3925da568: Download complete 05:55:02 bde34c3a00c8: Download complete 05:55:02 b352a97aabf1: Verifying Checksum 05:55:02 b352a97aabf1: Download complete 05:55:02 4872d77fe225: Verifying Checksum 05:55:02 4872d77fe225: Download complete 05:55:02 5851b861e8e6: Verifying Checksum 05:55:02 5851b861e8e6: Download complete 05:55:02 b85a868b505f: Verifying Checksum 05:55:02 b85a868b505f: Download complete 05:55:02 bab4dde63d76: Verifying Checksum 05:55:02 bab4dde63d76: Download complete 05:55:03 b85a868b505f: Pull complete 05:55:03 e2be974225ed: Pull complete 05:55:03 339a4e72a1f5: Pull complete 05:55:04 988bab9f4d93: Pull complete 05:55:04 1469e6f7b9e6: Pull complete 05:55:04 eaf3925da568: Pull complete 05:55:06 bab4dde63d76: Pull complete 05:55:06 bde34c3a00c8: Pull complete 05:55:06 b352a97aabf1: Pull complete 05:55:06 4872d77fe225: Pull complete 05:55:06 5851b861e8e6: Pull complete 05:55:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:55:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:55:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:06 prd-ubuntu20.04-docker-8c-8g-41243 does not seem to be running inside a container 05:55:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-can_PR-10 -v /w/workspace/edgexfoundry_device-can_PR-10:/w/workspace/edgexfoundry_device-can_PR-10:rw,z -v /w/workspace/edgexfoundry_device-can_PR-10@tmp:/w/workspace/edgexfoundry_device-can_PR-10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:55:08 $ docker top 27679869101d13417c04968361ef8b0a0c0baeeb62cf3d87d8711f2a4b0a489a -eo pid,comm 05:55:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:55:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:08 [ssh-agent] Looking for ssh-agent implementation... 05:55:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:08 $ docker exec 27679869101d13417c04968361ef8b0a0c0baeeb62cf3d87d8711f2a4b0a489a ssh-agent 05:55:08 SSH_AUTH_SOCK=/tmp/ssh-o6UsXBkz3ygU/agent.31 05:55:08 SSH_AGENT_PID=37 05:55:08 Running ssh-add (command line suppressed) 05:55:08 Identity added: /w/workspace/edgexfoundry_device-can_PR-10@tmp/private_key_2353475723947807494.key (/w/workspace/edgexfoundry_device-can_PR-10@tmp/private_key_2353475723947807494.key) 05:55:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:09 + git tag --points-at HEAD [Pipeline] } 05:55:09 $ docker exec --env ******** --env ******** 27679869101d13417c04968361ef8b0a0c0baeeb62cf3d87d8711f2a4b0a489a ssh-agent -k 05:55:09 unset SSH_AUTH_SOCK; 05:55:09 unset SSH_AGENT_PID; 05:55:09 echo Agent pid 37 killed; 05:55:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:55:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:09 [ssh-agent] Looking for ssh-agent implementation... 05:55:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:09 $ docker exec 27679869101d13417c04968361ef8b0a0c0baeeb62cf3d87d8711f2a4b0a489a ssh-agent 05:55:09 SSH_AUTH_SOCK=/tmp/ssh-DYd5EReSBmhT/agent.70 05:55:09 SSH_AGENT_PID=76 05:55:09 Running ssh-add (command line suppressed) 05:55:09 Identity added: /w/workspace/edgexfoundry_device-can_PR-10@tmp/private_key_11689632733438827771.key (/w/workspace/edgexfoundry_device-can_PR-10@tmp/private_key_11689632733438827771.key) 05:55:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:10 + git semver init 05:55:10 2025-03-13 05:55:10,213 [run_init] DEBUG init version:0.0.0 force:False 05:55:10 2025-03-13 05:55:10,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-can_PR-10/.semver 05:55:10 2025-03-13 05:55:10,214 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-can.git /w/workspace/edgexfoundry_device-can_PR-10/.semver 05:55:10 2025-03-13 05:55:10,214 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-can.git', '/w/workspace/edgexfoundry_device-can_PR-10/.semver'], cwd=/w/workspace/edgexfoundry_device-can_PR-10, universal_newlines=False, shell=None, istream=None) 05:55:11 2025-03-13 05:55:10,894 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-can_PR-10/.git/info/exclude 05:55:11 2025-03-13 05:55:10,894 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-can_PR-10/.semver/PR-10 with force:False 05:55:11 2025-03-13 05:55:10,894 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-can_PR-10/.semver/PR-10 05:55:11 2025-03-13 05:55:10,899 [execute] INFO git cat-file --batch-check 05:55:11 2025-03-13 05:55:10,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-can_PR-10/.semver, universal_newlines=False, shell=None, istream=) 05:55:11 2025-03-13 05:55:10,905 [execute] INFO git cat-file --batch 05:55:11 2025-03-13 05:55:10,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-can_PR-10/.semver, universal_newlines=False, shell=None, istream=) 05:55:11 2025-03-13 05:55:10,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-can_PR-10/.semver/PR-10 05:55:11 0.0.0 [Pipeline] } 05:55:11 $ docker exec --env ******** --env ******** 27679869101d13417c04968361ef8b0a0c0baeeb62cf3d87d8711f2a4b0a489a ssh-agent -k 05:55:11 unset SSH_AUTH_SOCK; 05:55:11 unset SSH_AGENT_PID; 05:55:11 echo Agent pid 76 killed; 05:55:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:11 + git semver [Pipeline] } 05:55:12 $ docker stop --time=1 27679869101d13417c04968361ef8b0a0c0baeeb62cf3d87d8711f2a4b0a489a 05:55:13 $ docker rm -f --volumes 27679869101d13417c04968361ef8b0a0c0baeeb62cf3d87d8711f2a4b0a489a [Pipeline] // withDockerContainer [Pipeline] sh 05:55:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:55:14 Stashed 1 file(s) [Pipeline] echo 05:55:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:15 provisioning config files... 05:55:15 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-10@tmp/config12715826959511437856tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:55:15 ---> ****-login.sh 05:55:15 nexus3.edgexfoundry.org:10001 05:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:15 Configure a credential helper to remove this warning. See 05:55:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:15 05:55:15 Login Succeeded 05:55:15 nexus3.edgexfoundry.org:10002 05:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:15 Configure a credential helper to remove this warning. See 05:55:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:15 05:55:15 Login Succeeded 05:55:15 nexus3.edgexfoundry.org:10003 05:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:15 Configure a credential helper to remove this warning. See 05:55:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:15 05:55:15 Login Succeeded 05:55:15 nexus3.edgexfoundry.org:10004 05:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:15 Configure a credential helper to remove this warning. See 05:55:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:15 05:55:15 Login Succeeded 05:55:15 ****.io 05:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:55:15 Configure a credential helper to remove this warning. See 05:55:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:55:15 05:55:15 Login Succeeded 05:55:15 ---> ****-login.sh ends [Pipeline] } 05:55:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:55:16 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:55:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:55:16 ========================================================= 05:55:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:55:16 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:16 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 05:55:16 Sending build context to Docker daemon 279kB 05:55:16 Step 1/12 : ARG BASE_TEMPORARY=alpine:3.16 05:55:16 Step 2/12 : FROM ${BASE_TEMPORARY} 05:55:17 3.16: Pulling from library/alpine 05:55:17 a88dc8b54e91: Pulling fs layer 05:55:17 a88dc8b54e91: Verifying Checksum 05:55:17 a88dc8b54e91: Download complete 05:55:17 a88dc8b54e91: Pull complete 05:55:17 Digest: sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 05:55:17 Status: Downloaded newer image for alpine:3.16 05:55:17 ---> d49a5025be10 05:55:17 Step 3/12 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:55:17 ---> Running in db87a4fcfd2d 05:55:17 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:55:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:55:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:55:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:55:18 Removing intermediate container db87a4fcfd2d 05:55:18 ---> 62ec18ed5c81 05:55:18 Step 4/12 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:55:18 ---> Running in 2469ad221b95 05:55:19 Removing intermediate container 2469ad221b95 05:55:19 ---> 56bf31306624 05:55:19 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 05:55:19 ---> Running in 783e208a9cd0 05:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:55:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:55:20 (1/80) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 05:55:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:20 (2/80) Installing libgcc (11.2.1_git20220219-r2) 05:55:20 (3/80) Installing libstdc++ (11.2.1_git20220219-r2) 05:55:20 (4/80) Installing binutils (2.38-r3) 05:55:20 (5/80) Installing libmagic (5.41-r0) 05:55:20 (6/80) Installing file (5.41-r0) 05:55:20 (7/80) Installing libgomp (11.2.1_git20220219-r2) 05:55:20 (8/80) Installing libatomic (11.2.1_git20220219-r2) 05:55:20 (9/80) Installing gmp (6.2.1-r2) 05:55:20 (10/80) Installing isl22 (0.22-r0) 05:55:20 (11/80) Installing mpfr4 (4.1.0-r0) 05:55:20 (12/80) Installing mpc1 (1.2.1-r0) 05:55:20 (13/80) Installing gcc (11.2.1_git20220219-r2) 05:55:21 (14/80) Installing musl-dev (1.2.3-r4) 05:55:21 (15/80) Installing libc-dev (0.7.2-r3) 05:55:21 (16/80) Installing g++ (11.2.1_git20220219-r2) 05:55:21 (17/80) Installing make (4.3-r0) 05:55:21 (18/80) Installing fortify-headers (1.1-r1) 05:55:21 (19/80) Installing patch (2.7.6-r7) 05:55:21 (20/80) Installing build-base (0.5-r3) 05:55:21 (21/80) Installing libacl (2.3.1-r0) 05:55:21 (22/80) Installing libbz2 (1.0.8-r1) 05:55:21 (23/80) Installing expat (2.6.2-r0) 05:55:21 (24/80) Installing lz4-libs (1.9.3-r1) 05:55:21 (25/80) Installing xz-libs (5.2.5-r1) 05:55:21 (26/80) Installing zstd-libs (1.5.2-r1) 05:55:21 (27/80) Installing libarchive (3.7.4-r0) 05:55:21 (28/80) Installing ca-certificates (20240226-r0) 05:55:21 (29/80) Installing brotli-libs (1.0.9-r6) 05:55:21 (30/80) Installing nghttp2-libs (1.47.0-r2) 05:55:21 (31/80) Installing libcurl (8.5.0-r0) 05:55:21 (32/80) Installing ncurses-terminfo-base (6.3_p20220521-r1) 05:55:21 (33/80) Installing ncurses-libs (6.3_p20220521-r1) 05:55:21 (34/80) Installing rhash-libs (1.4.2-r2) 05:55:21 (35/80) Installing libuv (1.44.1-r0) 05:55:21 (36/80) Installing cmake (3.23.5-r0) 05:55:21 (37/80) Installing pkgconf (1.8.1-r0) 05:55:21 (38/80) Installing openssl-dev (1.1.1w-r1) 05:55:21 (39/80) Installing nghttp2-dev (1.47.0-r2) 05:55:21 (40/80) Installing zlib-dev (1.2.12-r3) 05:55:21 (41/80) Installing brotli-dev (1.0.9-r6) 05:55:21 (42/80) Installing curl-dev (8.5.0-r0) 05:55:21 (43/80) Installing dumb-init (1.2.5-r1) 05:55:22 (44/80) Installing pcre2 (10.42-r0) 05:55:22 (45/80) Installing git (2.36.6-r0) 05:55:22 (46/80) Installing hiredis (1.0.2-r0) 05:55:22 (47/80) Installing hiredis-dev (1.0.2-r0) 05:55:22 (48/80) Installing yaml (0.2.5-r0) 05:55:22 (49/80) Installing libcbor (0.9.0-r1) 05:55:22 (50/80) Installing iotech-iot-1.5 (1.5.5-r0) 05:55:23 (51/80) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:55:23 (52/80) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:55:23 (53/80) Installing libcbor-dev (0.9.0-r1) 05:55:23 (54/80) Installing libexecinfo (1.1-r1) 05:55:23 (55/80) Installing libexecinfo-dev (1.1-r1) 05:55:23 (56/80) Installing nettle (3.7.3-r0) 05:55:23 (57/80) Installing libffi (3.4.2-r1) 05:55:23 (58/80) Installing p11-kit (0.24.1-r0) 05:55:23 (59/80) Installing libtasn1 (4.18.0-r1) 05:55:23 (60/80) Installing libunistring (1.0-r0) 05:55:23 (61/80) Installing gnutls (3.7.7-r1) 05:55:23 (62/80) Installing libmicrohttpd (0.9.75-r0) 05:55:23 (63/80) Installing gnutls-c++ (3.7.7-r1) 05:55:23 (64/80) Installing libgmpxx (6.2.1-r2) 05:55:23 (65/80) Installing gmp-dev (6.2.1-r2) 05:55:23 (66/80) Installing nettle-dev (3.7.3-r0) 05:55:23 (67/80) Installing libtasn1-progs (4.18.0-r1) 05:55:23 (68/80) Installing libtasn1-dev (4.18.0-r1) 05:55:23 (69/80) Installing p11-kit-dev (0.24.1-r0) 05:55:23 (70/80) Installing gnutls-dev (3.7.7-r1) 05:55:23 (71/80) Installing libmicrohttpd-dev (0.9.75-r0) 05:55:24 (72/80) Installing linux-headers (5.16.7-r1) 05:55:24 (73/80) Installing ncurses-dev (6.3_p20220521-r1) 05:55:24 (74/80) Installing libblkid (2.38-r1) 05:55:24 (75/80) Installing libuuid (2.38-r1) 05:55:24 (76/80) Installing libfdisk (2.38-r1) 05:55:24 (77/80) Installing libmount (2.38-r1) 05:55:24 (78/80) Installing libsmartcols (2.38-r1) 05:55:24 (79/80) Installing util-linux-dev (2.38-r1) 05:55:24 (80/80) Installing yaml-dev (0.2.5-r0) 05:55:24 Executing busybox-1.35.0-r17.trigger 05:55:24 Executing ca-certificates-20240226-r0.trigger 05:55:24 OK: 281 MiB in 93 packages 05:55:28 Removing intermediate container 783e208a9cd0 05:55:28 ---> 75c0614d7708 05:55:28 Step 6/12 : RUN apk --no-cache upgrade 05:55:28 ---> Running in ddd219a1951e 05:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:55:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:55:29 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:29 (1/4) Upgrading busybox (1.35.0-r17 -> 1.35.0-r18) 05:55:29 Executing busybox-1.35.0-r18.post-upgrade 05:55:29 (2/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:55:29 (3/4) Upgrading ssl_client (1.35.0-r17 -> 1.35.0-r18) 05:55:29 (4/4) Upgrading musl-utils (1.2.3-r3 -> 1.2.3-r4) 05:55:29 Executing busybox-1.35.0-r18.trigger 05:55:29 Executing ca-certificates-20240226-r0.trigger 05:55:29 OK: 281 MiB in 93 packages 05:55:30 Removing intermediate container ddd219a1951e 05:55:30 ---> 153debe38f1f 05:55:30 Step 7/12 : COPY scripts /device-can/scripts 05:55:30 ---> 62cfdaf2b871 05:55:30 Step 8/12 : COPY src /device-can/src/ 05:55:30 ---> be12c08d7a11 05:55:30 Step 9/12 : COPY VERSION /device-can/ 05:55:30 ---> 280291dbcb44 05:55:30 Step 10/12 : WORKDIR /device-can 05:55:30 ---> Running in 90e0cd84e5fc 05:55:30 Removing intermediate container 90e0cd84e5fc 05:55:30 ---> a831960264ef 05:55:30 Step 11/12 : RUN /device-can/scripts/build_deps.sh 1 05:55:30 ---> Running in 77c8ac638167 05:55:30 + BUILD_CSDK=1 05:55:30 + CSDK_VERSION=4.0.0 05:55:30 + '[' -d deps ] 05:55:30 + mkdir deps 05:55:30 + cd /device-can/deps 05:55:30 + '[' 1 '=' 1 ] 05:55:30 + cd /device-can/deps 05:55:30 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 05:55:30 Connecting to github.com (140.82.112.4:443) 05:55:31 Connecting to codeload.github.com (140.82.112.9:443) 05:55:31 saving to 'v4.0.0.zip' 05:55:31 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 05:55:31 'v4.0.0.zip' saved 05:55:31 + unzip v4.0.0.zip 05:55:31 Archive: v4.0.0.zip 05:55:31 creating: device-sdk-c-4.0.0/ 05:55:31 creating: device-sdk-c-4.0.0/.github/ 05:55:31 inflating: device-sdk-c-4.0.0/.github/Contributing.md 05:55:31 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 05:55:31 inflating: device-sdk-c-4.0.0/.github/semantic.yml 05:55:31 creating: device-sdk-c-4.0.0/.github/workflows/ 05:55:31 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 05:55:31 inflating: device-sdk-c-4.0.0/.gitignore 05:55:31 inflating: device-sdk-c-4.0.0/Attribution.txt 05:55:31 inflating: device-sdk-c-4.0.0/CHANGELOG.md 05:55:31 inflating: device-sdk-c-4.0.0/Doxyfile 05:55:31 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 05:55:31 inflating: device-sdk-c-4.0.0/Jenkinsfile 05:55:31 inflating: device-sdk-c-4.0.0/LICENSE 05:55:31 inflating: device-sdk-c-4.0.0/Makefile 05:55:31 inflating: device-sdk-c-4.0.0/OWNERS.md 05:55:31 inflating: device-sdk-c-4.0.0/README.IOT.md 05:55:31 inflating: device-sdk-c-4.0.0/README.md 05:55:31 inflating: device-sdk-c-4.0.0/README.v3.md 05:55:31 creating: device-sdk-c-4.0.0/docs/ 05:55:31 inflating: device-sdk-c-4.0.0/docs/configuration.md 05:55:31 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 05:55:31 inflating: device-sdk-c-4.0.0/docs/metrics.md 05:55:31 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 05:55:31 inflating: device-sdk-c-4.0.0/docs/startup.md 05:55:31 creating: device-sdk-c-4.0.0/include/ 05:55:31 creating: device-sdk-c-4.0.0/include/devsdk/ 05:55:31 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 05:55:31 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 05:55:31 creating: device-sdk-c-4.0.0/include/edgex/ 05:55:31 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 05:55:31 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 05:55:31 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 05:55:31 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 05:55:31 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 05:55:31 creating: device-sdk-c-4.0.0/scripts/ 05:55:31 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 05:55:31 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 05:55:31 inflating: device-sdk-c-4.0.0/scripts/build.sh 05:55:31 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 05:55:31 creating: device-sdk-c-4.0.0/src/ 05:55:31 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 05:55:31 creating: device-sdk-c-4.0.0/src/c/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/api.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/bus.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/bus.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/callback3.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/callback3.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/config.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/config.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/correlation.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/correlation.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/data.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/data.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 05:55:31 inflating: device-sdk-c-4.0.0/src/c/device.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/device.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/devman.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/devmap.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/devmap.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/devutil.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/discovery.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/discovery.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/file/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/random/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 05:55:31 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 05:55:31 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 05:55:31 inflating: device-sdk-c-4.0.0/src/c/filesys.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/filesys.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/keeper.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/keeper.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/map.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/map.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/metadata.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/metadata.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/metrics.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/opstate.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/opstate.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/parson.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/parson.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/profiles.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/profiles.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/registry.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/registry.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/rest.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/rest.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/secrets.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/secrets.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/service.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/service.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/transform.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/transform.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/validate.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/validate.h 05:55:31 inflating: device-sdk-c-4.0.0/src/c/watchers.c 05:55:31 inflating: device-sdk-c-4.0.0/src/c/watchers.h 05:55:31 creating: device-sdk-c-4.0.0/src/cmake/ 05:55:31 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 05:55:31 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 05:55:31 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 05:55:31 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 05:55:31 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 05:55:31 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 05:55:31 + cd device-sdk-c-4.0.0 05:55:31 + ./scripts/build.sh 05:55:31 + CPPCHECK=false 05:55:31 + DOCGEN=false 05:55:31 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:55:31 + '[' 0 -gt 0 ] 05:55:31 + readlink -f ./scripts/build.sh 05:55:31 + dirname /device-can/deps/device-sdk-c-4.0.0/scripts/build.sh 05:55:31 + dirname /device-can/deps/device-sdk-c-4.0.0/scripts 05:55:31 + ROOT=/device-can/deps/device-sdk-c-4.0.0 05:55:31 + cd /device-can/deps/device-sdk-c-4.0.0 05:55:31 + mkdir -p /device-can/deps/device-sdk-c-4.0.0/build/release 05:55:31 + cd /device-can/deps/device-sdk-c-4.0.0/build/release 05:55:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/deps/device-sdk-c-4.0.0/src 05:55:31 -- The C compiler identification is GNU 11.2.1 05:55:31 -- Detecting C compiler ABI info 05:55:31 -- Detecting C compiler ABI info - done 05:55:31 -- Check for working C compiler: /usr/bin/cc - skipped 05:55:31 -- Detecting C compile features 05:55:31 -- Detecting C compile features - done 05:55:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:55:31 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 05:55:31 -- Found LIBYAML: /usr/lib/libyaml.so 05:55:31 -- Found LIBUUID: /usr/lib/libuuid.so 05:55:31 -- Found LIBCBOR: /usr/lib/libcbor.so 05:55:31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:55:31 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:55:31 -- /opt/iotech/iot/1.5/include 05:55:31 -- C SDK 0.0.0 for Linux 05:55:31 -- Performing Test CSDK_HAVE_ATOMIC 05:55:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:55:31 -- Found Curses: /usr/lib/libcurses.so 05:55:31 -- Configuring done 05:55:31 -- Generating done 05:55:31 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0/build/release 05:55:31 + make all package 05:55:31 + tee release.log 05:55:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:55:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:55:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:55:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:55:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:55:32 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:55:32 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:55:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:55:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:55:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:55:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:55:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:55:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:55:33 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:55:33 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:55:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:55:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:55:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:55:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:55:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:55:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:55:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:55:36 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:55:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:55:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:55:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:55:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:55:37 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:55:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:55:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:55:37 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:55:37 /device-can/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 05:55:37 /device-can/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 05:55:37 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:55:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:55:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:55:38 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:55:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:55:38 [ 68%] Linking C shared library libcsdk.so 05:55:38 [ 68%] Built target csdk 05:55:38 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:55:38 [ 72%] Linking C executable template 05:55:38 [ 72%] Built target template 05:55:38 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:55:38 [ 76%] Linking C executable device-counter 05:55:38 [ 76%] Built target device-counter 05:55:38 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:55:38 [ 80%] Linking C executable device-random 05:55:38 [ 80%] Built target device-random 05:55:38 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:55:39 [ 84%] Linking C executable device-gyro 05:55:39 [ 84%] Built target device-gyro 05:55:39 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:55:39 [ 88%] Linking C executable device-bitfields 05:55:39 [ 88%] Built target device-bitfields 05:55:39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:55:39 [ 92%] Linking C executable template-discovery 05:55:39 [ 92%] Built target template-discovery 05:55:39 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:55:39 [ 96%] Linking C executable device-file 05:55:39 [ 96%] Built target device-file 05:55:39 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:55:39 [100%] Linking C executable device-terminal 05:55:39 [100%] Built target device-terminal 05:55:39 Run CPack packaging tool... 05:55:39 CPack: Create package using TGZ 05:55:39 CPack: Install projects 05:55:39 CPack: - Run preinstall target for: Csdk 05:55:40 CPack: - Install project: Csdk [] 05:55:40 CPack: Create package 05:55:40 CPack: - package: /device-can/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 05:55:40 + '[' false '=' true ] 05:55:40 + '[' false '=' true ] 05:55:40 + mkdir -p /device-can/deps/device-sdk-c-4.0.0/build/debug 05:55:40 + cd /device-can/deps/device-sdk-c-4.0.0/build/debug 05:55:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-can/deps/device-sdk-c-4.0.0/src 05:55:40 -- The C compiler identification is GNU 11.2.1 05:55:40 -- Detecting C compiler ABI info 05:55:40 -- Detecting C compiler ABI info - done 05:55:40 -- Check for working C compiler: /usr/bin/cc - skipped 05:55:40 -- Detecting C compile features 05:55:40 -- Detecting C compile features - done 05:55:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:55:40 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 05:55:40 -- Found LIBYAML: /usr/lib/libyaml.so 05:55:40 -- Found LIBUUID: /usr/lib/libuuid.so 05:55:40 -- Found LIBCBOR: /usr/lib/libcbor.so 05:55:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:55:40 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:55:40 -- /opt/iotech/iot/1.5/include 05:55:40 -- C SDK 0.0.0 for Linux 05:55:40 -- Performing Test CSDK_HAVE_ATOMIC 05:55:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:55:40 -- Found Curses: /usr/lib/libcurses.so 05:55:40 -- Configuring done 05:55:40 -- Generating done 05:55:40 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0/build/debug 05:55:40 + make 05:55:40 + tee debug.log 05:55:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:55:40 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:55:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:55:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:55:40 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:55:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:55:41 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:55:41 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:55:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:55:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:55:41 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:55:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:55:41 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:55:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:55:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:55:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:55:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:55:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:55:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:55:42 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:55:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:55:42 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:55:42 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:55:42 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:55:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:55:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:55:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:55:43 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:55:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:55:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:55:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:55:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:55:43 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:55:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:55:43 [ 68%] Linking C shared library libcsdk.so 05:55:43 [ 68%] Built target csdk 05:55:44 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:55:44 [ 72%] Linking C executable template 05:55:44 [ 72%] Built target template 05:55:44 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:55:44 [ 76%] Linking C executable device-counter 05:55:44 [ 76%] Built target device-counter 05:55:44 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:55:44 [ 80%] Linking C executable device-random 05:55:44 [ 80%] Built target device-random 05:55:44 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:55:44 [ 84%] Linking C executable device-gyro 05:55:44 [ 84%] Built target device-gyro 05:55:44 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:55:44 [ 88%] Linking C executable device-bitfields 05:55:44 [ 88%] Built target device-bitfields 05:55:44 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:55:44 [ 92%] Linking C executable template-discovery 05:55:44 [ 92%] Built target template-discovery 05:55:44 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:55:44 [ 96%] Linking C executable device-file 05:55:45 [ 96%] Built target device-file 05:55:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:55:45 [100%] Linking C executable device-terminal 05:55:45 [100%] Built target device-terminal 05:55:45 + cp -rf include/devsdk include/edgex /usr/include/ 05:55:45 + cp build/release/c/libcsdk.so /usr/lib/ 05:55:45 + mkdir -p /usr/share/doc/edgex-csdk 05:55:45 + cp Attribution.txt /usr/share/doc/edgex-csdk 05:55:45 + cp LICENSE /usr/share/doc/edgex-csdk 05:55:45 + rm -rf /device-can/deps 05:55:45 Removing intermediate container 77c8ac638167 05:55:45 ---> 4907cc228adf 05:55:45 Step 12/12 : RUN /device-can/scripts/build.sh 05:55:45 ---> Running in 776d342aee50 05:55:45 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:55:45 + readlink -f /device-can/scripts/build.sh 05:55:45 + dirname /device-can/scripts/build.sh 05:55:45 + dirname /device-can/scripts 05:55:45 /device-can 05:55:45 + ROOT=/device-can 05:55:45 + echo /device-can 05:55:45 + cd /device-can 05:55:45 + mkdir -p /device-can/build/release 05:55:45 + cd /device-can/build/release 05:55:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/src 05:55:45 -- The C compiler identification is GNU 11.2.1 05:55:45 -- Detecting C compiler ABI info 05:55:45 -- Detecting C compiler ABI info - done 05:55:45 -- Check for working C compiler: /usr/bin/cc - skipped 05:55:45 -- Detecting C compile features 05:55:45 -- Detecting C compile features - done 05:55:45 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:55:45 -- /opt/iotech/iot/1.5/include 05:55:45 -- Found LIBCSDK: /usr/lib/libcsdk.so 05:55:45 -- Configuring done 05:55:45 -- Generating done 05:55:45 -- Build files have been written to: /device-can/build/release 05:55:45 + make all 05:55:45 + tee release.log 05:55:45 [ 50%] Building C object CMakeFiles/device-can.dir/c/device-can.c.o 05:55:45 In file included from /usr/include/devsdk/devsdk.h:18, 05:55:45 from /device-can/src/c/device-can.h:24, 05:55:45 from /device-can/src/c/device-can.c:27: 05:55:45 /device-can/src/c/device-can.c: In function 'can_get_handler': 05:55:45 /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=] 05:55:45 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 05:55:45 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:55:45 178 | requests[i].resource->type); 05:55:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:55:45 | | 05:55:45 | iot_typecode_t 05:55:45 /device-can/src/c/device-can.c:177:80: note: format string is defined here 05:55:45 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 05:55:45 | ~^ 05:55:45 | | 05:55:45 | int 05:55:46 [100%] Linking C executable device-can 05:55:46 [100%] Built target device-can 05:55:46 Removing intermediate container 776d342aee50 05:55:46 ---> 51f0eaef223f 05:55:46 [Warning] One or more build-args [BASE] were not consumed 05:55:46 Successfully built 51f0eaef223f 05:55:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:47 + docker inspect -f . ci-base-image-x86_64 05:55:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:47 prd-ubuntu20.04-docker-8c-8g-41243 does not seem to be running inside a container 05:55:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-can_PR-10 -v /w/workspace/edgexfoundry_device-can_PR-10:/w/workspace/edgexfoundry_device-can_PR-10:rw,z -v /w/workspace/edgexfoundry_device-can_PR-10@tmp:/w/workspace/edgexfoundry_device-can_PR-10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:47 $ docker top 43ad42c1a481698ee2d4b2181fe9009382729453adea415d49e8a51d1f769908 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:48 + make test 05:55:48 build/release/device-can/device-can [Pipeline] } 05:55:48 $ docker stop --time=1 43ad42c1a481698ee2d4b2181fe9009382729453adea415d49e8a51d1f769908 05:55:49 $ docker rm -f --volumes 43ad42c1a481698ee2d4b2181fe9009382729453adea415d49e8a51d1f769908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:50 + ls -al . 05:55:50 total 76 05:55:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 05:55 . 05:55:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 05:54 .. 05:55:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 05:55 .git 05:55:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 05:54 .github 05:55:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 05:55 .semver 05:55:50 -rw-rw-r-- 1 jenkins jenkins 383 Mar 13 05:54 Attribution.txt 05:55:50 -rw-rw-r-- 1 jenkins jenkins 1397 Mar 13 05:54 CHANGELOG.md 05:55:50 -rwxrwxr-x 1 jenkins jenkins 677 Mar 13 05:54 GOVERNANCE.md 05:55:50 -rwxrwxr-x 1 jenkins jenkins 762 Mar 13 05:54 Jenkinsfile 05:55:50 -rwxrwxr-x 1 jenkins jenkins 10174 Mar 13 05:54 LICENSE 05:55:50 -rwxrwxr-x 1 jenkins jenkins 801 Mar 13 05:54 Makefile 05:55:50 -rwxrwxr-x 1 jenkins jenkins 616 Mar 13 05:54 OWNERS.md 05:55:50 -rwxrwxr-x 1 jenkins jenkins 4090 Mar 13 05:54 README.md 05:55:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 05:55 VERSION 05:55:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 05:54 res 05:55:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 05:54 scripts 05:55:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 05:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:50 + 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=699ccf20b837d63b7277a51d2fd3e5320489b949 --label arch=amd64 --label version=0.0.0 . 05:55:50 Sending build context to Docker daemon 279kB 05:55:50 Step 1/30 : ARG BASE_TEMPORARY=alpine:3.16 05:55:50 Step 2/30 : FROM ${BASE_TEMPORARY} as builder 05:55:50 ---> d49a5025be10 05:55:50 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 05:55:50 ---> Using cache 05:55:50 ---> 62ec18ed5c81 05:55:50 Step 4/30 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:55:50 ---> Using cache 05:55:50 ---> 56bf31306624 05:55:50 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 05:55:50 ---> Running in 5dcf6a5e447a 05:55:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:55:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:55:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:55:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:51 (1/79) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 05:55:51 (2/79) Installing libgcc (11.2.1_git20220219-r2) 05:55:51 (3/79) Installing libstdc++ (11.2.1_git20220219-r2) 05:55:51 (4/79) Installing binutils (2.38-r3) 05:55:52 (5/79) Installing libmagic (5.41-r0) 05:55:52 (6/79) Installing file (5.41-r0) 05:55:52 (7/79) Installing libgomp (11.2.1_git20220219-r2) 05:55:52 (8/79) Installing libatomic (11.2.1_git20220219-r2) 05:55:52 (9/79) Installing gmp (6.2.1-r2) 05:55:52 (10/79) Installing isl22 (0.22-r0) 05:55:52 (11/79) Installing mpfr4 (4.1.0-r0) 05:55:52 (12/79) Installing mpc1 (1.2.1-r0) 05:55:52 (13/79) Installing gcc (11.2.1_git20220219-r2) 05:55:52 (14/79) Installing musl-dev (1.2.3-r4) 05:55:52 (15/79) Installing libc-dev (0.7.2-r3) 05:55:52 (16/79) Installing g++ (11.2.1_git20220219-r2) 05:55:53 (17/79) Installing make (4.3-r0) 05:55:53 (18/79) Installing fortify-headers (1.1-r1) 05:55:53 (19/79) Installing patch (2.7.6-r7) 05:55:53 (20/79) Installing build-base (0.5-r3) 05:55:53 (21/79) Installing libacl (2.3.1-r0) 05:55:53 (22/79) Installing libbz2 (1.0.8-r1) 05:55:53 (23/79) Installing expat (2.6.2-r0) 05:55:53 (24/79) Installing lz4-libs (1.9.3-r1) 05:55:53 (25/79) Installing xz-libs (5.2.5-r1) 05:55:53 (26/79) Installing zstd-libs (1.5.2-r1) 05:55:53 (27/79) Installing libarchive (3.7.4-r0) 05:55:53 (28/79) Installing ca-certificates (20240226-r0) 05:55:53 (29/79) Installing brotli-libs (1.0.9-r6) 05:55:53 (30/79) Installing nghttp2-libs (1.47.0-r2) 05:55:53 (31/79) Installing libcurl (8.5.0-r0) 05:55:53 (32/79) Installing ncurses-terminfo-base (6.3_p20220521-r1) 05:55:53 (33/79) Installing ncurses-libs (6.3_p20220521-r1) 05:55:53 (34/79) Installing rhash-libs (1.4.2-r2) 05:55:53 (35/79) Installing libuv (1.44.1-r0) 05:55:53 (36/79) Installing cmake (3.23.5-r0) 05:55:53 (37/79) Installing pkgconf (1.8.1-r0) 05:55:53 (38/79) Installing openssl-dev (1.1.1w-r1) 05:55:53 (39/79) Installing nghttp2-dev (1.47.0-r2) 05:55:53 (40/79) Installing zlib-dev (1.2.12-r3) 05:55:53 (41/79) Installing brotli-dev (1.0.9-r6) 05:55:53 (42/79) Installing curl-dev (8.5.0-r0) 05:55:53 (43/79) Installing pcre2 (10.42-r0) 05:55:53 (44/79) Installing git (2.36.6-r0) 05:55:53 (45/79) Installing hiredis (1.0.2-r0) 05:55:53 (46/79) Installing hiredis-dev (1.0.2-r0) 05:55:53 (47/79) Installing yaml (0.2.5-r0) 05:55:53 (48/79) Installing libcbor (0.9.0-r1) 05:55:53 (49/79) Installing iotech-iot-1.5 (1.5.5-r0) 05:55:54 (50/79) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:55:54 (51/79) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:55:54 (52/79) Installing libcbor-dev (0.9.0-r1) 05:55:54 (53/79) Installing libexecinfo (1.1-r1) 05:55:54 (54/79) Installing libexecinfo-dev (1.1-r1) 05:55:54 (55/79) Installing nettle (3.7.3-r0) 05:55:54 (56/79) Installing libffi (3.4.2-r1) 05:55:54 (57/79) Installing p11-kit (0.24.1-r0) 05:55:54 (58/79) Installing libtasn1 (4.18.0-r1) 05:55:54 (59/79) Installing libunistring (1.0-r0) 05:55:54 (60/79) Installing gnutls (3.7.7-r1) 05:55:54 (61/79) Installing libmicrohttpd (0.9.75-r0) 05:55:54 (62/79) Installing gnutls-c++ (3.7.7-r1) 05:55:54 (63/79) Installing libgmpxx (6.2.1-r2) 05:55:54 (64/79) Installing gmp-dev (6.2.1-r2) 05:55:54 (65/79) Installing nettle-dev (3.7.3-r0) 05:55:54 (66/79) Installing libtasn1-progs (4.18.0-r1) 05:55:54 (67/79) Installing libtasn1-dev (4.18.0-r1) 05:55:54 (68/79) Installing p11-kit-dev (0.24.1-r0) 05:55:54 (69/79) Installing gnutls-dev (3.7.7-r1) 05:55:54 (70/79) Installing libmicrohttpd-dev (0.9.75-r0) 05:55:54 (71/79) Installing linux-headers (5.16.7-r1) 05:55:54 (72/79) Installing ncurses-dev (6.3_p20220521-r1) 05:55:54 (73/79) Installing libblkid (2.38-r1) 05:55:54 (74/79) Installing libuuid (2.38-r1) 05:55:54 (75/79) Installing libfdisk (2.38-r1) 05:55:54 (76/79) Installing libmount (2.38-r1) 05:55:54 (77/79) Installing libsmartcols (2.38-r1) 05:55:54 (78/79) Installing util-linux-dev (2.38-r1) 05:55:54 (79/79) Installing yaml-dev (0.2.5-r0) 05:55:54 Executing busybox-1.35.0-r17.trigger 05:55:54 Executing ca-certificates-20240226-r0.trigger 05:55:54 OK: 281 MiB in 92 packages 05:55:59 Removing intermediate container 5dcf6a5e447a 05:55:59 ---> 9cf39d75c077 05:55:59 Step 6/30 : COPY scripts /device-can/scripts 05:55:59 ---> 25e05fbbd534 05:55:59 Step 7/30 : COPY src /device-can/src/ 05:55:59 ---> f35db0e0190b 05:55:59 Step 8/30 : COPY VERSION /device-can/ 05:55:59 ---> 2a5bb77ad398 05:55:59 Step 9/30 : WORKDIR /device-can 05:55:59 ---> Running in fa26881fa341 05:55:59 Removing intermediate container fa26881fa341 05:55:59 ---> a21afcf3836f 05:55:59 Step 10/30 : RUN /device-can/scripts/build_deps.sh 1 05:55:59 ---> Running in dca06d89c640 05:56:00 + BUILD_CSDK=1 05:56:00 + CSDK_VERSION=4.0.0 05:56:00 + '[' -d deps ] 05:56:00 + mkdir deps 05:56:00 + cd /device-can/deps 05:56:00 + '[' 1 '=' 1 ] 05:56:00 + cd /device-can/deps 05:56:00 + wget https://github.com/edgexfoundry/device-sdk-c/archive/v4.0.0.zip 05:56:00 Connecting to github.com (140.82.114.4:443) 05:56:00 Connecting to codeload.github.com (140.82.112.10:443) 05:56:00 saving to 'v4.0.0.zip' 05:56:00 v4.0.0.zip 100% |********************************| 245k 0:00:00 ETA 05:56:00 'v4.0.0.zip' saved 05:56:00 + unzip v4.0.0.zip 05:56:00 Archive: v4.0.0.zip 05:56:00 creating: device-sdk-c-4.0.0/ 05:56:00 creating: device-sdk-c-4.0.0/.github/ 05:56:00 inflating: device-sdk-c-4.0.0/.github/Contributing.md 05:56:00 inflating: device-sdk-c-4.0.0/.github/PULL_REQUEST_TEMPLATE.md 05:56:00 inflating: device-sdk-c-4.0.0/.github/semantic.yml 05:56:00 creating: device-sdk-c-4.0.0/.github/workflows/ 05:56:00 inflating: device-sdk-c-4.0.0/.github/workflows/release.yml 05:56:00 inflating: device-sdk-c-4.0.0/.gitignore 05:56:00 inflating: device-sdk-c-4.0.0/Attribution.txt 05:56:00 inflating: device-sdk-c-4.0.0/CHANGELOG.md 05:56:00 inflating: device-sdk-c-4.0.0/Doxyfile 05:56:00 inflating: device-sdk-c-4.0.0/GOVERNANCE.md 05:56:00 inflating: device-sdk-c-4.0.0/Jenkinsfile 05:56:00 inflating: device-sdk-c-4.0.0/LICENSE 05:56:00 inflating: device-sdk-c-4.0.0/Makefile 05:56:00 inflating: device-sdk-c-4.0.0/OWNERS.md 05:56:00 inflating: device-sdk-c-4.0.0/README.IOT.md 05:56:00 inflating: device-sdk-c-4.0.0/README.md 05:56:00 inflating: device-sdk-c-4.0.0/README.v3.md 05:56:00 creating: device-sdk-c-4.0.0/docs/ 05:56:00 inflating: device-sdk-c-4.0.0/docs/configuration.md 05:56:00 inflating: device-sdk-c-4.0.0/docs/deviceprofiles.md 05:56:00 inflating: device-sdk-c-4.0.0/docs/metrics.md 05:56:00 inflating: device-sdk-c-4.0.0/docs/servicewritersguide.md 05:56:00 inflating: device-sdk-c-4.0.0/docs/startup.md 05:56:00 creating: device-sdk-c-4.0.0/include/ 05:56:00 creating: device-sdk-c-4.0.0/include/devsdk/ 05:56:00 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk-base.h 05:56:00 inflating: device-sdk-c-4.0.0/include/devsdk/devsdk.h 05:56:00 creating: device-sdk-c-4.0.0/include/edgex/ 05:56:00 inflating: device-sdk-c-4.0.0/include/edgex/devices.h 05:56:00 inflating: device-sdk-c-4.0.0/include/edgex/edgex-base.h 05:56:00 inflating: device-sdk-c-4.0.0/include/edgex/edgex.h 05:56:00 inflating: device-sdk-c-4.0.0/include/edgex/profiles.h 05:56:00 inflating: device-sdk-c-4.0.0/include/edgex/rest-server.h 05:56:00 creating: device-sdk-c-4.0.0/scripts/ 05:56:00 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine 05:56:00 inflating: device-sdk-c-4.0.0/scripts/Dockerfile.alpine-base 05:56:00 inflating: device-sdk-c-4.0.0/scripts/build.sh 05:56:00 inflating: device-sdk-c-4.0.0/scripts/entrypoint.sh 05:56:00 creating: device-sdk-c-4.0.0/src/ 05:56:00 inflating: device-sdk-c-4.0.0/src/CMakeLists.txt 05:56:00 creating: device-sdk-c-4.0.0/src/c/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/api.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/autoevent.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/autoevent.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/bus-impl.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/bus-mqtt.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/bus.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/bus.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/callback3.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/callback3.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/cmdinfo.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/config.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/config.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/correlation.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/correlation.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/data.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/data.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/defs.h.in 05:56:00 inflating: device-sdk-c-4.0.0/src/c/device.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/device.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/devman.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/devmap.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/devmap.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/devsdk-base.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/devutil.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/discovery.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/discovery.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/dto-read.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/dto-read.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/edgex-logging.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/edgex-rest.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/edgex2.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/errorlist.h 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/README.md 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/README.md 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/device-bitfields.c 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/devices/Bitfields.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/bitfields/res/profiles/Example-Bitfields.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/counters/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/counters/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/counters/README.md 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/counters/device-counter.c 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/devices/Counters.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/counters/res/profiles/Counter.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/discovery/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/README.md 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/devices/readme.txt 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/res/profiles/TemplateProfile.json 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/template.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher1.json 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/discovery/watcher2.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/file/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/file/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/file/README.md 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/file/device-file.c 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/file/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/devices/file1.json 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/lorem.txt 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/file/res/profiles/FileExampleProfile.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/gyro/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/README.md 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/device-gyro.c 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/devices/gyro.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/gyro/res/profiles/Gyro.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/random/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/random/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/random/README.md 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/random/device-random.c 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/random/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/devices/randomdevice1.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/random/res/profiles/RandomExampleProfile.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/res/devices/device1.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/res/profiles/TemplateProfile.json 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/template.c 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/terminal/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/CMakeLists.txt 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/README.md 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/device-terminal.c 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/configuration.yaml 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/devices/terminal.json 05:56:00 creating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/ 05:56:00 inflating: device-sdk-c-4.0.0/src/c/examples/terminal/res/profiles/Terminal.json 05:56:00 inflating: device-sdk-c-4.0.0/src/c/filesys.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/filesys.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/keeper.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/keeper.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/map.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/map.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/metadata.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/metadata.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/metrics.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/opstate.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/opstate.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/parson.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/parson.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/profiles.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/profiles.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/registry-impl.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/registry.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/registry.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/reqdata.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/reqdata.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/request_auth.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/request_auth.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/rest-server.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/rest-server.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/rest.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/rest.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/secrets-impl.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/secrets-insecure.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/secrets-vault.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/secrets.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/secrets.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/service.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/service.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/transform.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/transform.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/validate.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/validate.h 05:56:00 inflating: device-sdk-c-4.0.0/src/c/watchers.c 05:56:00 inflating: device-sdk-c-4.0.0/src/c/watchers.h 05:56:00 creating: device-sdk-c-4.0.0/src/cmake/ 05:56:00 inflating: device-sdk-c-4.0.0/src/cmake/FindIOT.cmake 05:56:00 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBCBOR.cmake 05:56:00 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBMICROHTTP.cmake 05:56:00 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBPAHO.cmake 05:56:00 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBUUID.cmake 05:56:00 inflating: device-sdk-c-4.0.0/src/cmake/FindLIBYAML.cmake 05:56:00 + cd device-sdk-c-4.0.0 05:56:00 + ./scripts/build.sh 05:56:00 + CPPCHECK=false 05:56:00 + DOCGEN=false 05:56:00 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:56:00 + '[' 0 -gt 0 ] 05:56:00 + readlink -f ./scripts/build.sh 05:56:00 + dirname /device-can/deps/device-sdk-c-4.0.0/scripts/build.sh 05:56:00 + dirname /device-can/deps/device-sdk-c-4.0.0/scripts 05:56:00 + ROOT=/device-can/deps/device-sdk-c-4.0.0 05:56:00 + cd /device-can/deps/device-sdk-c-4.0.0 05:56:00 + mkdir -p /device-can/deps/device-sdk-c-4.0.0/build/release 05:56:00 + cd /device-can/deps/device-sdk-c-4.0.0/build/release 05:56:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/deps/device-sdk-c-4.0.0/src 05:56:00 -- The C compiler identification is GNU 11.2.1 05:56:00 -- Detecting C compiler ABI info 05:56:00 -- Detecting C compiler ABI info - done 05:56:00 -- Check for working C compiler: /usr/bin/cc - skipped 05:56:00 -- Detecting C compile features 05:56:00 -- Detecting C compile features - done 05:56:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:56:00 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 05:56:00 -- Found LIBYAML: /usr/lib/libyaml.so 05:56:00 -- Found LIBUUID: /usr/lib/libuuid.so 05:56:00 -- Found LIBCBOR: /usr/lib/libcbor.so 05:56:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:56:00 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:56:00 -- /opt/iotech/iot/1.5/include 05:56:00 -- C SDK 0.0.0 for Linux 05:56:00 -- Performing Test CSDK_HAVE_ATOMIC 05:56:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:56:00 -- Found Curses: /usr/lib/libcurses.so 05:56:00 -- Configuring done 05:56:00 -- Generating done 05:56:00 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0/build/release 05:56:00 + make all package 05:56:00 + tee release.log 05:56:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:56:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:56:01 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:56:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:56:01 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:56:01 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:56:01 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:56:02 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:56:02 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:56:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:56:02 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:56:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:56:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:56:03 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:56:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:56:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:56:03 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:56:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:56:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:56:04 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:56:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:56:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:56:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:56:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:56:05 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:56:05 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:56:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:56:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:56:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:56:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:56:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:56:07 /device-can/deps/device-sdk-c-4.0.0/src/c/service.c: In function 'devsdk_service_start': 05:56:07 /device-can/deps/device-sdk-c-4.0.0/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 05:56:07 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:56:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:56:07 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:56:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:56:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:56:07 [ 68%] Linking C shared library libcsdk.so 05:56:07 [ 68%] Built target csdk 05:56:07 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:56:07 [ 72%] Linking C executable template 05:56:07 [ 72%] Built target template 05:56:07 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:56:07 [ 76%] Linking C executable device-counter 05:56:07 [ 76%] Built target device-counter 05:56:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:56:08 [ 80%] Linking C executable device-random 05:56:08 [ 80%] Built target device-random 05:56:08 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:56:08 [ 84%] Linking C executable device-gyro 05:56:08 [ 84%] Built target device-gyro 05:56:08 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:56:08 [ 88%] Linking C executable device-bitfields 05:56:08 [ 88%] Built target device-bitfields 05:56:08 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:56:08 [ 92%] Linking C executable template-discovery 05:56:08 [ 92%] Built target template-discovery 05:56:08 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:56:08 [ 96%] Linking C executable device-file 05:56:08 [ 96%] Built target device-file 05:56:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:56:09 [100%] Linking C executable device-terminal 05:56:09 [100%] Built target device-terminal 05:56:09 Run CPack packaging tool... 05:56:09 CPack: Create package using TGZ 05:56:09 CPack: Install projects 05:56:09 CPack: - Run preinstall target for: Csdk 05:56:09 CPack: - Install project: Csdk [] 05:56:09 CPack: Create package 05:56:09 CPack: - package: /device-can/deps/device-sdk-c-4.0.0/build/release/csdk-0.0.0.tar.gz generated. 05:56:09 + '[' false '=' true ] 05:56:09 + '[' false '=' true ] 05:56:09 + mkdir -p /device-can/deps/device-sdk-c-4.0.0/build/debug 05:56:09 + cd /device-can/deps/device-sdk-c-4.0.0/build/debug 05:56:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /device-can/deps/device-sdk-c-4.0.0/src 05:56:09 -- The C compiler identification is GNU 11.2.1 05:56:09 -- Detecting C compiler ABI info 05:56:09 -- Detecting C compiler ABI info - done 05:56:09 -- Check for working C compiler: /usr/bin/cc - skipped 05:56:09 -- Detecting C compile features 05:56:09 -- Detecting C compile features - done 05:56:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:56:09 -- Found CURL: /usr/lib/libcurl.so (found version "8.5.0") 05:56:09 -- Found LIBYAML: /usr/lib/libyaml.so 05:56:09 -- Found LIBUUID: /usr/lib/libuuid.so 05:56:09 -- Found LIBCBOR: /usr/lib/libcbor.so 05:56:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:56:09 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:56:09 -- /opt/iotech/iot/1.5/include 05:56:09 -- C SDK 0.0.0 for Linux 05:56:09 -- Performing Test CSDK_HAVE_ATOMIC 05:56:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:56:09 -- Found Curses: /usr/lib/libcurses.so 05:56:09 -- Configuring done 05:56:09 -- Generating done 05:56:09 -- Build files have been written to: /device-can/deps/device-sdk-c-4.0.0/build/debug 05:56:09 + make 05:56:09 + tee debug.log 05:56:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:56:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:56:10 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:56:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:56:10 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:56:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:56:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:56:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:56:10 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:56:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:56:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:56:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:56:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:56:11 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:56:11 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:56:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:56:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:56:11 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:56:11 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:56:11 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:56:11 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:56:11 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:56:11 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:56:12 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:56:12 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:56:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:56:12 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:56:12 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:56:12 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:56:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:56:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:56:12 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:56:12 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:56:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:56:13 [ 68%] Linking C shared library libcsdk.so 05:56:13 [ 68%] Built target csdk 05:56:13 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:56:13 [ 72%] Linking C executable template 05:56:13 [ 72%] Built target template 05:56:13 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:56:13 [ 76%] Linking C executable device-counter 05:56:13 [ 76%] Built target device-counter 05:56:13 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:56:13 [ 80%] Linking C executable device-random 05:56:13 [ 80%] Built target device-random 05:56:13 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:56:13 [ 84%] Linking C executable device-gyro 05:56:13 [ 84%] Built target device-gyro 05:56:13 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:56:13 [ 88%] Linking C executable device-bitfields 05:56:13 [ 88%] Built target device-bitfields 05:56:13 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:56:13 [ 92%] Linking C executable template-discovery 05:56:13 [ 92%] Built target template-discovery 05:56:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:56:13 [ 96%] Linking C executable device-file 05:56:14 [ 96%] Built target device-file 05:56:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:56:14 [100%] Linking C executable device-terminal 05:56:14 [100%] Built target device-terminal 05:56:14 + cp -rf include/devsdk include/edgex /usr/include/ 05:56:14 + cp build/release/c/libcsdk.so /usr/lib/ 05:56:14 + mkdir -p /usr/share/doc/edgex-csdk 05:56:14 + cp Attribution.txt /usr/share/doc/edgex-csdk 05:56:14 + cp LICENSE /usr/share/doc/edgex-csdk 05:56:14 + rm -rf /device-can/deps 05:56:14 Removing intermediate container dca06d89c640 05:56:14 ---> b812b8c0f676 05:56:14 Step 11/30 : RUN /device-can/scripts/build.sh && test -f /device-can/build/release/device-can 05:56:14 ---> Running in b4c423fcbc1f 05:56:14 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:56:14 + readlink -f /device-can/scripts/build.sh 05:56:14 + dirname /device-can/scripts/build.sh 05:56:14 + dirname /device-can/scripts 05:56:14 /device-can 05:56:14 + ROOT=/device-can 05:56:14 + echo /device-can 05:56:14 + cd /device-can 05:56:14 + mkdir -p /device-can/build/release 05:56:14 + cd /device-can/build/release 05:56:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/src 05:56:14 -- The C compiler identification is GNU 11.2.1 05:56:14 -- Detecting C compiler ABI info 05:56:14 -- Detecting C compiler ABI info - done 05:56:14 -- Check for working C compiler: /usr/bin/cc - skipped 05:56:14 -- Detecting C compile features 05:56:14 -- Detecting C compile features - done 05:56:14 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:56:14 -- /opt/iotech/iot/1.5/include 05:56:14 -- Found LIBCSDK: /usr/lib/libcsdk.so 05:56:14 -- Configuring done 05:56:14 -- Generating done 05:56:14 -- Build files have been written to: /device-can/build/release 05:56:14 + make all 05:56:14 + tee release.log 05:56:14 [ 50%] Building C object CMakeFiles/device-can.dir/c/device-can.c.o 05:56:14 In file included from /usr/include/devsdk/devsdk.h:18, 05:56:14 from /device-can/src/c/device-can.h:24, 05:56:14 from /device-can/src/c/device-can.c:27: 05:56:14 /device-can/src/c/device-can.c: In function 'can_get_handler': 05:56:14 /device-can/src/c/device-can.c:177:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'iot_typecode_t' [-Wformat=] 05:56:14 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 05:56:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:56:14 178 | requests[i].resource->type); 05:56:14 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:56:14 | | 05:56:14 | iot_typecode_t 05:56:14 /device-can/src/c/device-can.c:177:80: note: format string is defined here 05:56:14 177 | iot_log_debug(driver->lc, "CAN:Triggering Get events req type=%d\n", 05:56:14 | ~^ 05:56:14 | | 05:56:14 | int 05:56:15 [100%] Linking C executable device-can 05:56:15 [100%] Built target device-can 05:56:15 Removing intermediate container b4c423fcbc1f 05:56:15 ---> 99699a25f18c 05:56:15 Step 12/30 : FROM alpine:3.16 05:56:15 ---> d49a5025be10 05:56:15 Step 13/30 : MAINTAINER hcltech 05:56:15 ---> Running in a386a8593f7d 05:56:15 Removing intermediate container a386a8593f7d 05:56:15 ---> 79dda07d8107 05:56:15 Step 14/30 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:56:15 ---> Running in 8ce2e1cc1087 05:56:15 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:56:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:56:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:56:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:56:16 Removing intermediate container 8ce2e1cc1087 05:56:16 ---> 3a7b81605a92 05:56:16 Step 15/30 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:56:16 ---> Running in 63b4e55f5a69 05:56:17 Removing intermediate container 63b4e55f5a69 05:56:17 ---> db3d0fabd1b3 05:56:17 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 05:56:17 ---> Running in 168fe51a1d05 05:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:56:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:56:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:56:18 (1/24) Installing ca-certificates (20240226-r0) 05:56:18 (2/24) Installing brotli-libs (1.0.9-r6) 05:56:18 (3/24) Installing nghttp2-libs (1.47.0-r2) 05:56:18 (4/24) Installing libcurl (8.5.0-r0) 05:56:18 (5/24) Installing curl (8.5.0-r0) 05:56:18 (6/24) Installing dumb-init (1.2.5-r1) 05:56:18 (7/24) Installing hiredis (1.0.2-r0) 05:56:18 (8/24) Installing yaml (0.2.5-r0) 05:56:18 (9/24) Installing libcbor (0.9.0-r1) 05:56:18 (10/24) Installing iotech-iot-1.5 (1.5.5-r0) 05:56:19 (11/24) Installing pkgconf (1.8.1-r0) 05:56:19 (12/24) Installing openssl-dev (1.1.1w-r1) 05:56:19 (13/24) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:56:19 (14/24) Installing libexecinfo (1.1-r1) 05:56:19 (15/24) Installing gmp (6.2.1-r2) 05:56:19 (16/24) Installing nettle (3.7.3-r0) 05:56:19 (17/24) Installing libffi (3.4.2-r1) 05:56:19 (18/24) Installing p11-kit (0.24.1-r0) 05:56:19 (19/24) Installing libtasn1 (4.18.0-r1) 05:56:19 (20/24) Installing libunistring (1.0-r0) 05:56:19 (21/24) Installing gnutls (3.7.7-r1) 05:56:19 (22/24) Installing libmicrohttpd (0.9.75-r0) 05:56:19 (23/24) Installing libuuid (2.38-r1) 05:56:19 (24/24) Installing linux-headers (5.16.7-r1) 05:56:19 Executing busybox-1.35.0-r17.trigger 05:56:19 Executing ca-certificates-20240226-r0.trigger 05:56:19 OK: 25 MiB in 38 packages 05:56:20 Removing intermediate container 168fe51a1d05 05:56:20 ---> 69ed57638057 05:56:20 Step 17/30 : RUN apk --no-cache upgrade 05:56:20 ---> Running in 07159a520808 05:56:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:56:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:56:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:56:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:56:21 (1/5) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 05:56:21 (2/5) Upgrading busybox (1.35.0-r17 -> 1.35.0-r18) 05:56:21 Executing busybox-1.35.0-r18.post-upgrade 05:56:21 (3/5) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:56:21 (4/5) Upgrading ssl_client (1.35.0-r17 -> 1.35.0-r18) 05:56:21 (5/5) Upgrading musl-utils (1.2.3-r3 -> 1.2.3-r4) 05:56:21 Executing busybox-1.35.0-r18.trigger 05:56:21 Executing ca-certificates-20240226-r0.trigger 05:56:21 OK: 25 MiB in 38 packages 05:56:22 Removing intermediate container 07159a520808 05:56:22 ---> 078d741a775c 05:56:22 Step 18/30 : COPY --from=builder /device-can/build/release/ / 05:56:22 ---> 8302ff277e63 05:56:22 Step 19/30 : COPY --from=builder /usr/lib/libcsdk.so /usr/lib 05:56:22 ---> addc8e053fc6 05:56:22 Step 20/30 : COPY --from=builder /usr/share/doc/edgex-csdk /usr/share/doc/edgex-csdk 05:56:22 ---> d60db25571d8 05:56:22 Step 21/30 : COPY LICENSE /. 05:56:22 ---> 7bb99b17122b 05:56:22 Step 22/30 : COPY Attribution.txt /. 05:56:22 ---> 4671335adba0 05:56:22 Step 23/30 : COPY res /res 05:56:22 ---> c1800d41a2f2 05:56:22 Step 24/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023 HCL Technologies Ltd' 05:56:22 ---> Running in 27ba86e20108 05:56:23 Removing intermediate container 27ba86e20108 05:56:23 ---> 0db1e4265c7b 05:56:23 Step 25/30 : EXPOSE 59980 05:56:23 ---> Running in 5f05e484b777 05:56:23 Removing intermediate container 5f05e484b777 05:56:23 ---> eae6e1fcc63c 05:56:23 Step 26/30 : ENTRYPOINT ["/device-can"] 05:56:23 ---> Running in 50c09541ca9e 05:56:23 Removing intermediate container 50c09541ca9e 05:56:23 ---> b6dfa4f71d52 05:56:23 Step 27/30 : CMD ["-cp=keeper://edgex-core-keeper:59890", "--registry", "--confdir=/res"] 05:56:23 ---> Running in 40adfbfa8821 05:56:23 Removing intermediate container 40adfbfa8821 05:56:23 ---> 927df7f2988a 05:56:23 Step 28/30 : LABEL arch=amd64 05:56:23 ---> Running in 56878110abda 05:56:23 Removing intermediate container 56878110abda 05:56:23 ---> aac6ff4aaec2 05:56:23 Step 29/30 : LABEL git_sha=699ccf20b837d63b7277a51d2fd3e5320489b949 05:56:23 ---> Running in 493cfaeb806e 05:56:23 Removing intermediate container 493cfaeb806e 05:56:23 ---> fc4901f2415a 05:56:23 Step 30/30 : LABEL version=0.0.0 05:56:23 ---> Running in b99fe7e72cfd 05:56:23 Removing intermediate container b99fe7e72cfd 05:56:23 ---> 0321ddba79af 05:56:23 [Warning] One or more build-args [BASE MAKE ARCH] were not consumed 05:56:23 Successfully built 0321ddba79af 05:56:23 Successfully tagged device-can:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:24 05:56:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:25 latest: Pulling from edgex-lftools-log-publisher 05:56:25 5eb5b503b376: Pulling fs layer 05:56:25 5c69ac0246d0: Pulling fs layer 05:56:25 ec43610c2a17: Pulling fs layer 05:56:25 3a2ae6a8a46f: Pulling fs layer 05:56:25 33b1e0a273af: Pulling fs layer 05:56:25 5d3b04190fa2: Pulling fs layer 05:56:25 2f39f015ded8: Pulling fs layer 05:56:25 3a2ae6a8a46f: Waiting 05:56:25 33b1e0a273af: Waiting 05:56:25 5d3b04190fa2: Waiting 05:56:25 2f39f015ded8: Waiting 05:56:25 5c69ac0246d0: Download complete 05:56:25 3a2ae6a8a46f: Download complete 05:56:25 33b1e0a273af: Verifying Checksum 05:56:25 33b1e0a273af: Download complete 05:56:25 5d3b04190fa2: Verifying Checksum 05:56:25 5d3b04190fa2: Download complete 05:56:25 ec43610c2a17: Verifying Checksum 05:56:25 ec43610c2a17: Download complete 05:56:25 5eb5b503b376: Verifying Checksum 05:56:25 5eb5b503b376: Download complete 05:56:25 2f39f015ded8: Download complete 05:56:26 5eb5b503b376: Pull complete 05:56:26 5c69ac0246d0: Pull complete 05:56:27 ec43610c2a17: Pull complete 05:56:27 3a2ae6a8a46f: Pull complete 05:56:27 33b1e0a273af: Pull complete 05:56:27 5d3b04190fa2: Pull complete 05:56:31 2f39f015ded8: Pull complete 05:56:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:56:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:31 prd-ubuntu20.04-docker-8c-8g-41243 does not seem to be running inside a container 05:56:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-can_PR-10 -v /w/workspace/edgexfoundry_device-can_PR-10:/w/workspace/edgexfoundry_device-can_PR-10:rw,z -v /w/workspace/edgexfoundry_device-can_PR-10@tmp:/w/workspace/edgexfoundry_device-can_PR-10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:56:33 $ docker top d99435af1070bc5212d958a39bbc12b2978302c0ab332bd90abf0b2a5f32504d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:33 ---> job-cost.sh 05:56:33 lf-activate-venv: SKIPPING 05:56:33 INFO: No Stack... 05:56:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:34 INFO: Archiving Costs [Pipeline] sh 05:56:34 + cat /w/workspace/edgexfoundry_device-can_PR-10/archives/cost.csv 05:56:34 + cut -d, -f6 [Pipeline] lock 05:56:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-can-PR-10-1-stack-cost] 05:56:35 Resource [jenkins-edgexfoundry-device-can-PR-10-1-stack-cost] did not exist. Created. 05:56:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-can-PR-10-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:35 + echo total: 0.2199999988079071 [Pipeline] stash 05:56:35 Stashed 1 file(s) [Pipeline] } 05:56:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-can-PR-10-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:56:35 $ docker stop --time=1 d99435af1070bc5212d958a39bbc12b2978302c0ab332bd90abf0b2a5f32504d 05:56:36 $ docker rm -f --volumes d99435af1070bc5212d958a39bbc12b2978302c0ab332bd90abf0b2a5f32504d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:56:38 + [ -d /w/workspace/edgexfoundry_device-can_PR-10/archives ] 05:56:38 + ls -al /w/workspace/edgexfoundry_device-can_PR-10/archives 05:56:38 total 16 05:56:38 drwxr-xr-x 3 root root 4096 Mar 13 05:56 . 05:56:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 05:56 .. 05:56:38 drwxr-xr-x 2 root root 4096 Mar 13 05:56 cost 05:56:38 -rw-r--r-- 1 root root 81 Mar 13 05:56 cost.csv 05:56:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-can_PR-10/archives 05:56:38 + ls -al /w/workspace/edgexfoundry_device-can_PR-10/archives 05:56:38 total 16 05:56:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 05:56 . 05:56:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 05:56 .. 05:56:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 05:56 cost 05:56:38 -rw-r--r-- 1 jenkins jenkins 81 Mar 13 05:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:56:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:56:39 ---> package-listing.sh 05:56:39 ++ facter osfamily 05:56:39 ++ tr '[:upper:]' '[:lower:]' 05:56:39 + OS_FAMILY=debian 05:56:39 + workspace=/w/workspace/edgexfoundry_device-can_PR-10 05:56:39 + START_PACKAGES=/tmp/packages_start.txt 05:56:39 + END_PACKAGES=/tmp/packages_end.txt 05:56:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:56:39 + PACKAGES=/tmp/packages_start.txt 05:56:39 + '[' /w/workspace/edgexfoundry_device-can_PR-10 ']' 05:56:39 + PACKAGES=/tmp/packages_end.txt 05:56:39 + case "${OS_FAMILY}" in 05:56:39 + dpkg -l 05:56:39 + grep '^ii' 05:56:39 + '[' -f /tmp/packages_start.txt ']' 05:56:39 + '[' -f /tmp/packages_end.txt ']' 05:56:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:56:39 + '[' /w/workspace/edgexfoundry_device-can_PR-10 ']' 05:56:39 + mkdir -p /w/workspace/edgexfoundry_device-can_PR-10/archives/ 05:56:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_PR-10/archives/ [Pipeline] echo 05:56:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-can_PR-10/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:56:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:40 prd-ubuntu20.04-docker-8c-8g-41243 does not seem to be running inside a container 05:56:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-can_PR-10/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-10 -v /w/workspace/edgexfoundry_device-can_PR-10:/w/workspace/edgexfoundry_device-can_PR-10:rw,z -v /w/workspace/edgexfoundry_device-can_PR-10@tmp:/w/workspace/edgexfoundry_device-can_PR-10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:56:41 $ docker top d834c95237e9dce69577a2cc729080731d876ecd3997e03ac8943fd9d6556290 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:41 + touch /tmp/pre-build-complete [Pipeline] sh 05:56:41 + mkdir -p /var/log/sysstat [Pipeline] sh 05:56:42 + ls /var/log/sa-host 05:56:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:42 provisioning config files... 05:56:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_PR-10@tmp/config8559819044814345254tmp [Pipeline] { [Pipeline] echo 05:56:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:56:42 ---> create-netrc.sh [Pipeline] } 05:56:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:56:43 ---> python-tools-install.sh [Pipeline] echo 05:56:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:56:43 ---> sudo-logs.sh 05:56:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:56:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:56:44 ---> job-cost.sh 05:56:44 lf-activate-venv: SKIPPING 05:56:44 DEBUG: total: 0.2199999988079071 05:56:44 INFO: Retrieving Stack Cost... 05:56:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:44 INFO: Archiving Costs [Pipeline] echo 05:56:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:56:44 ---> logs-deploy.sh 05:56:44 lf-activate-venv: SKIPPING 05:56:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/PR-10/1 05:56:44 INFO: archiving workspace using pattern(s): 05:56:45 Archives upload complete. 05:56:45 INFO: archiving logs to Nexus 05:56:46 ---> uname -a: 05:56:46 Linux prd-ubuntu20-04-docker-8c-8g-41243 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:56:46 05:56:46 05:56:46 ---> lscpu: 05:56:46 Architecture: x86_64 05:56:46 CPU op-mode(s): 32-bit, 64-bit 05:56:46 Byte Order: Little Endian 05:56:46 Address sizes: 40 bits physical, 48 bits virtual 05:56:46 CPU(s): 8 05:56:46 On-line CPU(s) list: 0-7 05:56:46 Thread(s) per core: 1 05:56:46 Core(s) per socket: 1 05:56:46 Socket(s): 8 05:56:46 NUMA node(s): 1 05:56:46 Vendor ID: AuthenticAMD 05:56:46 CPU family: 23 05:56:46 Model: 49 05:56:46 Model name: AMD EPYC-Rome Processor 05:56:46 Stepping: 0 05:56:46 CPU MHz: 2800.000 05:56:46 BogoMIPS: 5600.00 05:56:46 Virtualization: AMD-V 05:56:46 Hypervisor vendor: KVM 05:56:46 Virtualization type: full 05:56:46 L1d cache: 256 KiB 05:56:46 L1i cache: 256 KiB 05:56:46 L2 cache: 4 MiB 05:56:46 L3 cache: 128 MiB 05:56:46 NUMA node0 CPU(s): 0-7 05:56:46 Vulnerability Itlb multihit: Not affected 05:56:46 Vulnerability L1tf: Not affected 05:56:46 Vulnerability Mds: Not affected 05:56:46 Vulnerability Meltdown: Not affected 05:56:46 Vulnerability Mmio stale data: Not affected 05:56:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:56:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:56:46 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:56:46 Vulnerability Srbds: Not affected 05:56:46 Vulnerability Tsx async abort: Not affected 05:56:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:56:46 05:56:46 05:56:46 ---> nproc: 05:56:46 8 05:56:46 05:56:46